Abstract

The Rayleigh flexible Weibull extension (RFWE) distribution, a new three-parameter model introduced in this paper, is a generalization of the flexible Weibull extension. This model produces best fit for failure time of electronic device obtained from power-linkage voltage spikes during electronic storms. We derive the statistical properties of the RFWE distribution. The parameters of this new distribution are estimated using the maximum likelihood method, which also yielded asymptotic confidence bounds. This model is examined using both real and simulated data. Under various priors, an additional Bayesian estimate is also carried out. The Bayes estimates and other posterior results are calculated using simulations.

1. Introduction

To model the lifetime components, Weibull distribution is very useful in fields like physics and engineering. Farooq et al. [1] focused on investigations to derive a new probability model for data sets with extreme values in engineering. Ijaz et al. [2] developed a new modification with three parameters of the Lomax distribution. Kumaraswamy Weibull distribution is studied by Corderio et al. [3]. Moreover, El-Morshedy et al. [4] proposed a three-parameter model by exponentiating the inverse flexible Weibull extension distribution. They called it exponentiated inverse flexible Weibull extension (EIFW) distribution. Manisha and Tiensuwan [5] introduced a beta transmuted Weibull distribution, which contains several distributions as special cases, and properties of the distribution are also discussed. Mustafa et al. [6] introduced a four-parameter model called the Weibull generalized flexible Weibull extension (WGFWE) distribution which exhibits a bathtub-shaped hazard rate. Bebbington et al. [7] discussed applications of the flexible Weibull distribution that includes life testing experiments and applied statistics. Nadarajah and Kotz [8] and Murthy et al. [9] discussed the extensions of the Weibull distribution.

In this article, a new generalization of the flexible Weibull extension (FWE) distribution called Rayleigh flexible Weibull extension (RFWE) distribution is constructed by using a method developed by Alzaatreh et al. [10] to generate a family of distributions. This class of distributions is defined as

Alzaatreh et al. [10] derived the Weibull-Pareto distribution by taking to be the probability density function (pdf) of the Weibull distribution and to be the cumulative density function (cdf) of the Pareto distribution, and Alzaatreh et al. [11] derived the gamma-normal distribution by taking to be the pdf of the gamma distribution and to be the cdf of the normal distribution.

Now, we consider pdf of Rayleigh distribution as a parent distribution given as

Substituting Equation (2) in Equation (1), we get and pdf

In the above expression, the FWE distribution is used as as follows: and cdf

2. Rayleigh Flexible Weibull Extension Distribution (RFWE)

If follows the flexible Weibull extension distribution with the pdf given in Equation (5). Then, from Equation (4), the pdf of RFWE distribution is defined as

From (3), we obtain the cdf of RFWE distribution as

2.1. Survival and Hazard Functions

From Equation (8), we can define the survival function (sf) of RFWE distribution as follows:

From Equations (7)–(9), we can define the hazard function (hf) of RFWE distribution as follows:

This hazard function (hf) is plotted along with the pdf (7), cdf (8), and survival function (9) in Figure 1 for different values of the parameters to depict the nature of the proposed distribution.

3. Statistical Properties of RFWE Distribution

In this section, we study the quantile function, th moment, moment generating function, characteristic function, probability generating function, and factorial moment generating function.

3.1. Quantile Function

For a positive continuous random variable, Let follows the RFWE distribution, then, the quantile function of is derived as

By solving the above equation, we get as follows:

Since quantile is positive, then we get as follows:

The median of RFWE can be obtained from Equation (13) by taking. That is,

Now, to generate data from the cdf of RFWE, first generate the random numbers from standard uniform distribution then transform the random numbers into inverse cdf function. The inverse cdf function of RFWE can be written as where is a standard uniform random variable; from (8), we get

In Equation (13), if we replace by , we get the inverse function

3.2. The Moments

Moments are very important for the statistical analysis to study the average, variation, skewness, and kurtosis.

The th moment of RFWE distribution is introduced by the following theorem.

Theorem 1. The th moment of a random variable , where is given by

Proof. The th moment of the random variable with is defined as By putting Equation (7) into Equation (19), we get using the Taylor series Take in the above equation: Equation (20) becomes By solving the above equation, we obtain Using the series expansion of , we obtain by using the gamma function in the form Finally, we get the th moment of RFWE in the form

