Commit Graph

191 Commits (0ec62c6360a28b03e4b0da0f43500199394ce23a)

Author SHA1 Message Date
Stéphane Adjemian (Scylla) 63986a0ebf Closes #567. 2013-12-18 16:44:31 +01:00
Stéphane Adjemian (Scylla) 130125c5da Changed the error message issued when the initial conditions for the estimated parameters are outside the bounds (the error message depends on the value of options_.prior_trunc). 2013-11-27 12:27:51 +01:00
Stéphane Adjemian (Scylla) bd630d7210 Removed MC_record field from oo_ structure and the output argument from MCMC routines.
Details about the MCMC can be loaded in the workspace with the following command:

>> internals --load-mh-history <NAME_OF_THE_MOD_FILE>

under the name mcmc_informations, or printed in the command window, using the following
command:

>> internals --display-mh-history <NAME_OF_THE_MOD_FILE>
2013-11-26 12:56:41 +01:00
Stéphane Adjemian (Charybdis) ad0c29262b Cosmetic. Renamed DsgeVarLikelihood as dsge_var_likelihood. 2013-11-16 23:33:37 +01:00
Stéphane Adjemian (Charybdis) 9238523c26 If a DSGE-VAR is estimated, check that the user do not try to estimate/calibrate correlations between structural innovations and that there is no measurement errors. Closes #521. 2013-11-16 23:26:19 +01:00
Stéphane Adjemian (Penelope) 0c00151092 Merge branch 'master' into remove-dynDate-class
Conflicts:
	preprocessor/DynareBison.yy
2013-11-14 16:41:08 +01:00
Sébastien Villemot ea6ee19402 More Octave compatibility fixes wrt catch 2013-11-08 16:35:52 +01:00
Sébastien Villemot ecdbc42319 Fix error message when initial values of estimation are not suitable.
Ref #512
2013-11-08 16:09:16 +01:00
Sébastien Villemot 179af0e4ab Octave compatibility fix: catch does not accept an argument 2013-11-08 15:02:30 +01:00
Houtan Bastani 0fdc18e7fb Merge branch 'ifc'
Conflicts:
	matlab/dynare_estimation_1.m
	matlab/global_initialization.m
2013-11-06 13:58:57 +01:00
Johannes Pfeifer b03697b342 Add possibility to initialize parameters from calibrated model 2013-11-06 13:50:46 +01:00
Stéphane Adjemian (Scylla) 8429321547 Merge branch 'master' into remove-dynDate-class 2013-11-06 12:43:06 +01:00
Sébastien Villemot a72cc3ff48 Merge remote-tracking branch 'github/master' 2013-11-05 17:17:53 +01:00
Stéphane Adjemian ead332ed97 Merge pull request #511 from JohannesPfeifer/Correlated_errors_preprocessor
Bugfixes for correlated shocks
2013-11-05 07:49:37 -08:00
Sébastien Villemot 8a6e23845b Merge remote-tracking branch 'jpfeifer/mode_compute' 2013-11-05 16:20:04 +01:00
Johannes Pfeifer fddee8e1db Bugfixes for correlated shocks
Uses preprocessing capabilities introduced in 07137e804b

Fixes #392 and #494. Also fixes a bug in the checking for positive definiteness of covariance matrices in likelihood functions

Allows for calibrated covariances by reading them out and setting them after covariance matrix has been reconstructed from correlation and variances.

