Standardized Mean Difference: Interaction Between Treatment and Time
Source:R/time_SMD.R
time_SMD.Rd
Standardized Mean Difference: Interaction Between Treatment and Time
Usage
time_SMD(
data,
col_names = c("yi", "vi"),
append = TRUE,
hedges_correction = TRUE,
t0_Ctrl_mean,
t0_Ctrl_sd,
t1_Ctrl_mean,
t1_Ctrl_sd,
Ctrl_n,
Ctrl_cor,
t0_Exp_mean,
t0_Exp_sd,
t1_Exp_mean,
t1_Exp_sd,
Exp_n,
Exp_cor
)
Arguments
- data
Data frame containing the variables used.
- col_names
Vector of two strings to name the output columns for the effect size and it's sampling variance. Default is 'yi' and 'vi'.
- append
Logical. Append the results to
data
. Default is TRUE- hedges_correction
Logical. Apply or not Hedges' correction for small-sample bias. Default is TRUE.
- t0_Ctrl_mean
Sample mean from the control group at time 0
- t0_Ctrl_sd
Standard deviation from the control group at time 0
- t1_Ctrl_mean
Sample mean from the control group at time 1
- t1_Ctrl_sd
Standard deviation from the control group at time 1
- Ctrl_n
Sample size of the control group
- Ctrl_cor
Number or numeric vector. Correlation between the means of the control group at t0 and t1
- t0_Exp_mean
Sample mean from the experimental group at time 0
- t0_Exp_sd
Standard deviation from the experimental group at time 0
- t1_Exp_mean
Sample mean from the experimental group at time 1
- t1_Exp_sd
Standard deviation from the experimental group at time 1
- Exp_n
Sample size of the experimental group
- Exp_cor
Number or numeric vector. Correlation between the means of the experimental group at t0 and t1