Computes a Fisher confidence interval for a population Spearman correlation.
ci.spear(alpha, y, x)
alpha level for 1-alpha confidence
vector of y scores
vector of x scores (paired with y)
Returns a 1-row matrix. The columns are:
Estimate - estimated Spearman correlation
SE - standard error
LL - lower limit of the confidence interval
UL - upper limit of the confidence interval
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 .