The bias correction is:
g = d_c = d_obs Jg = d_c = d * J
where
J = (n - 22)n - 22 (n - 32)J = ((n - 2) / 2) / (sqrt(n - 2) * ((n - 2) / 2))
and d_obsd is the observed effect size, g = d_cg = d_c is the
corrected (unbiased) estimate, n is the total sample size, and
()() is the gamma function.
Historically, using the gamma function was computationally intensive, so an
approximation for J was used (Borenstein et al., 2009):
J = 1 - 3 / (4 * (n - 2) - 1)J = 1 - 3 / (4 * (n - 2) - 1
This approximation is no longer necessary with modern computers.