Adds unit test
2013-11-05 15:55:29 +01:00
Johannes Pfeifer 0d669a73cb Add options for providing the variances, an identity matrix , and user specified matrices as proposal densities
Deals with #507 and #112
Includes a unit test
2013-11-04 19:09:24 +01:00
Sébastien Villemot 1a8bba6393 Allow a custom function named 'prior' as a value for 'mode_compute' option
Closes #507
2013-11-04 15:42:59 +01:00
Stéphane Adjemian (Charybdis) ddd95361ba Cosmetic changes. Added isoctave function to replace exist('OCTAVE_VERSION'). 2013-11-04 10:54:45 +01:00
Michel Juillard b81159f12c adding comments 2013-11-03 11:40:36 +01:00
Johannes Pfeifer 8282e76d61 Add more explicit information in case of singularity problem 2013-10-31 08:14:35 +01:00
Stéphane Adjemian (Charybdis) 1f884db8ea If TolX is set to any negative number, let cmaes choose the value of TolX. 2013-10-08 16:18:54 +02:00
Stéphane Adjemian (Charybdis) 6a250f894d Removed interface for H0 (cmaes). 2013-10-08 16:18:00 +02:00
Stéphane Adjemian (Charybdis) 0f12404246 Added interface for some options of cmaes. 2013-10-08 15:53:55 +02:00
Stéphane Adjemian (Charybdis) 334d9976d6 Add interface to the main options of the simpsa optimization algorithm. 2013-10-08 15:18:14 +02:00
Stéphane Adjemian (Charybdis) 60e1d1b75e Changed the organization of the options for the dynare's implementation of the simplex optimization algorithm. 2013-10-08 12:55:11 +02:00
Stéphane Adjemian (Charybdis) c7d82e0bf0 Do not print H0. 2013-10-08 11:02:46 +02:00
Stéphane Adjemian (Charybdis) 51be957fb6 Changed the organization of the options for gmhmaxlik (mode_compute=6) so that options can be set using the optim option of the estimation command. Added an option (targeted acceptance rate). 2013-10-04 16:12:14 +02:00
Stéphane Adjemian (Charybdis) 36e3fb496c Do not crash if an unknown optimization option is declared (replaced an error by a warning). 2013-10-04 12:17:30 +02:00
Stéphane Adjemian (Charybdis) 05946cd684 Changed names of some options for csminwel (mode_compute=4). 2013-10-04 11:59:35 +02:00
Stéphane Adjemian (Charybdis) b2db159cdd Added the possibility to pass options for csminwell (mode_compute=4) through the optim option (in the estimation command). 2013-10-03 12:35:06 +02:00
Stéphane Adjemian (Charybdis) 49989504ea Cosmetic changes. 2013-10-03 11:06:07 +02:00
Stéphane Adjemian (Charybdis) 62cad6ff44 Cosmetic changes. 2013-10-03 11:01:11 +02:00
Stéphane Adjemian (Charybdis) 979a55a334 Added missing semicolon. 2013-10-02 18:26:57 +02:00
Stéphane Adjemian (Charybdis) 581f97bada Linked simpsa's tolerance options to dynare's defaults. 2013-10-02 17:09:05 +02:00
Stéphane Adjemian (Charybdis) fb0ccdd5d2 Provide more sensible lower and upper bounds for simpsa algorithm. 2013-10-02 16:45:16 +02:00
Stéphane Adjemian (Charybdis) 3f16129e49 mode_compute = 10 calls simpsa algorithm. 2013-10-02 15:30:55 +02:00
Johannes Pfeifer ad73d1fd93 Fixes bug in display of parameters at prior bound 2013-09-30 17:10:39 +02:00
Johannes Pfeifer 241fd07424 Add Geweke 1992 convergence diagnostics 2013-09-16 18:47:15 +02:00
Sébastien Villemot e123670675 Fix bug introduced in 952139b
The 'hh' variable is now always defined, so we now test if it is empty.
2013-09-13 18:23:24 +02:00
Stéphane Adjemian (Charybdis) 952139bbc9 Changes related to the treatment of the (optionally) provided mode file.
(1) Added more checks on the content of the provided mode file compared the the list of declared parameters (the condition on the number of parameters is not strong enough).

(2) Added a mechanism to adapt the content of the mode file if possible. For instance, if the estimated parameters are a subset of the parameters in the mode file, we only need to discard some of the parameters in the mode file.

(3) Added output argument in dynare_estimation_init, which returns the hessian matrix (hh) with the estimated mode.
2013-09-10 22:25:16 +02:00
Stéphane Adjemian (Charybdis) afed204526 Cosmetic. Renamed hh (figure handle not to be confused hessian matrix) as fh. 2013-09-10 22:25:16 +02:00
Johannes Pfeifer c2e6feeb75 Deletion of unused definition of H_is_diagonal
Cosmetic fix
2013-09-04 11:11:29 +02:00
Johannes Pfeifer e1a0fd0524 Bugfix for conditional variance decomposition
sigma_e_is_diagonal was erroneously set to 0 if the covariance matrix was diagonal, but contained a 0 on the main diagonal.
2013-09-04 11:11:14 +02:00
Johannes Pfeifer 01c3724371 Deal with pathological case where nobs=1
In this case the plots crash due to an invalid xlim. Also adds markers if only one point is plotted
2013-08-15 16:35:01 +02:00
Sébastien Villemot b4f8532bea Merge pull request #441 from JohannesPfeifer/mode_check
Bugfix for mode_check and display of parameters out of bounds
2013-08-12 03:31:50 -07:00
Stéphane Adjemian (Charybdis) 184c403375 Replaced disp(' ') by skipline(). 2013-07-10 16:16:32 +02:00
Stéphane Adjemian (Charybdis) 964b7580d8 Cosmetic change. 2013-07-10 16:15:28 +02:00
Stéphane Adjemian (Charybdis) dfc51d097a Cosmetic change. Replaced warning(...) by disp(...). 2013-07-10 16:09:31 +02:00
Stéphane Adjemian (Charybdis) 2fae989131 Rewrote the portion of code requesting a user input when non linear filters are used with a gradient based optimization routine.
Closes issues #442 and #443.
2013-07-10 16:03:49 +02:00