1 Introduction
In the field of reliability analysis, the ability to accurately model and generate random numbers for a survival bivariate Weibull distribution is crucial [1]. The Weibull distribution is a commonly used model for the lifetimes of various products and systems due to its flexibility in capturing different shapes of failure rates. It is employed in a range of disciplines, including engineering, medical research, and finance [2, 3]. The Weibull distribution is a wide distribution used in reliability to model failure times [4]. The Weibull distribution can be interpreted in various contexts, including industry, survival analysis, and others. Moreover, this distribution is of significant importance for application purposes, due to its straightforward physical interpretation and flexibility for empirical fit [5, 6, 7].
As stated in [8], this distribution is highly versatile, capable of assuming the characteristics of other distributions based on the value of the shape parameter. It can also model decreasing, increasing, or constant hazard functions, encompassing the entire lifetime of an item. Additionally, the specific application of this distribution to failure data analysis is discussed. Furthermore, multivariate distributions are useful for modeling dependent random variables. A classification that has received some attention is based on the dependence structure between the random variables. [9] and [10] have studied the dependence structure of some bivariate Weibull models. [11] present a simple analysis for a Weibull distribution. This analysis considers two observed failure modes, which are known to be shock absorbers.
Other authors, such as [12] addressed similar issues and, under dependence, provided applications in demography and actuarial science. This latter field is crucial in reliability and survival analysis. Moreover, the work of [13] examines the relationships between dependence in multivariate models, competing risks, and copulas. Furthermore, in the context of meta-analysis of individual patient data with semi-competing risks, the joint frailty-copula model has emerged as a valuable tool. [14] have proposed the use of the Weibull distribution for baseline hazard functions under this model, demonstrating its advantages in terms of parameter interpretation and prognostic inference. [15] have proposed copula-based competing risks models for latent failure times, allowing for a flexible parametric form to address the limitations of existing models for left-truncated field data. Copulas have emerged as a novel tool for multivariate modeling in a variety of fields where the understanding of multivariate dependence is crucial. They enable the representation of the dependency structure and marginal distributions of a multivariate distribution separately [16, 17, 18].
On the other hand, the bivariate Weibull distribution is a valuable tool for modeling failures in multi-component systems where failure times are statistically dependent [19, 20]. When component failures are independent, they can be analyzed separately by observing univariate marginal distributions. [21] present three approaches to generating random values of a bivariate Weibull distribution. The first approach is through the exponential distribution and power transformation. The second approach is by specifying the dependence between two or more univariate marginals. The third approach is by transforming multivariate extreme value distributions. Also, [22] introduce the Farlie-Gumbel-Morgenstern (FGM) copula combined with Weibull marginal distribution to form the FGM bivariate Weibull (FGMBW) distribution. This distribution effectively describes weakly correlated bivariate lifetime data, offering a practical alternative for modeling real-valued data. In this article, three methods for generating data from a bivariate joint distribution are compared.
The use of bivariate Weibull distributions has been a topic of interest in various fields, with researchers exploring methods to generate dependent failure time data. [23] and [24] developed an algorithm that utilizes an Archimedean copula representation to generate dependent bivariate Weibull failure time data. Building on this, [25] proposed the use of CD-Vines to simulate flexible multivariate distributions, which are essential in various applications. Furthermore, [26] studied two distinct models of competitive risks: one with independent Weibull-distributed risks and another derived from a bivariate Weibull with dependency. Recently, [27] introduce a Weibull-based bivariate failure time model for dynamic prediction, overcoming spline model limitations. [28] propose a novel bivariate generalized Weibull distribution, validating its effectiveness through simulations and real data. These advancements enhance survival analysis methodologies, addressing complexities in predicting patient outcomes. In the present article, we focus on the bivariate Weibull distribution and present a simulation scheme using CD-Vines to generate dependent data.
This article encompasses several sections, including the following: in Section 2, we formally present four groups of tests to be performed, namely normality tests based on moments, empirical distribution, correlation, and regression, and the last group seen as a particular case according to specification; Section 4 provides a detailed account of the methodology using two power estimation methods; Section 5 illustrates the simulation scenarios and presents the study's conclusions. Finally, in Section 6, the conclusions of the study are presented, along with some remarks for future work.
2 Bivariate Weibull Distribution
The bivariate Weibull distribution is of significant importance in reliability and survival analysis, allowing for modeling the dependence between failure times [29]. Various studies have proposed methods for generating dependent bivariate Weibull failure times using copula representations [30, 31]. Additionally, relevant statistical properties of this distribution, such as marginal distributions, moments, and measures of dependence. These advancements in modeling the bivariate Weibull distribution contribute to the development of more robust techniques in survival and reliability analysis of systems [22, 28].
In this article, we will employ the parameterization of the bivariate Weibull distribution, as presented in Equation (1). Let T 1 and T 2 , Weibull failure times. A joint reliability function for the Weibull bivariate, [10] is:
with 0 < α ≤ 1, where β 1, η 1, β 2 and η 2, all greater than zero, are the shape parameters and scale associated to T 1 and T 2 , respectively. a is the dependence parameter between T 1 and T 2 . The Marginal reliability functions are given in (2):
with t positive. When the parameter dependency α Weibull time between failure is 1, then there independently T 1 and T 2 . As reduces a, the dependence between T 1 and T 2 increases.
3 Methods
There are a variety of approaches in the literature to creating joint distribution functions. However, the most common approach is to view the joint as the outcome of a marginal probability density function and a conditional density function. This is especially true when one of the marginals can be assumed to be the conditional outcome conditional on a predicted value of the other marginal [32, 33, 34].
In theory, constructing the joint distribution function when there is independence involves multiplying the marginal distribution functions. However, sometimes, the existence of dependence is ignored, leading to an overestimation or underestimation of the true joint function. In that vein, creating a bivariate distribution by combining dependent distributions involves adding an appropriate term to an independent class, which can provide additional flexibility in applications [35, 36].
This paper presents three methods for generating data from a bivari-ate Weibull distribution using copula-based techniques. A special class of vine copulas includes C-Vines (canonical vines) and D-Vines (drawable vines). From a graphical point of view, a C-Vine as well as D-Vine is formed by a cascade of trees corresponding each other to a specific decomposition of the distribution. The Gaussian distribution is very restrictive and can not detect characteristics such as skewness and heavy tails, very common in financial analysis [25].
The use of copulas is a challenge in higher dimensions where standard multivariate copulas have or possess inflexible structures, the vines copulas overcome these limitations and are able to model complex patterns of dependence because of having a variety of bivariate copulas as basic components [25]. The following are the algorithms used by each of the methods that will be the subject of study.
3.1 Method 1: Copula Algorithm
Based on the algorithm of positive stable distribution (see details in [24]) to generate time bivariate Weibull failure, with dependence, taking the Gumbel copula for reliability Weibull function, the algorithm is as follows:
Generate a random variable y with positive stable distribution S α (α, β,μ) and having Laplace transform т(s) = exp (-S α ). This is true when σ =
, β = 1 and μ = 0.Generate variables u1 and щ with uniform distribution on the interval ( 0, 1 ) .
For k = 1,2, in each marginal calculate T k = S k -1 (u *k ), where u *k = т [-γ -1 ln(u k )], with т with the Laplace transform associated with the Gumbel copula.
The algorithm uses a positive stable distribution. To represent the bivariate Weibull reliability function, a random variable with a positive stable distribution and its Laplace transform must be created. The scheme explained above simulates this type of distribution, which negatively affects the algorithm since the fit of these distributions is limited. In addition, we only have the setting for a Gumbel copula, such a copula works only positive dependence, the copula parameter starts from independence to perfect dependence [13].
3.2 Method 2: Methodology of Vines
According to [25], the simulation of a (C-Vine) or a (D-Vine) with n variables starts with the generation of an equal number of uniform , independent observations w i ∈ (0,1). From these observations, we obtain a new uniform sample variables u 1 , u 2 , . . . , u n , with the dependence structure which is represented by the vine according
Where F is the joint distribution function of w given u. The variables of the new population are obtained from the uniform sample variables u 1 , u 2 , . . . , un, using the Inversion Method [37].
CD-Vines refer to the canonical vine (C-vine) and (D-vine) copulas, advanced tools for modeling complex dependency structures in multivariate distributions. Vine copulas, such as C-vines and D-vines, offer more flexibility than traditional multivariate Gaussian distributions, allowing for asymmetry and heavy-tailed patterns [38]. Developing algorithms for D-vine and C-vine copulas has enabled the modeling of high-dimensional dependence structures and the efficient handling of big data sets [25].
Overall, CD-Vines play a crucial role in modern statistical modeling for capturing intricate dependencies in data. In this work we take advantage of this flexibility and there is no restriction in the selection of the copula, which gives us better performance when working with both negative and positive dependencies.
3.3 Method 3: Survival Copula
Survival copulas can also be used in the conditional distribution function method to generate random variables from a distribution with a given survival function. Recall (see part 3 of Theorem 2.4.4 and (2.6.1) [13]) that if the copula C is the distribution function of a pair (U,V), then the corresponding survival copula Ĉ (u, v) = u + v - 1 + C(1 - u, 1 - v) is the distribution function of the pair (1 - U, 1 - V). Also note that if U is uniform on (0,1), so is the random variable 1 - U.
Hence we have the following algorithm to generate a pair (U,V) whose distribution function is the copula C, given Ĉ:
Generate two independent uniform (0,1) variables u and t.
Set v = ĉ u ( - 1) (t), where ĉ u ( - 1) denotes a quasi-inverse of ĉ u ( - 1) (v) = ∂ Ĉ(u, v)/∂u.
The desired pair is (u, v).
Survival copulas are an important tool in survival analysis. They allow for more flexible and effective modeling of the dependence between survival time variables, see [39, 13].
3.4 Metrics for the Evaluation of Simulation Methods
To evaluate the fit between the data simulated by each of the three proposed methods and the theoretical density of the bivariate Weibull distribution, we used three widely recognized metrics: Kullback-Leibler divergence, Hellinger Distance, and Mean Squared Error. These provide a quantitative comparison of the performance of each method [40, 41, 42, 43].
• Kullback-Leibler Divergence (KL): Measures how much information is lost when approximating the theoretical distribution P with the estimated distribution Q:
• Hellinger Distance (HD): Quantifies the global discrepancy between two distributions:
• Mean Squared Error (MSE):
4 Methodology
The methodology proposed in this study aims to analyze three methods of generating bivariate data from a Weibull distribution: the Copula Algorithm, CD-Vines and Survival Copula. To achieve this, a series of systematic steps designed to collect, process, and analyze the data rigorously and consistently will be carried out.
Using the methods described above, samples of size 50, 100 and 200, dependence parameter α = 0.25,0.50,0.75 were generated.
Table 1 presents the four scenarios calculated by varying the dependency parameter. In general, there are twelve scenarios for each of the three generators.
Next, scatter plots were generated for each sample and overlaid with the contour lines of the corresponding theoretical bivariate Weibull joint density function.
Subsequently, for each sample of size n, n data pairs were generated. The proportion of points falling outside each theoretical contour was then examined to assess the quality of the generated data.
Finally, a quantitative assessment of the fit is performed using density similarity metrics, including the KL, HD and MSE for each method.
5 Simulation Study: Results
This section presents the results of the simulations carried out for the three methods introduced in Section 3, following the methodology described in Section 4. Contour plots are provided for each method under different parameter settings and sample sizes of the bivariate Weibull distribution. Furthermore, the goodness of fit between the simulated data and the theoretical density is quantitatively assessed using the Kullback-Leibler divergence, Hellinger's distance and the mean squared error.
5.1 Contour Plots
This subsection focuses on the visual assessment of the methods through contour plots, highlighting differences in the simulated densities across various parameter configurations. These plots help illustrate how well each method captures the shape and dependence structure of the bivariate Weibull distribution.
Figure 1 illustrates the diverse copula-based methodologies employed to generate data exhibiting dependence from a bivariate Weibull distribution, with a sample size of 50. It is evident that despite differences in methodology, all methods yield consistent results, effectively capturing positive dependence with comparable density contour patterns and data point dispersion. However, the copula algorithm method stands out in its ability to effectively analyze data with this sample size. This consistency suggests the robustness of copula methods in analyzing bivariate dependencies in simulated data. Similar results are observed in Figures 2 with a sample size of 100 and Figures 3 with a sample size of 200, while maintaining the distribution parameters (β1 = 2, β2 = 1, η1 = η2 = 1, and α = 0.25).
Figures 4, 5 and 6 illustrate the diverse copula methodologies employed to generate data exhibiting dependence from a bivariate Weibull distribution, with parameters β1 = 2, β2 = 1, η1 = η2 = 1,α = 0.5,, and sample sizes N = 50, 100, and 200, respectively. Despite the differences in methodology, all methods yield consistent results, capturing positive dependence with fairly similar density contour patterns and data point dispersion. However, the CD-Vines methodology stands out in capturing data as the sample size increases, while keeping the distribution parameters fixed.

