# Calcuation with group means
SMD_from_mean_matched(M1 = 103, M2 = 100, SD_within = 7.1005)
# Calculation with group difference
SMD_from_mean_matched(M_diff = 3, SD_within = 7.1005)
# Calculation with standard deviation between
# Correlation Coefficient between groups
r <- 0.7
# SD between groups
SD_between <- 5.5
SMD_from_mean_matched(M_diff = 3,
SD_within = SD_within_from_SD_r(SD_between, r))
Run the code above in your browser using DataLab