convert_or2d {esc} | R Documentation |
Convert effect size OR from d
Description
Compute effect size d
from effect size OR
.
Usage
convert_or2d(
or,
se,
v,
totaln,
es.type = c("d", "cox.d", "g", "f", "eta"),
info = NULL,
study = NULL
)
Arguments
or |
The effect size as odds ratio. |
se |
The standard error of |
v |
The variance of |
totaln |
A vector of total sample size(s). |
es.type |
Type of effect size that should be returned.
|
info |
String with information on the transformation. Used for the print-method. Usually, this argument can be ignored |
study |
Optional string with the study name. Using |
Value
The effect size es
, the standard error se
, the variance
of the effect size var
, the lower and upper confidence limits
ci.lo
and ci.hi
, the weight factor w
and the
total sample size totaln
.
Note
While or
is the exponentiated log odds, the variance or standard
error need to be on the log-scale!
References
Lipsey MW, Wilson DB. 2001. Practical meta-analysis. Thousand Oaks, Calif: Sage Publications
Wilson DB. 2016. Formulas Used by the "Practical Meta-Analysis Effect Size Calculator". Unpublished manuscript: George Mason University
Examples
convert_or2d(3.56, se = 0.91)
convert_d2or(0.7, se = 0.5)