0
$\begingroup$

enter image description here

I forecasted a set of data, 'ar1.s' from the TSA package, it was meant to be an AR(1) process. The code I used is:

library(TSA)
data(ar1.s)
ff <- forecast(ar1.s, h = 10)

I don't understand, why is there a gap between the original plot and the 'blue line', is that gap meant to be there? Or is there something wrong with my time series plot?

$\endgroup$
1
  • $\begingroup$ Well, you are forecasting 1 time-unit forward. So the gap has width 1. $\endgroup$ – stans Jan 25 at 7:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.