Skip to main content
1 of 4
user135784
  • 286
  • 1
  • 3
  • 11

Difference between the forecast and simulate functions in the {forecast} package in R

I have been using the forecast package in R to make forecasts based on an ARIMA model and have noticed a difference in the output of the forecast and simulate functions when calculating confidence intervals.

For example the 95% quantile calculated by the forecast function is about 0.5% higher than that based on 10000 applications of the simulate() function. Also the mean of the simulated values and the point forecasts provided by the forecast functions are slightly different.

Which one of the functions will do the job better? Or are the differences too small to worry about? (The only reason I decided to try simulate was so that a distribution could be fitted to the simulated data)

user135784
  • 286
  • 1
  • 3
  • 11