Re: [R] Extract estimate of error variance from glm() object

2024-12-25 Thread Gabor Grothendieck
If the family is Poisson or binomial and the dispersion= argument to summary is omitted then sigma is 1. See ?summary.glm On Tue, Dec 24, 2024 at 8:45 AM Christofer Bogaso wrote: > > Hi, > > I have below GLM fit > > clotting <- data.frame( > u = c(5,10,15,20,30,40,60,80,100), > lot1 = c(

Re: [R] Extract estimate of error variance from glm() object

2024-12-25 Thread Rui Barradas
Às 23:29 de 24/12/2024, Bert Gunter escreveu: ... but do note: glm(lot1 ~ log(u), data = clotting, family = gaussian) is a plain old *linear model*, which is of course a specific type of glm, but not one that requires the machinery of glm() to fit. That is, the above is exactly the same as: lm