[R] residuals in logistic regression model

John Fox jfox at mcmaster.ca
Thu Nov 24 22:10:02 CET 2005


Dear Urania,

The residuals method for glm objects can compute several kinds of residuals;
the default is deviance residuals. See ?residuals.glm for details and
references.

I hope this helps.
 John

--------------------------------
John Fox
Department of Sociology
McMaster University
Hamilton, Ontario
Canada L8S 4M4
905-525-9140x23604
http://socserv.mcmaster.ca/jfox 
-------------------------------- 

> -----Original Message-----
> From: r-help-bounces at stat.math.ethz.ch 
> [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Urania Sun
> Sent: Thursday, November 24, 2005 1:36 PM
> To: r-help at stat.math.ethz.ch
> Subject: [R] residuals in logistic regression model
> 
> In the logistic regression model, there is no residual
> 
> log (pi/(1-pi)) = beta_0 + beta_1*X_1 + .....
> 
> But glm model will return
> 
> residuals
> 
> What is that?
> 
> How to understand this? Can we put some residual in the 
> logistic regression model by replacing pi with pi' (the estimated pi)?
> 
>  log (pi'/(1-pi')) = beta_0 + beta_1*X_1 + .....+ ei
> 
> Thanks!
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! 
> http://www.R-project.org/posting-guide.html




More information about the R-help mailing list