Skip to main content
. 2021 Feb 8;23(2):206. doi: 10.3390/e23020206
Algorithm 2. Generating a adaptive Type-II progressive hybrid censored sample from the GB distribution.
Step1: Generate m independent observations Z1,Z2,,Zm, where Zi follows the uniform distribution U(0,1), i=1,2,,m.
Step 2: For the known censoring scheme (R1,R2,,Rm), let ξi=Zi1/(i+Rm+Rm1++Rmi+1),i=1,2,,m.
Step 3: By setting Ui=1ξmξm1ξmi+1, then U1,U2,,Um is a Type-II progressive censored sample from the uniform distribution U(0,1).
Step 4: Using the inverse transformation Xi:m:n=F1(Ui), i=1,2,,m, we obtain a Type-II progressive censored sample from the GB distribution; that is, X1:m:n,X2:m:n,,Xm:m:n, where F1() denotes the GB distribution’s inverse cumulative functional expression with the parameter (β,λ). The following theorem1 gives the uniqueness of the solution for the equation Xi:m:n=F1(Ui), i=1,2,,m.
Step 5: If there exists a real number J satisfying XJ:m:n<TXJ+1:m:n, then we set index J and record X1:m:n,X2:m:n,,XJ+1:m:n.
Step 6: Generate the first mJ1 order statistics XJ+2:m:n,XJ+3:m:n,,Xm:m:n from the truncated distribution f(x;β,λ)/[1F(xJ+1;β,λ)] with a sample size nJ1i=1JRi.