It’s not hard to see that (also the code gives me this result) (\phi, \theta) are not identified. three_eq_nk3.mod (4.0 KB)
I tried to ran the code as attached and it refused to continue., showing the following:
'POSTERIOR KERNEL OPTIMIZATION PROBLEM!
(minus) the Hessian matrix at the "mode" is not positive definite!
And when i remove \phi from the estimated_params block, it works just fine.
My question is, even if the model is not identified, as long as my prior is informative, shouldn’t Bayesian estimation give me something (as if it is identified)?
Please try mode_compute=5, prior_trunc=0 as additional options. Your mode-finding failed. When I now run your file, the problem is the upper bound for rhoR, which prevents an interior solution.
Thank you, professor, now I relax the bound for rhoR and it goes! It is surprising that it would ever hit the bound when the posterior is far away from that.
Another follow-up question would be: why does the solution from stoch_simul look like that?
I understand Dynare is using perturbation methods to solve the LRE. When I look at the report of policy and transition functions, it only has all the coefficients of s_D(-1), s_S(-1), s_r(-1), and three shocks. However, if I understand it correctly, it should also have y(-1), r(-1), pi(-1) on the RHS of the equation in the solution. Where are they?
Why should that be the case? The lags of these variables do not appear in the model and are therefore irrelevant. r(-1) would for example only appear for \rho\neq 0