Gamma for ordinal trends
Jonathan Baron <baron at psych.upenn.edu> writes:
On 08/31/05 17:46, Wuming Gong wrote:
Dear list, Are there any functions for calculating gamma (and its standard error), which measures the association of ordinal factors in I x J contingency table. I did a RSiteSearch but did not find any clues...
You have to look for Goodman-Kruskal gamma. It is a bit obscure. It is rcorr.cens in the Hmisc package. The significance test is the same as for Kendall's tau, according to some books.
Well, it would be if we handled ties in Kendall's tau correctly...
I don't know about standard error.
O__ ---- Peter Dalgaard ??ster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907