Re: [R] Obtaining R-squared value in Logistic Regression

2012-11-08 Thread David Winsemius
On Nov 8, 2012, at 11:58 AM, hoguejm wrote: > I do not see an R-squared value after preforming the glm regression. > > Is there a separate command for this? Which pseudo-R^2 are you looking for? -- David Winsemius, MD Alameda, CA, USA __ R-help@r

Re: [R] Obtaining R-squared value in Logistic Regression

2012-11-08 Thread Rolf Turner
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!)

Re: [R] Obtaining R-squared value in Logistic Regression

2012-11-08 Thread Marc Schwartz
On Nov 8, 2012, at 1:58 PM, hoguejm 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

[R] Obtaining R-squared value in Logistic Regression

2012-11-08 Thread hoguejm
I do not see an R-squared value after preforming the glm regression. Is there a separate command for this? Thanks -- View this message in context: http://r.789695.n4.nabble.com/Obtaining-R-squared-value-in-Logistic-Regression-tp4648954.html Sent from the R help mailing list archive at Nabble