adjust_n_r | R Documentation |
This function is used to compute the adjusted sample size of a non-Pearson correlation (e.g., a tetrachoric correlation) based on the correlation and its estimated error variance. This function allows users to adjust the sample size of a correlation corrected for sporadic artifacts (e.g., unequal splits of dichotomous variables, artificial dichotomization of continuous variables) prior to use in a meta-analysis.
adjust_n_r(r, var_e)
r |
Vector of correlations. |
var_e |
Vector of error variances. |
The adjusted sample size is computed as:
n_{adjusted}=\frac{(r^{2}-1)^{2}+var_{e}}{var_{e}}
A vector of adjusted sample sizes.
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")}. Equation 3.7.
adjust_n_r(r = .3, var_e = .01)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.