correct_r_bias: Correct correlations for small-sample bias

View source: R/correct_r.R

correct_r_biasR Documentation

Correct correlations for small-sample bias

Description

Corrects Pearson correlations (r) for small-sample bias

Usage

correct_r_bias(r, n)

Arguments

r

Vector of correlations.

n

Vector of sample sizes.

Details

r_{c}=\frac{r_{obs}}{\left(\frac{2n-2}{2n-1}\right)}

Value

Vector of correlations corrected for small-sample bias.

References

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. 140–141.

Examples

correct_r_bias(r = .3, n = 30)
correct_r_bias(r = .3, n = 300)
correct_r_bias(r = .3, n = 3000)

psychmeta documentation built on June 22, 2024, 6:52 p.m.