se.cor: Computes the standard error for a Pearson or partial...

View source: R/meta_se.R

se.corR Documentation

Computes the standard error for a Pearson or partial correlation

Description

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.

Usage

se.cor(cor, s, n)

Arguments

cor

estimated Pearson or partial correlation

s

number of control variables (set to 0 for Pearson)

n

sample size

Value

Returns a one-row matrix:

  • Estimate - Pearson or partial correlation (from input)

  • SE - standard error

References

\insertRef

Bonett2008avcmeta

Examples

se.cor(.40, 0, 55)

# Should return: 
#               Estimate       SE
# Correlation:       0.4 0.116487



dgbonett/vcmeta documentation built on July 12, 2024, 3:12 p.m.