This function converts the mean difference and 95% CI into a Cohen's d (D) and Hedges' g (G). Odds ratio (OR) and correlation coefficients (R/Z) are then converted from the Cohen's d.
The formula used to obtain the Cohen's d is:
d=md_sdmd
Note that this formula is perfectly accurate only if the md_sd has been estimated by assuming that the variance of the two groups is equal.
To estimate other effect size measures , calculations of the es_from_cohen_d() are applied.