I’m trying to estimate a nonlinear model computing the likelihood using the particle filter. I understand that for making that one just need to add the “order=2” option in the “estimation” command. However, it seems that it can’t compute the likelihood as it get stuck before it starts searching for the posterior mode. These are the warnings that appear:
Warning: Matrix is singular, close to singular or badly scaled. Results may be
inaccurate. RCOND = NaN.
In sequential_importance_particle_filter at 128
In non_linear_dsge_likelihood at 358
In initial_estimation_checks at 45
In dynare_estimation_1 at 133
In dynare_estimation at 70
In Estimacion_Traspaso_Incompleto_No_Lineal at 809
In dynare at 120
I was wondering if this has anything to do that my model is mostly entirely linear. I am only interested in a particular asymmetry (more specific, asymmetric wages adjustment costs), so I used a second order approximation for that equation. I’m almost sure that the model is fine as I have successfully estimated the linear version of the model, meaning, I estimated using the first order approximation of the wage adjustment costs and losing the asymmetric component of the model.
Anyway, i attached mi mod file and my data if it helps.
Thanks in advanced.