Skip to main content
Computational Intelligence and Neuroscience logoLink to Computational Intelligence and Neuroscience
. 2021 Jul 30;2021:1087871. doi: 10.1155/2021/1087871

Classical and Bayesian Inference of Conditional Stress-Strength Model under Kumaraswamy Distribution

Fathy H Riad 1,2, Mohammad Mehdi Saber 3,✉, Mehrdad Taghipour 4, M M Abd El-Raouf 5
PMCID: PMC8349262  PMID: 34373685

Abstract

Stress-strength models have been frequently studied in recent years. An applicable extension of these models is conditional stress-strength models. The maximum likelihood estimator of conditional stress-strength models, asymptotic distribution of this estimator, and its confidence intervals are obtained for Kumaraswamy distribution. In addition, Bayesian estimation and bootstrap method are applied to the model.

1. Introduction

In reliability, R=P(X > Y) is named as the “stress-strength model.” This model has application in some literatures in addition to reliability, such as biostatistics, quality control, engineering, psychology, stochastic precedence, medicine, and probabilistic mechanical design. For a comprehensive review with details, refer to the study by Kotz et al. [1]. Regarding this reference, a sample in a clinical study can be considered in such a way that Y and X are assumed to be the results of a treatment group and a control group, respectively. Therefore, the expression (1 − R) measures the effect of treatment.

For some other applications, refer to the study by Ventura and Racugno (2011). In terms of reliability, Y is considered the strength of a component, which is under X stress. Therefore, R and (1 − R) indicate the system performance and the probability of system failure, respectively.

Some authors have extensively studied quantity R in parametric case for different distributions and in nonparametric case. Refer the study by Rezaei et al. [2] for a list of distributions used in this matter.

In usual situations, it is known that X and Y are bigger than two fixed values. Especially when X and Y are lifetime of two components of a system, we may know that these components had been alive for a known time until we are going to have some inferences about R=P(X > Y). Therefore, Saber and Khorshidian [3] introduced the conditional stress-strength model as follows:

R|a,b=PX>Y|X>a,Y>b. (1)

The quantity R is special case of this quantity if we set a=b=−∞. In the study by Saber and Khorshidian [3], if independent random variables X and Y  are continues, then

R|a,b=1−FYa−∫a+∞FXyfYy dy1−FXa1−FYb; a=b,1−FYb−∫b+∞FXyfYy dy1−FXa1−FYb; a<b,∫a+∞FYxfXx dx−FYb1−FXa1−FXa1−FYb, a>b. (2)

They worked on exponential distribution in the first paper on conditional stress-strength models.

In this paper, the Kumaraswamy distribution is applied to conditional stress-strength models. The Kumaraswamy distribution is a continuous distribution whose values are similar to the beta distribution in the distance [0.1]. In this respect, it is very similar to the beta distribution. However, it has significant advantages in terms of performance, and the cumulative irreversible distribution of booklets has advantages.

In the study by Kumaraswamy [4]; Kumaraswamy [5], hydrological data were shown, for example, daily rainfall and daily flow are not compatible with known and widely used distribution distributions such as normal, log-normal, and beta distributions. In addition, distributions such as Johnson and natural transformed polynomials have this problem too. Therefore, he defined a new probability density function called the sine probability density function. It seems that researchers for such data have considered this type of distribution (see Sundar and Subbiah [6]; Fletcher and Ponnambalam [7]; Seifi et al. [8]; Ponnambalam et al. [9]; and Ganji et al. (2006)).

The Kumaraswamy (Kw) distribution has a probability density function (pdf) and a cumulative distribution function as follows:

fXx=αβxα−11−xαβ−1,FXx=1−1−xαβ, (3)

respectively, where x ∈ [0,1] and α, β ∈ (0, ∞) are two positive shape parameters. Some works on stress-strength models by using of this distribution have been listed as follows. Nadar et al. [10] studied classical and Bayesian estimation of R, and then Nadar and Kizilaslan [11] performed the same study but by using upper record values. Estimation of reliability of multicomponent stress-strength models (introduced by Bhattacharyya and Johnson (1974)) has been studied by Dey et al. [12]. Finally, the multicomponent stress-strength model based on progressively censored sample has been worked by Kohansal [13].

The rest of the paper is organized as follows; we devote Section 2 to study R|a,  b in case of Kumaraswamy distribution. In a continuation of Section 2, the ML estimator of quantity R|a,  b, its corresponding asymptotic distribution, and confidence interval are presented. Furthermore, two methods including Bayesian and bootstrap are applied to our recommended model. Finally, results are presented in Section 3.

2. Conditional Stress-Strength Model for Kumaraswamy Distribution

In this section, quantity (2) is computed when distribution of components is Kumaraswamy.

Theorem 1 . —

Suppose X ~ Ku(α, β1) and Y ~ Ku(α, β2) are independent random variables, then

R|a, b=β2β1+β2; a=b,β2β1+β21−bα1−aαβ1, a<b, 1−β1β1+β21−aα1−bαβ2, a>b.   (4)

Proof —

Use and substitute functions fX(x)=αβ1xα−1(1 − xα)β1−1, FX(x)=1 − (1 − xα)β1, fY(y)=αβ2yα−1(1 − yα)β2−1, and FY(y)=1 − (1 − yα)β2 in equation (2). So, let a=b, then

R|a,b=1−FYa−∫a+∞FXyfYy dy1−FXa1−FYb=1−FYa−∫a11−1−yαβ1αβ2yα−11−yαβ2−1 dy1−aαβ1+β2=1−FYa−∫a1αβ2yα−11−yαβ2−1 dy+∫a1αβ2yα−11−yαβ1+β2−1 dy1−aαβ1+β2= 1−FYa−∫a1fYydy+β2/β1+β2∫a1αβ1+β2yα−11−yαβ1+β2−1 dy1−aαβ1+β2=β2/β1+β21−aαβ1+β21−aαβ1+β2=β2β1+β2. (5)

