[R] get the parameter estimates from lm model
TEMPL Matthias
Matthias.Templ at statistik.gv.at
Tue Apr 18 10:31:32 CEST 2006
Do you have a look at
names(fitData)
fitData$coef
Best,
Matthias
> -----Ursprüngliche Nachricht-----
> Von: r-help-bounces at stat.math.ethz.ch [mailto:r-help-
> bounces at stat.math.ethz.ch] Im Auftrag von Luis Ridao Cruz
> Gesendet: Dienstag, 18. April 2006 10:23
> An: r-help at stat.math.ethz.ch
> Betreff: [R] get the parameter estimates from lm model
>
> R-help,
>
> Sorry for posting the same question (almost) once again.
>
> I'm using a lm model for some data.
> The code is below:
>
> fitData <- glm(pm ~ age + mw , family = binomial(link = logit), maxit =
> 30, data = inputModel1)
>
> "age" is a factor and "mw" is a continous variable.
>
> The summary function does not provide the parameter estimates for
> the first level of the categorical variable (I think the others are
> relative to the first,isn't it?).
>
> How can I get all the parameter estimates in the model?
>
>
> Thank you in advance
>
>
>
> I run on a Windows Xp machine
>
> > version
> _
> platform i386-pc-mingw32
> arch i386
> os mingw32
> system i386, mingw32
> status
> major 2
> minor 2.1
> year 2005
> month 12
> day 20
> svn rev 36812
> language R
>
> ______________________________________________
> 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