Skip to content

Instantly share code, notes, and snippets.

@naiborhujosua
Created November 12, 2020 09:18
Show Gist options
  • Save naiborhujosua/9b23ae18c2958723acf21ca7bcba4925 to your computer and use it in GitHub Desktop.
Save naiborhujosua/9b23ae18c2958723acf21ca7bcba4925 to your computer and use it in GitHub Desktop.
from statsmodels.tsa.s import arma_generate_sample
ar_coeffs = [1,0.5]
ma_coeffs = [1,0.2]
y = arma_generate_sample(ar_coeffs,ma_coeffs,nsample=100,sigma=0.5)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment