Skip to main content
. 2024 Feb 29;12:e17019. doi: 10.7717/peerj.17019

Algorithm 2.

Step 1: Generate sample from the Birnbaum-Saunders distribution
Step 2: At the b step
(a) Generate x=(x1,x2,...,xn) with replacement from x=(x1,x2,...,xn)
(b) Compute b^(α^,α) using Eq. (7) and compute b^(β^,β) using Eq. (8)
(c) Compute αk~ using Eq. (9) and βk~ using Eq. (10)
(d) Compute θ^k using Eq. (11)
Step 3: Repeat step 2, a total B times and obtain an array of θ^k’s
Step 4: Compute Lθ.B=θ^k(γ/2) and Uθ.B=θ^k(1γ/2)