hedges2007 | R Documentation |
Computes mean difference standardized for clustered data by the "total variance", and their standard errors, using the method described by Hedges (2007).
hedges2007(
outcome,
groups,
pooled = TRUE,
comp.name = NULL,
cluster = NULL,
subset = NULL
)
outcome |
numeric vector |
groups |
vector of |
pooled |
If |
comp.name |
If |
cluster |
optional vector of |
subset |
optional logical vector of |
The standardized mean difference and its standard error are computed using Equations 15 and 16 of Hedges (2007). When cluster sample sizes are unequal, the average cluster size is used to obtain a close approximation of the standardized mean difference estimate and standard error (p. 351).
A named vector containing the standardized mean difference and its standard error.
Hedges, L. V. (2007). Effect sizes in cluster-randomized designs. Journal of Educational and Behavioral Statistics, 32(4), 341–370. https://doi.org/10.3102/1076998606298043.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.