[R] GLM coefficients

Henrique Dallazuanna wwwhsd at gmail.com
Wed Feb 6 16:25:13 CET 2008


See this example:

 coef(summary(glm(Postwt ~ Prewt + Treat +
offset(Prewt),family=gaussian, data=anorexia)))

Is this you want?

On 06/02/2008, Munyandorero, Joseph <Joseph.Munyandorero at myfwc.com> wrote:
> Dear all,
>
> After running a glm, I use the summary ( ) function to extract its
> coefficients and related statistics for further use. Unfortunately, the
> screen only displays a small (last) part of the results. I tried to
> overcome the problem by creating/saving an object "coef" for
> coefficients of the model and export/save it e.g. as a cvs document.
> While I succed with this operatiion, I do not manage to pick the
> standard deviations and other statistics associated with individual
> coefficients. What may I do to get the whole set of coefficients and
> associated statistics for my GLM? Thanks for your help.
>
> J. Munyandorero
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>


-- 
Henrique Dallazuanna
Curitiba-Paraná-Brasil
25° 25' 40" S 49° 16' 22" O



More information about the R-help mailing list