Skip to content

using rcorr.cens for Goodman Kruskal gamma

2 messages · Colin Robertson, Frank E Harrell Jr

#
Colin Robertson wrote:
Rank correlation measures are for correlating a continuous or ordinal 
prediction with a response (continuous, ordinal, or binary).  So you 
should be able to do something like rcorr.cens(predict(fit), 
as.numeric(Y), outx=TRUE).  Note that rcorr is all lower case.  This 
assumes that the levels of Y are in order, as does lrm.

Note that the new version of lrm has a method for getting predicted mean 
scores from an ordinal lrm.

Frank