se.spear: Computes the standard error for a Spearman correlation

View source: R/meta_se.R

se.spearR Documentation

Computes the standard error for a Spearman correlation

Description

This function computes the Bonett-Wright standard error of a Spearman correlation using the estimated correlation and sample size. The standard error 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.spear(cor, n)

Arguments

cor

estimated Spearman correlation

n

sample size

Value

Returns a one-row matrix:

  • Estimate - Spearman correlation (from input)

  • SE - standard error

References

\insertRef

Bonett2000vcmeta

Examples

se.spear(.40, 55)

# Should return: 
#                       Estimate        SE
# Spearman correlation:      0.4 0.1210569



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