#### Abstract

In this manuscript, we have derived a new lifetime distribution named generalized Weibull–Lindley (GWL) distribution based on the *T-X* family of distribution specifically the generalized Weibull-*X* family of distribution. We derived and investigated the shapes of its probability density function (pdf), hazard rate function, and survival function. Some statistical properties such as quantile function, mode, median, order statistics, Shannon entropy, Galton skewness, and Moors kurtosis have been derived. Parameter estimation was done through maximum likelihood estimation (MLE) method. Monte Carlo simulation was conducted to check the performance of the parameter estimates. For the inference purpose, two real-life datasets were applied and generalized Weibull–Lindley (GWL) distribution appeared to be superior over its competitors including Lindley distribution, Akash distribution, new Weibull-*F* distribution, Weibull–Lindley (WL) distribution, and two-parameter Lindley (TPL) distribution.

#### 1. Introduction

For the past few decades, generation of new distributions has been motivated by the need of fitting complex lifetime data generated from different fields such as engineering, biological and medical sciences, and geology. Probability models are very essential in describing and predicting various real-world problems. Despite the existence of deep literature regarding the development and establishment of new statistical distributions, we are still required to develop new distributions which are more flexible and compatible with the real-world issues to enable generalization [1].

An interesting feature of the new families of generalized distributions is based on their flexibility to model real-life data due to possession of many parameters as compared to most classical distributions. Over 24 new families of generalized distribution have been studied in the literature. The pioneer of this field includes many scholars such as Azzalini [2], Azzalini and Capitania [3], Marshall and Olkin [4], and Gupta et al. [5]. After establishment of the beta generator, defined by Eugene et al. [5] followed by Jones [6], paved the way to the development of many other distributions. Cordeiro and de-Castro [7] and Alexander et al. did tremendous work to establish some competing generators which widened the field [1].

Alzaatreh et al. [8] have proposed a link function which uses any probability density function as a generator to generate the *T*-*X* families of generalized distributions. They also studied generalized Weibull-*X* as a special case. Generalized Weibull-*X* has been proposed by fixing *T* as a Weibull distribution and *X* is allowed to take any other form. From the *T*-*X* family of distributions, we can establish various generalized distributions by either controlling the distribution of *T* and varying the forms of *X* or vice versa.

In this paper, we consider the pdf of Lindley distribution [9] as the form of *X* distribution. This distribution has more applications in various areas and plays a prominent role in a wide variety of scientific and technological fields such as reliability engineering, survival analysis, advanced semiconductor technologies, actuarial study, and insurance. For modeling some lifetime data, Weibull distribution may not be sufficient, and therefore, distributions with more flexibility to handle the complexity of a real-life system are of great demand. The proposed distribution could handle such situations in the fields of science and technology due to the generalizations and modifications of the Weibull distribution to provide more flexibility in modeling complicated real-life problems.

The rest of the manuscript follows the following order: in the subsequent section, we will give the general form of Weibull-*X* family of distribution due to Alzaatreh et al. [8] and then use one-parameter Lindley distribution [9]. We will introduce the new distribution called generalized Weibull–Lindley (GWL) distribution. We will then derive and discuss the shapes of its pdf, cdf, survival, and hazard functions. In Section 3, we will study some statistical properties of GWL distribution such as the quantile function, the mode, median, order statistics, Shannon entropy, Galton skewness, and Moors kurtosis. We will then estimate the parameters using maximum likelihood method. In Section 4, we will perform a Monte Carlo simulation to check the performance of parameter estimates, and in Section 5, we will apply GWL distribution along with some other distributions to fit two real lifetime datasets. Finally, in Section 6, we provide a general conclusion to our work and some future recommendations. Model fitting will be done using the AdequacyModel package in R due to Marinho and Bourguignon [10].

#### 2. Weibull-*X* Family of Distribution by Alzaatreh et al. [8]

Let be the pdf of the random variable and let be the function of the cdf of any random variable such that .

is monotonically and nondecreasing function.

as and as .

From the above, the new distributions were defined as follows:

Let be the random variable with the pdf and cdf . Let be the continuous random variable with pdf on . The cdf of the new distribution is given as , where satisfies the conditions written above. The cdf can also be written as follows:where is the cdf of the random variable .

