Page 1 of 1
WRONG IN ESTIMATION(WITH MOD FILE ATTACHED)
Posted:
Thu Dec 15, 2016 6:06 pm
by zhanshuo
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".
Re: WRONG IN ESTIMATION(WITH MOD FILE ATTACHED)
Posted:
Fri Dec 16, 2016 8:22 am
by jpfeifer
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.
Re: WRONG IN ESTIMATION(WITH MOD FILE ATTACHED)
Posted:
Sat Dec 17, 2016 6:52 am
by zhanshuo
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?
Re: WRONG IN ESTIMATION(WITH MOD FILE ATTACHED)
Posted:
Sat Dec 17, 2016 10:47 am
by jpfeifer
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.