And, if a < b, then

R|a,b=1−FYb−∫b+∞FXyfYy dy1−FXa1−FYb=1−FYb−∫b11−1−yαβ1αβ2yα−11−yαβ2−1 dy1−aαβ11−bαβ2=β2β1+β21−bα1−aαβ1. (6)

Eventually, if a > b, we can calculate R|a,b like previous ones.

R|a,b=∫a+∞FYxfXx dx−FYb1−FXa1−FXa1−FYb=∫a11−1−xαβ2αβ1xα−11−xαβ1−1 dx−FYb1−FXa1−aαβ11−bαβ2=1−aαβ11−bαβ2−β1/β1+β21−aαβ1+β21−aαβ11−bαβ2=1−β1β1+β21−aα1−bαβ2. (7)

In continuation of this section, we find MLE of R|a,b, and then asymptotic distribution of this estimator is found in order to construct its confidence interval.

Let X1, X2,…, Xn be a random sample of size n of Ku(α, β1) and Y1, Y2,…, Ym be a random sample of size m of Ku(α, β2) such that X and Y are independent. Then, the likelihood function is obtained.

Lα,β1,β2=αn+mβ1nβ2m∏i=1nxiα−1∏i=1n1−xiαβ1−1×∏j=1myjα−1∏j=1m1−yjαβ2−1. (8)

Then, to facilitate the calculation, use the form of the likelihood function in [14].

lα,β1,β2=lnLα,β1,β2 =n+mln  α+n  ln  β1+m  ln  β2+α−1lx+ly+β1−1lxx+β2−1lyy, (9)

where

lx=∑i=1nln  xi,ly=∑j=1mln  yj,lxx=∑i=1nln1−xiα,lyy=∑j=1mln1−yjα. (10)

Therefore, the MLE parameters α, β1, and β2 are obtained by solving the following equations:

∂lα,β1,β2∂α=0,∂lα,β1,β2∂β1=0,∂lα,β1,β2∂β2=0. (11)

Then,

β1^=−nlxx,β2^=−mlyy, (12)

and the MLE parameter α is obtained by solving the following nonlinear equation:

n+mα+lx+ly−β1−1^∑i=1nxiαln  xi1−xiα−β2−1^∑j=1myjαln  yj1−yjα=0. (13)

The above equation is solved by numerically methods.

Therefore, the MLE of R^|a,b becomes

R^|a,b=β2^β1^+β2^, a=b,β2^β1^+β2^1−bα^1−aα^β1^, a<b, 1−β1^β1^+β2^1−aα^1−bα^β2^, a>b. (14)

2.1. Asymptotic Distribution of R^|a,b

In this section, we compute the asymptotic distributions of θ^=α^,β1^,β2^ and R^|a,b. Hence, the Fisher information matrix of θ=(α, β1, β2) denoted by J(θ)=E[I, θ] is given as follows, where I=[Ii,j]i,j=1,2,3 is the observed information matrix, i.e.,

Iθ=−∂2lα,β1,β2∂α2∂2lα,β1,β2∂α  ∂β1∂2lα,β1,β2∂α  ∂β2∂2lα,β1,β2∂β1∂α∂2lα,β1,β2∂β12∂2lα,β1,β2∂β1∂β2∂2lα,β1,β2∂β2∂α∂2lα,β1,β2∂β2∂β1∂2lα,β1,β2∂β22=I1 1I1 2I1 3I2 1I2 2I2 3I3 1I3 2I3 3, (15)

and the elements of I(θ) are as follows:

I11=n+mα2+β1−1∑i=1nxiαln2xi1−xiα2+β2−1∑j=1myjαln2yj1−yjα2,I12=I21=∑i=1nxiαln  xi1−xiα,I13=I31=∑j=1myjαln  yj1−yjαI22=nβ12,I33=mβ22. (16)

The elements of the Fisher information matrix are obtained by taking the expectations of the observed matrix. The following integrals can be helpful when finding the elements of the Fisher information matrix:

∫01tx−1 1−ty−1ln  t dt=Bx,yψx−ψx+y,∫01tx−11−ty−1ln2  t dt=Bx,yψx−ψx+y2+ψ′x−ψ′x+y, (17)

where B(x, y) is the beta function, ψ(x) is the digamma function, and

ψ′x=∂∂xψx,J11=n+mα2+nβ1β1−1α2B2,β1−2ψ2−ψβ12ψ′2−ψ′β12+mβ2β2−1α2B2,β2−2ψ2−ψβ22ψ′2−ψ′β22,J12=J21=nβ1αB2,β1−1ψ2−ψβ1+1,J13=J31=mβ2αB2,β2−1ψ2−ψβ2+1,J22=nβ12,J23=J32=0, J33=mβ22, (18)

where

ψ1=−γ,ψ2=1−γ,γ=−Γ′1, ψ′2=π6−1,ψ′βi=∑n=0∞1βi+n2, i=1,2. (19)

So, Jθ=J11J12J13J21J2 2J23J31J32J33. As n⟶∞  and m⟶∞, then by using of multivariate CLT of θ^, we have θ^⟶N3θ, Σ where θ^= α^,β1^,β2^ and Σ is inverse of the Fisher information matrix:

Σ=1det JθJ22J33−J23J32J13J32−J12J33J12J23−J13J22J23J31−J21J33J11J33−J13J31J13J21−J11J23J21J32−J22J31J12J31−J11J32J11J22−J 12J21=1det JθJ22J33−J12J33−J13J22−J21J33J11J33−J13J31J13J21−J22J31J12J31J11J22−J 12J21, (20)

