correct_d_bias {psychmeta} | R Documentation |
Correct for small-sample bias in Cohen's
values
Description
Corrects a vector of Cohen's values for small-sample bias, as Cohen's
has a slight positive bias. The bias-corrected
value is often called
Hedges's
.
Usage
correct_d_bias(d, n)
Arguments
d |
Vector of Cohen's d values. |
n |
Vector of sample sizes. |
Details
The bias correction is:
where
and is the observed effect size,
is the
corrected (unbiased) estimate,
is the total sample size, and
is the gamma function.
Historically, using the gamma function was computationally intensive, so an
approximation for was used (Borenstein et al., 2009):
This approximation is no longer necessary with modern computers.
Value
Vector of g values (d values corrected for small-sample bias).
References
Hedges, L. V., & Olkin, I. (1985). Statistical methods for meta-analysis. Academic Press. p. 104
Borenstein, M., Hedges, L. V., Higgins, J. P. T., & Rothstein, H. R. (2009). Introduction to meta-analysis. Wiley. p. 27.
Examples
correct_d_bias(d = .3, n = 30)
correct_d_bias(d = .3, n = 300)
correct_d_bias(d = .3, n = 3000)