Confidence interval for a linear contrast of medians in a between-subjects design
Source:R/statpsych1.R
ci.lc.median.bs.RdComputes a distribution-free confidence interval for a linear contrast of medians in a between-subjects design using estimated medians and their standard errors. The sample median and standard error for each group can be computed using the ci.median function.
For more details, see Section 3.21 of Bonett (2021, Volume 1)
Value
Returns a 1-row matrix. The columns are:
Estimate - estimated linear contrast of medians
SE - standard error
LL - lower limit of the confidence interval
UL - upper limit of the confidence interval
References
Bonett DG, Price RM (2002). “Statistical inference for a linear function of medians: Confidence intervals, hypothesis testing, and sample size requirements.” Psychological Methods, 7(3), 370–383. ISSN 1939-1463, doi:10.1037/1082-989X.7.3.370 .
Bonett DG (2021). Statistical Methods for Psychologists https://dgbonett.sites.ucsc.edu/.