Hello, When considering linear function where dependent variable is a function of lags of dependent variables ( co-variates are kind of auto regressive).Question is .....Can i take entire data set for rpart . Then split data into training and testing and validate the model for testing data.In testing data previously predicted value will be the lag of dependent variable for next prediction. Thanks, Puja [[alternative HTML version deleted]]