Bias-corrected and accelerated normal deviates for the bootstrap cut points

Moves the two cut levels of a bootstrap interval to allow for median bias and for a standard error that changes with the parameter. The bias corrector z_0 is the inverse normal of the share of replicates strictly below the original estimate, and the acceleration a comes from HE-FM-BOO-003 or is set to 0. The deviates z_L and z_U are the arguments of the standard normal cdf, so the cut levels are Phi(z_L) and Phi(z_U) in Excel and pass to HE-FM-BOO-001 as lev_L and lev_U. With a of 0 the formula gives the bias-corrected endpoint 2 z_0 + z_alpha, and with z_0 of 0 as well it returns the percentile cut. The calculator stops at the deviates because it has no normal cdf.

Signature

w_L = z_0 + z_alpha; w_U = z_0 - z_alpha; z_L = z_0 + w_L / (1 - a * w_L); z_U = z_0 + w_U / (1 - a * w_U)
Inputs
InputsDefinitionUnit
z_0Inverse standard normal of the share of replicates strictly below the original estimate, 0 when exactly half lie belowstandard normal deviate
z_alphaStandard normal quantile at alpha, negative for a lower tail, minus 1.96 when alpha is 0.025standard normal deviate
aAcceleration constant, the rate of change of the standard error with the parameter on the normalising scale, 0 for the bias-corrected methodnone
Output
w_Lz_0 plus z_alpha, the shifted lower quantilestandard normal deviate
w_Uz_0 minus z_alpha, the shifted upper quantile, because the upper quantile is minus z_alphastandard normal deviate
z_LNormal deviate whose standard normal cdf is the lower cut levelstandard normal deviate
z_UNormal deviate whose standard normal cdf is the upper cut levelstandard normal deviate

Function

Bootstrap confidence interval from paired trial replicates

Maps patient-level costs and QALYs in two trial arms, a value per QALY, a replicate count and a tail probability to a confidence interval for incremental net monetary benefit read from percentiles of the replicates. Each replicate redraws whole patients with replacement within each arm, and its incremental cost, incremental effect and net benefit are differences in resampled means, the numerator and denominator of HE-FM-ICER-001 and the INMB of HE-FM-NMB-002. HE-FM-BOO-001 reads interval endpoints from the ordered replicates, HE-FM-BOO-002 moves the cut points for the bias-corrected and accelerated forms, HE-FM-BOO-003 estimates the acceleration by the jackknife and HE-CF-BOO-001 runs the resampling. The standard error from the same replicates is HE-FM-BSE-001, the normal interval built on it is HE-CF-BSE-001 and its closed form is HE-CF-BSE-002. The share of replicates with positive net benefit takes the form of HE-FM-CEAC-001, which is written for probabilistic simulations and which Fenwick, O'Brien and Briggs (HE-SR-CEAC-002) state for bootstrap replicates as well, so it is not restated. Notation follows the Bootstrapping article.

Try this function

Implementations

  • Excel

    Bias corrector, moved deviates and cut levels in named cells

    With the replicates in Replicates and the original estimate in Estimate, both rounded to the same decimals, the tail quantile in ZAlpha (=NORM.S.INV(0.025) or minus 1.96) and the acceleration in Accel, the seven formulas return, in order, cells named BiasCorrector, SumLower, SumUpper, ZLowerBCa, ZUpperBCa, LevelLower and LevelUpper. The last two feed HE-IM-BOO-001. COUNTIF ignores blanks and text. If no replicate lies below the estimate, or all do, NORM.S.INV returns #NUM! and the error carries through the later cells.

    =NORM.S.INV(COUNTIF(Replicates,"<"&Estimate)/COUNT(Replicates)); =BiasCorrector+ZAlpha; =BiasCorrector-ZAlpha; =BiasCorrector+SumLower/(1-Accel*SumLower); =BiasCorrector+SumUpper/(1-Accel*SumUpper); =NORM.S.DIST(ZLowerBCa,TRUE); =NORM.S.DIST(ZUpperBCa,TRUE)

Assumptions

  • Normalising transformation with constant bias and acceleration

    Efron and Tibshirani state that the BCa interval is exactly right for problems that a monotone transformation maps to the normal form of their equation 7.14, with constants z_0 and a. Elsewhere the interval is an approximation.

  • Share below the estimate strictly inside the unit range

    z_0 needs at least one replicate below the estimate and at least one not below it. A share of 0 or of 1 has no finite inverse normal, and NORM.S.INV then returns #NUM!.

  • Denominator of the accelerated cut stays positive

    The product a times w must stay below 1 at both cuts (derived). As it approaches 1 the deviate grows without limit, and past 1 the sign reverses and the cut jumps to the opposite tail. In the fourth worked example the products are minus 0.1905 and 0.2211.

  • Enough replicates for a moved cut

    Efron and Tibshirani treat B of about 1,000 as a rough minimum for the BC or BCa interval, with about 250 enough for a percentile interval, where z_0 need not be computed. All the worked examples rest on 2,000 replicates except the limiting case, which needs no count.