3.3. Moment Generating Function

In this section, we derive the moment generating function of RFWE distribution.

Theorem 2. The moment generating function of a random variable , that is, , where is given by

Proof. The moment generating function is defined as Using series expansion of , we obtain Substituting from Equation (27) into Equation (30), we get Hence, the proof.

3.4. Characteristic Function

The characteristic function of RFWE distribution can be given as follows:

3.5. Probability Generating Function

The probability generating function of RFWE distribution can be given as follows:

3.6. Factorial Moment Generating Function

The factorial moment generating function of RFWE distribution can be given as follows:

4. Renyi Entropy

Entropy is widely used in physics; Renyi entropy is one of the famous measures introduced by Renyi [12]. It is used to measure the unpredictability of a distribution, high entropy exhibits more uncertainty, and low entropy shows minimum uncertainty or another word more informative. Zero value of entropy indicates surety of completely certain information.

Let ; then, the corresponding Renyi entropy can be obtained as

5. Classical Estimation

In this section, we discussed the estimation of RFWE parameters by using the method of maximum likelihood and asymptotic confidence bounds.

5.1. Maximum Likelihood Estimators (MLEs)

Let be independent and identical random sample of size from RFWE with observed values ; then the likelihood function can be written as

Substituting from Equation (7) into Equation (36), we get

The log-likelihood function can be written as

The MLEs of the parameters are obtained by differentiating the log-likelihood function with respect to the parameters and setting the result to zero.

There is no closed-form solution to the above equations. Therefore, R software and Mathematica are used to get the numerical solutions.

5.2. Asymptotic Confidence Bounds

Now, we obtain the asymptotic confidence interval of the unknown parameters . We assume that the MLEs () are approximately multivariate normal with mean () and covariance matrix , where is the inverse of the observed information matrix defined as

The second partial derivatives included in are given as follows:

The above expressions are used to derive the confidence intervals for the parameters , and as in the following forms: where is the upper percentile of the standard normal distribution.

6. Order Statistics

Let denote the order statistics obtained from a random sample taken from a continuous population with cdf and pdf as follows: where is the beta function.

6.1. PDF of Minimum, Median, and Maximum Order Statistics

In this subsection, we will consider the expression for the sample distribution of the minimum, median, and the maximum order statistics when a random sample of size is drawn from the RFWE distribution. These pdfs can be obtained by solving Equation (43).

The pdf of the minimum order statistics is as follows:

The pdf of the median order statistics is as follows:

Finally, the pdf of the maximum order statistics is as follows:

6.2. Joint PDF of the Minimum and Maximum Order Statistics

In this subsection, we will consider the expression for the joint pdf of the minimum and the maximum order statistics when a random sample of size is drawn from the RFWE distribution. These pdfs can be obtained by solving the following equation: where

The joint pdf of the minimum and maximum, that is, - and -order statistics from RFWE distribution, is

For special case, let us supposeand; the joint pdf of minimum and maximum order statistics is as follows:

7. Data Analysis

In this section, we use a real data set to show that the RFWE distribution can be a better model, compared with many known distributions such as the FWE distribution, Weibull distribution, exponential distribution, and Rayleigh distribution. Consider that the data obtained by Khan and Jan [13] represents the failure time of electronic devices obtained from power-line voltage spikes during electronic storms. The times are 2.75, 0.13, 1.47, 0.23, 1.81, 0.30, 0.65, 0.10, 3.00, 1.73, 1.06, 3.00, 3.00, 2.12, 3.00, 3.00, 3.00, 0.02, 2.61, 2.93, 0.88, 2.47, 0.28, 1.43, 3.00, 0.23, 3.00, 0.80, 2.45, and 2.66.

The MLEs of the unknown parameters for the different distributions are given in Table 1. We considered Anderson–Darling (AD) test statistic, Cramer-von-Misses (CM) test statistic, and Kolmogorov–Smirnov (KS) test statistic. Hannan-Quinn information criterion (HQIC), Bayesian information criterion (BIC), Akaike’s Information Criterion (AIC), and Consistent Akaike’s Information Criterion (CAIC) as investigative measures are given in Table 2.

