“forecast"包中缺少“forecast.Arima"函数 [英] 'forecast.Arima' function missing from'forecast' package

查看:131
本文介绍了“forecast"包中缺少“forecast.Arima"函数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在预测包中找不到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"函数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