This function first computes (log) odds ratio (OR), (log) risk ratio (RR) and number needed to treat (NNT) from the 2x2 table. Note that if a cell is equal to 0, we applied the typical adjustment (add 0.5) to all cells. Cohen's d (D), Hedges' g (G) and correlation coefficients (R/Z) are then estimated from the OR.
To estimate an OR , the formulas used (Box 6.4.a in the Cochrane Handbook) are:
To convert the 2x2 table into a SMD , the function estimates an OR value from the 2x2 table (formula above) that is then converted to a SMD (see formula in es_from_or_se()).
To convert the 2x2 table into a correlation coefficient , For now, only the tetrachoric correlation is currently proposed
Cooper, H., Hedges, L.V., & Valentine, J.C. (Eds.). (2019). The handbook of research synthesis and meta-analysis. Russell Sage Foundation.
Higgins JPT, Thomas J, Chandler J, Cumpston M, Li T, Page MJ, Welch VA (editors). Cochrane Handbook for Systematic Reviews of Interventions version 6.3 (updated February 2022). Available from www.training.cochrane.org/handbook.
Lipsey, M. W., & Wilson, D. B. (2001). Practical meta-analysis. Sage Publications, Inc.
Sedgwick, P. (2013). What is number needed to treat (NNT)? Bmj, 347.