calculateHg {reproducer} | R Documentation |
calculateHg
Description
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
Usage
calculateHg(Mc, Mt, Nc, Nt, SDc, SDt)
Arguments
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. |
Value
data frame composed of Hedges' g and Hedges' g adjusted effect sizes
Author(s)
Barbara Kitchenham and Lech Madeyski
Examples
calculateHg(10, 15, 20, 20, 2, 2)
# Hg HgAdjusted
# 1 2.5 2.450276