WRONG IN ESTIMATION(WITH MOD FILE ATTACHED)

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.

WRONG IN ESTIMATION(WITH MOD FILE ATTACHED)

Postby zhanshuo » Thu Dec 15, 2016 6:06 pm

Hi, everyone, I got wrong in estimation with the message "Error using chol. Matrix must be positive definite." .
I have put identification command in the mod file, and it pass the identification check.
But still it comes up with something wrong in estimation .
Here are the mod file and data file , in which I have processed raw data under the guidance of Prof. Pfeifer's "A guide to specifying Observation Equations for the Estimation of DSGE models".
Attachments
credit.zip
(8.29 KiB) Downloaded 67 times
zhanshuo
 
Posts: 44
Joined: Fri Nov 25, 2016 7:59 am

Re: WRONG IN ESTIMATION(WITH MOD FILE ATTACHED)

Postby jpfeifer » Fri Dec 16, 2016 8:22 am

1. Use a different mode-finder that does not get stuck. mode_compute=5 seemed to work well for your model
2. Your prior for
Code: Select all
phi_pi,1.5,0.001,30,GAMMA_PDF,1.5,10;

is problematic. It has a large asymptote at 0, but the lower bound for it should be 1. Please use a prior that gives more weight to the determinacy region.
------------
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: WRONG IN ESTIMATION(WITH MOD FILE ATTACHED)

Postby zhanshuo » Sat Dec 17, 2016 6:52 am

Thanks a lot ,Prof. Pleifer!
It seems work well on mode_computer=5.
So here comes a question, do I have to revise and check again and again to make that estimation work under every mode_computer from 0-10?
Is it right that only the estimation has passed through the 10 mode_computers, can we make a conclusion that it is a rightly set-up model?
zhanshuo
 
Posts: 44
Joined: Fri Nov 25, 2016 7:59 am

Re: WRONG IN ESTIMATION(WITH MOD FILE ATTACHED)

Postby jpfeifer » Sat Dec 17, 2016 10:47 am

The goal is to find the global mode. It is often useful to test several mode-finders (but not all of them; several Newton-type algorithms if often redundant). You could try running mode_compute=5 first, load the mode-file and then run mode_compute=9. That is often sufficient.
------------
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 6 guests