Forecasting with a BVAR

For technical questions regarding estimation of single equations, systems, VARs, Factor analysis and State Space Models in EViews. General econometric questions and advice should go in the Econometric Discussions forum.

Moderators: EViews Gareth, EViews Moderator

EviewsUser1
Posts: 40
Joined: Thu Aug 28, 2014 8:08 am

Forecasting with a BVAR

Postby EviewsUser1 » Thu Aug 28, 2014 8:20 am

I estimated a BVAR with Minnesota priors, then I created a model, then I solved it to get a one-step ahead forecast for a single time period (2014:Q3) which is one-quarter beyond the end of my sample.
The forecasts are all zero except for one variable (the first variable in teh variable list has a non-zero forecast). What did I do wrong?

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

Re: Forecasting with a BVAR

Postby EViews Gareth » Thu Aug 28, 2014 8:47 am

We'd need to see the workfile/VAR/Model.

EviewsUser1
Posts: 40
Joined: Thu Aug 28, 2014 8:08 am

Re: Forecasting with a BVAR

Postby EviewsUser1 » Thu Aug 28, 2014 10:22 am

let me know if you need to see more:

var var_test.bvar(prior=lit) 1 5 lctgh lcsh lfneh lfnph lfrh lfnsh lxmh lxsh lmmh lmsh lgfh lgsh vh_y
var_test.makemodel(bvarmod)
smpl 2014:3 2014:3
solve bvarmod
stop

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

Re: Forecasting with a BVAR

Postby EViews Gareth » Thu Aug 28, 2014 11:24 am

We'll need the workfile.

EviewsUser1
Posts: 40
Joined: Thu Aug 28, 2014 8:08 am

Re: Forecasting with a BVAR

Postby EviewsUser1 » Thu Aug 28, 2014 11:48 am

workfile is attached
Attachments
bvar.wf1
(140.78 KiB) Downloaded 317 times

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

Re: Forecasting with a BVAR

Postby EViews Gareth » Thu Aug 28, 2014 11:57 am

Is your copy of EViews 8 up to date?

The BVAR that's in your workfile hasn't estimated properly (open it and look at the coefficients). Yet if I re-estimate it, it works fine.

EviewsUser1
Posts: 40
Joined: Thu Aug 28, 2014 8:08 am

Re: Forecasting with a BVAR

Postby EviewsUser1 » Thu Aug 28, 2014 12:57 pm

yes, I can get it to estimate the BVAR, but then when I solve the model all of the coefficients go back to zero

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

Re: Forecasting with a BVAR

Postby EViews Gareth » Thu Aug 28, 2014 1:21 pm

What is the build date of your copy of EViews? (Help->About EViews)

EviewsUser1
Posts: 40
Joined: Thu Aug 28, 2014 8:08 am

Re: Forecasting with a BVAR

Postby EviewsUser1 » Thu Aug 28, 2014 1:28 pm

Jun 19 2013

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

Re: Forecasting with a BVAR

Postby EViews Gareth » Thu Aug 28, 2014 1:32 pm

You should update to the latest version.

EviewsUser1
Posts: 40
Joined: Thu Aug 28, 2014 8:08 am

Re: Forecasting with a BVAR

Postby EviewsUser1 » Thu Aug 28, 2014 2:03 pm

That worked! Thanks.


Return to “Estimation”

Who is online

Users browsing this forum: No registered users and 2 guests