BVAR program code

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

ashtongate
Posts: 21
Joined: Thu Sep 25, 2008 10:39 am
Location: Washington DC

BVAR program code

Postby ashtongate » Mon Mar 12, 2012 12:53 pm

Is there any way to make a model from a BVAR in a batch file? I see the subroutine makemodel is in the add-in directory, but I am finding it difficult to call it for a BVAR estimation. Thanks!

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

Re: BVAR program code

Postby EViews Gareth » Mon Mar 12, 2012 1:08 pm

I'll wait for Esther to confirm (she wrote it!), but a quick look at the code seems to indicate that there is an "m=name" option that lets you specify the name of a model object to make when running the add-in.
Follow us on Twitter @IHSEViews

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

Re: BVAR program code

Postby EViews Esther » Mon Mar 12, 2012 1:20 pm

Gareth is right. Here is an example: bvar(m=model1) 2 y x1 x2 x3 (please note that the first argument is the number of lags).

ashtongate
Posts: 21
Joined: Thu Sep 25, 2008 10:39 am
Location: Washington DC

Re: BVAR program code

Postby ashtongate » Tue Mar 13, 2012 5:35 am

Great, thanks a lot. Excellent add-in.


Return to “Add-in Support”

Who is online

Users browsing this forum: No registered users and 56 guests