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.
Vector of correlations.
Vector of error variances.
The adjusted sample size is computed as:
n_adjusted = ((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. 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.