I am implementing an ARIMA model in Python for forecasting US 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
>>>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()
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.