7.1. Discussion

From the above tables, the test statistics above mentioned showed smaller values for the RFWE distribution as compared with the rest of the distributions that indicate better performance of the model.

8. Simulations

The accuracy and the performance in estimating the model parameters with different sample sizes are investigated by using Equation (17) to generate the data from the RFWE distribution. We take , and the true values of the parameters are given in Tables 3 and 4; for each , we simulate 100 random data sets from the RFWE distribution and for different values of the parameters, average bias (bias), mean square errors (MSE), estimated mean (Est.), and variance (Var) are calculated for different sample sizes.

8.1. Discussion

As we increase the sample size, it is clearly noticed from the above tables that the bias and MSE tend to decrease, Est. tends towards the true parameter values, and Var also tends to decrease.

9. Bayesian Analyses

In this section, we are going to estimate the parameters of the proposed distribution and that of exponential, Rayleigh, Weibull, and FWEx distributions under different prior distributions. The posterior variances are calculated, and the credible intervals are provided for each parameter. To compare our proposed distribution with the others considered, we calculate difference information criteria (DIC). Muhammad et al. [14] used the DIC, and their scheme is better with a minimum number of parameters.

The likelihood function of RFWE distribution is

First, we consider the uninformative uniform prior distribution for the parameters involved in Equation (51) as

The joint posterior distribution under uniform prior distribution given in Equation (52) is as follows:

The constant of proportionality, , is obtained as

The marginal posterior distribution of the parameter given data may be obtained as follows: As the posterior distribution given in Equations (55)–(57) are not analytically tractable, so we use MCMC simulations for the calculation of the Bayes estimates (BE) and other posterior results.

Furthermore, we now consider an informative prior distribution, gamma distribution, for the parameters. The joint gamma prior is the simple product of the marginal gamma distribution and is given as where, in (58), , , and are the hyperparameters of the prior distribution of , and , respectively. The joint posterior distribution under Equation (58) is as follows: where is known as the constant of proportionality and obtained as follows:

The marginal posterior distribution of the parameter given data, under gamma prior distribution, is obtained by integrating Equation (59) as follows:

These posterior distributions are summarized in Tables 5 and 6. For numerical calculation, we set the hyperparameters as , , and .

9.1. Discussion

We noticed a reduction in the posterior standard deviations (SDs) while changing the prior from noninformative to informative prior distribution in Equation (58), and consequently, the credible intervals, that is, lower credible interval (LCL) and upper credible interval (UCL), become narrower for the all parameters in all of the distributions. Further, the DIC is minimum in gamma prior.

So we conclude that the gamma prior is more suitable than the uniform prior. While using the uniform prior distribution for our proposed model, RFWE produced a minimum DIC as compared to the others considered, namely, exponential, Weibull, Rayleigh, and FWE distributions.

In fact, this value of 219.5698 is better than the DICs produced by other models under uninformative prior distribution. A decrease in the DIC is observed when we considered gamma prior distribution; and this DIC, 205.1394, is the smallest among all.

10. Conclusions

We propose a new three-parameter distribution, based on the idea which is to add parameters to the flexible Weibull extension distribution; this new distribution is called the Rayleigh flexible Weibull extension (RFWE) distribution. Its statistical properties are studied. We use the maximum likelihood method for estimating the parameters of the distribution. Finally, the advantage of the RFWE distribution is concluded by an application using real data set and a simulation study is conducted. From the simulation study, as the sample size increases, the bias, MSE, and variance tend to decrease, and the estimated means tend towards the true parameter value.

Moreover, it is shown that the RFWE distribution fits better than existing known distributions in the classical approach, while our proposed, RFWE, distribution has minimum DIC under uniform and gamma priors under the Bayesian paradigm. This showed that our proposed model is better than the other consideration. Furthermore, our model performs better when informative gamma prior distributions were considered, better in terms of narrower credible intervals and minimum posterior standard variations. In this study, we used a single real data set and two priors; in the future, one can consider the other uninformative prior, like Jeffrey’s prior, and in informative priors like normal, lognormal can be used for comparison purposes.

Data Availability

All the data are available and properly cited in the paper.

Conflicts of Interest

The authors declare that they have no conflicts of interest.