such that

detJθ=J11J22J33+J12J 23J31+J13J21J32−J13J22J31−J 12J21J33−J11J23J32=J11J22J33−J13J22J31−J 12J21J33=nmβ12β22α2n+m+nβ1β1−1B2,β1−2ψ2−ψβ12ψ′2−ψ′β12+mβ2β2−1B2,β2−2ψ2−ψβ22ψ′2−ψ′β2−nm2β12α2β2B2,β2−1ψ2−ψβ2+12−mn2β22α2β1B2,β1−1ψ2−ψβ1+12. (21)

Now, we can use the Delta method to express the following theorem.

Theorem 2 . —

As n⟶∞  and m⟶∞, then

R^|a,b−R|a,bσ1⟶N0,1; a=b,R^|a,b−R|a,bσ2⟶N0,1; a<b,R^|a,b−R|a,bσ3 ⟶N0,1; a>b, (22)

where σ12, σ22, and σ32 are obtained as the following equations:

σ12=β12β22nmβ1+β24A−C−DmA−C−2nmβ12β22B3B4ψ3ψ4+nA−D,σ22=1A−C−Dρ12α2+ρ22β12A−C+ρ32β22A−D−2ρ1ρ2αβ13−2ρ1ρ3αβ23+2ρ2ρ3β13β23B3B4ψ3ψ4,σ32=1A−C−Dγ12α2−2γ1γ2αβ13−2γ1γ3αβ23+2γ2γ3β13β23B3B4ψ3ψ4+γ22β12nA−C+γ32β22mA−D, (23)

where

B1=B2,β1−2, B2=B2,β2−2 ,B3= B2,β2−1,B4=B2,β1−1,ψ1=ψ2−ψβ1, ψ2=ψ2−ψβ2, ψ3=ψ2−ψβ2+1,ψ4=ψ2−ψβ1+1,ψ1′=ψ′2−ψ′β1, ψ2′=ψ′2−ψ′β2,A=n+m+nβ1β1−1B1ψ12ψ1′+mβ2β2−1B2ψ22ψ2′,C=mβ24B32ψ32,D=nβ14B42ψ42,ρ1=β1β2β1+β21−bα1−aαβ1−1aα1−bαln  a−bα1−aαln  b1−aα2,ρ2=β2β1+β21−bα1−aαβ1ln1−bα1−aα−1β1+β2,ρ3=β1β1+β221−bα1−aαβ1,γ1=β1β2β1+β21−aα1−bαβ2−1aα1−bαln  a−bα1−aαln  b1−bα2,γ2=−β2β1+β221−aα1−bαβ2,γ3=β1β1+β21−aα1−bαβ21β1+β2−ln1−aα1−bα. (24)

Proof —

Let

gx1,x2,x3=x3x2+x3; a=b,x3x2+x31−bx11−ax1x2; a<b, 1−x2x2+x31−ax11−bx1x3; a>b, (25)

then

∂g∂x1=0; a=b,x3x2x2+x31−bx11−ax1x2−1ax11−bx1ln  a−bx11−ax1ln  b1−ax12; a<b, x3x2x2+x31−ax11−bx1x3−1ax11−bx1ln  a−bx11−ax1ln  b1−bx12; a>b,∂g∂x2=−x3x2+x32; a=b,x3x2+x31−bx11−ax1x2ln1−bx11−ax1−1x2+x3; a<b,−x3x2+x321−ax11−bx1x3; a>b,∂g∂x3=x2x2+x32; a=b,x2x2+x321−bx11−ax1x2; a<b,x2x2+x31−ax11−bx1x31x2+x3−ln1−ax11−bx1; a>b, gx˙=∂gx1,x2,x3∂x1,∂gx1,x2,x3∂x2,∂gx1,x2,x3∂x3. (26)

Since  θ^−θ⟶N0, Σ, by Cramer's theorem,

gθ^−gθ⟶N 0, gθ˙ΣgθT˙, (27)

where gθ˙=∂R|a,b/∂θ=∂R|a,b/∂α,∂R|a,b/∂β1,∂R|a,b/∂β2. Now, σ12, σ22, and σ32 are computed of gθ˙ΣgθT˙ for case of a=b, a < b, and a > b, respectively.

Using the previous theorem, the confidence interval for R|a,b can be obtained.

Theorem 3 . —

(1 − α) 100% confidence interval for R|a,b is equal to

R|a,b∈R^|a,b−z1−α/2σ^1 , R^|a,b+z1−α/2σ^1; a=b,R|a,b∈R^|a,b−z1−α/2σ^2 , R^|a,b+z1−α/2σ^2; a<b,R|a,b∈R^|a,b−z1−α/2σ^3 , R^|a,b+z1−α/2σ^3; a>b. (28)

In above equations σ^i2 where i=1,2,3 are similar to σi2 where i=1,2,3 in Theorem 2 with substitutions   α^ , β^1, and β^2 instead of  α, β1, and  β2.

2.2. Bayesian Estimation of R| a,b

In this section, we use the Bayesian method to approximate the posterior distribution for the values of interest in the multicomponent stress strength for the Kumarswamy distribution based on the MCMC method.

Therefore, suppose π(θ)=π(α)π(β1)π(β2) is the joint prior density for θ=(α, β1, β2), such that α ~ Γ(a1, b1),  β1 ~ Γ(a2, b2), and β2 ~ Γ(a3, b3).

In these priors, Γ(ai, bi) is the gamma distribution with mean and variance ai/bi and ai/bi2, respectively, such that ai and bi are known parameters and  ai, bi > 0. We assume that the prior distributions α, β1, and  β2 are independent.

