Bayesian VAR

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

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

Re: Bayesian VAR

Postby EViews Gareth » Sun Oct 16, 2011 2:38 pm

The BVAR add-in doesn't support non-simple (i.e. 1-7) lag structures.
Follow us on Twitter @IHSEViews

mjfl
Posts: 49
Joined: Mon Jul 18, 2011 8:18 am

Re: Bayesian VAR

Postby mjfl » Sun Oct 16, 2011 7:53 pm

EViews Gareth wrote:The BVAR add-in doesn't support non-simple (i.e. 1-7) lag structures.


hi Gareth,
thks for the reply.

but can anyone teach me where should i change or tinker from becasue i cant seem to get the lag lag correct in program code and sub routines. can i have a look of how VAR source code looks like to change the BVAR one?

tyrying to make it more operational. Im gg from Matlab to Eviews with all these. cheers to developers.

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

Bayesian VAR

Postby EViews Gareth » Sun Oct 16, 2011 11:09 pm

VARs are not add-ins like BVARs - they are not written in an EViews program.
Follow us on Twitter @IHSEViews

mjfl
Posts: 49
Joined: Mon Jul 18, 2011 8:18 am

Re: Bayesian VAR

Postby mjfl » Mon Oct 17, 2011 6:23 am

EViews Gareth wrote:VARs are not add-ins like BVARs - they are not written in an EViews program.


hi Gareth,

thank you once again. that i know. just wondering is there a way i can get hold of VAR source code? c-lang?
or how can i finetune BVAR program code?
much much appreciated.

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

Bayesian VAR

Postby EViews Gareth » Mon Oct 17, 2011 6:49 am

The VAR code would not be useful to you.
Follow us on Twitter @IHSEViews

cobleton
Posts: 1
Joined: Mon Dec 12, 2011 1:22 pm

Re: Bayesian VAR

Postby cobleton » Mon Dec 12, 2011 1:31 pm

EViews Esther wrote:Dear Donihue,

The IRF graphs display is too small to read text characters when several variables are used. Would it be possible to have an option to show the IRF graphs by equation?

The smart EViews gives you an option, "Extract selected graph", by right-clicking on the IRF graphs.

And whilst still on this subject (sorry!): is there any chance of having the IRF graphs display a +/- 1 (and/or 2) std. error band?

I will put it on my to-do list.

Best,
Esther


Dear Esther,

Just a question about IRF confidence intervals. Is it straightforward to build them? Is it possible to have an update of the Add-in which also includes the bands? This would be extremely useful (as already the BVAR add-in is) for any central banker/ graduate student.

Thanks

Keneni09
Posts: 1
Joined: Tue Dec 13, 2011 3:42 am

Question Bayesian VAR

Postby Keneni09 » Tue Dec 13, 2011 4:07 am

Dear all,

I am so greatful if anyone of you give me a hint on the following issues with respect to using the add-in for BVAR
1. The Sims-Zha Normal-Wishart allows for the exogenous variables. The impulse responses are only for the endogenous variables.
Is there a way that I get the responses of the endogenous variables as a result of the changes in the exogenous variables?
2. Is it possible to recover the variance decomposition after the estimation?

Thank you so much for your help in advance.

Keneni

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

Re: Question Bayesian VAR

Postby EViews Esther » Wed Dec 14, 2011 10:15 am

None of them are available.

JakeS
Posts: 3
Joined: Wed May 16, 2012 11:25 am

Re: Bayesian VAR

Postby JakeS » Thu May 17, 2012 5:43 am

I have not been able to get the bvar add in to work at all. I continually get the error '_SH01' is not defined. I have tried changing the estimation period, the variables I used, normalizing the data, different priors but nothing seems to work.

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

Re: Bayesian VAR

Postby EViews Gareth » Thu May 17, 2012 7:47 am

Might be useful to provide your workfile.
Follow us on Twitter @IHSEViews

JakeS
Posts: 3
Joined: Wed May 16, 2012 11:25 am

Re: Bayesian VAR

Postby JakeS » Thu May 17, 2012 11:12 am

Here is what I am working with now.
Attachments
haver_pull_test.wf1
(48.84 KiB) Downloaded 745 times

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

Re: Bayesian VAR

Postby EViews Gareth » Thu May 17, 2012 11:57 am

And details of what you've done...
Follow us on Twitter @IHSEViews

JakeS
Posts: 3
Joined: Wed May 16, 2012 11:25 am

Re: Bayesian VAR

Postby JakeS » Thu May 17, 2012 2:29 pm

EViews Gareth wrote:And details of what you've done...


Installed the latest version of the BVAR add-in, from the link on the first page of this thread (Eviews v7.2)
Imported some data from excel (real gdp , cpi, civilian employment, industrial production, etc) 1980-2012q1

clicked 'add-ins' -> Bayesian Var

Entered the variable names in the endogenous section plus the following:
estimation period=1980q4 2011q4, lags = 4, calculate irfs, Sims-Zha Normal-Wishart
defaults on everything else.
Clicked 'ok'
get the screen with the sim-zha hyperparameters, just chose defaults.
Clicked 'ok'

I then just get an error described above

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

Re: Bayesian VAR

Postby EViews Esther » Thu May 17, 2012 2:58 pm

What are your endogenous variables? The error message indicates that there exists a near singularity problem.

Stefania A.
Posts: 1
Joined: Thu May 24, 2012 2:17 am

Re: Bayesian VAR... please help

Postby Stefania A. » Thu May 24, 2012 2:39 am

I think I’m having a similar problem.
I attached my workfile (work1 is after I did all the steps below, work is before).
I want to estimate a BVAR with the variables m, n, f, k, l and i with one lag, using the Minnesota/Litterman prior (and calculate impulse responses for 10-20 periods).

So, after installing the BVAR add in and estimating a regular VAR, I opened the BVAR and wrote:
Endogenous variables: m n f k l i
(just like this, no commas)
Exogenous variables: I wrote nothing
Estimation sample 1990 2010
(it appeared as default because of the workfile specification, I suppose)
1 lag
Calculate impulse responses, 10 periods
Koko Minnesota/Litterman prior
Name: stef
The next dialog box appeared, I left everything as default and after clicking OK, it said “Syntax error” and a lot of new things (series, matrixes, a group) appeared in my workfile…

Could you please help me…
Thank you so much in advance!
(Needless to say this is part of project that I have to submit this Saturday…)
Attachments
work1.wf1
(18.73 KiB) Downloaded 702 times
work.wf1
(16.19 KiB) Downloaded 648 times


Return to “Add-in Support”

Who is online

Users browsing this forum: No registered users and 12 guests