convertORSMD: Conversion between Odds Ratios (OR) and Standardised Mean...

Description Usage Arguments Author(s) References Examples

View source: R/convertORSMD.R

Description

This function converts ORs to SMDs or vice versa using the formula SMD=log(OR)/1.81, which was proposed by Chinn et al. (2000).

Usage

1
convertORSMD(input, initialMetric = "OR")

Arguments

input

Input needs to be a value/vector of ORs or SMDs. Type of metric is defined in the initialMetric argument.

initialMetric

Initial metric provided to input argument needs to be defined as "OR" or "SMD". Default is "OR".

Author(s)

Nils Kappelmann

References

Chinn S. A simple method for converting an odds ratio to effect size for use in meta-analysis. Stat Med 2000; 19: 3127–3131.

Examples

1
2
convertORSMD(input = 1.2, initialMetric = "OR")
convertORSMD(input = -0.2, initialMetric = "SMD")

nkappelmann/PubHelper documentation built on Aug. 7, 2021, 5:09 a.m.