R/statpsych1.R
ci.ratio.mad2.Rd
Computes a confidence interval for a ratio of population MADs (mean absolute deviation from median) in a 2-group design.
ci.ratio.mad2(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:
MAD1 - estimated MAD for group 1
MAD2 - estimated MAD for group 2
MAD1/MAD2 - estimate of MAD ratio
LL - lower limit of the confidence interval
UL - upper limit of the confidence interval
Bonett DG, Seier E (2003). “Confidence intervals for mean absolute deviations.” The American Statistician, 57(4), 233--236. ISSN 0003-1305, doi:10.1198/0003130032323 .