Advertisement
Guest User

Untitled

a guest
Feb 27th, 2020
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.23 KB | None | 0 0
  1. import statsmodels.graphics.tsaplots as tsa
  2.  
  3. ts.counts = y
  4.  
  5. %pylab inline
  6. plt.figure(figsize=(15,8))
  7. ax = plt.subplot(211)
  8. tsa.plot_acf(ts.counts, lags=35, ax=ax)
  9. ax = plt.subplot(212)
  10. tsa.plot_pacf(ts.counts, lags=35, ax=ax)
  11. pylab.show()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement