Professional Documents
Culture Documents
Abdulkareem M. Basheer
To cite this article: Abdulkareem M. Basheer (2019) Alpha power inverse Weibull distribution
with reliability application, Journal of Taibah University for Science, 13:1, 423-432, DOI:
10.1080/16583655.2019.1588488
Figure 1. Plot of the PDF of the APIW distribution. Figure 2. Plot of the HRF of the APIW distribution.
tion (MLE) method in Section 5. Finally, the proposed 2.2. APIW submodels
model is applied on real data and the results are given
in Section 6. Equation (5) of the APIW distribution includes the fol-
lowing well-known distributions as submodels.
By using the Taylor’s series expansion of the function 3.1. Hazard rate function
−β
αe−λt , we can rewrite the PDF when α > 0, α = 1 as The hazard rate ( HR) function (failure rate) of a lifetime
follows: random variable X with APIW distribution is given by
⎧
−λt−β −1
∞ ⎪
⎨log(α)λβt−(β+1) e−λt−β αe
1 (log(α))j+1 −λt−β −1
, α > 0, α = 1
−λ(j+1)x −β
gAPIW (x) = λβx −(β+1) e . hAPIW (t)=
⎪ −β
1−α e
α−1 j! ⎩ λβt−(β+1) e−λt , α = 1.
j=0 1−e−λt
−β
(7) (9)
Figure 1 gives the graphical representation of PDF for Figure 2 gives the graphical representation of HRF for
different values of α, λ and β. different values of α, λ and β.
JOURNAL OF TAIBAH UNIVERSITY FOR SCIENCE 425
1 λ1/β (log(α))j+1 1
× 1 − , λ(j + 1)t −β
, β > 1.
μ(t) = (j + 1)1/β β
(12)
R(t) α − 1 (j + 1)!
j=0
∞ ∞
2
× 1 − , λ(j + 1)t −β
, β > 2. (13) λ1 β log(α1 ) (log(α1 ))j (log(α2 ))s
β R=
(α1 − 1)(α2 − 1) j! s!
j=0 s=0
∞
−β 1
Proof:
∞ c−1Using the proof of MRL and the relation (c, t) = × t−(β+1) e−(λ1 (j+1)+λ2 s)t dt − ,
−x
e dx, c > 0, 0 α2−1
t x
we get the above result. put
Z = (λ1 (j + 1) + λ2 s)t−β ,
Figure 6 gives graphical representations of SMIT for then
different values of α. ⎛
∞ ∞
Table 1 gives the values of HR, MRL, RHR and λ1 log(α1 ) ⎝ (log(α1 ))j
R=
MIT(SMIT) for the selected values of λ = 0.7, β = 1.8 (α1 − 1)(α2 − 1) j!s!
j=0 s=0
and t = 0.6 and for different values of the parameter α. ⎞
One can observe that the values of HR are decreasing (log(α2 ))s ⎠ 1
and values of MRL are increasing and the same for RHR × − . (14)
λ1 (j + 1) + λ2 s α2 − 1
and MIT (SMIT).
JOURNAL OF TAIBAH UNIVERSITY FOR SCIENCE 427
3.6.1. Maximum likelihood estimation of R Table 2. Waiting time (in minutes) before customer service in
We estimate the stress–strength parameter for the bank A.
APIW distribution, assuming that X ∼ APIW(α1 , λ1 , β) 0.8 0.8 1.3 1.5 1.8 1.9 1.9 2.1 2.6 2.7
and Z ∼ APIW(α2 , λ2 , β). Let x1 , . . . , xn and z1 , . . . , zm 2.9 3.1 3.2 3.3 3.5 3.6 4 4.1 4.2 4.2
4.3 4.3 4.4 4.4 4.6 4.7 4.7 4.8 4.9 4.9
be independent observations from APIW(α1 , λ1 , β) and 5 5.3 5.5 5.7 6.1 6.2 6.2 6.2 6.3 6.7
APIW(α2 , λ2 , β) respectively. 6.7 6.9 7.1 7.1 7.1 7.1 7.4 7.6 7.7 8
8.2 8.6 8.6 8.6 8.8 8.8 8.9 8.9 9.5 9.6
The total likelihood function is given by 9.7 9.8 10.7 10.9 11 11 11.1 11.2 11.2 11.5
11.9 12.4 12.5 12.9 13 13.1 13.3 13.6 13.7 13.9
(log(α1 ))n (log(α2 ))m n m n+m 14.1 15.4 15.4 17.3 17.3 18.1 18.2 18.4 18.9 19
(α1 , α2 , λ1 , λ2 , β) = λ λ β 19.9 20.6 21.3 21.4 21.9 23 27 31.6 33.1 38.5
(α1 − 1)n (α2 − 1)m 1 2
⎛ ⎞
n
−(β+1)
m
−(β+1) ⎠
× ⎝ xi zj Table 3. Waiting time (in minutes) before customer service in
i=1 j=1 bank B.
n −β m −β 0.1 0.2 0.3 0.7 0.9 1.1 1.2 1.8 1.9 2
× e−(λ1 i=1 xi +λ2 j=1 zj )
2.2 2.3 2.3 2.3 2.5 2.6 2.7 2.7 2.9 3.1
−β
3.1 3.2 3.4 3.4 3.5 3.9 4 4.2 4.5 4.7
n −β
−λ1 xi
m −λ2 zj 5.3 5.6 5.6 6.2 6.3 6.6 6.8 7.3 7.5 7.7
i=1 e j=1 e
× α1 α2 . 7.7 8 8 8.5 8.5 8.7 9.5 10.7 10.9 11
12.1 12.3 12.8 12.9 13.2 13.7 14.5 16 16.5 28
m −β The maximum likelihood estimation of parameters
+ log(α2 ) e−λ2 zj . (15)
is obtained by solving the system of nonlinear equa-
j=1
tions (16)–(20) numerically. From the solution of these
By taking the first partial derivatives of the total log- equations, we can estimate R by inserting the estimate
likelihood with respect to the five parameters parameters in equation (14).
1 −λ1 x−β
n
∂L n n 3.6.2. Real data analysis
= − + e i , (16)
∂α1 α1 log(α1 ) α1 − 1 α1 In this section, we present the analysis of real data, par-
i=1
tially considered in Ghitany et al. [16], for illustrative
1 −λ2 zj−β
m
∂L m m purpose. The data represent the waiting times (in min-
= − + e , (17)
∂α2 α2 log(α2 ) α2 − 1 α2 utes) before customer service in two different banks.
j=1
The data sets are presented in Tables 2 and 3. Note
∂L n
n
−β
n
−β −β that n = 100 and m = 60. We are interested in estimat-
= − xi − log(α1 ) xi e−λ1 xi , (18)
∂λ1 λ1 ing the stress–strength parameter R = P(X > Z) where
i=1 i=1
X(Z) denotes the customer service time in bank A (B).
∂L m
m
−β
m
−β −β
= − zj − log(α2 ) zj e−λ2 zj , (19) We solve equations (16)–(20) by mathematical pack-
∂λ2 λ2 age such as Mathcad to get the MLEs of the unknown
j=1 j=1
parameters.
and
n+m n m
∂L 4. Statistical properties
= − log(xi ) − log(zj )
∂β β In this section, we study the statistical properties of
i=1 j=1
the APIW, specially quantiles, moments, moment gen-
n
−β
m
−β
+ λ1 xi log(xi ) + λ2 zj log(zj ) erating function, entropy, order statistics, stochastic
i=1 j=1 orderings.
428 A. M. BASHEER
Table 5. Quantiles of APIW for selected values of λ = 0.7 and Table 6. Moments of APIW for selected values of λ = 0.7 and
β = 5. β = 5.
Parameter α Q1 Q2 (Median) Q3 Parameter α Mean Variance Skewness Kurtosis
α = 0.2 0.81258 0.90585 1.04441 α = 0.2 0.96855 0.06868 4.03588 61.899
α = 0.7 0.85628 0.97708 1.15813 α = 0.7 1.05589 0.10479 3.63027 50.336
α = 1.4 0.88889 1.02698 1.22986 α = 1.4 1.11162 0.12658 3.45679 46.362
α = 2.5 0.92090 1.07259 1.29093 α = 2.5 1.16051 0.14454 3.34951 44.170
−1/β r
1 log(α) × (j + 1)r/β 1 − , β > r.
xp = G −1
(p) = log . β
λ log(pα − p + 1)
(22) Table 6 gives the moments of APIW for selected val-
ues of λ = 0.7 and β = 5 and for different values of
−β parameter α.
Proof: By assuming z = e−λx , the CDF of APIW can be
written as G(x) = (α z − 1)/(α − 1).
The pth quantile function is obtained by solving 4.3. Moment generating function
G(x) = p
−β The moment generating function of a random variable
and the obtained result in z = e−λx by solving for x
X provides the basis of an alternative route to ana-
we get
lytic results compared with working directly with the
xp = G−1 (p) = [(1/λ) log(log(α)/log(pα − p + 1))]−1/β .
cumulative distribution function or probability density
function of X.
Table 5 gives the quantiles for the selected values Theorem 4.3: If X has APIW (α, λ, β) distribution, then
of λ = 0.7 and β = 5 and for different values of the the moment generating function of a random variable X
parameter α. is given by
Also, we can generate APIW random variable by ∞ ∞
using (22). 1 tk (log(α))j+1
MX (t) =
α−1 k! (j + 1)!
k=0 j=0
4.4. Entropy denoted by X1:n , . . . , Xn:n . The PDF of the ith order statis-
tics Xi:n is given by
In many field of science such as communication, physics
and probability, entropy is an important concept to n!
gi:n (x) = g(x)[G(x)]i−1 [1 − G(x)]n−i ,
measure the amount of uncertainty associated with (i − 1)!(n − i)!
a random variable X. Two popular entropy measures
are the Rényi and Shannon entropies. Here, we derive hence PDF of the ith-order statistics Xi:n of APIW is given
expressions for the Rényi and Shannon entropies. by
n! α n−i
4.4.1. Rényi entropy gi:n (x) = λβ
(i − 1)!(n − i)! (α − 1)n
Rényi entropy of order δ is given by
−β −λx −β
∞
× log(α)x −(β+1) e−λx α e
1 δ
Hδ = log (g(x)) dx , δ ≥ 0, δ = 1. −λx −β −λx −β −1
1−δ −∞ × (α e − 1)i−1 (1 − α e )n−i .
Let X ∼ APIW(x; ) then
A useful alternative expression for the PDF of the ith-
∞ λβ
δ
−((δβ+δ−1)/β)
δβ + δ − 1 i − 1 n − i −(β+1)
× λ δ+j . (25) × x
β k j
−β −λx −β
× e−λx α n−i−j+(i+j)e . (27)
4.4.2. Shannon entropy The CDF of the ith-order statistics Xi:n is given by
The Shannon entropy is given by
∞ n
s n−s
n
H1 = −E[log(g(x))] = − g(x) log(g(x))dx. Gi:n (x) = G(x) 1 − G(x) ,
s
0 s=i
Hence, Shannon entropy of APIW is given by hence CDF of the ith-order statistics Xi:n of APIW is given
∞ by
λβ log(α)
H1 = − log + (β + 1) g(x) log(x)dx
α−1 n
∞
0 n α n−s
Gi:n (x) =
+λ x −β g(x)dx s (α − 1)n
s=i
0
∞
−λx −β −λx −β −1
−λx −β × (α e − 1)s (1 − α e )n−s .
− log(α) g(x)e dx.
0
A useful alternative expression for the CDF of the ith-
Then order statistic is
λβ log(α) (β + 1) log(α)
H1 = − log +
n
s
n−s
α−1 β(α − 1) Gi:n (x) = (−1)m+h
∞
(log(α))j
s=i m=0 h=0
× log λ(j + 1) − ψ(1)
i−1 n−i
limδ→1 Hδ . × (−1)k+j (i + j)s
k j
s=0
(i) stochastic order (denoted as X1 ≤st X2 ) if The logarithm of the likelihood function is then
G1 (x) ≤ G2 (x) for all x;
L(x1 , . . . , xn |) = n log(log(α)) − n log(α − 1)
(ii) likelihood ratio order (denoted as X1 ≤lr X2 ) if
g1 (x)/g2 (x) is decreasing in x ≥ 0; + n log(λ) + n log(β)
(iii) hazard rate order (denoted as X1 ≤hr X2 ) if
n
n
−β
G1 (x)/G2 (x) is decreasing in x ≥ 0; − (β + 1) log(xi ) − λ xi
(iv) reversed hazard rate order (denoted as X1 ≤rhr X2 ) i=1 i=1
if
n
−β
G1 (x)/G2 (x) is decreasing in x ≥ 0. + log(α) e−λxi . (30)
i=1
The four stochastic orders defined above are related By taking the first partial derivatives of the log-
to each other, as the following implications [17]: likelihood function with respect to the three parameters
in
X1 ≤rhr X2 ⇐ X1 ≤lr X2 ⇒ X1 ≤hr X2 ⇒ X1 ≤st X2 .
1 −λx−β
n
∂L n n
= − + e i , (31)
The theorem below offers that the APIW distributions ∂α α log(α) α − 1 α
i=1
are ordered with respect to the strongest likelihood
n −β −β
n n
ratio ordering when suitable assumptions are satisfied. ∂L −β
= − xi − log(α) xi e−λxi , (32)
∂λ λ
i=1 i=1
Theorem 4.4: Let X1 ∼ APIW(α1 , λ, β) and X2 ∼
APIW(α2 , λ, β) and
if α1 < α2 then X1 ≤lr X2
n −β
n n
∂L
= − log(xi ) + λ xi log(xi )
∂β β
Proof: i=1 i=1
n
−β −β
e−λx−β + λ log(α) xi log(xi )e−λxi . (33)
g1 (x) α2 − 1 log(α1 ) α1
= . i=1
g2 (x) α1 − 1 log(α2 ) α2
ˆ of = (α, λ, β)
g1 (x) α2 − 1 The maximum likelihood estimates
log = log are obtained by solving the nonlinear equations
g2 (x) α1 − 1
log(α1 ) −λx −β α1
+ log +e log .
log(α2 ) α2 Table 7. MLE of parameters α,λ and β.
APIW(α, λ, β) n MSE(α) MSE(λ) MSE(β)
Since α1 < α2 Bias(α) Bias(λ) Bias(β)
50 1.57243 0.07047 0.01626
d g1 (x) −β α1
log = λβx −(β+1) e−λx log < 0. 0.39377 0.06702 0.00929
dx g2 (x) α2 APIW (0.8,0.5,0.7) 100 1.44836 0.06102 0.01375
0.37993 0.06144 −0.00839
150 1.32811 0.05303 0.01278
Hance g1 (x)/g2 (x) is decreasing in x. That is X1 ≤lr X2 . 0.36394 0.05625 −0.00696
200 1.17758 0.04575 0.01234
0.34467 0.04910 −0.00389
50 1.62209 0.26660 0.05284
−0.05436 0.23018 −0.04122
5. Parameter estimation APIW (1.6,1.4,1.5) 100 1.59021 0.19461 0.03654
0.02135 0.17204 −0.03230
5.1. Maximum likelihood estimation 150 1.53071 0.17211 0.03021
0.01382 0.15246 −0.02946
Let X1 , . . . , Xn be a random sample from APIW = 200 1.47792 0.14424 0.02553
−0.01796 0.12686 −0.01651
(α, λ, β) distribution; then the likelihood function is
JOURNAL OF TAIBAH UNIVERSITY FOR SCIENCE 431
Table 9. Some properties of data set. Table 11. Some measures for the fitted models.
Median Mean Variance Skewness Kurtosis Distributions -2L AIC CAIC BIC HQIC
6.65 9.4437 110.2526 3.2738 18.4421 APIW 859.007 865.007 865.198 873.563 868.483
GIW 990.360 996.360 996.550 1004.92 999.836
KIW 971.574 979.574 979.894 990.982 984.209
IW 1000.24 1004.24 1004.33 1009.94 1006.56
∂L/∂α = 0, ∂L/∂λ = 0 and ∂L/∂β = 0. These equations
are not in closed form and the values of the parameters
α, λ and β must be found by using iterative methods.
5.2. Simulation
In this section, we studied the behaviour of the MLEs
from unknown parameters. For parameter values, α =
(0.8, 1.6), λ = (0.5, 1.4) and β = (0.7, 1.5), 10,000 differ-
ent random samples are simulated from APIW models
with different sizes (50,100,150,200) by using Mathe-
matica. Table 7 shows the mean square error (MSE) and
the value of bias of parameters. From this table, it is
observed that the MSE and the Bias for the estimates
of α, λ and β are decreasing when the sample size n is
increasing.
Figure 7. The empirical and fitted reliability functions of
selected models.
6. Fitting reliability data
In this section, we analyse real data to illustrate that
Kolmogorov–Smirnov (K–S) statistics with its corre-
the APIW can be a good lifetime model comparing with
sponding p-value of the APIW and some distributions.
many known distributions such as exponentiated (gen-
Also, from Table 10 the small K–S distance, and the large
eralized) inverse Weibull (GIW), Kumaraswamy inverse
p-value for the test indicate that these data fit the APIW
Weibull (KIW) and inverse Weibull (IW) distributions. The
quite well.
real data set in Table 8 represents the remission times
Table 11 presents the log-likelihood values (L),
(in months) of a random sample of 128 bladder cancer
Akaike information criterion (AIC), consistent Akaike
patients reported in Lee and Wang [18].
information criterion (CAIC), Bayesian information cri-
The next table gives a descriptive summary for these
terion (BIC) and Hannan–Quinn information criterion
data.
(HQIC) statistics for the fitted APIW and some distribu-
The parameter of the sample is estimated numer-
tions, where
ically. We use equations (31)–(33) to obtain MLEs
estimate, Table 10 lists the maximum likelihood 2k(k + 1)
estimates of the unknown parameters and the AIC = 2k − 2L, CAIC = AIC + ,
n−k+1
Table 10. Estimates of the parameters and goodness-of-fit tests for data set.
Distributions Estimates Statistics
α λ β θ a b K–S P-Value
APIW 559.737 0.600494 0.948513 – – – 0.1085 0.0921
GIW - 0.75 0.34 1.797 – – 0.369 7.2 × 10−16
KIW - 2.239 3.796 – 0.0077 0.093 0.3402 1.49 × 10−13
IW - 16.142 0.464 – – – 0.503 4.02 × 10−29
432 A. M. BASHEER
BIC = k log(n) − 2L, HQIC = 2k log(log(n)) − 2L, [3] Calabria R, Pulcini G. Bayes 2-Sample prediction for the
inverse Weibull distribution. Commun Stat Theory Meth-
where n is the sample size and k is the number of param- ods. 1994;23(6):1811–1824.
[4] Maswadah M. Conditional confidence interval estima-
eters. The models with minimum AIC or (−2L, CAIC, BIC,
tion for the inverse Weibull distribution based on cen-
HQIC) value is chosen as the best model to fit the data. sored generalized order statistics. J Stat Comput Simul.
From this table, we can conclude that the APIW model 2003;73(12):887–898.
provides a better fit to the current data than the other [5] Khan MS, Pasha GR, Pasha AH. Theoretical analysis
models. of inverse Weibull distribution. WSEAS Trans Math.
Figure 7 gives the empirical and fitted reliability func- 2008;7:30–38.
[6] Sultan KS, Ismail MA, Al-Moisheer AS. Mixture of two
tions of selected models. It is clear from these two
inverse Weibull distributions: properties and estimation.
figures that APIW distribution fit well these data. Comput Stat Data Anal. 2007;51:5377–5387.
[7] De Gusmao FRS, Ortega EMM, Cordeiro GM. The general-
ized inverse Weibull distribution. Stat Papers. 2011;52(3):
7. Conclusion 591-–619.
[8] Khan MS, King R. Modified inverse Weibull distribution.
In this paper, we introduced our proposed new distribu- J Stat Appl Probab. 2012;1(2):115–132.
tion, named alpha power inverse Weibull. Many proper- [9] Hanook S, Shahbaz MQ, Mohsin M, et al. A note on beta
ties of our proposed model were investigated, includ- inverse Weibull distribution. Commun Stat Theory Meth-
ods. 2013;42(2):320–335.
ing reliability, moments, entropy and order statistics.
[10] Pararai M, Warahena G, Oluyede BO. A new class of gen-
The estimation of parameters is obtained by maximum eralized inverse Weibull distribution with applications.
likelihood method. A real data set is applied and has J Appl Math Bioinformatics. 2014;4(2):17–35.
indicated that the proposed new distribution provides [11] Aryal G, Elbatal I. Kumaraswamy modified inverse Weibull
flexibility better fit of the data. distribution. Appl Math Inf Sci. 2015;9(2):651-–660.
[12] Elbatal I, Condino F, Domma F. Reflected generalized
beta inverse Weibull distribution: definition and proper-
ties. Sankhya. 2016;78(2):316–340.
Disclosure statement
[13] Okasha HM, El-Baz AH, Tarabia AMK, et al. Extended
No potential conflict of interest was reported by the author. inverse Weibull distribution with reliability application.
J Egypt Math Soc. 2017;25(3):343–349.
[14] Mahdavi A, Kundu D. A new method for generating distri-
ORCID butions with an application to exponential distribution.
Abdulkareem M. Basheer http://orcid.org/0000-0002- Commun Stat Theory Methods. 2017;46(13):6543–6557.
3444-6719 [15] Kayid M, Izadkhah S. Mean inactivity time function, asso-
ciated orderings and classes of life distributions. IEEE
Trans Reliab. 2014;63(2):593–602.
[16] Ghitany ME, Atieh B, Nadarajah S. Lindley distribu-
References
tion and its application. Math Comput Simul. 2008;78:
[1] Nelson WB. Applied life data analysis. New York (NY): 493–506.
Wiley; 1982. [17] Shaked M, Shanthikumar JG. Stochastic orders. New York:
[2] Calabria R, Pulcini G. On the maximum likelihood and Springer; 2007.
least Squares estimation in inverse Weibull distribution. [18] Lee ET, Wang JW. Statistical methods for survival data
Stat Appl. 1990;2:53–66. analysis. 3rd ed. New York: Wiley; 2003.