[英]Obtain the graph of the autocorrelation function in ARIMA models
我正在Python中实现ARIMA模型,以预测美国GDP。
我对获取自相关函数图感兴趣。 我获得了ACF的值,但是即使我已经写了也看不到图形
>>>import statsmodels.api as sm
>>>sm.graphics.tsa.plot_acf
输入,什么都不会出现。 只是这个
<function plot_acf at 0x0000000014E44358>
非常感谢你!
看起来您最后忘记了括号:
import statsmodels.api as sm
sm.graphics.tsa.plot_acf()
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.