Learn R Programming

psychmeta (version 2.6.4)

correct_glass_bias: Correct for small-sample bias in Glass' values

Description

Correct for small-sample bias in Glass' values.

Usage

correct_glass_bias(delta, nc, ne, use_pooled_sd = rep(FALSE, length(delta)))

Value

Vector of d values corrected for small-sample bias.

Arguments

delta

Vector of Glass' values.

nc

Vector of control-group sample sizes.

ne

Vector of experimental-group sample sizes.

use_pooled_sd

Logical vector determining whether the pooled standard deviation was used (TRUE) or not (FALSE; default).

Details

The bias correction is estimated as:

_c=_obs(n_control-12)(n_control-12)(n_control-22)delta_c = delta * gamma((nc - 1) / 2) / (sqrt((nc - 1) / 2) * gamma((nc - 2) / 2))

where is the observed effect size, _c_c is the corrected estimate of , n_controlnc is the control-group sample size, and ()gamma() is the gamma function.

References

Hedges, L. V. (1981). Distribution theory for Glass’s estimator of effect size and related estimators. Journal of Educational Statistics, 6(2), 107–128. doi: 10.2307/1164588

Examples

Run this code
correct_glass_bias(delta = .3, nc = 30, ne = 30)

Run the code above in your browser using DataLab