Commit Graph

127 Commits (f1406487dcce3a605fddbcb1560d3b73a00e9b9d)

Author SHA1 Message Date
Sébastien Villemot 5c8efaae6c More explicit error message when posterior mode file is outdated 2013-03-08 14:31:15 +01:00
Sébastien Villemot 5c88338965 Fix mode_compute=3 under Octave 2013-01-07 15:40:48 +01:00
Sébastien Villemot 8c7e3d46ed Document when mode_compute={1,3,7} are available, and error with an informative message if not 2013-01-07 15:40:45 +01:00
Sébastien Villemot c06bd0ae75 Support nograph option for posterior distribution plots 2012-11-29 14:52:33 +01:00
Michel Juillard c722f53955 fixed bug with options mode_compute=0,mode_file=....
added tests for mode_compute=4 and mode_compute=6. They increase computing time of the
test suite by about 30 minutes.
2012-10-06 16:51:42 +02:00
Stéphane Adjemian (Charybdis) e81f9d48ac Improved display of mode_compute=6 optimization algorithm. Fixed bugs. Changed the options. 2012-09-29 00:08:05 +02:00
Stéphane Adjemian (Charybdis) 3744061112 Save the names of the estimated parameters in <MODEL_NAME>_mode.mat when mode_compute is equal to six (stochastic optimization). 2012-09-29 00:08:05 +02:00
Marco Ratto e519b04713 bug fix: when nograph=1, SmoothedShocks were not saved. 2012-08-27 17:45:47 +02:00
Marco Ratto 40e1e60fd1 1) changed options of optimizer n. 1 with analytic derivs;
2) force no analytic derivative with mode_check;
2012-07-05 10:22:36 +02:00
Stéphane Adjemian (Charybdis) b907e82e7b Removed NaNs in M_.Correlation_matrix if they are the consequence of variances (of structural innovations) calibrated to zero. 2012-06-14 15:32: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
Stéphane Adjemian (Charybdis) 0da05ae29d Removed globals from set_all_parameters routine. 2012-06-07 15:13:39 +02:00
Stéphane Adjemian (Charybdis) e12748329b Fixed bug reported by Johannes (http://www.dynare.org/pipermail/dev/2012-May/002015.html), see also trac#257. 2012-06-06 18:25:08 +02:00
Stéphane Adjemian (Charybdis) fac9528014 Do not compute smoothed variables or forecasts if the model is
estimated with a  particle filter (the non linear  smoother is not yet
implemented).
2012-06-06 18:25:08 +02:00
Stéphane Adjemian (Charybdis) ef1146f5a3 Fixed bug trac#202. Define the sigma_e_is_diagonal flag when no shocks block is declared in the mod file. 2012-06-06 18:25:08 +02:00
Sébastien Villemot 9bea42f411 order=2 in estimation command now triggers particle filter 2012-06-06 17:08:53 +02:00
Marco Ratto 4480f5b494 Fixes around latex output: use of longtable for parameter estimates and various fixes for posterior analysis, also for parallel execution. 2012-05-30 11:22:59 +02:00
Johannes Pfeifer c0ffcf7fd8 Fix problem with smoother where original data series was not plotted 2012-05-11 19:58: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
Michel Juillard e692185c6b storing oo_.prior.mean oo_.prior.variance
oo_.posterior.optimization.mode oo_.posterior.optimization.variance
oo_.posterior.metropolis.mean oo_.posterior.metropolis.variance as
aggregate arrays in addition to previous storage variable by variable
2012-04-21 21:28:03 +02:00
Michel Juillard 973302e42e fixing bugs in smoother 2012-04-18 21:15:18 +02:00
Stéphane Adjemian (Charybdis) 9cc4661942 Fixed bug in initial_estimation_checks + Cosmetic changes. 2012-03-30 11:12:59 +02:00
Michel Juillard 5d4d318bc7 fixing bug in estimation by maximum likelihood 2012-03-15 15:33:02 +01:00
Stéphane Adjemian (Charybdis) c5fa0b82a9 Merge remote-tracking branch 'marco/master' 2012-03-14 12:49:56 +01:00
Stéphane Adjemian (Charybdis) cf9e8a6714 Bug fix. When the estimation command is used, do not issue an error message if options_.order>1. In this
case reset the options_.order equal to one (except if options_.particle.status==1).
2012-03-05 14:56:02 +01:00
Stéphane Adjemian (Charybdis) 59d3d30c90 Fixed typo. Do not use the non linear filter automatically when order==2, otherwise the non linear filters are used if the estimation command is used after a stoch_simul command with order==2. The non linear filter is used only if options_.particle.status is explicitely set to 1 (before the estimation command). A new estimation option is needed... 2012-03-05 14:21:52 +01:00
Stéphane Adjemian (Charybdis) e1a5e0de53 Objective function needs to be passed as a string to CMAES optimization routine. 2012-03-04 22:13:00 +01:00
Stéphane Adjemian (Charybdis) 6a8095303e Added particle filter flag. 2012-03-04 22:12:59 +01:00
Stéphane Adjemian (Charybdis) 2f3c8f910f Fixed bug related to the dynare implementation of the simplex algorithm. 2012-03-04 22:12:58 +01:00
Stéphane Adjemian (Charybdis) 8aea0bf14c Updated copyright year. 2012-03-04 22:12:58 +01:00
Johannes Pfeifer ce40f0ebfc Add CMAES (Ticket #245) for mode optimization 2012-03-04 22:07:26 +01:00
Marco Ratto c848b3337a added nodisplay and graph_format options and applied to prior plots and graphs in estimstion routine. Tex tables also splitted when more than 50 params are estimated.
nograph: no figure is done
nodisplay: plots are done behind the scenes
graph_format: default only eps figs are saved. it accepts cell vector like {'eps','pdf','fig'}
2012-02-13 11:58:28 +01:00
Michel Juillard de8962b239 Revert "added calls to re-initialize persistent variable 'penalty' in dsge_likelihood() and dsge_likelihood_hh() before calling the optimizer"
This reverts commit 108444b703.

The initialization works indeed differently and I will document it in next commit.
2012-01-09 20:47:11 +01:00
Michel Juillard 108444b703 added calls to re-initialize persistent variable 'penalty' is
dsge_likelihood() and dsge_likelihood_hh() before calling the
optimizer
2012-01-08 17:59:33 +01:00
Stéphane Adjemian (Charybdis) ecac871435 Changed the name of DsgeLikelihood (-> dsge_likelihood). 2011-12-26 17:46:48 +01:00
Michel Juillard 7408714ea1 added dname as argument to CheckPath function and changed all calls to
this function. Suppressed use of globals in CheckPath.
2011-12-15 17:35:27 +01:00
Michel Juillard 8f1326e2f8 changed name of function forecast.m -> dyn_forecast.m because of
name conflict with cszt
2011-12-11 11:15:38 +01:00
Stéphane Adjemian (Charybdis) ef1cf5f062 Merge remote-tracking branch 'marco/master' 2011-11-17 12:33:28 +01:00
Stéphane Adjemian (Charybdis) 12003fbdab Do not show plots of the smoothed variables, shocks and errors if nograph option is used. Note that with this option the plot are done behind the scene and saved in fig, eps and pdf format (see trac#216). 2011-11-14 18:30:45 +01:00
Marco Ratto 5bb2b2faad Fixed call to mode_check 2011-11-07 09:12:54 +01:00
Michel Juillard b5ae8356a9 fixing bug for plots of measurement errors 2011-11-02 15:49:02 +01:00
Michel Juillard 0b0c939849 fixing bug with smoother with univariate filters 2011-11-02 14:02:12 +01:00
Michel Juillard 9ac3e7a582 fixing bug when estimating models with a steady state different from
zero. Introduced in commit bd00dc11d8
2011-11-01 18:23:12 +01:00
Michel Juillard 7593afff22 fixed issue with dataset_ 2011-10-22 15:29:55 +02:00
Michel Juillard bd00dc11d8 removing 8th output argument of dynare_estimation_init and
corresponding seemingly useless code
2011-10-21 22:09:45 +02:00
Michel Juillard 88be4fa3d4 fixing bug in prior_posterior_statistics.m and in recursive estimation 2011-10-21 22:06:09 +02:00
Marco Ratto e7a983797c fixed call to prior_posterior_statistics 2011-10-14 15:48:39 +02:00
Michel Juillard ee7078e56c factoring out steady-state computations; steady_state_model now
generates <fname>_steadystate2.m returning parameters as well in case
they have been modified by the user. Added several test cases.
2011-10-12 21:51:14 +02:00
Stéphane Adjemian (Charybdis) e0fa737cee Fixed bug in dynare_resolve (wrong calling sequence introduced in commit #013c599ec92f7d6e5fc3f351a58d9aa5ba401410).
Removed globals from DsgeVarLikelihood and changed the calling sequence. As in DsgeLikelihood, the penalty is now a
persistent variable.

Added a global structure for the data: dataset_.

Removed globals from dsgevar_posterior_density and mode_check.

Simplification of the clode, definition of the variable objective_function at the top of dynare_estimation_1 (equal
to 'DsgeLikelihood' or 'DsgeVarLikelihood').
2011-09-22 11:17:31 +02:00
Stéphane Adjemian (Charybdis) c4cfd0c857 Extract input arguments of DsgeSmoother from dataset_ structure. 2011-09-20 16:03:33 +02:00