european-central-bank / BEAR-toolbox

The Bayesian Estimation, Analysis and Regression toolbox (BEAR) is a comprehensive (Bayesian Panel) VAR toolbox for forecasting and policy analysis.
101 stars 38 forks source link

Historical Shock Decomposition #60

Open jhkemp599 opened 1 month ago

jhkemp599 commented 1 month ago

Hi,

I am running a sign-restricted VAR in five variables with four identified shocks (leaving the fifth unidentified). I am interested in decomposing the first variable in contributions from the different structural shocks.

The historical shock decomposition output has contributions from the four shocks, initial conditions, and an unexplained part (due to not being identified). However, these do not add up to the original series that I am trying to explain.

Maybe I don't understand because I am relatively new to this, but any help would be appreciated!