[R] get the parameter estimates from lm model

Dimitris Rizopoulos dimitris.rizopoulos at med.kuleuven.be
Tue Apr 18 10:36:52 CEST 2006


Look at:

?contrasts
?contr.treatment


I hope it helps.

Best,
Dimitris

----
Dimitris Rizopoulos
Ph.D. Student
Biostatistical Centre
School of Public Health
Catholic University of Leuven

Address: Kapucijnenvoer 35, Leuven, Belgium
Tel: +32/(0)16/336899
Fax: +32/(0)16/337015
Web: http://www.med.kuleuven.be/biostat/
     http://www.student.kuleuven.be/~m0390867/dimitris.htm


----- Original Message ----- 
From: "Luis Ridao Cruz" <Luisr at frs.fo>
To: <r-help at stat.math.ethz.ch>
Sent: Tuesday, April 18, 2006 10:22 AM
Subject: [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
> 


Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm




More information about the R-help mailing list