[R] using rcorr.cens for Goodman Kruskal gamma

From: Colin Robertson <colinr23_at_gmail.com>
Date: Wed, 19 Dec 2007 01:24:24 -0800


Dear List,  

I would like to calculate the Goodman-Kruskal gamma for the predicted classes obtained from an ordinal regression model using lrm in the Design package. I couldn't find a way to get gamma for predicted values in Design so have found previous positings suggesting to use :  

Rcorr.cens(x, S outx = TRUE) in the Hmisc package  

My question is, will this work for predicted vs observed factors? I.e. x = predicted class and S = observed class? Or is there a better way to obtain this? I used the maximum individual probability for each observation to determine the predicted class.  

Any help appreciated,  

Thanks  

Colin      

Colin Robertson

Dept of Geography

University of Victoria    

        [[alternative HTML version deleted]]



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Wed 19 Dec 2007 - 09:33:46 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 19 Dec 2007 - 13:30:19 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.