
StuartTauC(x, y = NULL, conf.level = NA, ...)
x
. If y is provided, table(x, y, ...)
is calculated.table
, allowing i.e. to set useNA. This refers only to the vector interface.ConDisPairs
yields concordant and discordant pairs
Other association measures:
GoodmanKruskalGamma
, KendallTauA
($\tau_{a}$), cor
(method="kendall") for $\tau_{b}$, SomersDelta
Lambda
, GoodmanKruskalTau
, UncertCoef
, MutInf
# example in:
# http://support.sas.com/documentation/cdl/en/statugfreq/63124/PDF/default/statugfreq.pdf
# pp. S. 1821
tab <- as.table(rbind(c(26,26,23,18,9),c(6,7,9,14,23)))
StuartTauC(tab, conf.level=0.95)
Run the code above in your browser using DataLab