[R] logistic regression: default computed probability

n nikhil.abhyankar at gmail.com
Wed Sep 21 17:25:02 CEST 2011


Hello all,

Suppose in a logistic regression model, the binary outcome is coded as
0 or 1.
In SAS, the default probability computed is for Y = 0 (smaller of the
two values) . However, in SPSS the probability computed is for Y = 1
(greater of the two values).

Which one does R compute, the probability for the smaller or the
greater value?

I went through the documentation in a hurry but couldn't find a clue.

Thanks

Nikhil



More information about the R-help mailing list