πα∝ αa1−1e−αb1,πβ1∝ β1a2−1e−β1b2,πβ2∝ β2a3−1e−β2b3. (29)

Then, π(θ, x, y)=π(α)π(β1)π(β2)L(α, β1, β2).

∝αa1+m+n−1e−αb1 β1a2+n−1e−β1b2β2a3+m−1e−β2b3β2m×∏i=1nxiα−1∏i=1n1−xiαβ1−1∏i=1nyjα−1∏i=1n1−yjαβ2−1. (30)

Hence,

πα|β1,β2,x,y∝Γa1+m+n,b1 Lα,β1,β2,πβ1|α,β2,x,y∝Γa2+n,b2∏i=1n1−xiαβ1−1,πβ2|α,β1,x,y∝Γa3+m,b3∏j=1m1−yjαβ2−1. (31)

Bayesian inference for parameters α, β1, and β2 can be performed using the Metropolis–Hastings algorithm (see Chib and Greenberg [15]) considering the conditional distributions as the target densities.

2.3. Bootstrap Confidence Intervals

Similar to Section 2.2, we study confidence interval based on the percentile bootstrap method for the case of common shape parameter. The algorithm is as follows:

  • Step 1: For samples {x1,…,  xn} and {y1,…,  ym}, calculate  θ^=α^,β1^,β2^.

  • Step 2: Use (α^,β1^) and (α^, β2^) to generate bootstrap samples {x1∗,…, xn∗} and {y1∗,…, ym∗}, respectively, and then using the generated samples, calculate the bootstrap estimate of R  say R∗ as follows:
    R∗^=β2^β1^+β2^; a=b,β2^β1^+β2^1−bα^1−aα^β1^; a<b, 1−β1^β1^+β2^1−aα^1−bα^β2^; a>b. (32)
  • Step 3: Repeat the previous step with time N bootstrap to generate  R^1∗,…,R^N∗.

Now, R^boot∗=1/N∑i=1NR^i∗ and the approximate 100 (1 − α) % confidence interval of R  G is given by (R^α/2∗,R^1−α/2∗) where R^γ∗ shows quantile of order γ for  R^1∗,…,R^N∗.

3. Simulation Study

In this section, we want to simulate the results for different sample sizes to better illustrate the methods presented in this paper (classical estimation, Bayesian estimation, and bootstrap). Codes of this section have been provided in Appendix. The two known parameters a=0.1 and b=0.2 are used in our study. For other parameters in the model, we consider two cases α=5, β1=3.5, and β2=3.25 which lead to R|a,b=0.480959271 and α=1.25, β1=7, and β2=4.2 that their corresponding R|a,b is  0.20582159557. In this simulation, sample sizes (n, m)=(5,5),  (10,10), (15,15), (20,20), (35,35), (50,50), (70,70), (100,100), (5,15), (25,15), (20,35), (30,60), (100,55) are used. All results are the mean of 5000 iteration. Estimation has been accomplished by three methods such as MLE, Bayesian, and bootstrap. For comparing these methods, we compute bias and MSE. In addition, coverage probabilities (CPs) and length of confidence interval have been computed. Our findings are represented in Tables 1–6. As these tables demonstrate, Bayesian estimation is the best method among three used methods with respect to criteria MSE, CP, and length of confidence interval. However, ML estimation has less bias than two other studied methods.

Table 1.

Classical estimation: α=5, β1=3.5, β2=3.25, a=0.1, b=0.2, and R|a,b=0.480959271 for equal sample sizes n and m.

(m, n) R^|a,b Bias (R^|a,b) MSE (R^|a,b) C.I CP Length
(5, 5) 0.4842 0.0033 0.0320 (0.2225, 0.7459) 0.8000 0.5235
(10, 10) 0.5135 0.0307 0.0097 (0.3040, 0.7228) 0.9500 0.4188
(15, 15) 0.4833 0.0005 0.0082 (0.3115, 0.6549) 0.9487 0.3433
(20, 20) 0.4754 −0.0068 0.0050 (0.3248, 0.6259) 0.9600 0.3012
(35, 35) 0.4778 −0.0032 0.0028 (0.3625,0.5930) 0.9630 0.2305
(50, 50) 0.4809 0.0000 0.0030 (0.3846, 0.5772) 0.9300 0.1927
(70, 70) 0.48589 0.00493 0.00178 (0.4038, 0.5679) 0.93000 0.16402
(100, 100) 0.4786 −0.0023 0.0010 (0.4098, 0.5474) 0.9700 0.1376

Table 2.

Bayesian and bootstrap estimations: α=5, β1=3.5, β2=3.25, a=0.1, b=0.2, and R|a,b=0.480959271 for equal sample sizes n and m.

(n, m) R^bayes|a,b Bias (R^bayes|a,b) MSE (R^bayes|a,b) C.Ibayes CPbayes Lengthbayes C.Iboot CPboot Lengthboot
(5, 5) 0.4929 0.0120 0.003 (0.4188, 0.5497) 1 0.1310 (0.1228, 0.8455) 1 0.7227
(10, 10) 0.4967 0.0157 0.0003 (0.4363, 0.5498) 1 0.1135 (0.2709, 0.7559) 1 0.4850
(15, 15) 0.4975 0.0166 0.0003 (0.4412, 0.5498) 1 0.1086 (0.2905, 0.6759) 1 0.3853
(20, 20) 0.4985 0.0175 0.0003 (0.4446, 0.5498) 1 0.1052 (0.3092, 0.6415) 1 0.3323
(35, 35) 0.4989 0.0180 0.0003 (0.4469, 0.5498) 1 0.1030 (0.3538, 0.6017) 1 0.2479
(50, 50) 0.4990 0.0181 0.0003 (0.4475, 0.5498) 1 0.1023 (0.3772, 0.5846) 1 0.2074
(70, 70) 0.49467 0.01371 0.00088 (0.44507, 0.54427) 1 0.09920 (0.40004, 0.5717) 1 0.17169
(100, 100) 0.0190 0.5000 0.0004 (0.4499, 0.5499) 1 0.1000 (0.4138, 0.5434) 1 0.1297

