spearman.ci {RVAideMemoire} | R Documentation |
Confidence interval of a Spearman's rank correlation coefficient
Description
Computes the confidence interval of a Spearman's rank correlation coefficient by bootstraping.
Usage
spearman.ci(var1, var2, nrep = 1000, conf.level = 0.95)
Arguments
var1 |
numeric vector (first variable). |
var2 |
nuermic verctor (second variable). |
nrep |
number of replicates for bootstraping. |
conf.level |
confidence level of the interval. |
Value
method |
name of the test. |
data.name |
a character string giving the name(s) of the data. |
conf.level |
confidence level. |
rep |
number of replicates. |
estimate |
Spearman's rank correlation coefficient. |
conf.int |
confidence interval. |
Author(s)
Maxime HERVE <maxime.herve@univ-rennes1.fr>
See Also
Examples
var1 <- sample(1:50,15,replace=TRUE)
var2 <- sample(1:50,15,replace=TRUE)
spearman.ci(var1,var2)
[Package RVAideMemoire version 0.9-83-7 Index]