问题描述
在预测包中找不到Forecast.Arima函数.找不到错误,显示"forecast.Arima".可以使用预测功能代替"forecast.Arima"功能吗?我正在使用预测8.1.
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.
第二,ARIMA的输出与未来日期的平均值持平.这是因为我正在使用预测"功能.
Secondly, the output from ARIMA is flat at mean for the future dates. Is this because I am using 'forecast' function.
图书馆(预测)
arima.forecast <- forecast(arima1, h=30)
推荐答案
forecast.Arima
不丢失,只是未在v8.1 +中导出.使用forecast
代替,它将在需要时调用forecast.Arima
.
forecast.Arima
is not missing, it is just not exported in v8.1+. Use forecast
instead, which will call forecast.Arima
when required.
平面预测很常见.参见 https://robjhyndman.com/hyndsight/flat-forecasts/
Flat forecasts are common. See https://robjhyndman.com/hyndsight/flat-forecasts/
这篇关于'forecast'包中缺少'forecast.Arima'函数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!