The corresponding pdf associated with above is given aswhich is the composite function of . The pdf is transformed to the new distribution with the help of the link function which acts as the transformer, and thus, *T-X* family of distribution name has been provided [1]. When the random variable is discrete, the resulting family of distribution will also be discrete.

Different forms of will give rise to the new family of distribution. The form of depends on the support of random variable as defined above.

When the support of is and if is assumed without loss of generality, then can be defined as .

We know that lifetime distributions have positive domains, and therefore, using the above link functions, we can obtain several types of lifetime distribution families.

Considering Weibull distribution as one of the lifetime distributions, Alzaatreh et al. applied the support of as . By substituting into equation (1), we obtain the cdf of new family of Weibull distribution aswhere is the cumulative hazard rate function for the random variable , and here, is the cdf of the random variable .

The corresponding pdf was given as follows:where is the hazard rate function and is the cumulative hazard function for the random variable with cdf .

Now, if the random variable follows Weibull distribution with parameters and , then the pdf of will be given as , . From (4), we have the pdf of Weibull-*X* family as

Since for the above Weibull distribution the cdf is , then we can write the cdf of Weibull-*X* as

We now introduce our new distribution as follows. Let the random variable follows Lindley distribution with parameter . According to Lindley (1958) [9], the pdf and cdf will be given as

Survival and hazard functions are given as

From the relation between cumulative hazard and survival functions, we have cumulative hazard function of Lindley distribution as

##### 2.1. The pdf of Generalized Weibull–Lindley (GWL) Distribution

We can now substitute equations (7) and (8) into equation (5) to obtain our new distribution as follows:

For which is the pdf of generalized Weibull–Lindley (GWL) distribution.

Figure 1 describes various shapes of GWL pdf when different parameter sets are considered.

As displayed in Figures 1–3, the pdf of generalized Weibull–Lindley (GWL) distribution has various shapes which can be either increasing or decreasing; it assumes the exponential shape when all parameters are greater or equal to 1 except the case when where the curve rises and declines sharply for lower values of *x*’s. The pdf also has a bell shape similar to that of normal distribution when .

##### 2.2. The cdf of Generalized Weibull–Lindley (GWL) Distribution

We can also obtain the cdf by substituting equation (7) into (6) to obtainwhere . Figure 2 describes various shapes of generalized Weibull–Lindley (GWL) cumulative distribution function when different sets of parameters are employed.

As seen from Figure 2, generalized Weibull–Lindley (GWL) cumulative distribution function increases to one under different rates when several sets of parameters are considered.

##### 2.3. Survival Function for Generalized Weibull–Lindley (GWL) Distribution

From (12) above, we have the survival function written as a compliment of cdf as

Figure 3 displays survival distribution for generalized Weibull–Lindley (GWL) distribution when different sets of parameters are considered.

As displayed in Figure 3, we observe multiple shapes of survival functions which can either decline sharply at lower values of *x*’s or stay constant when , we also have constant survival at earlier time with sharp decline and then constant when , we have an exponential decline of survivals when . These properties may be useful in modeling real lifetime data coming from a complicated system or process.

##### 2.4. Hazard Function for Generalized Weibull–Lindley (GWL) Distribution

The hazard function will be given using the pdf and survival function in equations (13) and (11):

Figure 4 displays various shapes of hazard function for generalized Weibull–Lindley (GWL) distribution when different sets of parameters are considered.

From Figure 4, we can see that the generalized Weibull–Lindley (GWL) distribution has multiple shapes for hazard function which can be either constantly increasing when , exponentially increasing when , exponentially decreasing when , or “bath tub” shape when . Similar to the survival curves, various shapes for the hazard function provide wide coverage ground in modeling a complex lifetime dataset.

**(a)**

**(b)**

**(c)**

**(d)**

**(e)**

##### 2.5. The Cumulative Hazard Function for Generalized Weibull–Lindley (GWL) Distribution

From the survival function, we can directly obtain the cumulative hazard function of the GWL like as given below:which is simplified as follows:

#### 3. Some Statistical Properties of Generalized Weibull–Lindley (GWL) Distribution

