2

Unable to find forecast.Arima function in forecast package. Error displayed "forecast.Arima" not found. Can forecast function be used in place of 'forecast.Arima' function ? I am using forecast 8.1.

Secondly, the output from ARIMA is flat at mean for the future dates. Is this because I am using 'forecast' function.

library(forecast)

arima.forecast <- forecast(arima1, h=30)
4

1 回答 1

9

forecast.Arima没有丢失,只是没有在 v8.1+ 中导出。改为使用forecast,它将forecast.Arima在需要时调用。

持平预测很常见。见https://robjhyndman.com/hyndsight/flat-forecasts/

于 2017-07-19T21:52:58.223 回答