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

查看:1082
本文介绍了'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天全站免登陆