Estimation with diffuse_filter and missing data
Posted: Thu May 14, 2015 2:13 am
Hello everyone,
I am tring to estimate the Smets-Wouters model using diffuse_filter . I mix quarterly and yearly data. I continuously got this wrong message, even after I use use_calibration option. But the stochastic simulation is OK.
Can anyone give some suggestions?
Thank you in advance.
OSTERIOR 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!
> In dynare_estimation_1 at 694
In dynare_estimation at 89
In cee at 753
In dynare at 180
Log data density [Laplace approximation] is 1632.140485.
??? Error using ==> chol
Matrix must be positive definite.
Error in ==> <a href="matlab: opentoline('C:\dynare\4.4.3\matlab\metropolis_hastings_initialization.m',68,0)">metropolis_hastings_initialization at 68</a>
d = chol(vv);
Error in computing likelihood for initial parameter values
ESTIMATION_CHECKS: There was an error in computing the likelihood for initial parameter values.
ESTIMATION_CHECKS: You should try using the calibrated version of the model as starting values. To do
ESTIMATION_CHECKS: this, add an empty estimated_params_init-block with use_calibration option immediately before the estimation
ESTIMATION_CHECKS: command (and after the estimated_params-block so that it does not get overwritten):
I am tring to estimate the Smets-Wouters model using diffuse_filter . I mix quarterly and yearly data. I continuously got this wrong message, even after I use use_calibration option. But the stochastic simulation is OK.
Can anyone give some suggestions?
Thank you in advance.
OSTERIOR 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!
> In dynare_estimation_1 at 694
In dynare_estimation at 89
In cee at 753
In dynare at 180
Log data density [Laplace approximation] is 1632.140485.
??? Error using ==> chol
Matrix must be positive definite.
Error in ==> <a href="matlab: opentoline('C:\dynare\4.4.3\matlab\metropolis_hastings_initialization.m',68,0)">metropolis_hastings_initialization at 68</a>
d = chol(vv);
Error in computing likelihood for initial parameter values
ESTIMATION_CHECKS: There was an error in computing the likelihood for initial parameter values.
ESTIMATION_CHECKS: You should try using the calibrated version of the model as starting values. To do
ESTIMATION_CHECKS: this, add an empty estimated_params_init-block with use_calibration option immediately before the estimation
ESTIMATION_CHECKS: command (and after the estimated_params-block so that it does not get overwritten):