This function computes the standard error of a semipartial correlation using the estimated correlation, sample size, and squared multiple correlation for the full model. The full model includes the independent variable of interest and all control variables. The effect size estimate and standard error output from this function can be used as input in the meta.ave.cor.gen function in applications where a combination of different types of correlations are used in the meta-analysis.
se.semipartial(cor, r2, n)
estimated semipartial correlation
estimated squared multiple correlation for a model that includes the IV and all control variables
sample size
Returns a one-row matrix:
Estimate - semipartial correlation (from input)
SE - standard error
se.semipartial(.40, .25, 60)
#> Estimate SE
#> Semipartial correlation: 0.4 0.1063262
# Should return:
# Estimate SE
# Semipartial correlation: 0.4 0.1063262