se.semipartial | R Documentation |
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)
cor |
estimated semipartial correlation |
r2 |
estimated squared multiple correlation for a model that includes the IV and all control variables |
n |
sample size |
Returns a one-row matrix:
Estimate - semipartial correlation (from input)
SE - standard error
se.semipartial(.40, .25, 60)
# Should return:
# Estimate SE
# Semipartial correlation: 0.4 0.1063262
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.