Skip to content
Back to formatted view

Raw Message

Message-ID: <5A31633D-58FE-42F4-9C3E-124E6E834878@me.com>
Date: 2012-11-08T21:03:00Z
From: Marc Schwartz
Subject: Obtaining R-squared value in Logistic Regression
In-Reply-To: <1352404734061-4648954.post@n4.nabble.com>

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