[R] Gamma for ordinal trends
Jonathan Baron
baron at psych.upenn.edu
Wed Aug 31 12:31:23 CEST 2005
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. I don't know about standard error.
Jon
--
Jonathan Baron, Professor of Psychology, University of Pennsylvania
Home page: http://www.sas.upenn.edu/~baron
More information about the R-help
mailing list