Christofer Bogaso
2024-Dec-24 14:21 UTC
[R] Extract estimate of error variance from glm() object
I think vcov() gives estimates of VCV for coefficients. I want estimate of SD for residuals On Tue, Dec 24, 2024 at 7:24?PM Ben Bolker <bbolker at gmail.com> wrote:> > vcov(). ? > > > On Tue, Dec 24, 2024, 8:45 AM Christofer Bogaso <bogaso.christofer at gmail.com> wrote: >> >> Hi, >> >> I have below GLM fit >> >> clotting <- data.frame( >> u = c(5,10,15,20,30,40,60,80,100), >> lot1 = c(118,58,42,35,27,25,21,19,18), >> lot2 = c(69,35,26,21,18,16,13,12,12)) >> summary(glm(lot1 ~ log(u), data = clotting, family = gaussian)) >> >> Is there any direct function to extract estimate of Error standard deviation? >> >> ______________________________________________ >> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see >> https://stat.ethz.ch/mailman/listinfo/r-help >> PLEASE do read the posting guide https://www.R-project.org/posting-guide.html >> and provide commented, minimal, self-contained, reproducible code.
Bert Gunter
2024-Dec-24 15:13 UTC
[R] Extract estimate of error variance from glm() object
?deviance ?anova Bert On Tue, Dec 24, 2024 at 6:22?AM Christofer Bogaso <bogaso.christofer at gmail.com> wrote:> > I think vcov() gives estimates of VCV for coefficients. > > I want estimate of SD for residuals > > On Tue, Dec 24, 2024 at 7:24?PM Ben Bolker <bbolker at gmail.com> wrote: > > > > vcov(). ? > > > > > > On Tue, Dec 24, 2024, 8:45 AM Christofer Bogaso <bogaso.christofer at gmail.com> wrote: > >> > >> Hi, > >> > >> I have below GLM fit > >> > >> clotting <- data.frame( > >> u = c(5,10,15,20,30,40,60,80,100), > >> lot1 = c(118,58,42,35,27,25,21,19,18), > >> lot2 = c(69,35,26,21,18,16,13,12,12)) > >> summary(glm(lot1 ~ log(u), data = clotting, family = gaussian)) > >> > >> Is there any direct function to extract estimate of Error standard deviation? > >> > >> ______________________________________________ > >> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > >> https://stat.ethz.ch/mailman/listinfo/r-help > >> PLEASE do read the posting guide https://www.R-project.org/posting-guide.html > >> and provide commented, minimal, self-contained, reproducible code. > > ______________________________________________ > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide https://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.