Strange Estimation IRFs

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.

Strange Estimation IRFs

Postby hollander03 » Fri Oct 12, 2012 9:56 am

Dear Dynare Forum Members

I cannot understand why the IRFs for the Bayesian Estimation of my code gives such strange results (please see attached example). I have run dozens of estimations and get good acceptance rates, good prior-posterior distributions, and good diagnostic check results. There are some steady-states that are non-zero, but these numbers are very small (approx. e^-16); does this make any difference to the starting point of the IRFs?

I have double and triple-checked the data and code (although there's always the element of human error); and the estimated parameters are quite consistent with the literature. Thank you for your time.

Regards,
Hylton
Attachments
MPshock.pdf
Estimation IRFs
(11.37 KiB) Downloaded 131 times
hollander03
 
Posts: 12
Joined: Tue Aug 07, 2012 9:14 am

Re: Strange Estimation IRFs

Postby jpfeifer » Fri Oct 12, 2012 9:30 pm

Why do you think they look strange?
------------
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: Strange Estimation IRFs

Postby hollander03 » Sat Oct 13, 2012 2:56 pm

Hi jpfeifer

Thanks for the reply.

Well, one: IRFs fluctuating around the steady-state, and two: not starting from the steady-state equal to zero. In addition to having good diagnostic results, prior-posterior distributions and literature/theoretically consistent paramter values, my question being two parts: does this most likely imply something wrong with the model setup, or could it be that I struggled with a non-positive definite matrix for some time before being able to run the estimation through mode_compute=4 (i.e. I used option 6 to get mode values then run through option 4) and therefore have poorly specified priors or calibrated variables that I am not estimating?

I know your answer cannot be too specific, but any advice from your experience would be greatly appreciated.

Regards,
Hylton

P.S.

When I run through dynare 4.3.1 I get this warning sign which I did not get before:
Code: Select all
Warning: File 'mh_scale_fname' not found.
hollander03
 
Posts: 12
Joined: Tue Aug 07, 2012 9:14 am

Re: Strange Estimation IRFs

Postby jpfeifer » Sun Oct 14, 2012 9:00 am

You can ignore the warning. I still don't understand the problem. IRFs fluctuating around the steady state, i.e. overshooting and returning is relatively common, even in the basic RBC model. And why should IRFs start at the steady state if there is a shock at t=0 that drives the system out of steady state?
------------
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: Strange Estimation IRFs

Postby hollander03 » Mon Oct 15, 2012 7:29 am

Hi jpfeifer

You are most certainly correct. I think the fact that I am getting such counterintuitive results (i.e. productivity shock generally good but MP shock always "incorrect" with increased interest rates and increased inflation, although the setup of the model is New-Keynesian) thus making it hard to interpret - or make sense of - the results.

Thanks for the reply.

Regards,
Hylton
hollander03
 
Posts: 12
Joined: Tue Aug 07, 2012 9:14 am

Re: Strange Estimation IRFs

Postby jpfeifer » Mon Oct 15, 2012 5:36 pm

Does your model with a sensible baseline calibration yield good results? If not, the problem is not with estimation, but with the model.
------------
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: Strange Estimation IRFs

Postby hollander03 » Tue Oct 16, 2012 3:00 pm

Hi jpfeifer

I managed to sort the issue out. I specified two equations slightly differently and then was able to run with mode_compute=4. Results are good now.

I have one quick question on the output of figures in dynare 4.3.1: is there any way that I can generate .fig IRF figures instead of (or in addition to) .eps figures after I run an estimation? The previous version of dynare 4.3.0 gave .fig files.

Regards,
Hylton
hollander03
 
Posts: 12
Joined: Tue Aug 07, 2012 9:14 am

Re: Strange Estimation IRFs

Postby jpfeifer » Tue Oct 16, 2012 3:35 pm

See the manual on graph_format
------------
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: Strange Estimation IRFs

Postby hollander03 » Wed Oct 17, 2012 10:07 am

Awesome, thanks. Appreciate your help.
hollander03
 
Posts: 12
Joined: Tue Aug 07, 2012 9:14 am


Return to Dynare help

Who is online

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