Kendall_tauc {VUROCS}R Documentation

Kendall's Tau_c and its asymptotic standard errors

Description

Computes Kendall's Tau_c on a given cartesian product Y x f(X), where Y consists of the components of y and f(X) consists of the components of fx. Furthermore, the asymptotic standard error as well as the modified asymptotic standard error to test the null hypothesis that the measure is zero are provided as defined in Brown and Benedetti (1977).

Usage

Kendall_tauc(y, fx)

Arguments

y

a vector of realized categories.

fx

a vector of predicted values of the ranking function f.

Value

A list of length three is returned, containing the following components:

val

Kendall's Tau_c

ASE

the asymptotic standard error of Kendall's Tau_c

ASE0

the modified asymptotic error of Kendall's Tau_c under the null hypothesis

References

Brown, M.B., Benedetti, J.K., 1977. Sampling Behavior of Tests for Correlation in Two-Way Contingency Tables. Journal of the American Statistical Association 72(358), 309-315

Examples

Kendall_tauc(rep(1:5,each=3),c(3,3,3,rep(2:5,each=3)))

[Package VUROCS version 1.0 Index]