Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import statsmodels.graphics.tsaplots as tsa
- ts.counts = y
- %pylab inline
- plt.figure(figsize=(15,8))
- ax = plt.subplot(211)
- tsa.plot_acf(ts.counts, lags=35, ax=ax)
- ax = plt.subplot(212)
- tsa.plot_pacf(ts.counts, lags=35, ax=ax)
- pylab.show()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement