[R] Obtaining R-squared value in Logistic Regression
Marc Schwartz
marc_schwartz at me.com
Thu Nov 8 22:03:00 CET 2012
On Nov 8, 2012, at 1:58 PM, hoguejm <hoguejm at gmail.com> wrote:
> I do not see an R-squared value after preforming the glm regression.
>
> Is there a separate command for this?
>
> Thanks
You might want to look at the lrm() function in Frank's 'rms' package on CRAN, which will provide Nagelkerke's pseudo R^2 as part of the model output. However, be sure you understand what it means in the context of logistic regression. It is not the same as the R^2 in OLS regression.
Regards,
Marc Schwartz
More information about the R-help
mailing list