Table 3.

Classical estimation: α=5, β1=3.5, β2=3.25, a=0.1, b=0.2, and R|a,b=0.480959271 for different sample sizes n and m.

(n, m) R^|a,b Bias (R^|a,b) MSE (R^|a,b) C.I CP Length
(5, 15) 0.4040 −0.1134 0.0413 (0.2015, 0.6065) 0.5000 0.4050
(20, 15) 0.4787 −0.0022 0.0065 (0.3243, 0.6330) 0.9315 0.3087
(20, 35) 0.5007 0.0217 0.0047 (0.3661, 0.6352) 0.8974 0.2691
(30, 60) 0.4755 −0.0055 0.0034 (0.3680, 0.5829) 0.8900 0.2149
(100, 55) 0.4820 0.0010 0.0015 (0.4004, 0.5634) 0.9600 0.1630

Table 4.

Bayesian and bootstrap Estimations: α=5, β1=3.5, β2=3.25, a=0.1, b=0.2, and R|a,b=0.480959271 for different sample sizes n and m.

(n, m) R^bayes|a,b Bias (R^bayes|a,b) MSE (R^bayes|a,b) C.Ibayes CPbayes Lengthbayes C.Iboot CPboot Lengthboot
(5, 15) 0.4969 0.0159 0.0003 (0.4361, 0.5498) 1.0000 0.1137 (0.1341, 0.6738) 1.0000 0.5398
(20, 15) 0.4981 0.0171 0.0003 (0.4437, 0.54981) 1.000 0.1061 (0.3076, 0.6497) 1.0000 0.3421
(20, 35) 0.4986 0.0177 0.0003 (0.4453, 0.5498) 1.0000 0.1045 (0.3539, 0.6474) 1.0000 0.2935
(30, 60) 0.4990 0.0181 0.0003 (0.4473, 0.5498) 1.0000 0.1025 (0.3598, 0.5911) 1.0000 0.2313
(100, 55) 0.5000 0.0190 0.0004 (0.4499, 0.5499) 1.0000 0.1000 (0.3955, 0.5683) 1.0000 0.1728

Table 5.

Classical estimation: α=1.25, β1=7, β2=4.2, a=0.1,  b=0.2, and R |a,b=0.20582159557.

(n, m) R^|a,b Bias (R^|a,b) MSE (R^|a,b) C.I CP Length
(5, 5) 0.1962 −0.0165 0.0138 (0.0169, 0.4094) 0.7895 0.4265
(25, 25) 0.2148 0.0090 0.0036 (0.1055, 0.3239) 0.9300 0.2184
(30, 30) 0.2009 −0.0049 0.0028 (0.1043, 0.2975) 0.8800 0.1932
(40, 40) 0.2024 −0.0034 0.0017 (0.1180, 0.2868) 0.9500 0.1689

Table 6.

Bayesian and bootstrap estimations: α=1.25, β1=7, β2=4.2, a=0.1,  b=0.2, and R |a,b=0.20582159557.

(n, m) R^bayes|a,b Bias (R^bayes|a,b) MSE (R^bayes|a,b) C.Ibayes CPbayes Lengthbayes C.Iboot CPboot Lengthboot
(5, 5) 0.3462 0.1404 0.0233 (0.1438, 0.5486) 0.9100 0.3048 (-0.0571, 0.4496) 1.0000 0.5069
(25, 25) 0.3055 0.0997 0.0119 (0.1337, 0.4772) 1.0000 0.2435 (0.0974, 0.3320) 1.0000 0.2346
(30, 30) 0.3035 0.0977 0.0115 (0.1297, 0.4773) 1.0000 0.2477 (0.0933, 0.3085) 1.0000 0.2152
(40, 40) 0.3001 0.0942 0.0110 (0.1231, 0.4769) 1.0000 0.2538 (0.1093, 0.2955) 1.0000 0.1863

4. Discussion and Conclusion

The conditional stress-strength model as an interesting extension of the stress-strength model in reliability was studied for Kumaraswamy distribution. Three estimation methods are applied for statistical inference in this model.

The stress-strength model has been investigated for many distributions such as generalized logistic distribution, generalized failure rate distribution, Rayleigh, and half-normal distribution (see, for instance, Rasekhi et al. [16] and Alamri et al. [17]). They may be applied for the conditional stress-strength model, too. We are going to study this model for generalized logistic distribution in the next step.

The generalized stress-strength parameter (RG) introduced by Saber et al. [18] is given by

RG=PY< X<Z. (33)

This quantity is related to a system with three components while R is defined for systems which have two components.

For future studies, a possible extension of (33) is recommended in the following:

RG|a,b,c=PY< X<Z|X>a,Y>b,Z>c. (34)

Appendix

