Mode_check plots look bad

Dear all,

I’m estimating a model with Dynare and when I use mode_check plot, I see that the graphs look very bad. Here are the problems I’m facing :

  1. The log density is Nan (the Hessian matrix isn’t definite positive). Thus, I can only use mode_compute = 6 but I know that this often means there are underlying problems in the model or in the data.

  2. The plots are very bad, if I’m right, because they don’t coincide on the maximum of the curves. Note that the vertical line is often at the prior mode (0.75 for RHOs and 0.9 for SIGMAs). I don’t understand what it means.

To my understanding, the error comes from my model. However, I managed to get some correct results in the past. What is the most common problem when the mode_check plots are this bad ? Is it necessary that the vertical line hits the maximum ? What is the main issue with hessian matrix not positive definite ?



Thank you very much for your help, I sincerely hope I don’t bother you

Best regards,

Côme

It seems you are stuck at a corner solution due to SE_eps_INF. Did you already set prior_trunc=0.

Professor,

No I didn’t ! I try to change prior_trunc and I will tell you if it works ! Thank you very much !

Dear Professor,

I used prior_trunc = 0 and now it looks like this. The standard errors look much better (except for se_eps_global) but the other paramers look bad. I got error code : 3 and error code : 19 for some values, but my problem is still that my Hessian isn’t positive definite at the mode… Is it always a problem in the model ? Thank you very much




Best regards,

Côme

How they all look rather fine. Further debugging without reference to the codes is impossible.

Thank you very much Professor. If you say they look pretty fine, I will check for the Hessian matrix myself.

Best regards,

Côme

The mode is at the peaks except for rho_tra. Which mode_compute did you use?

Professor,

I used the standard mode (mode_compute = 4).

Try mode_compute=5.

Hello, I want to continue this discussion about model_check plots and bayesian estimation. I have a semi structural macro financial model. I have some questions regarding the mode_check plots I attached and I did not find convincing answer in the forum
1)the model works fine with in a stochastic simulation context
2) all the parameters succeeded the identification test
3) when estimating one by one the hessian is positive definite but not anymore when I estimate all the parameters. My questions are the following:
a) for parameters that behave like A49, does it mean that I should play with priors means and/or decrease the standard deviation ?
b) for parameters that behave like B2_SPRD, I read in the forum that this is a behaviour of not identified parameters. However they seem to be identified. Therefore I was wondering if it is related to data
c) (maybe another topic) even if I estimate one of the parameter with a positive hessian matrix, occbin solver stops after a certain number of periods
mode4_1
mode4_2
mode4_3
mode4_5

d) Finally, how come I am able to have goods estimates and model_check plots of a simpler version of the model?

What is the cause of the red dots? And which type of estimation are you conducting. Also, the identification results may not be valid for an Occbin estimation.

1 From what I read in your paper and in the forum, the red dots are the values of a parameter for which the BK might not be satisfied
2 I am conducting a bayesian estimation.
3 To perform the identification test, I had to remove the “occbin_constraints” block

  1. Not necessarily. It’s the most common reason, but not always.
  2. I meant: first order with a Kalman filter? OccBin with the inversion filter or the PKF?
  3. As I said, that does not mean, parameters are identified with the constraints.

1 Okay, I understand.
2 Yes first order Kalman filter. And occbin with the PFK
3 Yes you are right