Description Usage Arguments Value Author(s) References Examples
This function performs a nonparametric test of ranking data based on the correlation. This function can be applied to the ranking data with missing ranks and tie ranks.
1 | independence.test(X1, X2, method = c("spearman", "kendall"))
|
X1 |
a vector, using NA to stand for the missing ranks |
X2 |
the same as X1 |
method |
whether the test is based on Spearman correlation or Kendall correlation |
a list of the test statistics
Li Qinglong <liqinglong0830@163.com>
Rank Correlation Methods for Missing Data, Mayer Alvo and Paul
Cablio
Nonparametric Rank Tests for Independence in Opinion Surveys, Philip L.H. Yu,
K.F. Lam, and Mayer Alvo
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.