Displaying 1 result from an estimated 1 matches for "assocordinal".
2006 Sep 12
1
Kendall's tau-c
Hello,
I can't find a package which calculates Kendall's tau-c. There is the
package Kendall, but it only calcuates Kendall's tau-b.
Here is the example from
ttp://www2.chass.ncsu.edu/garson/pa765/assocordinal.htm.
cityriots <- data.frame(citysize=c(1,1,2,2,3,3),
riotsize=c(1,2,1,2,1,2), weight=c(4,2,2,3,0,4))
cityriots <- data.frame(lapply(cityriots,function(x)
rep(x,cityriots$weight)))
xtabs(~ riotsize+citysize,cityriots)
tau-c should be .57.
Do you have a hint?
Best regards
Knut Wenzig
--...