se.spear {vcmeta} | R 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
Bonett DG, Wright TA (2000). “Sample size requirements for estimating Pearson, Kendall and Spearman correlations.” Psychometrika, 65(1), 23–28. ISSN 0033-3123, doi:10.1007/BF02294183.
Examples
se.spear(.40, 55)
# Should return:
# Estimate SE
# Spearman correlation: 0.4 0.1210569
[Package vcmeta version 1.4.0 Index]