Computes a confidence interval for a population standardized mean difference from a hypothesized value. If the hypothesized value is set to 0, the reciprocals of the confidence interval endpoints gives a confidence interval for the coefficient of variation.
ci.stdmean1(alpha, m, sd, n, h)
alpha level for 1-alpha confidence
estimated mean
estimated standard deviation
sample size
hypothesized value
Returns a 1-row matrix. The columns are:
Estimate - bias adjusted standardized mean difference
SE - standard error
LL - lower limit of the confidence interval
UL - upper limit of the confidence interval
Bonett DG (2008). “Confidence intervals for standardized linear contrasts of means.” Psychological Methods, 13(2), 99--109. ISSN 1939-1463, doi:10.1037/1082-989X.13.2.99 .
ci.stdmean1(.05, 24.5, 3.65, 40, 20)
#> Estimate SE LL UL
#> [1,] 1.209015 0.2124335 0.8165146 1.649239
# Should return:
# Estimate SE LL UL
# [1,] 1.209015 0.2124335 0.8165146 1.649239