hedgesg {lrstat}R Documentation

Hedges' g effect size

Description

Obtains Hedges' g estimate and confidence interval of effect size.

Usage

hedgesg(tstat, m, ntilde, cilevel = 0.95)

Arguments

tstat

The value of the t-test statistic for comparing two treatment conditions.

m

The degrees of freedom for the t-test.

ntilde

The normalizing sample size to convert the standardized treatment difference to the t-test statistic, i.e., tstat = sqrt(ntilde)*meanDiff/stDev.

cilevel

The confidence interval level. Defaults to 0.95.

Details

Hedges' gg is an effect size measure commonly used in meta-analysis to quantify the difference between two groups. It's an improvement over Cohen's dd, particularly when dealing with small sample sizes.

The formula for Hedges' gg is

g=c(m)d,g = c(m) d,

where dd is Cohen's dd effect size estimate, and c(m)c(m) is the bias correction factor,

d=(μ^1μ^2)/σ^,d = (\hat{\mu}_1 - \hat{\mu}_2)/\hat{\sigma},

c(m)=134m1.c(m) = 1 - \frac{3}{4m-1}.

Since c(m)<1c(m) < 1, Cohen's dd overestimates the true effect size. δ=(μ1μ2)/σ.\delta = (\mu_1 - \mu_2)/\sigma. Since

t=n~d,t = \sqrt{\tilde{n}} d,

we have

g=c(m)n~t,g = \frac{c(m)}{\sqrt{\tilde{n}}} t,

where tt has a noncentral tt distribution with mm degrees of freedom and noncentrality parameter n~δ\sqrt{\tilde{n}} \delta.

The asymptotic variance of gg can be approximated by

Var(g)=1n~+g22m.Var(g) = \frac{1}{\tilde{n}} + \frac{g^2}{2m}.

The confidence interval for δ\delta can be constructed using normal approximation.

For two-sample mean difference with sample size n1n_1 for the treatment group and n2n_2 for the control group, we have n~=n1n2n1+n2\tilde{n} = \frac{n_1n_2}{n_1+n_2} and m=n1+n22m=n_1+n_2-2 for pooled variance estimate.

Value

A data frame with the following variables:

Author(s)

Kaifeng Lu, kaifenglu@gmail.com

References

Larry V. Hedges. Distribution theory for Glass's estimator of effect size and related estimators. Journal of Educational Statistics 1981; 6:107-128.

Examples


n1 = 7
n2 = 8
meanDiff = 0.444
stDev = 1.201
m = n1+n2-2
ntilde = n1*n2/(n1+n2)
tstat = sqrt(ntilde)*meanDiff/stDev

hedgesg(tstat, m, ntilde)


[Package lrstat version 0.2.9 Index]