q1_exp: first quartile of the experimental/exposed group.
med_exp: median value of the experimental/exposed group.
q3_exp: third quartile of the experimental/exposed group.
n_exp: number of participants in the experimental/exposed group.
q1_nexp: first quartile of the non-experimental/non-exposed group.
med_nexp: median value of the non-experimental/non-exposed group.
q3_nexp: third quartile of the non-experimental/non-exposed group.
n_nexp: number of participants in the non-experimental/non-exposed group.
smd_to_cor: formula used to convert the generated cohen_d value into a coefficient correlation (see details).
reverse_med: a logical value indicating whether the direction of generated effect sizes should be flipped.
Returns
This function estimates and converts between several effect size measures.
Details
This function first converts a Cohen's d (D), Hedges' g (G) and mean difference (MD) from the medians and interquartile ranges of two independent groups. Odds ratio (OR) and correlation coefficients (R/Z) are then converted from the Cohen's d.
This function recreates means+SD of the two groups (Wan et al., 2014):
Wan, X., Wang, W., Liu, J. et al. Estimating the sample mean and standard deviation from the sample size, median, range and/or interquartile range. BMC Med Res Methodol 14, 135 (2014). https://doi.org/10.1186/1471-2288-14-135