View source: R/spearman_var_independent.R
spearman_var_independent | R Documentation |
Calculates the asymptotic variance of the estimator of Spearman's Rho between iid observations of independent random variables. The expression comes from the asymptotic normal distribution of the estimator, see e.g. equation 3.13 in chapter 11 of Gibbons and Chakraborti (2003).
spearman_var_independent(n)
n |
number of observations, should be integer bigger than 0. |
Asymptotic variance of estimator.
J. D. Gibbons, and S. Chakraborti, Nonparametric statistical inference (4th Edition). CRC press, 2003.
spearman_var_independent(n=50)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.