Skip to content

Commit

Permalink
Merge 318df49 into 3b7082c
Browse files Browse the repository at this point in the history
  • Loading branch information
jsphon committed Oct 13, 2013
2 parents 3b7082c + 318df49 commit 2b528bb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/tsa/ex_arma2.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
# The conventions of the arma_generate function require that we specify a
# 1 for the zero-lag of the AR and MA parameters and that the AR parameters
# be negated.
arparams = np.r_[1, -arparams]
maparam = np.r_[1, maparams]
ar = np.r_[1, -arparams]
ma = np.r_[1, maparams]
nobs = 250
y = arma_generate_sample(arparams, maparams, nobs)
y = arma_generate_sample(ar, ma, nobs)

# Now, optionally, we can add some dates information. For this example,
# we'll use a pandas time series.
Expand Down

0 comments on commit 2b528bb

Please sign in to comment.