On 31/01/2010, at 12:14 PM, ace834 wrote:

> 
> Hi, I am pretty new to R. I'm trying run a regression repeatedly, adding a
> new data point each time, and then storing the predicted Y values. For
> example, let's say I have 500 data points and I run the regression. I would
> then like to store the Y value, run the regression again using 501 data
> points, store the new Y, run the regression with 502 data points, store the
> Y, and so on. What I would like is a new object that has all of the
> predicted Y values.  I'm using time series data, and I'm running a
> multivariable regression.  Any help would be greatly appreciated.  Thanks.


This would seem to be very easy to do using a for loop and a list.

What is the problem? Is this a homework question?

        cheers,

                Rolf Turner

######################################################################
Attention:\ This e-mail message is privileged and confid...{{dropped:9}}

______________________________________________
R-help@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.

Reply via email to