Worked examples

  • Bias-corrected cuts for net benefit with the strict count below the estimate

    In the article's illustrative trial at 30,000 GBP per QALY, 987 of 2,000 replicates lie strictly below the estimate of 450 and 7 equal it exactly, so the share is 0.4935 and z_0 is minus 0.0163. With a of 0 the deviates give cut levels of 0.0232 and 0.9730, which HE-FM-BOO-001 turns into about minus 2,996 and 3,200.

    z_0 = -0.0163; z_alpha = -1.96; a = 0; w_L = -1.9763; w_U = 1.9437; z_L = -1.9926; z_U = 1.9274
  • Article's bias-corrected cuts with the tied replicates counted as below

    The article reports 49.7% of replicates below 450, a count that includes the 7 replicates equal to 450, and so z_0 of minus 0.0075. The deviates then match its cut levels of 0.0241 and 0.9741 and limits of minus 2,984 and 3,238. Equation 7.1 of Efron and Tibshirani counts strictly below, which is the first worked example.

    z_0 = -0.0075; z_alpha = -1.96; a = 0; w_L = -1.9675; w_U = 1.9525; z_L = -1.975; z_U = 1.945
  • Zero bias corrector and zero acceleration return the percentile cut

    A limiting case. With z_0 and a both 0 the deviates are the normal quantiles themselves, so the cut levels are 0.025 and 0.975 and the interval is the percentile interval of HE-FM-BOO-001.

    z_0 = 0; z_alpha = -1.96; a = 0; w_L = -1.96; w_U = 1.96; z_L = -1.96; z_U = 1.96
  • BCa cuts for mean cost in arm T of the illustrative trial

    Mean cost in arm T of the article's illustrative trial is 3,650 GBP. With 2,000 replicates of that one arm (Python random, seed 2026), 1,116 lie strictly below 3,650, so the share is 0.558 and z_0 is 0.1459, and HE-FM-BOO-003 gives a of 0.105. The cut levels of 0.0841 and 0.9978 give about 3,050 to 5,194 GBP, against 2,987.5 to 4,833 with a of 0 and 2,925 to 4,662.5 for the percentile interval, so the long right tail from patient 7 lifts both limits.

    z_0 = 0.1459; z_alpha = -1.96; a = 0.105; w_L = -1.8141; w_U = 2.1059; z_L = -1.3779; z_U = 2.8497

Common errors

  • Floating-point ties counted as below the estimate

    In the article's example 7 replicates equal the estimate of 450 in exact arithmetic, but in floating-point arithmetic the estimate came out at 450.0000000000016, so a plain comparison counts them as below. The share moves from 0.4935 to 0.497, z_0 from minus 0.0163 to minus 0.0075 and the limits from about minus 2,996 and 3,200 to minus 2,984 and 3,238. Rounding the replicates and the estimate to the same decimals before counting keeps the strict count of equation 7.1.

  • Counting below the replicate mean in place of the original estimate

    z_0 compares the replicates with the original estimate. In the article's example the replicate mean is 373.91, so counting below it gives a share of 0.478 and z_0 of minus 0.0552, and limits of about minus 3,097 and 3,146, which is not the quantity equation 7.8 defines.

  • Using a positive tail quantile for the lower cut

    z_alpha is the lower quantile, negative when alpha is below 0.5. Typing 1.96 in the fourth worked example exchanges the two outputs, so z_L becomes 2.8497 and z_U becomes minus 1.3779, and the labelled lower limit lies above the upper one.

Sources

  • Efron and Tibshirani bias-corrected and BCa endpoints

    Efron B, Tibshirani R. Bootstrap methods for standard errors, confidence intervals, and other measures of statistical accuracy. Statistical Science. 1986;1(1):54-75. Section 7 (pages 67 to 69), stated for the parametric case with section 8 extending the methods to nonparametric models. Equation 7.1 defines the bootstrap cdf with a strict inequality, equation 7.8 defines z_0 as the inverse normal of that cdf at the original estimate, equation 7.9 gives the BC endpoint, the note after it says z_0 is 0 and BC equals the percentile endpoint when half the distribution lies below the estimate, equation 7.14 gives the form for which BCa is exactly right, and equation 7.15 gives the BCa endpoint with the statement that a of 0 returns BC. Section 9 (page 72) gives B = 1000 as a rough minimum for BC or BCa.

    View source →

  • Barber and Thompson preference for BCa on mean trial costs

    Barber JA, Thompson SG. Analysis of cost data in randomized trials: an application of the non-parametric bootstrap. Statistics in Medicine. 2000;19(23):3219-3236. The abstract names the bootstrap-t, the variance stabilised bootstrap-t and the bias corrected and accelerated percentile methods as the preferred approaches.

    View source →

Canonical Identity

This formula is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).

Author: Dr Darrin Baines · Publisher: Intelligent Parameters Ltd · Identifier: https://healtheconomics.wiki/formula/bias-corrected-and-accelerated-normal-deviates-for-the-bootstrap-cut-points

Bias-corrected and accelerated normal deviates for the bootstrap cut points | HealthEconomics.wiki