Timeseries Crossvalidation in R: using tsCV() with tslm()-Models
问题 I am currently trying to evaluate a tslm-model using timeseries cross validation. I want to use a fixed model (without parameter reestimation) an look at the 1 to 3 step ahead horizon forecasts for the evaluation period of the last year. I have trouble to get tsCV and tslm from the forecast-library to work well together. What am I missing? library(forecast) library(ggfortify) AirPassengers_train <- head(AirPassengers, 100) AirPassengers_test <- tail(AirPassengers, 44) ## Holdout Evaluation n