无法在预测包中找到forecast.Arima函数.错误显示"forecast.Arima"未找到.可以用预测函数代替'forecast.Arima'函数吗?我正在使用预测8.1.
其次,ARIMA的产出与未来日期的平均值持平.这是因为我使用'预测'功能.
库(预测)
arima.forecast <- forecast(arima1, h=30)
Run Code Online (Sandbox Code Playgroud)
forecast.Arima没有丢失,它只是没有在v8.1 +中导出.使用forecast相反,它将调用forecast.Arima需要的时候.
平坦的预测很常见.见https://robjhyndman.com/hyndsight/flat-forecasts/