View source: R/cor.kendall.tau.simple.R
cor.kendall.tau | R Documentation |
Calculate Kendall's Rank Correlation Coefficient (also called Kendall's Tau).
cor.kendall.tau(
x1,
x2,
alternative = c("two.sided", "greater", "less"),
conf.level = 0.95
)
cor.kendall.tau.simple(
count.concordant = 0,
count.discordant = 0,
ties.x1 = NA,
ties.x2 = NA,
sample.size = 0.5 * (1 + sqrt(8 * (count.concordant + count.discordant) + 1)),
alternative = c("two.sided", "greater", "less"),
conf.level = 0.95
)
x1 |
Vector - group 1 - scores |
x2 |
Vector - group 2 - scores |
alternative |
The alternative hypothesis to use for the test computation. |
conf.level |
The confidence level for this test, between 0 and 1. |
count.concordant |
Scalar - counts of concordant pairs between groups. |
count.discordant |
Scalar - counts of discordant pairs between groups. |
ties.x1 |
Vector - group 1 - score counts tied for a particular score. |
ties.x2 |
Vector - group 2 - score counts tied for a particular score. |
sample.size |
Scalar - sample size to use for the calculation. |
Hypothesis test result showing results of test.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.