R/statpsych1.R
ci.ratio.sd2.Rd
Computes a robust confidence interval for a ratio of population standard deviations in a 2-group design. This function is a modification of the confidence interval proposed by Bonett (2006). The original Bonett method used a pooled kurtosis estimate in the standard error that assumed equal variances, which limited the confidence interval's use to tests of equal population variances and equivalence tests. This function uses a pooled kurtosis estimate that does not assume equal variances and provides a useful confidence interval for a ratio of standard deviations under general conditions. This function requires of minimum sample size of four per group but sample sizes of at least 10 per group are recommended.
ci.ratio.sd2(alpha, y1, y2)
alpha level for 1-alpha confidence
vector of scores for group 1
vector of scores for group 2
Returns a 1-row matrix. The columns are:
SD1 - estimated SD for group 1
SD2 - estimated SD for group 2
SD1/SD2 - estimate of SD ratio
LL - lower limit of the confidence interval
UL - upper limit of the confidence interval
Bonett DG (2006). “Robust confidence interval for a ratio of standard deviations.” Applied Psychological Measurement, 30(5), 432--439. ISSN 0146-6216, doi:10.1177/0146621605279551 .