Here, we will derive and discuss some statistical properties of GWL distribution including quantile function, Galton skewness, Moors kurtosis, mode, median, Shannon entropy, and order statistics.

##### 3.1. The Quantile Function of Generalized Weibull–Lindley (GWL) Distribution

From the cdf equation of generalized Weibull–Lindley, we can obtain the quantile function through inversion like as follows:

The above can be written as

We know that is the cdf of Lindley distribution whose quantile is given as

Therefore, the quantile function of generalized Weibull–Lindley distribution can be written aswhich is simplified as follows:where , and is the negative branch of the Lambert *W* function.

##### 3.2. The Median of Generalized Weibull–Lindley (GWL) Distribution

We can obtain the median by solving the following equation:

For specified values of the parameter, we can obtain the median of this distribution although the computations will be tedious due to the presence of complicated Lambert function.

##### 3.3. Skewness and Kurtosis

Like in many generalized families of distributions, moments of generalized Weibull–Lindley (GWL) is quite complicated to obtain since it involves the expansion of the pdf. In this case, we suggest the use of Moors kurtosis and Galton skewness which use quantile functions [11, 12]:

We have computed both quantities for different sets of parameters and results are displayed in Table 1. From Table 1, we can see that the generalized Weibull–Lindley (GWL) is a positively skewed distribution. Further, GWL has a normal approximation with lower values of parameter combinations (beta and *c*) while highly skewed to the right with higher values of parameter combinations. On the other hand, we observe high values of Moors kurtosis with the decrease in parameter values.

For better visualization of the above properties, respective mesh plots were obtained. We also employed a bivariate standard Gaussian distribution as a reference. Figure 5 displays the skewness and kurtosis of the GWL distribution with respect to a standard normal distribution.

**(a)**

**(b)**

**(c)**

**(d)**

From Figure 5, we see that as compared to standard Gaussian distribution, GWL distribution is skewed to the right with larger values of parameter combinations. We also observe spikes due to various shapes of its pdf when different parameter combinations are used. These properties may be suitable to model lifetime data of a complicated real-life system.

##### 3.4. The Mode of Generalized Weibull–Lindley Distribution

From the pdf

We can obtain the mode of this distribution by solving the equation .

For simplification, apply natural logarithm both sides, and we have

By taking derivative with respect to both sides of the above equation and simplifying, we obtain

Therefore, we can obtain the mode of generalized Weibull–Lindley (GWL) distribution by solving the following equation:

##### 3.5. Shannon Entropy of Generalized Weibull–Lindley (GWL) Distribution

As a measure of variation of uncertainty, Alzaatreh et al. [8] have given the general formula of obtaining Shannon entropy of a random variable *X* which follows the Weibull-*X* family of distribution with pdf:aswhere are the mean and Shannon entropy of the random variable *T* with pdf .

For the case of generalized Weibull-*X*, we obtain Shannon entropy by substituting mean and Shannon entropy of the Weibull distribution in the above equation:where are the parameters of Weibull distribution, and for our case, will represent the cdf and pdf of Lindley distribution.

From the previous equations, we had the and of Lindley distribution as

The inverse of is given aswhere is the lower part of the Lambert *W* function.

Therefore,

This gives

From the above equation, we can obtain the expected value of as

And hence, we have the Shannon entropy of generalized Weibull–Lindley (GWL) distribution given as

##### 3.6. Order Statistic for Generalized Weibull–Lindley (GWL) Distribution

Order statistic of the random variable has multiple applications such as modeling extreme datasets, estimations of various statistical quantities, and many more. We can define a distribution of an order statistic for the generalized Weibull–Lindley distribution like as follows:

Let us assume we have be generalized Weibull–Lindley (GWL) random variables with pdf given asand cdf given as

Let be *n*-order statistics for the above random variables. The order statistic has the pdf given as follows:where and are the cdf and pdf of any continuous distribution in our case being generalized Weibull–Lindley distribution.

We can now write the pdf of order statistic for generalized Weibull–Lindley as

Now, the smallest order statistic has the pdf given as

We also have the pdf of the largest order statistic written as

Therefore, the extremes pdf for generalized Weibull–Lindley are given in the above equations.

