Tweak for mode check plots

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.

Tweak for mode check plots

Postby JamieHall » Mon Mar 02, 2009 3:33 am

Hi everyone,

I love the mode_check option in Dynare's estimation command. I've found it really useful. But initially I was confused by the way that parameters which cause instability or multiple solutions are plotted as flat lines, just a little bit higher than the mode.

If you replace the mode_check.m in your Dynare 4.0.2 matlab folder with the one attached here, then parameter values in unacceptable regions are plotted in red, just to make it clear that the model is close to a cliff.

Hope you find it useful.

cheers
Jamie
Attachments
mode_check.m
(8.21 KiB) Downloaded 604 times
JamieHall
 
Posts: 20
Joined: Wed Feb 11, 2009 4:42 am

Re: Tweak for mode check plots

Postby Susana » Fri Apr 13, 2012 6:56 pm

Hey! Btw, do you know hoy to save the likelihood function and posterior kernel? Thanks!
Susana
 
Posts: 9
Joined: Wed Mar 28, 2012 4:27 pm

Re: Tweak for mode check plots

Postby jpfeifer » Sat Apr 21, 2012 12:26 pm

------------
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 contributions and examples

Who is online

Users browsing this forum: No registered users and 2 guests