Skip to content

Difference between R and SAS in Corcordance index in ordinal logistic regression

1 message · Frank E Harrell Jr

#
Please define 'mean probabilities'.

To compute the C-index or Dxy you need anything that is monotonically 
related to the prediction of interest, including the linear combination 
of covariates ignoring all intercepts.   In other words you don't need 
to go to the trouble of computing probabilities unless you are binning, 
as the binning is usually done on a controllable 0-1 scale.   When I bin 
I just choose the middle intercept, I seem to recall.  Also try running 
SAS with a very tiny BINWIDTH and see if you get 1 - .968 as the answer 
for C.  [I wrote the original algorithm SAS uses for this in the old SAS 
PROC LOGIST.  Binning was just for speed.]

You might also re-run SAS after negating the response variable.
Frank

blackscorpio wrote