[英]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.