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

Algorithm 5.

Step 1: Use Algorithm 1Algorithm 4 to construct the confidence intervals
Step 2: If LθθUθ, set p= 1; else set p= 0
Step 3: Compute UθLθ
Step 4: Repeat step 1–step 3, a total 5,000 times
Step 5: Compute mean of p defined by the coverage probability
Step 6: Compute mean of UθLθ defined by the average length