SHAZAM Community
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version
  • AR(1) process x=.8lag(x) sample 1 10 genr x=1 sample 2 10 genr x=.8lag(x) print x stop

If desired, a random number could be added to the GENR

  • * AR(1) process x=.8lag(x)
    x=.8*lag(x)
    sample 1 10
    genr x=1
    sample 2 10
    genr x=.8lag(x)
    x=.8*lag(x)
    print x
    stop
  • stop

If desired, a random number could be added to the GENR

GENR