##### 3.7. Parameter Estimation through Maximum Likelihood Method

To employ the maximum likelihood, we need to establish the likelihood function of the sample observations. This is the probability of observing a particular set of data given the chosen probability distribution model for the data [13].

Let us assume we have ,,,…, as random sample of size drawn from the generalized Weibull–Lindley (GWL) distribution with pdf given as

The likelihood function can be written aswhere .

The log-likelihood function can be written as

To obtain the normal equations, we take partial derivatives with respect to which results in the following equations after simplifications:

Analytical solutions of the above normal equations may be difficult to obtain through the usual computation methods. Therefore, we suggest the use of embedded computer software such as R or MATLAB to obtain numerical solutions for the parameters.

#### 4. Simulation Study

In this section, we demonstrate some results based on Monte Carlo simulations to compare the performance of the parameter estimates when the MLE method is applied. In our simulation study, we employed samples of sizes *n* = 10, 20, 30, 40, and 50, parameter combinations as *β* = 1, *θ* = 0.5, 1.0, and 3.0, and *c* = 1.0 and 3.0 with 5000 iterations. Using the GWL distribution with the above sets of parameters, we generated random samples repeatedly 5000 times. Parameter estimates were computed as well as their biases and mean squared errors (MSEs). Finally, the average bias and average mean square error (MSE) of the parameter estimates were computed over the 5000 replications. Without loss of generality, *β* is fixed as a unit to avoid convergence issues. Simulation outputs are displayed in Table 2. The following points are observed from Table 2. The average bias and average MSE decrease as the sample size increases for both parameters estimated in this study as expected. It can be further observed that both estimates are positively biased. The simulation results also show that there is no considerable difference in the average bias for different choices of the parameters.

#### 5. Application of Generalized Weibull–Lindley (GWL) in Modeling Real-Life Survival Data

We applied this new generated distribution to model two real survival datasets. The first dataset is related to relief times (in minutes) of 20 patients receiving an analgesic as reported by Gross and Clark (1975, p. 105) [14]. The data are as follows: 1.1, 1.4, 1.3, 1.7, 1.9, 1.8, 1.6, 2.2, 1.7, 2.7, 4.1, 1.8, 1.5, 1.2, 1.4, 3.0, 1.7, 2.3, 1.6, 2.0.

The second dataset represents the remission times (in months) of a random sample of 128 cancer patients obtained from Lee and Wang (2003, p. 231) [15]. The data are shown in Table 3.

For comparison purposes, four additional models were also fitted including Weibull–Lindley (WL) [16], new Weibull-*F* [17], two-parameter Lindley (TPL) [18], Akash distribution [19], and Lindley distribution [9]. Comparisons were made using AIC, CAIC, BIC, HQIC, and minus log-likelihood values with the criteria of selecting the model with smaller values. Results are displayed in Tables 4 and 5.

By examining Table 4, the GWL distribution provides the best fit for survival time of 20 patients receiving an analgesic as reported by Gross and Clark based on the values of log-likelihood, AIC, BIC, CAIC, and HQIC. Similarly, results displayed in Table 5 provide information about the superiority of GWL distribution in modeling remission time of cancer patients after receiving treatments based on the values of log-likelihood, AIC, BIC, CAIC, and HQIC which both are in favor to generalized Weibull–Lindley (GWL) distribution.

#### 6. Conclusion

The new lifetime distribution named as generalized Weibull–Lindley distribution is developed in this article. Some statistical properties of the developed distribution are discussed. A simulation study is also given to learn the performance of the shape parameters. Two real datasets are employed to fit the proposed distribution, and the results demonstrate high performance for the newly established generalized Weibull–Lindley (GWL) distribution. Future research may be considered as the other versions of Weibull distribution or Lindley distribution or both to generate other forms of GWL distributions and several more lifetime datasets with complicated structure employed to evaluate their performance.

#### Data Availability

The used datasets are given in the manuscript.

#### Conflicts of Interest

The authors declare that they have no competing interests.

#### Authors’ Contributions

Pius Marthin carried out methodology and computations and GS Rao contributed to writing and data collection. Both authors read and approved the final manuscript.