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.,
|
cilevel |
The confidence interval level. Defaults to 0.95. |
Details
Hedges' is an effect size measure commonly used in meta-analysis
to quantify the difference between two groups. It's an improvement
over Cohen's
, particularly when dealing with small sample sizes.
The formula for Hedges' is
where
is Cohen's
effect size estimate, and
is the bias
correction factor,
Since , Cohen's
overestimates the true effect size.
Since
we have
where
has a noncentral
distribution with
degrees of freedom
and noncentrality parameter
.
The asymptotic variance of can be approximated by
The confidence interval for
can be constructed using normal approximation.
For two-sample mean difference with sample size for the
treatment group and
for the control group, we have
and
for pooled variance estimate.
Value
A data frame with the following variables:
-
tstat
: The value of thet
test statistic. -
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. -
g
: Hedges'g
effect size estimate. -
varg
: Variance ofg
. -
lower
: The lower confidence limit for effect size. -
upper
: The upper confidence limit for effect size. -
cilevel
: The confidence interval level.
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)