[英]Obtain the graph of the autocorrelation function in ARIMA models
I am implementing an ARIMA model in Python for forecasting US GDP. 我正在Python中实现ARIMA模型,以预测美国GDP。
I am interested in obtaining the graph for the autocorrelation function. 我对获取自相关函数图感兴趣。 I obtained the values for ACF but I can not see the graph even though I have written
我获得了ACF的值,但是即使我已经写了也看不到图形
>>>import statsmodels.api as sm
>>>sm.graphics.tsa.plot_acf
Enter and nothing appears. 输入,什么都不会出现。 Just this
只是这个
<function plot_acf at 0x0000000014E44358>
Thank you very much! 非常感谢你!
It looks like you forgot the parenthesis at the end: 看起来您最后忘记了括号:
import statsmodels.api as sm
sm.graphics.tsa.plot_acf()
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.