Program Codes

  •   rm(list = ls())

  •   a<−0.1; b < −0.2; n < −50; m < −50; alfa < −5; beta1<−3.5; beta2<−3.25; N < −1000; n.boot < −200

  •   ALFA < −0.05; sigma2a < −0.36; sigma2b < −4; a1<−1; b1<−0.5; a2<−1.5; b2<−1; a3<−1.5; b3<−1.25

  •   alfas < 0.9; beta1s < −6.25; beta2s < -10.25; seed < −32101456; n.mh < −1; n.gs < −10000

  •   Rab < -function(b1,b2,alf) {

  •   if(a<b) m1<−(b2/(b1 + b2))∗((1 − b^alf)/(1 − a^alf))^b1

  •   if(a>b) m1<-1-(b1/(b1 + b2))∗((1 − a^alf)/(1 − b^alf))^b2

  •   return(m1) }

  •   rkus < -function(n,alf,bet) {

  •   u < -runif(n); d < -(1 − u)^(1/bet); dd < -(1 − d)^(1/alf)

  •   return(dd) }

  •   lalfa < -function(alf){

  •   lx < -sum(log(x)); ly < -sum(log(y)); lxx < -sum(log(1-x^alf)); lyy < -sum(log(1-y^alf))

  •   lxxx < -sum(x^alf∗log(x)/(1-x^alf)); lyyy < -sum(y^alf∗log(y)/(1-y^alf))

  •   d < -(n + m)/alf + lx + ly; d1 < -(n/lxx + 1)∗lxxx; d2<-(m/lyy + 1)∗lyyy; dd < -d + d1 + d2

  •   return(dd) }

  •   thetahat < -function(n, m,b1,b2,alf){

  •   x < -rkus(n,alf,b1); y < -rkus(m,alf,b2)

  •   lalfa < -function(alf){

  •   lx < -sum(log(x)); ly < -sum(log(y)); lxx < -sum(log(1 − x^alf)); lyy < -sum(log(1-y^alf))

  •   lxxx < -sum(x^alf∗log(x)/(1 − x^alf)); lyyy < -sum(y^alf∗log(y)/(1-y^alf))

  •   d < -(n + m)/alf + lx + ly; d1<-(n/lxx+1)∗lxxx; d2<-(m/lyy + 1)∗lyyy; dd < -d + d1 + d2

  •   return(dd) }

  •   alfahat < -uniroot(lalfa,c(0.0001, 20))$root

  •   lxx < -sum(log(1 − x^alfahat)); lyy < -sum(log(1 − y^alfahat)); beta1hat < --n/lxx; beta2hat < --m/lyy

  •   return(c(beta1hat,beta2hat,alfahat))}

  •   fishermi < -function(n,m,b1,b2,alf){

  •   a1<-beta(2, b1-2); a2<-beta(2, b2-2); a3<-beta(2, b1-1); a4<-beta(2, b2-1)

  •   c1 < -digamma(2)-digamma(b1); c2 < -digamma(2)-digamma(b2); c11 < -trigamma(2)-trigamma(b1); c21 < -trigamma(2)-trigamma(b2); c3 < -digamma(2)-digamma(b1 + 1); c4<-digamma(2)-digamma(b2 + 1)

  •   J < -matrix(0, 3, 3); J[1, 1]<-(n+ m + n∗b1∗(b1-1)∗a1∗c1^2∗c11+m∗b2∗(b2-1)∗a2∗c2∗c21)/alf^2

  •   J[1, 2] < -J[2, 1] < -nb1∗a3∗c3/alf; J[1, 3] < -J[3, 1] < -m∗b2∗a4∗c4/alf; J[2, 2] < -n/b1^2; J[3, 3]<-m/b2^2

  •   return(J)}

  •   moshtag < -function(b1, b2,alf){

  •   if(a<b){ e1<--((b2/(b1 + b2)) (((1-b^alf)/(1-a^alf))^(b1-1) (b1 ∗ (b^alf ∗ log(b)/(1 - a^alf) - (1 - b^alf) ∗ (a^alf ∗ log(a))/(1-a^alf)^2))))

  •   e2 < -(b2/(b1 + b2)) ∗ (((1 − b^alf)/(1-a^alf))^b1 ∗ log(((1 − b^alf)/(1 − a^alf))))-b2/(b1 + b2)^2 ∗ ((1 − b^alf)/(1 − a^alf))^b1

  •   e3<-(1/(b1 + b2) − b2/(b1 + b2)^2) ∗ ((1 - b^alf)/(1 − a^alf))^b1 }

  •   if(a>b){

  •   e1<-(b1/(b1 + b2)) ∗ (((1 − a^alf)/(1 − b^alf))^(b2 − 1) ∗ (b2 ∗ (a^alf ∗ log(a)/(1 − b^alf) − (1 − a^alf) ∗ (b^alf ∗ log(b))/(1 − b^alf)^2)))

  •   e2<--((1/(b1 + b2) − b1/(b1 + b2)^2) ∗ ((1 − a^alf)/(1 − b^alf))^b2)

  •   e3<--((b1/(b1 + b2)) ∗ (((1 − a^alf)/(1 − b^alf))^b2 ∗ log(((1 − a^alf)/(1 - b^alf)))) - b1/(b1 + b2)^2 ∗ ((1 a^alf)/(1 - b^alf))^b2) }

  •   return(c(e1,e2,e3))}

  •   sigma2<-function(n,m,b1,b2,alf){

  •   JJ < -fishermi(n,m,b1,b2,alf); mosh < -moshtag(b1,b2,alf); a5<-t(mosh)%∗%solve(JJ)%∗%mosh

  •   return(a5) }

  •   R120 < -Rab(beta1, beta2, alfa)

  •   R12h < -bias12 < - MSE12 < - L12 < - CP12 < -rep(0, 0); za < -qnorm(1-ALFA/2)

  •   for(i in 1:N) {

  •   x < -rkus(n,alfa, beta1); y < -rkus(m,alfa, beta2); tethat < -thetahat(n, m, beta1, beta2, alfa)

  •   b1hat < -tethat[1]; b2hat < -tethat[2]; ahat < -tethat[3]

  •   if((b1hat>2)&(b2hat>2))

  •   R12hat < -Rab(b1hat,b2hat,ahat); var12 < -sigma2(n, m, b1hat, b2hat, ahat); bias12[i]<-R12hat-R120

  •   MSE12[i] < -(R12hat-R120)^2; L12[i] < -2∗1.96∗sqrt(var12)

  •   CP12[i] < -sum((R120≥(R12hat-za∗sqrt(var12))) & (R120≤(R12hat + za∗sqrt(var12))))

  •   R12h[i]<-R12hat }

  •   Rhat < -mean(R12h); bias < -mean(bias12); mse < -mean(MSE12); lm < -mean(L12); cp < -mean(CP12)

  •   lower < -max(round(N∗ALFA/2),1); upper < -min(round(N∗(1-ALFA/2)), N)

  •   fboot < -function(N){

  •   R12bo < -rep(0, 0)

  •   for(i in 1 : N) {

  •   x < -rkus(n, alfa, beta1); y < -rkus(m,alfa, beta2); tethat < -thetahat(n, m, beta1, beta2, alfa)

  •   b1hat < -tethat[1]; b2hat < -tethat[2]; ahat < -tethat[3]

  •   if((b1hat > 2)&(b2hat > 2))

  •   R12hat < -Rab(b1hat, b2hat, ahat); R12bo[i]<-R12hat}; Rs < -sort(R12h); lb < -Rs[lower]; ub < -Rs[upper]

  •   L < --(lb-ub); CP < -sum((R120 ≥ lb)&(R120 ≤ ub)); dd < -c(L,CP)

  •   return(dd)}

  •   Lboot < -c(0,0); CPboot < -rep(0, 0)

  •   for(i in 1:n.boot) {

  •   results < -fboot(N); Lboot[i] < -results[1]; CPboot[i]<-results[2]}

  •   Lboot < -mean(Lboot); CPboot < -mean(CPboot); initial < -c(alfa, beta1,beta2,n,m,R120);

  •   dmle < -c(Rhat, bias,mse,cp,lm); dboot < -c(CPboot, Lboot); dclassic < -c(initial, dmle,dboot)

  •   dkus < -function(x,alfa, beta) alfa∗beta∗x^(alfa-1)∗(1-x^alfa)^(beta-1)

  •   falfa < -function(alfa, beta1,beta2,x,y){

  •   n < -length(x); m < -length(y); d1 < -(prod(x)∗prod(y))^(alfa − 1); d2<-prod(1 − x^alfa)^(beta1 − 1)

  •   d3<-prod(1 − y^alfa)^(beta2 − 1); d4<-dgamma(alfa,a1 + m + n,b1); d5<-d1∗d2∗d3∗d4

  •   return(d5)}

  •   fbeta < -function(beta, alfa,x,a,b){

  •   n < -length(x); d1<-prod(1-x^alfa)^(beta-1); d2 < -dgamma(beta,a + n,b); d3<-d1∗d2

  •   return(d3)}

  •   mhalfa < -function(nmh,alfas, beta1s,beta2s,x,y){

  •   set.seed < -seed; sample < -rep(0,nmh)

  •   for(i in 1:nmh){

  •   alfa < -rnorm(1,alfas, sqrt(sigma2a)); a.p1 < -falfa(alfa, beta1s,beta2s, x, y)

  •   a.p2 < -falfa(alfas, beta1s,beta2s, x, y); accept.prob < -a.p1/a.p2

  •   if(is.nan(accept.prob) = = T) sample[i] < -alfas

  •   else {

  •   ratio < -min(1,accept.prob); u < -runif(1)

  •   if(u ≤ ratio) sample[i] < -alfa

  •   else sample[i] < -alfas }

  •   alfas < -sample[i] }

  •   return(mean(sample)) }

  •   mhbeta < -function(nmh,betas, alfas,x,a,b){

  •   set.seed < -seed; sample < -rep(0,0)

  •   for(i in 1:nmh){

  •   beta < -rnorm(1,betas, sqrt(sigma2b)); a.p1<-fbeta(beta, alfas,x,a,b); a.p2<-fbeta(betas, alfas,x,a,b)

  •   accept.prob < -a.p1/a.p2

  •   if(is.nan(accept.prob) = = T) sample[i]<-betas

  •   else {

  •   ratio < -min(1,accept.prob)

  •   u < -runif(1)

  •   if(u ≤ ratio) sample[i]<-beta

  •   else sample[i] < -betas }

  •   betas < -sample[i] }

  •   return(mean(sample)) }

  •   GSnew < -function(N.GS,N.MH,alfas, beta1s,beta2s,x,y){

  •   n < -length(x); m < -length(y); alfa < -beta1 < -beta2 < -Rhat < -rep(0,N.GS)

  •   for(i in 1:N.GS){

  •   alfa[i] < -mhalfa(N.MH,alfas, beta1s,beta2s,x,y); beta1[i]<-mhbeta(N.MH,beta1s,alfa[i],x,a2,b2) beta2[i]<-mhbeta(N.MH,beta2s,alfa[i],y, a3,b3); alfas < -alfa[i]; beta1s < -beta1[i]; beta2s < -beta2[i] Rhat[i]<-Rab(beta1[i],beta1[i],alfa[i])}

  •   R12h < -mean(Rhat); var12<-var(Rhat); bias12<-mean(Rhat-R120); MSE12<-mean((Rhat-R120)^2)

  •   L12<-2∗1.96∗sqrt(var12); CP12<-sum((R120 ≥ (R12h-L12/2)) & (R120≤(R12h + L12/2)))

  •   R12h1<-sort(Rhat); lownumber < -max(round(N.GS,∗ALFA/2)1)

  •   upnumber < -min(round(N.GS∗(1-ALFA/2)),N.GS); c.l < -R12h1[lownumber]; c.u < -R12h1[upnumber]

  •   L12n < -c.u-c.l; CP12n<-sum((R120 ≥ c.l) & (R120 ≤ c.u));

  •   dd < -c(R12h, var12, bias12, MSE12, L12, CP12, L12n, CP12n)

  •   return(dd) }

  •   R1h < -bias1 < - MSE1 < - L1 < -L1n < - CP1<-CP1n < -rep(0,0)

  •   for(i in 1:N) {

  •   x < -rkus(n,alfa, beta1); y < -rkus(m,alfa, beta2)

  •   resu < -GSnew(n.gs,n.mh,alfas, beta1s,beta2s,x,y)

  •   R1h[i] < -resu[1]; bias1[i] < -resu[3]; MSE1[i] < -resu[4]; L1[i] < -resu[5]

  •   L1n[i] < -resu[7]; CP1[i] < -resu[6]; CP1n[i] < -resu[8] }

  •   dbayes < -c(mean(R1h), mean(bias1), mean(MSE1), mean(L1), mean(CP1), mean(L1n), mean(CP1n))

