Python으로 배우는 시계열 분석
Rob Reider
Adjunct Professor, NYU-Courant Consultant, Quantopian
plt_acf 대신 plot_pacf 사용from statsmodels.graphics.tsaplots import plot_pacf
plot_pacf(x, lags= 20, alpha=0.05)
AR(1)

AR(3)

AR(2)

백색 잡음


from statsmodels.tsa.arima_model import ARIMA
mod = ARIMA(simulated_data, order=(1,0))
result = mod.fit()
result.summary()
result.params
result.aic
result.bic

Python으로 배우는 시계열 분석