Hi there ,
I am trying to forecast for a holdout data set with a 'h=21' value which is throwing me the error stated below .
Error in .cbind.ts(list(...), .makeNamesTs(...), dframe = FALSE, union = TRUE) :
non-time series not of the correct length
My code runs fine for until a h value of 19 but nothing beyond that value .
Pasting my code below
ArimafcastA <- forecast(ItA.arima.fit.train, h=21)
VecA2 <- cbind(DataTest_A,ArimafcastA)
Can someone tell me what I am doing wrong here ?
Thanks,
Bhargavi