Skip to main content
. 2021 Nov 23;23(12):1558. doi: 10.3390/e23121558
Algorithm 1: Constructing percentile bootstrap confidence intervals
  • step 1

    Set the simulation number Nboot times ahead.

  • step 2

    Compute the MLEs of σ and λ under the original censored sample x_=(x1,x2,,xm), denoted as σ^ and λ^. (If we carry out a simulation study, we should first generate an adaptive progressive type II censored sample x_=(x1,x2,,xm) from EHL(λ,σ) with T,n,m,R as the original sample.)

  • step 3

    Generate a bootstrap sample x_* using σ^,λ^ and the same censoring pattern (n,m,T,R). Then, calculate the bootstrap MLEs under sample x_*, denote as σ^* and λ^*.

  • step 4

    Repeat step 3 Nboot times, then we can obtain a series of bootstrap MLEs

    σ^**(1),σ^**(2),,σ^**(Nboot) and (λ^**(1),λ^**(2),,λ^**(Nboot)).

  • step 5

    Arrange (σ^**(1),σ^**(2),,σ^**(Nboot)) and λ^**1,λ^**2,,λ^**Nboot in ascending order, respectively, and obtain (σ^**1,σ^**2,,σ^**Nboot) and (λ^**1,λ^**2,,λ^**Nboot).