Page 1 of 1

error message with @varirf

Posted: Thu Apr 15, 2010 8:06 am
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.

Re: error message with @varirf

Posted: Thu Apr 15, 2010 10:39 am
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.

Re: error message with @varirf

Posted: Thu Apr 15, 2010 12:09 pm
by wolly77
Dear Tom, I'm using the codes in the BQEXAMPLE.prg. So, I'm using the latest version of VARIRF function.

Re: error message with @varirf

Posted: Thu Apr 15, 2010 1:23 pm
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

Re: error message with @varirf

Posted: Thu Apr 15, 2010 1:37 pm
by wolly77
Now it runs. Many thanks Tom!