se.cor | R Documentation |
This function computes the standard error of a Pearson or partial correlation using the estimated correlation, sample size, and number of control variables. The correlation, along with the 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.cor(cor, s, n)
cor |
estimated Pearson or partial correlation |
s |
number of control variables (set to 0 for Pearson) |
n |
sample size |
Returns a one-row matrix:
Estimate - Pearson or partial correlation (from input)
SE - standard error
Bonett2008avcmeta
se.cor(.40, 0, 55)
# Should return:
# Estimate SE
# Correlation: 0.4 0.116487
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.