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.
wolly77
Posts: 6
Joined: Sun Apr 04, 2010 6:05 am

error message with @varirf

Unread post by wolly77 »

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.
TomDoan
Posts: 7814
Joined: Wed Nov 01, 2006 4:36 pm

Re: error message with @varirf

Unread post by TomDoan »

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.
wolly77
Posts: 6
Joined: Sun Apr 04, 2010 6:05 am

Re: error message with @varirf

Unread post by wolly77 »

Dear Tom, I'm using the codes in the BQEXAMPLE.prg. So, I'm using the latest version of VARIRF function.
TomDoan
Posts: 7814
Joined: Wed Nov 01, 2006 4:36 pm

Re: error message with @varirf

Unread post by TomDoan »

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 831 times
wolly77
Posts: 6
Joined: Sun Apr 04, 2010 6:05 am

Re: error message with @varirf

Unread post by wolly77 »

Now it runs. Many thanks Tom!
Post Reply