- (hedges-g mean-1 sd-1 n-1 mean-2 sd-2 n-2 #:alpha)procedure
Hedges' g: Cohen's d multiplied by the correction factor J = Gamma(df / 2) / (sqrt(df / 2) Gamma((df - 1) / 2)), with df = n1 + n2 - 2. J is a little below 1 and removes the upward bias of d in small samples. The bounds of the interval are those of d multiplied by J.
> (hedges-g 10 2 20 8 2 20) 0.980110402130947 0.335793757339929 1.62442704692197