Model from BVAR

For questions about EViews Add-ins available from the EViews Add-ins webpage. Note each add-in available on our webpage will have its own individual thread.

Moderators: EViews Gareth, EViews Moderator, EViews Esther

donihue
Posts: 135
Joined: Wed Oct 07, 2009 8:51 am

Model from BVAR

Postby donihue » Thu Feb 10, 2011 2:45 pm

Hello again, Esther.

Sorry to be such a pest, but I am having some trouble with the models generated by your excellent BVAR add-in.

As you will see from the attached screen-shot, in some cases (this is one) the generated model does not at all match the estimated model. Perhaps this is because I have such long names?

Also, I added a variable in the "exogenous" box, but it did not appear in the estimated model; perhaps I have done something wrong?

Regards
Donihue
Attachments
bvartest4.jpg
bvartest4.jpg (175.56 KiB) Viewed 10026 times

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13307
Joined: Tue Sep 16, 2008 5:38 pm

Re: Model from BVAR

Postby EViews Gareth » Thu Feb 10, 2011 2:50 pm

Could you provide the workfile too?
Follow us on Twitter @IHSEViews

donihue
Posts: 135
Joined: Wed Oct 07, 2009 8:51 am

Re: Model from BVAR

Postby donihue » Fri Feb 11, 2011 4:34 am

Gareth,

As the workfile for the example I sent is very complicated, I have attached a much simpler one, which illustrates the same problem.

In the attached file, "var01" is the straight VAR, including an exogenous variable; "var02" is the same VAR without the exogenous variable.

Next, "bvar" is the flat-flat BVAR obtained from the Add-in. It was specified to include an exogenous variable, so as to match "var01", but in fact does not; its coefficients instead match those of "var02".

Finally, "ff1" is the model generated by the Add-in. As you can see, despite the short names, the text representation does not at all match the true VAR - it appears that the model picks up the right coefficients, but applies them to the wrong variables.

I imagine that this is very easy to fix, but I don't have enough programming skills to do so.

Thanks for your help.

Regards
Donihue
Attachments
vn4bvartest.WF1
BVAR Add-in test workfile
(104.31 KiB) Downloaded 405 times

EViews Esther
EViews Developer
Posts: 149
Joined: Fri Sep 03, 2010 7:57 am

Re: Model from BVAR

Postby EViews Esther » Fri Feb 11, 2011 6:25 pm

The "Model Option" is updated.

Please note that the current version of BVAR allows for exogenous variables only for the Sims-Zha model. Therefore, exogenous variables cannot be included in the diffuse prior model.
However, as you know, the estimates of the diffuse prior model are identical to those in the (classical) VAR model which allows for exogenous variables.

donihue
Posts: 135
Joined: Wed Oct 07, 2009 8:51 am

Re: Model from BVAR

Postby donihue » Sat Feb 12, 2011 1:31 am

Thanks very much, Esther, for your quick response.

I downloaded just now the BVAR add-in and re-installed it, then re-ran my models. Unfortunately, I still find the same problem with the model coefficients - see attached workfile.

Could it be that the version of the Add-in on your web-site is not the one you revised?

Regards
Donihue
Attachments
vn4bvartest.wf1
(184.5 KiB) Downloaded 400 times

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13307
Joined: Tue Sep 16, 2008 5:38 pm

Re: Model from BVAR

Postby EViews Gareth » Mon Feb 14, 2011 9:44 am

The one that was uploaded on Friday addressed the exogenous variables in flat-flat priors only. We'll have a fix for the model part in a few days.
Follow us on Twitter @IHSEViews

donihue
Posts: 135
Joined: Wed Oct 07, 2009 8:51 am

Re: Model from BVAR

Postby donihue » Tue Feb 15, 2011 10:28 am

Many thanks!

Regards
Donihue

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13307
Joined: Tue Sep 16, 2008 5:38 pm

Re: Model from BVAR

Postby EViews Gareth » Tue Feb 15, 2011 10:41 am

Just put a new one up.
Follow us on Twitter @IHSEViews

donihue
Posts: 135
Joined: Wed Oct 07, 2009 8:51 am

Re: Model from BVAR

Postby donihue » Tue Feb 15, 2011 1:02 pm

Thanks very much, Gareth. I have tested it and it seems to work correctly.

Regards
Donihue

BTW, is there any technical reason why it is not possible to add exogenous variables when using the flat-flat prior?

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13307
Joined: Tue Sep 16, 2008 5:38 pm

Model from BVAR

Postby EViews Gareth » Tue Feb 15, 2011 1:26 pm

Nothing more technical than it is complicated to fit into the Add-in, and, given that it offers nothing that the built in VAR routines do, not worth it.
Follow us on Twitter @IHSEViews

donihue
Posts: 135
Joined: Wed Oct 07, 2009 8:51 am

Re: Model from BVAR

Postby donihue » Tue Feb 15, 2011 1:37 pm

Yes, of course. I understand fully.

Regards
Donihue


Return to “Add-in Support”

Who is online

Users browsing this forum: No registered users and 27 guests