by jimmyk » Tue Aug 02, 2011 9:51 pm
Thanks for the reply. I've tried that to some extent. With Bayesian estimation all the parameters I've estimated have posteriors considerably tighter than the priors, so I'm pretty sure they're identified (or is that not conclusive?). I did try to use uniform priors over fairly wide ranges as a proxy for ML and had similar problems. I have tried fixing some of the parameters and estimating only a subset. I can continue to try to do that.
One thing I corrected in the original .mod file and is not the issue: The original file had a term involving 1/(1-gam) in one of the equations, and 'gam' can take on the value of 1 (it's a CES function). I've modified the file to eliminate that term, so there's no issue of a divide-by-zero problem. I'm posting the revised .mod file. It estimates beautifully with Bayesian methods (though I think mode_compute=6 is necessary) using beta_pdf priors. I have tried using the posterior means as the initial values in ML but I still get either:
POSTERIOR KERNEL OPTIMIZATION PROBLEM!
(minus) the hessian matrix at the "mode" is not positive definite!
=> posterior variance of the estimated parameters are not positive.
You should try to change the initial values of the parameters using
the estimated_params_init block, or use another optimization routine.
Warning: The results below are most likely wrong!
if I don't specify mode_compute=6, or if I do specify it,
Warning: Matrix is singular, close to singular or badly scaled.
Results may be inaccurate. RCOND = NaN.
> In dynare_estimation_1 at 324
In dynare_estimation at 62
In invmod6ml_ur_est at 231
In dynare at 132
??? Error using ==> chol
Matrix must be positive definite.
I will continue to try various things (setting some parameters vs. estimating them, using uniform priors, etc.) to see if something works, but I haven't found anything yet.
- Attachments
-
- invmod6ml_ur_est.mod
- This fails at ML estimation, using the Bayesian posterior means (from the other attached file) as starting value.
- (2.07 KiB) Downloaded 169 times
-
- invmod6h1_ur_est.mod
- This does Bayesian estimation, and works well.
- (2.21 KiB) Downloaded 180 times