Large 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

anranal
Posts: 3
Joined: Tue Nov 21, 2017 6:05 am

Re: Large Bayesian VAR

Postby anranal » Tue Nov 21, 2017 9:17 am

I keep getting the following error Dot,diagonal and solve require a vector argument" what does this refer to?

dakila
Posts: 479
Joined: Tue Nov 24, 2015 4:57 pm

Re: Large Bayesian VAR

Postby dakila » Tue Nov 21, 2017 4:07 pm

Did you create random walk prior vector before the estimation?
Could you provide the data file and description of the model?

anranal
Posts: 3
Joined: Tue Nov 21, 2017 6:05 am

Re: Large Bayesian VAR

Postby anranal » Tue Nov 21, 2017 6:46 pm

I have create random walk prior vector irw following LBVAR.pdf and fill it in the dialog box.
The data contains 39 variables from 2005m7 to 2017m8. Further, are there some rules in setting training sample and sample size?
Much appreciation for your reply!

dakila
Posts: 479
Joined: Tue Nov 24, 2015 4:57 pm

Re: Large Bayesian VAR

Postby dakila » Wed Nov 22, 2017 2:55 pm

What is your Eviews version? Can you run a example of the lbvar add-in? Sample size should not include the missing observations. Training sample should be at least 30-40.

anranal
Posts: 3
Joined: Tue Nov 21, 2017 6:05 am

Re: Large Bayesian VAR

Postby anranal » Thu Nov 23, 2017 9:01 am

dakila wrote:What is your Eviews version? Can you run a example of the lbvar add-in? Sample size should not include the missing observations. Training sample should be at least 30-40.


I used Eviews8.0 to estimate the model. When I update Eviews to the latest version,everything goes well.
Much appreciation!

awatt43
Posts: 20
Joined: Mon Aug 21, 2017 12:19 am

Re: Large Bayesian VAR

Postby awatt43 » Wed Aug 08, 2018 12:37 am

Hi there

I am trying to estimate a LBVAR in using the add in but I have a couple of questions on the estimation procedure.

1. Is the model estimated following the hierarchical approach of Giannone et al (2012) in their paper prior selection for vector autoregressions?
2. Are the impulse responses formulated in the same manner as the Banbura et al paper which is referenced in the add in doc? I.e. can we specify slow moving versus fast moving variables for the computation of impulse responses?
3. In the add in how is the covariance prior specified i.e. the prior for the third block of dummies?

Hope that you can help with these questions.

Thanks,
Abigail

dakila
Posts: 479
Joined: Tue Nov 24, 2015 4:57 pm

Re: Large Bayesian VAR

Postby dakila » Wed Aug 08, 2018 1:24 am

1. Is the model estimated following the hierarchical approach of Giannone et al (2012) in their paper prior selection for vector autoregressions?

No.
2. Are the impulse responses formulated in the same manner as the Banbura et al paper which is referenced in the add in doc? I.e. can we specify slow moving versus fast moving variables for the computation of impulse responses?

Yes. the identification is recursive (cholesky). But you cannot specify slow moving versus fast moving variables. It is related with FAVAR model. If you use FAVAR add-in you can specify that variables.
3. In the add in how is the covariance prior specified i.e. the prior for the third block of dummies?

Yes.

awatt43
Posts: 20
Joined: Mon Aug 21, 2017 12:19 am

Re: Large Bayesian VAR

Postby awatt43 » Wed Aug 08, 2018 2:14 am

Thank you for your quick response dakila. How is the cholesky ordering specified? Is this taken from the ordering of the variables in the model specification?

dakila
Posts: 479
Joined: Tue Nov 24, 2015 4:57 pm

Re: Large Bayesian VAR

Postby dakila » Wed Aug 08, 2018 2:34 am

Yep

awatt43
Posts: 20
Joined: Mon Aug 21, 2017 12:19 am

Re: Large Bayesian VAR

Postby awatt43 » Wed Aug 08, 2018 6:24 am

Thank you. Is it possible to view the final coefficient estimates and the impulse responses in an extractable format rather than a frozen graph object?
Thanks,
Abigail

dakila
Posts: 479
Joined: Tue Nov 24, 2015 4:57 pm

Re: Large Bayesian VAR

Postby dakila » Wed Aug 08, 2018 4:20 pm

The lbvar add-in is updated. It now includes the generalized IRF and option to save IRF.

awatt43
Posts: 20
Joined: Mon Aug 21, 2017 12:19 am

Re: Large Bayesian VAR

Postby awatt43 » Thu Aug 16, 2018 5:36 am

Thanks Dakila - could you explain to me the difference between the generalized and cholesky impulse response functions? Am i right in thinking that generalized allow you to estimate the impact of the shocks independent of the impact of the shock on other variables within the system, hence you do not need to specify an ordering?

Your help is much appreciated!

dakila
Posts: 479
Joined: Tue Nov 24, 2015 4:57 pm

Re: Large Bayesian VAR

Postby dakila » Thu Aug 16, 2018 7:19 am

Unlike the traditional impulse response analysis, GIRF does not require orthogonalization of shocks and is invariant to the ordering of the variables in the VAR. In other words, the definition of GIRF is different from Cholesky IRF.

awatt43
Posts: 20
Joined: Mon Aug 21, 2017 12:19 am

Re: Large Bayesian VAR

Postby awatt43 » Wed Aug 22, 2018 3:12 am

Hi there,

Can I just confirm that the definition of the impulse responses is for a 1 standard deviation shock to the variable of interest when using the recursive/cholesky decomposition definition of the IRFs?

If this is the case in the output if I shock the fed funds rate by 1 s.d. the chart is showing 1 on the y axis does this mean a 1% increase in the fed funds rate is equivalent to the 1 s.d. shock? i.e. the fed funds rate would go from 5% to 6%?

And if my other variables are in logs how would I interpret the y axis in this case? Would it be that a 1 s.d. shock to the fed funds reduces US GDP by X% or would you take the exponential of the value of impact of the shock on GDP and that would be the level impact? in other words would I need to transform the impulse response function to get the impact on log variables or can these directly be interpreted as % changes?

GEMOATH
Posts: 3
Joined: Tue Jan 29, 2019 2:22 am

Re: Large Bayesian VAR

Postby GEMOATH » Wed Feb 06, 2019 2:16 am

Hi,

I try to run an LBVAR for 50 endogenous variables, 1 lag, horizon = 5 and MCD=500.
I have created irw vector (vector irw=@zeros(50) since all variables are stationary).
Despite the fact that the sample size should not include the missing observations, the code returns me the following: "Size do not match in matrix function".
Could you please help me with this?
I use Eviews 9.

Thank you


Return to “Add-in Support”

Who is online

Users browsing this forum: No registered users and 13 guests