error message with @varirf

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.

error message with @varirf

Postby wolly77 » Thu Apr 15, 2010 8:06 am

Dear guys, I'm using the version 7 of Winrats. I have a problem in producing graphically the Impulse Responses functions in the Blanchard Quah procedure. I use the command:

@varirf(model=bqmodel,decomp=factor,steps=40,byshock,noscale,$
vlabels=||"Output","Unemployment"||,labels=||"Supply","Demand"||,accum=||1||)

as specified in the code available. But this message appears after having run the command:

## OP3. This Instruction Does Not Have An Option BYS
>>>>r,steps=40,byshock,<<<<

What is the problem? And how can i solve it?
Thanks to everyone.
wolly77
 
Posts: 10
Joined: Sun Apr 04, 2010 6:05 am

Re: error message with @varirf

Postby TomDoan » Thu Apr 15, 2010 10:39 am

That's the older syntax for VARIRF. Have you looked at the BQEXAMPLE.PRG that's part of the Blanchard-Quah replication? That uses the newer VARIRF that has better graphics, plus includes an option to accumulate the responses on the fly.
TomDoan
 
Posts: 2720
Joined: Wed Nov 01, 2006 5:36 pm

Re: error message with @varirf

Postby wolly77 » Thu Apr 15, 2010 12:09 pm

Dear Tom, I'm using the codes in the BQEXAMPLE.prg. So, I'm using the latest version of VARIRF function.
wolly77
 
Posts: 10
Joined: Sun Apr 04, 2010 6:05 am

Re: error message with @varirf

Postby TomDoan » Thu Apr 15, 2010 1:23 pm

Sorry about that. We updated the files for that, but not the contents of the .zip. Try the programs on this:

blanchardquahaer1989.zip
(6.87 KiB) Downloaded 131 times
TomDoan
 
Posts: 2720
Joined: Wed Nov 01, 2006 5:36 pm

Re: error message with @varirf

Postby wolly77 » Thu Apr 15, 2010 1:37 pm

Now it runs. Many thanks Tom!
wolly77
 
Posts: 10
Joined: Sun Apr 04, 2010 6:05 am


Return to Help With Programming

Who is online

Users browsing this forum: No registered users and 0 guests

cron