Figure 1: Weibull contours using Method 1, Method 2, and Method 3, with N=50 and parameters, β1 = 2, β2 = 1,η1 = η2 = 1, α = 0.25

Figure 2: Weibull contours using Method 1, Method 2, and Method 3, with N=100 and parameters, β1 = 2, β2 = 1, η1 = η2 = 1, α = 0.25

Figure 3: Weibull contours using Method 1, Method 2, and Method 3, with N=200 and parameters, β1 = 2, β2 = 1, η1 = η2 = 1, α = 0.25

Figure 4: Weibull contours using Method 1, Method 2, and Method 3, with N=50 and parameters, β1 = 2, β2 = 1, η1 = η2 = 1, α = 0.50
Figures 7, 8 and 9 illustrate the diverse copula methodologies employed to model the interdependence of a bivariate Weibull distribution, with parameters β1 = 2, β2 = 1, η1 = η2 = 1, α = 0.75, and sample sizes N = 50, 100, and 200, respectively. A comparable pattern is observed in Figures 4, 5 and 6, where all methods demonstrate positive dependence, with relatively similar density contour patterns and data point dispersion. However, the CD-Vines methodology stands out in its ability to capture data as the sample size increases, while maintaining the other parameters fixed.
In general, it can be stated that all the methods yield consistent results, exhibiting positive dependence with comparable density contour patterns and data point dispersion. However, it is observed that with small sample sizes and low dependence parameters, the copula algorithm captures the data more effectively, while with larger sample sizes and higher dependence parameters, the Methodology CD-Vines performs better. It should also be noted that with a sample size of 200 and α = 0.75, the survival copula also demonstrates satisfactory data capture.
5.2 Results of the Density-Based Evaluation Metrics
To analyze the performance of the three proposed simulation methods, we applied the previously introduced density-based similarity metrics: KL, HD, and MSE. These metrics allow us to quantitatively compare the simulated data to the theoretical bivariate Weibull distribution. The outcomes of this assessment, summarized in Table 2, highlight the relative accuracy of each method across different dependence levels and sample sizes.

