Hi

Does there exists an efficient way of performing linear regression on rolling 
windows in R.

The exact problem is:

We have a dataset of length l. The window size is w.

Now, I perform linear regression on window i to (i+w) . Using this model can I 
perform linear regression over window (i+1) to (i+w+1).

Thanks
Sid
Sent on my BlackBerry® from Vodafone
______________________________________________
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