Commit Graph

2248 Commits (9d91625c10374adaec0b75a137af917ef7ed0583)

Author SHA1 Message Date
Stéphane Adjemian (Charybdis) ead128eec8 Added max function for dynDates class. 2011-10-21 11:38:45 +02:00
Stéphane Adjemian (Charybdis) 7304d63282 Added min function for dynDates class. 2011-10-21 11:38:45 +02:00
Houtan Bastani ba245c32b5 MS-SBVAR: bug fix - rename error_band_percintiles as percentiles 2011-10-21 10:43:24 +02:00
Michel Juillard 130d9fca76 removed useless set_option() statement 2011-10-20 20:40:15 +02:00
Michel Juillard 36d5462328 options_.jacobian_flag is now set in global_initialization.m 2011-10-20 20:40:15 +02:00
Michel Juillard 9425b36358 fixing problems related to auxiliary variables 2011-10-19 12:47:15 +02:00
Sébastien Villemot ddc029394c Clean-up last remnants of unit_root_vars (Closes: #167) 2011-10-14 16:22:47 +02:00
Marco Ratto e7a983797c fixed call to prior_posterior_statistics 2011-10-14 15:48:39 +02:00
Michel Juillard f94d4e91f3 allowing for vector of deterministic shocks 2011-10-13 21:55:55 +02:00
Michel Juillard e2dd3cb88f fixing more problems with steady state refactoring 2011-10-13 17:14:41 +02:00
Michel Juillard 19a5ccb6f1 permits analysis of incomplete Metropolis run 2011-10-13 17:12:54 +02:00
Houtan Bastani 5e5efc816a modify addpath statements for precompiled Mac binaries 2011-10-13 11:18:44 +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
Michel Juillard 8f350dc744 conditional forecasts: remove random seed reinitialization 2011-10-12 21:47:59 +02:00
Sébastien Villemot 721a872343 Fix crash of check(solve_algo=0) under Octave
dynare_solve.m calls str2func on the function name, so it crashes if it is
passed a function handle. It needs to be passed a string.
2011-10-12 18:48:57 +02:00
Sébastien Villemot 99da257ec3 Merge remote-tracking branch 'houtanb/master' 2011-10-12 17:47:18 +02:00
Sébastien Villemot 2a8425d9bc GSA: remove useless addpath (already done in dynare_config.m) 2011-10-12 17:46:48 +02:00
Ferhat Mihoubi 13875c1373 The computation of autocovariances is now compatible with blocks decomposed models 2011-10-12 14:54:28 +02:00
Ferhat Mihoubi 57029ca39e Correct a comment in dr_block 2011-10-12 14:51:13 +02:00
Ferhat Mihoubi 843495ebdf get rid of a useless m-file 2011-10-12 14:49:31 +02:00
Ferhat Mihoubi d837d20dd7 Correct a bug in the printout of the decision rule 2011-10-12 14:48:28 +02:00
Ferhat Mihoubi 1782d73ccd Corrects bugs in dr_block 2011-10-12 14:43:04 +02:00
Houtan Bastani 7c07f192dc MS-SBVAR: add missing copyright/license 2011-10-12 12:08:07 +02:00
Houtan Bastani 7764a6a14d MS-SBVAR: normalize comments in headers 2011-10-11 17:10:23 +02:00
Houtan Bastani 742ed02718 MS-SBVAR: rework set_ms_estimation to match different meanings of file_tag 2011-10-07 11:57:53 +02:00
Houtan Bastani 385871957e MS-SBVAR: remove estimation_file_tag option 2011-10-07 11:57:53 +02:00
Houtan Bastani f4f46dd82b MS-SBVAR: update copyrights 2011-10-06 15:17:41 +02:00
Houtan Bastani bb0e3d80c8 MS-SBVAR: add copyrights/licensing 2011-10-06 11:49:57 +02:00
Stéphane Adjemian (Scylla) 1dabbd8806 Fixed Marco's optimization routines (mode_compute==5).
Added fs2000d.mod in the testsuite (test of Marco's optimization routines).
2011-10-03 12:19:41 +02:00
Michel Juillard f51a8edf50 fixing bug for computation of expectation auxiliary variables
steadystate value when *_steadystate.m is provided without setting
auxiliary variables
2011-09-29 21:22:27 +02:00
Marco Ratto b4d773d593 First fix for gsa.
prior_posterior_statistics is broken, so some gsa tests are also broken
2011-09-28 21:20:42 +02:00
Marco Ratto c6a9650d20 Adapt identification routines after new dynare estimation commits. 2011-09-28 20:48:47 +02:00
Sébastien Villemot f9ecc164ce Move 'nanmean' under 'matlab/missing' and add the necessary logic 2011-09-27 16:59:21 +02:00
Sébastien Villemot f250f029af Fix bug related to the renaming of options_ in DynareOptions within DsgeLikelihood.m 2011-09-27 16:39:10 +02:00
Sébastien Villemot 2060059945 Update header for AIM files 2011-09-27 16:15:49 +02:00
Sébastien Villemot 19c4cc2534 MS-SBVAR: Octave compatibility fix (add missing filename extensions, not added automatically under Octave) 2011-09-27 15:47:05 +02:00
Stéphane Adjemian (Scylla) 42d71c7b86 Added header. 2011-09-26 16:06:58 +02:00
Stéphane Adjemian (Scylla) cc2c70d801 Cosmetic changes. 2011-09-26 15:46:59 +02:00
Stéphane Adjemian (Scylla) 7cf2aace3e Allow to declare yearly data with a string. Changed test conformably. Fixed bug in texinfo header. 2011-09-26 15:12:45 +02:00
Sébastien Villemot 3f2e29f7bf Adapt block_kalman_filter to Dynare's way of handling errors in MEX files 2011-09-23 18:21:04 +02:00
Sébastien Villemot 16e9c36eb4 Merge ferhat's branch 2011-09-23 18:09:06 +02:00
Sébastien Villemot 21ceaa5cb4 Provisions for MATLAB 7.13 (R2011b) 2011-09-22 18:05:06 +02:00
Stéphane Adjemian (Charybdis) 1018f24f19 Merge branch 'master' into experimental 2011-09-22 11:24:15 +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) f1ffeb29bb Correction of the previous commit (3412d5e20a). Set options_.lik_init=3 if lik_init==1 and unit_root_vars
keyword appears in the mod file.
2011-09-21 19:05:34 +02:00
Stéphane Adjemian (Charybdis) 3412d5e20a Bug fix. Do not override option lik_init (declared in the estimation command) if unit_root_vars
keyword is present in the mod file, by forcing options_.lik_init to be equal to 3 (diffuse kalman
filter).
2011-09-21 18:54:11 +02:00
Stéphane Adjemian (Charybdis) c309b0cf57 Fixed bug related to the initialization of the persistent variable. 2011-09-21 08:30:26 +02:00
Stéphane Adjemian (Charybdis) c4cfd0c857 Extract input arguments of DsgeSmoother from dataset_ structure. 2011-09-20 16:03:33 +02:00
Stéphane Adjemian (Charybdis) 2512b527bd Fixed bugs related to the new calling sequence for DsgeLikelihood. 2011-09-20 15:56:37 +02:00
Ferhat Mihoubi 3d1a0c2652 block-Kalman filter is now available when block option is used 2011-09-20 14:18:31 +02:00
Stéphane Adjemian (Charybdis) 8fa461b978 Added a test on the first input argument. If func is a function handle, then str2func should not be used. 2011-09-20 10:21:40 +02:00
Stéphane Adjemian (Charybdis) d56d35f12b Added missing initialization of diffusion_periods (when the diffuse filter is not used). 2011-09-20 10:13:01 +02:00
Stéphane Adjemian (Charybdis) 6e340c2ce8 Fixed typos in headers and cosmetic changes. 2011-09-19 23:20:33 +02:00
Stéphane Adjemian (Scylla) 568cc83633 Changed dynare_estimation_1 conformably with changes in DsgeLikelihood. 2011-09-19 18:10:29 +02:00
Stéphane Adjemian (Scylla) 7fd6b3efc0 Fixed typo. 2011-09-19 17:51:03 +02:00
Stéphane Adjemian (Scylla) fc96f6523e Initialization of the output arguments before the declaration of the persistent variable (matlab crashes otherwise). 2011-09-19 17:50:23 +02:00
Stéphane Adjemian (Scylla) ebc08c6d6a Fixed bug related to the names of the matlab's structures. 2011-09-19 17:18:40 +02:00
Stéphane Adjemian (Scylla) f2ca6d0ad9 Changed kalman filter routines to allow for arbitrary initial conditions (needed for the introduction of breaks on the estimated
parameters and also for the estimation of the initial states).

Added specialized routines for steady state  kalman filter.

Completed header of DsgeLikelihood (missing refs to the routines called by DsgeLikelihood).
2011-09-19 17:01:24 +02:00
Stéphane Adjemian (Scylla) 9c22fc1bde Removed globals from DsgeLikelihood. Still broken.
Added texinfo header in DsgeLikelihood.
2011-09-19 16:41:53 +02:00
Stéphane Adjemian (Scylla) 9c0e559e30 Added a test for the number of variables in the data file. 2011-09-19 16:41:53 +02:00
Sébastien Villemot c111fc1847 solve_one_boundary: make the case solve_algo=0 work under Octave 2011-09-19 16:41:53 +02:00
Sébastien Villemot 0155b6832e Remove extra argument (in solve_algo=0 under Octave) 2011-09-19 16:41:53 +02:00
Sébastien Villemot c07a915d6e Improve the way we test for existence of toolboxes (more reliable in the case where the toolbox is installed but not activated) 2011-09-19 16:41:53 +02:00
Stéphane Adjemian (Scylla) 013c599ec9 Removed globals from dynare_resolve. Removed unused first input argument. Adapted routines calling dynare_resolve.
Added texinfo header to dynare_resolve.
2011-09-19 16:41:53 +02:00
Sébastien Villemot 7c95c82bfa solve_one_boundary: make the case solve_algo=0 work under Octave 2011-09-19 12:37:17 +02:00
Sébastien Villemot afe800f32d Remove extra argument (in solve_algo=0 under Octave) 2011-09-19 12:36:37 +02:00
Sébastien Villemot eabca4c4fd Improve the way we test for existence of toolboxes (more reliable in the case where the toolbox is installed but not activated) 2011-09-19 12:23:27 +02:00
Michel Juillard b04738b36f resetting options_.nobs following previous change 2011-09-18 14:49:43 +02:00
Michel Juillard 80c69c404b Revert "added default options_.nobs = []; reset options_.nobs after call to"
This reverts commit 8dc6b78dde.
2011-09-18 14:37:29 +02:00
Michel Juillard bdac9c9bec changed calling sequence for all (two additional) occurences of describe_missing_data 2011-09-18 13:45:46 +02:00
Michel Juillard a6a5306ada estimation: fixed bug in dsge_var branch of the code 2011-09-18 12:08:33 +02:00
Michel Juillard 8dc6b78dde added default options_.nobs = []; reset options_.nobs after call to
intialize_dataset()
2011-09-18 12:00:11 +02:00
Michel Juillard 3079b7b1f8 reinstated call to describe_missing_data: data_tree is needed for
univariate Kalman filter
2011-09-18 10:44:05 +02:00
Stéphane Adjemian (Charybdis) 306137bd2b Reverted commit 3bf482ae5c. Added missing routine nanmean (computes the mean of the columns of a matrix
with some NaNs).
2011-09-17 23:58:20 +02:00
Michel Juillard 3bf482ae5c temporary commenting of a line triggering errors in test suite 2011-09-17 21:36:40 +02:00
Stéphane Adjemian (Scylla) e9764d0538 Use a structure for the dataset. Bug fixes. 2011-09-17 15:38:49 +02:00
Stéphane Adjemian (Scylla) e3bf749826 Fixed bug introduced while removing variables from resol.m. 2011-09-17 15:24:04 +02:00
Stéphane Adjemian (Scylla) d76273f7c0 Fixed bug introduced while removing globals from resol.m. 2011-09-17 15:19:52 +02:00
Stéphane Adjemian (Scylla) 88b941c7db Fixed bug (related to globals delaration. 2011-09-17 14:49:09 +02:00
Stéphane Adjemian (Scylla) 53a0418e1f Fixed typo. 2011-09-17 14:09:48 +02:00
Stéphane Adjemian (Scylla) d6268cf720 Fixed bugs.
(1) Wrong calling sequence for resol routine in check.m.
(2) Replaced steady_state_0 by oo.steady_state in resol.m.
2011-09-17 13:33:57 +02:00
Stéphane Adjemian (Scylla) 24cd423671 Removed globals from resol.m (changed calling sequence). Added texinfo header.
Removed trailing whitespace.
2011-09-17 12:53:38 +02:00
Stéphane Adjemian (Scylla) d81fd1b55b Removed globals from check routine. Added texinfo header. 2011-09-17 12:53:38 +02:00
Ferhat Mihoubi 3c818378fe Corrects a bug related to the number of arguments passed to the static m-files 2011-09-16 17:48:23 +02:00
Sébastien Villemot 9ab9288b9f Merge remote-tracking branch 'ferhat/master' 2011-09-16 17:42:04 +02:00
Ferhat Mihoubi 4d74d57886 Corrects a bug with model_info under Octave 2011-09-16 17:24:11 +02:00
Michel Juillard 1dc5df3411 ms-sbvar: minor esthetic change 2011-09-16 14:32:11 +02:00
Houtan Bastani ee8da2b1c9 MS-SBVAR: add specification option 2011-09-15 18:03:39 -04:00
Houtan Bastani b62c50bc0f aesthetic fix 2011-09-15 18:03:30 -04:00
Houtan Bastani 7d0a55cbf7 MS-SBVAR: change syntax for proposal_type option 2011-09-15 18:03:22 -04:00
Houtan Bastani 5592d2ffc1 MS-SBVAR bugfix: remove datafile from options_ and not options_.ms 2011-09-15 18:03:04 -04:00
Houtan Bastani ab7003f8c8 MS-SBVAR: change default for drop option 2011-09-15 18:02:48 -04:00
Houtan Bastani 3136fe4272 MS-SBVAR: freq only supports monthly and quarterly data 2011-09-15 18:02:23 -04:00
Stéphane Adjemian (Charybdis) 322adb92a5 Removed global from prior_bounds. Added texinfo header. 2011-09-14 23:41:37 +02:00
Stéphane Adjemian (Charybdis) fe55f6a506 Added field for nonlinear filters (initialized as an empty matrix). 2011-09-14 23:41:37 +02:00
Stéphane Adjemian (Charybdis) e2d98b9f32 + Removed globals from get_the_name routine. Added texinfo header. 2011-09-14 23:41:37 +02:00
Houtan Bastani d033956c52 remove unused option 2011-09-14 12:04:47 -04:00
Houtan Bastani a911e5fef6 MS-SBVAR: add file that was not being cleaned 2011-09-14 11:53:45 -04:00
Houtan Bastani 8747d91d98 MS-SBVAR: fix processing for ms_estimation 2011-09-14 11:53:45 -04:00
Houtan Bastani d115a1124e MS-SBVAR: remove unused option 2011-09-14 11:53:45 -04:00