weird results

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

weird results

Postby marcio_fr » Wed Jan 13, 2016 2:20 pm

Hi,

I'm trying to estimate a DSGE model based on Gali and Monacelli (2005) with bayesian techniques, but I'm getting some weird results. When I give a positive shock in the monetary policy rule, the bayesian impulse response function shows a fall in the interest rate! Other strange result is the kernel in the rhoa parameter (persistence parameter in the technical progress), in the checkplot graphic. I used the script available on Macromodel and made some changes in the taylor rule and to run bayesian estimation (attached with the graphics). Those problems could be due to some misspecification in the model? Or it's a problem in the estimation commands?

Best, Márcio.
Attachments
dados.xls
(33 KiB) Downloaded 88 times
NK_GM056.mod
(2.96 KiB) Downloaded 71 times
marcio_fr
 
Posts: 22
Joined: Fri Nov 27, 2009 7:14 pm

Re: weird results

Postby jpfeifer » Thu Jan 14, 2016 9:45 am

Please do not use the Macro model base version for estimation. It does not correctly take parameter dependencies into account. This will screw up estimation. A correct version can be found at https://github.com/JohannesPfeifer/DSGE_mod/tree/master/Gali_Monacelli_2005
Also, there is the issue how you specify your observation equation, see http://www.dynare.org/phpBB3/viewtopic.php?f=1&t=6720
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: weird results

Postby aaronsun » Tue Mar 15, 2016 1:34 am

jpfeifer wrote:Please do not use the Macro model base version for estimation. It does not correctly take parameter dependencies into account. This will screw up estimation. A correct version can be found at https://github.com/JohannesPfeifer/DSGE_mod/tree/master/Gali_Monacelli_2005
Also, there is the issue how you specify your observation equation, see http://www.dynare.org/phpBB3/viewtopic.php?f=1&t=6720


Hi Johannes,

Your mod file for Gali and Monacelli (2005) runs well but model diagnostics show that there is 3 collinear relationships between prices and the exchange rate. Of course, according to the model assumption, they are perfectly correlated. Is the collinearity screwing up estimation? All matrices would be singular in this case.

Thanks,
Aaron
aaronsun
 
Posts: 13
Joined: Mon Mar 17, 2014 7:39 pm

Re: weird results

Postby jpfeifer » Tue Mar 15, 2016 7:31 am

No, this is not a problem. The collinearity comes from the unit roots, which are correctly handled via the diffuse filter.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany


Return to Dynare help

Who is online

Users browsing this forum: Google [Bot] and 11 guests