mboeck11 / BGVAR

Toolbox for the estimation of Bayesian Global Vector Autoregressions in R.
27 stars 20 forks source link

Empty rows in weight matrix #14

Closed mboeck11 closed 10 months ago

mboeck11 commented 1 year ago

I've just heard of an interesting issue which should be fixed in the next version:

In a situation, where entity X spills into other entities but no entities spill into country X (which results in a row full of zeros for country X in the weight matrix), then BGVAR throws an error (because it cannot append weakly exogenous variables). This is non-trivial to fix, because the whole estimation builds upon including weakly exogenous variables but can be fixed with a lot of if conditions.

mboeck11 commented 10 months ago

This issue is now fixed in the new version 2.5.3. I'll close this now.