correct_r_dich | R Documentation |
Correct correlations for artificial dichotomization of one or both variables.
correct_r_dich(r, px = NA, py = NA, n = NULL, ...)
r |
Vector of correlations attenuated by artificial dichotomization. |
px |
Vector of proportions of the distribution on either side of the split applied to X (set as NA if X is continuous). |
py |
Vector of proportions of the distribution on either side of the split applied to Y (set as NA if Y is continuous). |
n |
Optional vector of sample sizes. |
... |
Additional arguments. |
r_{c}=\frac{r_{obs}}{\left[\frac{\phi\left(p_{X}\right)}{p_{X}\left(1-p_{X}\right)}\right]\left[\frac{\phi\left(p_{Y}\right)}{p_{Y}\left(1-p_{Y}\right)}\right]}
Vector of correlations corrected for artificial dichotomization (if n
is supplied, corrected error variance and adjusted sample size is also reported).
Schmidt, F. L., & Hunter, J. E. (2015). Methods of meta-analysis: Correcting error and bias in research findings (3rd ed.). Sage. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.4135/9781483398105")}. pp. 43–44.
correct_r_dich(r = 0.32, px = .5, py = .5, n = 100)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.