[R] Obtaining R-squared value in Logistic Regression

Rolf Turner rolf.turner at xtra.co.nz
Thu Nov 8 22:13:34 CET 2012


On 09/11/12 08:58, hoguejm wrote:
> I do not see an R-squared value after preforming the glm regression.
>
> Is there a separate command for this?
>

A logistic regression is fitted via maximum likelihood, not by least 
squares.
Unless I am very much mistaken (always a contingency to be considered!)
R-squared makes no sense at all in this context.

Read up on "deviance".

     cheers,

         Rolf Turner




More information about the R-help mailing list