convert_ma {psychmeta} | R Documentation |
Function to convert meta-analysis of correlations to d values or vice-versa
Description
Takes a meta-analysis class object of d values or correlations (classes r_as_r
, d_as_d
, r_as_d
, and d_as_r
; second-order meta-analyses are currently not supported) as an input and uses conversion formulas and Taylor series approximations to convert effect sizes and variance estimates, respectively.
Usage
convert_ma(ma_obj, ...)
convert_meta(ma_obj, ...)
Arguments
ma_obj |
A meta-analysis object of class |
... |
Additional arguments. |
Details
The formula used to convert correlations to d values is:
The formula used to convert d values to correlations is:
To approximate the variance of correlations from the variance of d values, the function computes:
where is the first partial derivative of the d-to-r transformation with respect to d:
To approximate the variance of d values from the variance of correlations, the function computes:
where is the first partial derivative of the r-to-d transformation with respect to r:
Value
A meta-analysis converted to the d value metric (if ma_obj was a meta-analysis in the correlation metric) or converted to the correlation metric (if ma_obj was a meta-analysis in the d value metric).