Compute a confidence interval for a ratio of population means of ratio-scale measurements in a paired-samples design. Equality of variances is not assumed.
ci.ratio.mean.ps(alpha, y1, y2)
alpha level for 1-alpha confidence
vector of measurement 1 scores
vector of measurement 2 scores (paired with y1)
Returns a 1-row matrix. The columns are:
Mean1 - estimated measurement 1 mean
Mean2 - estimated measurement 2 mean
Mean1/Mean2 - estimate of mean ratio
LL - lower limit of the confidence interval
UL - upper limit of the confidence interval
Bonett DG, Price RM (2020). “Confidence intervals for ratios of means and medians.” Journal of Educational and Behavioral Statistics, 45(6), 750--770. doi:10.3102/1076998620934125 .