Generating observations with an AR(1) Model

Use this forum to post questions about syntax problems or general programming issues. Questions on implementing a particular aspect of econometrics should go in "Econometrics Issues" below.
tomsmith
Posts: 2
Joined: Thu Feb 17, 2011 12:28 pm

Generating observations with an AR(1) Model

Unread post by tomsmith »

That works fine, thanks
Last edited by tomsmith on Mon Feb 21, 2011 9:51 am, edited 2 times in total.
TomDoan
Posts: 7814
Joined: Wed Nov 01, 2006 4:36 pm

Re: Generating observations with an AR(1) Model

Unread post by TomDoan »

The Johnston and DiNardo example johnp059.rpf and the Hamilton example hamp055.rpf are almost spot-on for what you want to do. The Johnston example uses the same "shocks" for each process, while the Hamilton one draws them independently.
Post Reply