[R] summary(lm) * lack of a parameter estimate

Luis Ridao Cruz Luisr at frs.fo
Tue Apr 11 16:07:52 CEST 2006


R-help,

I'm using a lm  model for some data.
The code is below:

fitData <- lm(formula = log(f1) ~ year + mon + pair + rek, weights = w,
data = data)

I want to get the fitted values of log(f1) for every year so I do:

tapply(fitted(fitData), list(data96$year), mean)

but there is no parameter estimate for first year of data

A look in summary(fitData) confirms this lack (along with other
parameters).

Can anyone help?

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




More information about the R-help mailing list