BVAR (litterman) Specifying different priors to different variables

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Jason, EViews Moderator, EViews Matt

hlin
Posts: 1
Joined: Fri Sep 16, 2016 11:27 am

BVAR (litterman) Specifying different priors to different variables

Postby hlin » Fri Sep 16, 2016 11:33 am

Dear all,
I am running a simple 3 variable VAR (gdp, interest rate, and inflation). How do I specify different mu1, l1, l2 for different variables under litterman prior? If three variables all share the same priors then the code would be:
var mod.bvar(prior=lit, mu1=1, l1=0.20, l2=0.99) 1 2 GDP INTEREST INFLATION

But how should I modify if I would assign mu1=0 for GDP and mu1=1 for inflation, for example?

Thank you

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

Re: BVAR (litterman) Specifying different priors to different variables

Postby EViews Gareth » Fri Sep 16, 2016 12:07 pm

You cannot.
Follow us on Twitter @IHSEViews

adrangi
Posts: 31
Joined: Sat Dec 05, 2009 5:56 pm

BVAR estimation

Postby adrangi » Tue Sep 05, 2017 8:36 pm

Hi. I have four variables and about 550 monthly observations. All variables are nonstationary. Sims recommends running BVAR if variables are nonstationary, so I tried. I got the error message "singular matrix" so I assume some determinants disappeared and I got no estimates or IRFs. I used the BVAR add-in. Any suggestions. Thanks. BA


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 22 guests