Data Availability

The data used to support this study are included within the article.

Conflicts of Interest

The authors declare that they have no conflicts of interest.

References

  • 1.Kotz S., Lumelskii Y., Pensky M. The Stress-Strength Model and its Generalization: Theory and Applications. Singapore: World Scientific; 2003. [Google Scholar]
  • 2.Rezaei S., Tahmasbi R., Mahmoodi M. Estimation of P[Y < X] for generalized Pareto distribution. Journal of Statistical Planning and Inference. 2010;140(2):480–494. doi: 10.1016/j.jspi.2009.07.024. [DOI] [Google Scholar]
  • 3.Saber M. M., Khorshidian K. Introduction to reliability for conditional stress-strength parameter. Journal of Sciences. 2021 [Google Scholar]
  • 4.Kumaraswamy P. Sinepower probability density function. Journal of Hydrology. 1976;31(1-2):181–184. doi: 10.1016/0022-1694(76)90029-9. [DOI] [Google Scholar]
  • 5.Kumaraswamy P. Extended sinepower probability density function. Journal of Hydrology. 1978;37(1-2):81–89. doi: 10.1016/0022-1694(78)90097-5. [DOI] [Google Scholar]
  • 6.Sundar V., Subbiah K. Application of double bounded probability density function for analysis of ocean waves. Ocean Engineering. 1989;16(2):193–200. doi: 10.1016/0029-8018(89)90005-x. [DOI] [Google Scholar]
  • 7.Fletcher S. G., Ponnambalam K. Estimation of reservoir yield and storage distribution using moments analysis. Journal of Hydrology. 1996;182(1–4):259–275. doi: 10.1016/0022-1694(95)02946-x. [DOI] [Google Scholar]
  • 8.Seifi A., Ponnambalam K., Vlach J. Maximization of manufacturing yield of systems with arbitrary distributions of component values. Annals of Operations Research. 2000;99(1/4):373–383. doi: 10.1023/a:1019288220413. [DOI] [Google Scholar]
  • 9.Ponnambalam K., Seifi A., Vlach J. Probabilistic design of systems with general distributions of parameters. International Journal of Circuit Theory and Applications. 2001;29(6):527–536. doi: 10.1002/cta.173. [DOI] [Google Scholar]
  • 10.Nadar M., Kızılaslan F., Papadopoulos A. Classical and Bayesian estimation of P(Y<X) for Kumaraswamy’s distribution. Journal of Statistical Computation and Simulation. 2014;84(7):1505–1529. doi: 10.1080/00949655.2012.750658. [DOI] [Google Scholar]
  • 11.Nadar M., Kızılaslan F. Classical and Bayesian estimation of P(X<Y) using upper record values from Kumaraswamy’s distribution. Statistical Papers. 2014;55(3):751–783. doi: 10.1007/s00362-013-0526-x. [DOI] [Google Scholar]
  • 12.Dey S., Mazucheli J., Anis M. Z. Estimation of reliability of multicomponent stress-strength for a Kumaraswamy distribution. Communications in Statistics-Theory and Methods. 2016;15:73–94. doi: 10.1080/03610926.2015.1022457. [DOI] [Google Scholar]
  • 13.Kohansal A. On estimation of reliability in a multicomponent stress-strength model for a Kumaraswamy distribution based on progressively censored sample. Statistical Papers. 2019;60(6):2185–2224. doi: 10.1007/s00362-017-0916-6. [DOI] [Google Scholar]
  • 14.Hogg R. V., McKean J. W., Craig A. T. Introduction to Mathematical Statistics. 7th. New Jersey, NJ, USA: Prentice-Hall; 2012. [Google Scholar]
  • 15.Chib S., Greenbreg E. Understanding the metropolis-hastings algorithm. The American Statistician. 1955;49(4):327–335. doi: 10.2307/2684568. [DOI] [Google Scholar]
  • 16.Rasekhi M., Saber M. M., Yousof H. M. Bayesian and classical inference of reliability in multicomponent stress-strength under the generalized logistic model. Communications in Statistics-Theory and Methods. 2020;1:1–12. doi: 10.1080/03610926.2020.1726958. ‏. [DOI] [Google Scholar]
  • 17.Alamri O. A., El-Raouf M. M. A., Ismail E. A., et al. Estimate stress-strength reliability model using Rayleigh and half-normal distribution. Computational Intelligence and Neuroscience. 2021;2021:10. doi: 10.1155/2021/7653581.7653581 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 18.Saber M. M., Rasekhi M., Yousof H. M. Generalized stress-strength and generalized multicomponent stress-strength models. Statistics, Optimization and Information Computing. 2021 [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Data Availability Statement

The data used to support this study are included within the article.


Articles from Computational Intelligence and Neuroscience are provided here courtesy of Wiley

RESOURCES