Hi R-Users,

 

I apologize if it is too simple question for all. I have a multivariate
dataset having 7 variables as independent and 1 dependent variable. 248
data points are there. I want to do out sample forecast first
considering 156 points. So I'll have to start from 157th point and
calculate the 157th y_hat value. In this way it will go to 248th data
point. Can any one tell me how I can do with for loop. Thanks a lot in
advance.

 

 

Thanks & Regards,

SUMANTA BASAK.


-------------------------------------------------------------------------------------------------------------------
This e-mail may contain confidential and/or privileged infor...{{dropped}}

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

Reply via email to