Re: [R] using predict.lm function

2011-05-22 Thread David Winsemius
On May 22, 2011, at 12:35 PM, Dave Evens wrote: Dear all, I'm fitting a linear model with numerous lag terms of the response variable [i.e. y(t-1), y(t-2),y(t-3)...,] and other explanatory variables [x(1), x(2), x(3),]- which go into my design matrix X. I'm fitting the linear model:

[R] using predict.lm function

2011-05-22 Thread Dave Evens
Dear all, I'm fitting a linear model with numerous lag terms of the response variable [i.e. y(t-1), y(t-2),y(t-3)...,] and other explanatory variables [x(1), x(2), x(3),]- which go into my design matrix X. I'm fitting the linear model: lm(Y ~ X, ...). I would like to use the predict.lm f