View source: R/MetaAnalysisForFamiliesOfExperimentsSR.R
calculateHg | R Documentation |
This function calculates Hedges g and Hedges g adjusted given the basic experimental statistics - the mean values for participants, number of observations (participants), and standard deviation in both the control group and the treatment group. . Hence, the function assumes the data is held as summary statistics including the control group mean, standard deviation and sample size and equivalent values for treatment group
calculateHg(Mc, Mt, Nc, Nt, SDc, SDt)
Mc |
is a vector containing the mean value of the control group for each experiment. |
Mt |
is a vector containing the mean value of the treatment group for each experiment. |
Nc |
is a vector containing the the number of observations (participants) in the control group for each experiment. |
Nt |
is a vector of the number of observations (participants) in the treatment group for each experiment. |
SDc |
is a vector of the standard deviations of the control group for each experiment. |
SDt |
is a vector of the standard deviations of the the treatment group for each experiment. |
data frame composed of Hedges' g and Hedges' g adjusted effect sizes
Barbara Kitchenham and Lech Madeyski
calculateHg(10, 15, 20, 20, 2, 2)
# Hg HgAdjusted
# 1 2.5 2.450276
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.