我安装了如下的ARIMA模型:
arima_pri <- Arima(prits, order=c(7,1,0), xreg = t2, seasonal=list(order=c(1,1,1), period=12))
想看一下残差与拟合值图:
plot(fitted(arima_pri), arima_pri$residuals)
还尝试了ts.plot:
ts.plot(fitted(arima_pri), arima_pri$residuals)
这样的情节
请参阅http://rstudio-pubs-static.s3.amazonaws.com/21465_653278de4ce44fefa846002156e9b10a.html
或者,
(见http://rstudio-pubs-static.s3.amazonaws.com/21465_653278de4ce44fefa846002156e9b10a.html)
我确定所有的库都已正确加载,例如&#34;预测&#34;。我现在应该怎么做?谢谢!