Davison-Hinkley (1997): read the interval off the resampled
ratios. Ratios are where the delta method quietly fails (skewness,
small denominators, Fieller half-lines); the percentile interval
needs none of that but inherits the caveat that a denominator
resampling near zero produces wild replicates – the
small-denominator fraction is reported. paired is a MODELLING
statement: paired data resample as pairs to keep the dependence,
independent samples separately, and getting it wrong biases the
width in whichever direction the dependence points.
Usage
morie_bt_ci_ratio(
x,
y,
stat_x = NULL,
stat_y = NULL,
B = 2000L,
alpha = 0.05,
seed = 0,
paired = FALSE
)Value
list: ratio, ci, replicates, se, small_denominator_fraction, paired, B, alpha, n_x, n_y, method.
