The proportion of explained variation (R-2) is frequently used in the gener
al linear model but in logistic regression no standard definition of R-2 ex
ists. We present a SAS macro which calculates two R-2-measures based on Pea
rson and on deviance residuals for logistic regression. Also, adjusted vers
ions for both measures are given, which should prevent the inflation of R-2
in small samples. (C) 1999 Elsevier Science Ireland Ltd. All rights reserv
ed.