Skip to content

Instantly share code, notes, and snippets.

@erykml
Created June 3, 2019 17:00
Show Gist options
  • Select an option

  • Save erykml/3e7865ae9ee671321815c4e07248df39 to your computer and use it in GitHub Desktop.

Select an option

Save erykml/3e7865ae9ee671321815c4e07248df39 to your computer and use it in GitHub Desktop.
import statsmodels.tsa.api as smt
acf = smt.graphics.plot_acf(lin_reg.resid, lags=40 , alpha=0.05)
acf.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment