Dummy Implementation of Minnesota Prior
Posted: Thu Dec 06, 2012 3:08 pm
Dear Tom,
I am fairly new to RATs. I would like to estimate a VAR model using the dummy implementation of the Minnesota Prior described in "Bayesian Macroeconometrics" Del Negro and Schorfheide (2010):
http://economics.sas.upenn.edu/~schorf/ ... _macro.pdf
Schorfheide posted a MATLAB code that generates the dummy observations, which are then added to the existing dataset. The code can be found at:
http://economics.sas.upenn.edu/~schorf/ ... Matlab.zip
As I am not aware of any existing RATs routine that generates the same dummy observations, I tried to estimate the same VAR in RATS using the extended sample (data + prior) generated by the MATLAB code. When I do it, RATs returns completely different estimates for the OLS coefficients than those obtained in MATLAB. Even the inv(X'X) matrix for computing the OLS estimates is different. Instead, results are identical in MATLAB and RATs when I use just data.
I did some basic checking and everything seems fine, namely the extended dataset is loaded correctly and I use the same observations in MATLAB and RATs.
Any help on the matter would be greatly appreciated. If needed I can construct an example with Schorfheide's data to replicate the problem.
Thanks,
Dario
I am fairly new to RATs. I would like to estimate a VAR model using the dummy implementation of the Minnesota Prior described in "Bayesian Macroeconometrics" Del Negro and Schorfheide (2010):
http://economics.sas.upenn.edu/~schorf/ ... _macro.pdf
Schorfheide posted a MATLAB code that generates the dummy observations, which are then added to the existing dataset. The code can be found at:
http://economics.sas.upenn.edu/~schorf/ ... Matlab.zip
As I am not aware of any existing RATs routine that generates the same dummy observations, I tried to estimate the same VAR in RATS using the extended sample (data + prior) generated by the MATLAB code. When I do it, RATs returns completely different estimates for the OLS coefficients than those obtained in MATLAB. Even the inv(X'X) matrix for computing the OLS estimates is different. Instead, results are identical in MATLAB and RATs when I use just data.
I did some basic checking and everything seems fine, namely the extended dataset is loaded correctly and I use the same observations in MATLAB and RATs.
Any help on the matter would be greatly appreciated. If needed I can construct an example with Schorfheide's data to replicate the problem.
Thanks,
Dario