Figure 5: Weibull contours using Method 1, Method 2, and Method 3, with N=100 and parameters, β1 = 2, β2 = 1, η1 = η2 = 1, α = 0.50

Figure 6: Weibull contours using Method 1, Method 2, and Method 3, with N=200 and parameters, β1 = 2, β2 = 1, η1 = η2 = 1, α = 0.50

Figure 7: Weibull contours using Method 1, Method 2, and Method 3, with N=50 and parameters, β1 = 2, β2 = 1, η1 = η2 = 1, α = 0.75

Figure 8: Weibull contours using Method 1, Method 2, and Method 3, with N=100 and parameters, β1 = 2, β2 = 1, η1 = η2 = 1, α = 0.75
Table 2: Metrics of adjustment by method and scenario
| Method | n | α | KL | HD | MSE |
|---|---|---|---|---|---|
| Method 1 | 50 | 0.25 | 0.12 | 0.05 | 0.002 |
| Method 2 | 50 | 0.25 | 0.08 | 0.03 | 0.001 |
| Method 3 | 50 | 0.25 | 0.15 | 0.06 | 0.003 |
| Method 1 | 100 | 0.50 | 0.10 | 0.04 | 0.0015 |
| Method 2 | 100 | 0.50 | 0.07 | 0.02 | 0.001 |
| Method 3 | 100 | 0.50 | 0.13 | 0.05 | 0.0025 |
| Method 1 | 200 | 0.75 | 0.09 | 0.03 | 0.0012 |
| Method 2 | 200 | 0.75 | 0.06 | 0.01 | 0.0008 |
| Method 3 | 200 | 0.75 | 0.11 | 0.04 | 0.002 |
Comparing the methods, we see that the methodology based on Vines (Method 2) consistently shows the lowest values across all three metrics, suggesting that it better models the structural dependence between variables, produces samples closer to the theoretical bivariate Weibull distribution, and performs more robustly across different sample sizes and dependence levels.
It is worth noting that although Method 1 (Copula Algorithm) performs competitively in some scenarios, its KL and MSE values are consistently higher than those of Method 2. This confirms that the generation of stable-distributed variables can present numerical instability for certain values of α. The same is observed in Method 3, whose general applicability appears limited. Furthermore, all methods improve as the sample size increases, which is statistically expected.
In summary, Method 2 is the most robust option among the three, while Method 1, although useful, presents practical limitations, and Method 3 shows lower reliability. Specifically, Method 1, based on positive stable mixtures, exhibited greater dispersion in some scenarios. This limitation is attributed to the numerical difficulty in generating variables from the positive stable distribution, especially for certain values of the dependence parameter α. In such cases, evaluating the precision of the numerical generator or applying rejection sampling methods or transformations could help improve the fit.
6 Concluding Remarks
This study shows a good acceptance of the three methods studied to generate data from a bivariate Weibull distribution. Method 1 refers to positive stable distributions, which are not well known, but have a satisfactory value from a robust point of view to generate such data, while method 2 (CD-Vines) allows the use of the different copulas, extending the range of possibilities inherited from the copulas. Last but not least, method 3, which refers to a conditional copula, is very useful if a copula is chosen a priori and we are sure that the dependency parameter of that copula is acceptable. In this work the parameters of the distribution are not considered, since the interest lies in the three methods implemented, the dependence parameter and the sample size.
For a 25% dependence (α = 0.25) and a small sample size (n = 50), all three methods perform well in generating bivariate data, but for the other two sample sizes (n = 100 and 200) the only method that performs well is method 1 (copula algorithm). Under 50% dependence α = 0. 50) and a small sample size (n = 50) method 2 (CD-Vines) does not perform well, but when we change to a sample size of 100 or 200 the best is this method, contrary to the other two methods that do not perform well in this dependence scenario. Finally, for the 75% dependence scenario (α = 0.75) and a sample size of 50, method 2 does not perform well, but it is noteworthy that for this high level of dependence under the three sample sizes it is method 1, in conclusion, indicating that for a high dependence scenario (75%), the method that best generates data from a bivariate Weibull distribution is method 1 (copula algorithm).
Method 3 performs poorly in small sample sizes (n = 50) only when the dependence is low (α = 0.25). Method 2 (CD-Vines) performs well under moderate dependence (α = 0.50), regardless of sample size. Method 1, while generally effective across scenarios, presents limitations when the data do not follow a positive stable distribution. Specifically, this Method shows reduced performance in low-dependence settings due to numerical challenges in generating stable random variables. Such issues can be identified through deviations in the density contours or increases in metrics such as KL, HD, or MSE. To address these limitations, robust generators like those proposed by [44] or [45] are recommended. Additionally, empirical copulas, regularized simulation, or transformation-based approaches [46] offer promising alternatives. Evaluating the sensitivity of the method to different values of a can also help improve its reliability under challenging conditions.
For future work, it would be beneficial to develop a goodness-of-fit analytical test for a joint distribution. This would provide an additional tool for validating the adequacy of models to observed data. Furthermore, adapting the method for discrete variables or counting processes would be important, assuming dependence using copula methodology or some other suitable alternative. This would broaden the scope of the proposed methodology and allow for its application in a variety of data modeling contexts.
Additionally, recent methodological advances open promising directions for extending the present study to high-dimensional settings. Empirical copula processes provide a nonparametric alternative for modeling dependence, and recent extensions to Stute's representation allow for asymptotic analysis in multiple dimensions [47]. Vine copulas have been used for complex tasks such as variable selection, as shown by [48], and Lasso-based selection techniques for sparse vines help reduce overfitting in high-dimensional models [49]. Moreover, the modified BIC proposed by [50] enhances model selection under these frameworks. These developments suggest that future research could build on our findings by integrating high-dimensional vine structures or empirical copula strategies.























