[R] summary.glm objects

Sundar Dorai-Raj doraiss at auburn.edu
Tue Oct 16 19:11:15 CEST 2001


> 
> > 
> > I´m having problems in the following lines:
> > 
> > lms <- summary(fit.model) # fit.model is a glm from gaussian
> > family
> > s <- lms$sigma
> 
> s <- lms$deviance/lms$df.residual
> 
> Deviance is a more general term than standard deviation when 
> fitting non-gaussian models.

Sorry, make that "variance" rather than "standard deviation." To obtain
an estimate of s, just take the sqrt.

Sundar

--
Sundar Dorai-Raj, Ph.D.
Assistant Professor
Discrete & Statistical Sciences   Office: (334) 844-3647
231 Allison Lab                   Fax: (334) 844-3611
Auburn University                 Email: dorairaj at dms.auburn.edu
Auburn AL 36849-5307              http://www.dms.auburn.edu/~dorairaj/

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list