Commit Graph

125 Commits (8f47b276a0240868c3d8e5332fc691ccc579f7d3)

Author SHA1 Message Date
Marco Ratto ed4d37341c Fix problem with models where steadystate files change parameter values.
1) allow to compute derivatives starting from NUMERICAL derivatives of jacobian and steady state: this has a minor cost in accuracy and allow apply without errors identification and estimation with numerical derivatives;
2) added trap in dynare_estimation_init: if steadystate changes param values, automaticly shifts to numerical derivs of jacoban and steady state +  analytic derivatives of all the rest;
3) bug fixes for 2nd order derivatives w.r.t. model parameters;
2012-07-05 10:14:10 +02:00
Stéphane Adjemian (Charybdis) 379972d715 Removed prior_penalty in dsge_likelihood.
If options_.prior_trunc is set to zero (the default is strictly positive) then prior_correction is infinite because the prior density is zero (this is not true for the uniform prior)... This does not help the optimizer. Even if we do not fall in this case (because options_.prior_trunc>0 or becuase only uniform priors are used for the bounded parameters) the meaning of this correction is unclear.
2012-07-04 13:04:49 +02:00
Stéphane Adjemian (Charybdis) abad13d020 Kill estimation if the likelihood is complex or NaN. 2012-06-14 15:32:15 +02:00
Ferhat Mihoubi 2a8436aa44 Extends the block Kalman filter to the missing observations case (not called for the moment) 2012-06-11 10:39:25 +02:00
Sébastien Villemot 129553579a Merge remote-tracking branch 'ratto/master' 2012-06-08 18:24:18 +02:00
Sébastien Villemot 1f9cea669a Update copyright notices 2012-06-08 18:22:34 +02:00
Marco Ratto 69d015a777 Asymptotic Hessian now works also for univariate stationary KF. 2012-06-08 15:26:14 +02:00
Marco Ratto 2fecf9946b 1) Extended optimizer = 5 for analytic derivatives;
2) Start adapting identification routines to allow computation of analytic asymptotic Hessian with KF routines
2012-06-08 14:23:18 +02:00
Sébastien Villemot c26a211827 analytic_derivation and loglinear are incompatible 2012-06-08 11:33:33 +02:00
Marco Ratto 7f9d2968d9 fixed bug introduced in previous commit: offset needs to be computed for analytic derivatives. 2012-06-08 08:50:07 +02:00
Stéphane Adjemian (Charybdis) 06ca265272 Complete the bug fix for the calibrated correlations in the structural and measurement covariance matrices.
Call   set_all_parameters  routine   in  dsge_likelihood.   Note  that
correlations between innovations are not allowed in dsge-var models.
2012-06-07 15:13:39 +02:00
Stéphane Adjemian (Charybdis) 3cbd702b3e Fixed bugs (initialization of the Kalman filter with the fixed point of the Riccatti equation). 2012-06-06 18:25:07 +02:00
Marco Ratto dc7c0fa74d Include prior info in penalty with Bayesian estimation.
This can improve a bit optimization routines when parameter go beyond prior bounds during line search algorithms or when numerical gradient is computed.
2012-05-31 14:44:16 +02:00
Marco Ratto da9ec0f187 Estimation with analytic scores and hessian;
This includes re-setting the list of output arguments in objective functions
Added test function
2012-04-29 21:18:33 +02:00
Marco Ratto bb02c4d6df Bug fix for univariate KF (nobs was not defined, replaced with pp) + provisions fro eliminating dsge_likelihood_hh function; 2012-04-29 21:18:33 +02:00
Ferhat eed54fb08a - Adds new algorithms to solve Lyapunov equations: Doubling algorithm and Square root solver. Their respective names are "doubling" and "square_root_solver".
- Adds the tolerance criteria for the iterative solvers (sylvester_fixed_point_tol, lyapunov_fixed_point_tol and lyapunov_doubling_tol)
- Updates the reference manual
2012-04-20 19:23:00 +02:00
Ferhat Mihoubi 8ac14f8c80 Adds fixed point solvers for Sylvester and Lyapunov equations 2012-03-06 12:03:23 +01:00
Michel Juillard 636cd1bae6 calling always multivariate Kalman filter first, even if univariate
diffuse Kalman filter was used before
2012-01-22 18:59:19 +01:00
Michel Juillard cfb5114d41 corecting logic for selecting univariate diffuse filter and dealing
with correlated measurement errors
2012-01-22 18:37:29 +01:00
Michel Juillard 111347469f adding comment explaining initialization of persistent variable
penalty in dsge_likelihood.m and dsge_likelihood_hh.m Removed misleading
initialization code. Added call to dsge_likelihood_hh in
initial_estimation_checks to initialize persistent variable in that
function as well.
2012-01-09 21:23:17 +01:00
Michel Juillard f9d2dec97f preparing dsge_loglikelihood.m for future integration of estimation DLL 2012-01-08 21:55:02 +01:00
Michel Juillard d12e1b7801 replaced BayesInfo.penalty by penalty as it is now a persistent variable 2012-01-08 17:58:22 +01:00
Stéphane Adjemian (Charybdis) bf69bac140 Fixed typo in comments. 2011-12-26 17:46:49 +01:00
Stéphane Adjemian (Charybdis) 41c8faf176 Fixed header. 2011-12-26 17:46:49 +01:00
Stéphane Adjemian (Charybdis) ecac871435 Changed the name of DsgeLikelihood (-> dsge_likelihood). 2011-12-26 17:46:48 +01:00