Estimation initial values

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.

Estimation initial values

Postby jolee » Fri Mar 25, 2016 11:26 am

Hello,

I am trying to run jpfeifer's Garcia-Cicco et al (2010) code with different data set, but I keep on getting very narrow posteriors (especially for the measurement error se's). I assumed this was due to the wrong initial values, but if I make a slight change in the initial value, then I end up with even worse results like bimodal posteriors.

I tried putting the peak or mode of these posteriors as the initial value for each parameter, but it wouldn't get much better. I also tried different mode check options like 9, but the "error using chol" says that "the matrix must be positive definite."

What should I do to improve the posteriors to be more normal shaped? Does it really have something to do with the specification of initial values? Or are the posteriors good enough already? Any advice would be greatly appreciated!

Thanks,
jolee
Attachments
posterior1.pdf
(182.42 KiB) Downloaded 74 times
jolee
 
Posts: 5
Joined: Fri Mar 25, 2016 10:15 am

Re: Estimation initial values

Postby jpfeifer » Tue Mar 29, 2016 8:27 am

Please check the convergence diagnostics. I guess you need a longer chain. Regarding the prior posterior plots: with such a diffuse prior they can seem misleading. Please have a look at the HPDIs reported after estimation to see whether they really are too narrow.
------------
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: Estimation initial values

Postby jolee » Wed Mar 30, 2016 9:20 am

Thank you very much for your reply. I don't want to bother you with too basic questions but I couldn't figure out these anywhere else.

Could you check if I'm doing the right thing: I used your initial values from the original .mod file as a starting point, and then for the second and third run, I put the peak of the previous posteriors as new initial values. For the third run I increased mh_replic from 350000 to 700000. The attached files are the result of the third run. Is it normal/necessary that I run the code several times like I did? Should I try the fourth run?

Also, would you say the measurement error standard error's HPDI length around 0.0005 is long enough?

Thanks,
jolee
Attachments
posterior2.zip
(417.98 KiB) Downloaded 63 times
jolee
 
Posts: 5
Joined: Fri Mar 25, 2016 10:15 am

Re: Estimation initial values

Postby jpfeifer » Thu Mar 31, 2016 9:48 am

Please do trace_plots of the critical parameters.
------------
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: Estimation initial values

Postby jolee » Sat Apr 02, 2016 9:23 am

What can I do if a trace plot does look wrong?
Attachments
phi_traceplot.pdf
(90.87 KiB) Downloaded 119 times
gbar_traceplot.pdf
(96.51 KiB) Downloaded 99 times
jolee
 
Posts: 5
Joined: Fri Mar 25, 2016 10:15 am

Re: Estimation initial values

Postby jpfeifer » Tue Apr 05, 2016 4:08 pm

Try restarting the estimation (including mode-finding) with the last draw, where the drift seems to have subsided.
------------
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 14 guests