BVARBuildPriorMN
Posted: Wed Aug 14, 2013 11:11 am
Dear Tom,
I hope this finds you well,
I’m implementing a full SVAR model of 5 variables identified with BQ methodology. I would like to use Bayesian estimation with Litterman Independent Normal Wishart Prior.
In a previous discussion, you advised me to use the @SURGibbsSetup procedure to estimate such a model:
“once you have a prior which is informative and isn't in conjugate form, there is no longer any computational advantage in being a full VAR---the calculation is basically the "SUR" model whether the VAR is full or not”
In order to implement the informative Litterman prior on the VAR coefficients, I used the procedure @BVARBuildPriorMN, the resulting bprior and hprior have the dimensions (6*5) and (30*30), respectively.
Thus, when I add them to the posterior code in loop to have an informative posterior;
compute bpost=vpost*(hbdata+hprior*bprior),
I got the message:
## MAT2. Matrices with Dimensions 30 x 30 and 6 x 5 Involved in * Operation
Could you kindly tell me how to solve this?
Could I use GibbsVAR model directly; is it built on the Litterman Independent Normal Wishart Prior?
On the other hand, 2 of the 5 variables in my model are foreign variables, I would like to treat the foreign variables as block exogenous, but without imposing exogeneity directly using the near-VAR approach, so I let the data accept or refute this. Instead, I want to shrink the parameters on the domestic variables to a value near zero in the equations for the foreign variables, like what is done with the option specify(type=general).
Is it possible to handle this with @BVARBuildPriorMN, so the Litterman part of the Prior takes this in consideration and I can use it in @SURGibbsSetup procedure?
Thank you in advance.
I hope this finds you well,
I’m implementing a full SVAR model of 5 variables identified with BQ methodology. I would like to use Bayesian estimation with Litterman Independent Normal Wishart Prior.
In a previous discussion, you advised me to use the @SURGibbsSetup procedure to estimate such a model:
“once you have a prior which is informative and isn't in conjugate form, there is no longer any computational advantage in being a full VAR---the calculation is basically the "SUR" model whether the VAR is full or not”
In order to implement the informative Litterman prior on the VAR coefficients, I used the procedure @BVARBuildPriorMN, the resulting bprior and hprior have the dimensions (6*5) and (30*30), respectively.
Thus, when I add them to the posterior code in loop to have an informative posterior;
compute bpost=vpost*(hbdata+hprior*bprior),
I got the message:
## MAT2. Matrices with Dimensions 30 x 30 and 6 x 5 Involved in * Operation
Could you kindly tell me how to solve this?
Could I use GibbsVAR model directly; is it built on the Litterman Independent Normal Wishart Prior?
On the other hand, 2 of the 5 variables in my model are foreign variables, I would like to treat the foreign variables as block exogenous, but without imposing exogeneity directly using the near-VAR approach, so I let the data accept or refute this. Instead, I want to shrink the parameters on the domestic variables to a value near zero in the equations for the foreign variables, like what is done with the option specify(type=general).
Is it possible to handle this with @BVARBuildPriorMN, so the Litterman part of the Prior takes this in consideration and I can use it in @SURGibbsSetup procedure?
Thank you in advance.