Commit Graph

47 Commits (178bf4165c60d435a9ee0fd5480845bb8484811c)

Author SHA1 Message Date
Johannes Pfeifer 72e84657a7 Condition use of eig to compute left eigenvector on Matlab version
Functionality is only supported in Matlab from 2014a/8.3 onwards. Closes #1266
2016-08-20 20:43:20 +02:00
Marco Ratto be758613f4 fixed bugs that prevented the computation of the asymptotic Hessian with ML. 2016-06-19 11:09:59 +02:00
Johannes Pfeifer 329b91d717 Harmonize output of objective functions
Closes #1149
Mirrors 1ad8df4635
2016-06-15 00:30:28 +02:00
Johannes Pfeifer 00cdc05d58 Pass title texts to ident_bruteforce.m to make sure that previous TeX output is not overwritten by advanced option 2016-06-14 11:52:17 +02:00
Marco Ratto d8fea3ff13 Correlations and measurement errors in identification:
1) Filter out measurement errors with error message that suggests to explicitly write measurement errors in model definition
2) allow identification checks with correlations, by switching to numerical derivatives
2016-05-22 23:10:01 +02:00
Johannes Pfeifer 89fd14f026 Filter out unit root cases that lead to crashes 2016-05-19 18:57:47 +02:00
Johannes Pfeifer 0e2e1376c9 Fix bug in simulated moments
Closes #1105
2016-05-18 22:51:20 +02:00
Marco Ratto c9bc685049 Fix determination of full rank subspace of simulated moment uncertainty 2016-05-17 09:38:06 +02:00
Johannes Pfeifer bf5a3ab6da Add headers to identification routines 2016-03-31 11:20:01 +02:00
Stéphane Adjemian (Charybdis) a1aa2bcd6e Changed second input of prior_bounds routine.
Do not pass options_ structure but only the required field (prior_trunc).
2015-12-11 18:50:54 +01:00
Michel Juillard 035adeb89e Revert "More fixing related to objective_function_penalty_base"
This reverts commit 1ad8df4635.
2015-10-09 14:23:31 +02:00
Michel Juillard 1ad8df4635 More fixing related to objective_function_penalty_base 2015-10-08 20:57:00 +02:00
Marco Ratto a39c26060e Fix bug for models with leads and legs in exo variables 2015-06-10 15:57:30 +02:00
Johannes Pfeifer 446b1f6dc1 Fix bug in identification when estimating only standard deviations
Closes #945
2015-06-05 18:22:45 +02:00
Johannes Pfeifer d09bf195c9 Make sure diffuse_filter option is correctly passed in dynare_identification.m
Closes #677
2015-06-05 16:39:17 +02:00
Johannes Pfeifer 6d17a860b5 Update computation of non-zero moments within loop that increases number of lags
Closes #949
2015-06-03 11:16:55 +02:00
Johannes Pfeifer 0c7b4f542c Add check for presence of NaN in JJ to identification_analysis.m
Usually happens when model has a unit root and unconditional second moments are NaN
2015-05-06 16:14:45 +02:00
Marco Ratto e3ac15458a Properly deal with dseries in identification. This fixes #781 2014-11-18 11:34:49 +01:00
Stéphane Adjemian (Charybdis) 42c4aabdcc Adapted identification routines. 2014-06-17 12:04:58 +02:00
Stéphane Adjemian (Scylla) 66d08ac3bf Merge branch 'master' into use-dynSeries
Conflicts:
	matlab/dynare_estimation_init.m
	matlab/global_initialization.m
	matlab/prior_posterior_statistics.m
	matlab/read_variables.m
	matlab/set_prior.m
	matlab/utilities/dataset/initialize_dataset.m
	preprocessor/ComputingTasks.cc
2014-04-30 10:10:30 +02:00
Marco Ratto d969a8129c Trap the case where only one parameter is estimated and only one non-constant row is available in Jacobian: (1) do not use vnorm; (2) do not use advanced option.
(cherry picked from commit d9856879ea4d9a7d9e954cc9392d1f0e98634cda)
2013-12-06 08:21:10 +01:00
Stéphane Adjemian (Charybdis) 907e087ea9 Consider options_.varobs as a cell of strings. 2013-09-07 16:39:04 +02:00
Sébastien Villemot 61485ab809 Fix copyright notices 2013-06-12 17:04:46 +02:00
Marco Ratto 22e0b9cc3d 1) fixed bugs when no estimated parameters are declared;
2) fixed bug for the ML base (bayestopt_.pshape==0);
3) make more transparent the error when the model does not solve at prior_mode or  prior_mean;
4) when prior_mean or prior_mode fail, try 50 times with randomly generated samples from the prior before interrupting identification.

This commit fixes issues related to fabiac forum request and subsequent discussion with Johannes.

http://www.dynare.org/phpBB3/viewtopic.php?f=1&t=4402&p=10771&hilit=identification&sid=64c6f9d987a2641e79dd5722137eb483#p10771
2013-03-19 16:56:10 +01:00
Johannes Pfeifer 3b29e69e40 Prevent spectral density plots being triggered in identification
If options_.SpectralDensity.trigger is specified, identification would
otherwise plot graphs in every MC step
2013-03-17 15:30:49 +01:00
Marco Ratto 0ab2c28fd5 -) fixed bugs when there is only one parameter estimated or when simulated moments uncertainty provides zero diagonal terms in the covariance matrix of model matrices;
-) fixed bug in computing numerical derivatives of the LRE matrices in getJJ;
2012-12-05 09:46:12 +01:00
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
Marco Ratto bd9af2fa5a Fixed bug reported by Rob Luginbuhl in dynare forum 2012-06-29 00:50:54 +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
Stéphane Adjemian (Charybdis) 0da05ae29d Removed globals from set_all_parameters routine. 2012-06-07 15:13:39 +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 fe6aa88c27 1) check if AHess is positive semi-definite;
2) fix memory issues related to chh
3) fix issue for the rare case of empty indok (octave)
2012-04-04 10:36:32 +02:00
Stéphane Adjemian (Charybdis) ecac871435 Changed the name of DsgeLikelihood (-> dsge_likelihood). 2011-12-26 17:46:48 +01:00
Marco Ratto c6a9650d20 Adapt identification routines after new dynare estimation commits. 2011-09-28 20:48:47 +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
Marco Ratto e3485e8929 Changes around normalizing Jacobians:
-) never use normalization for SVD and brute force covariance checks;
-) Jacobians are normalized for checking the rank condition: this should allow for more uniformity in results across models.
2011-09-01 11:18:24 +02:00
Marco Ratto d83c5326f6 check that theoretical moments are independent when evaluating simulated moments uncertainty 2011-06-24 10:58:04 +02:00
Marco Ratto 756594fdc4 changed default ar=1 and perform automatic increase of ar if this is not sufficient 2011-06-15 23:47:27 +02:00
Marco Ratto e5c3decbc1 trap for too many parameters to be estimated w.r.t. affected moments. 2011-06-06 16:36:39 +02:00
Marco Ratto 2c977073d2 Bug fix: thanks to Johannes Pfeifer 2011-06-06 15:21:59 +02:00
Marco Ratto 58dc9557d9 Fixes around point-estimate of sensitivity and identification strength 2011-05-30 14:36:48 +02:00
Marco Ratto a45533caca Added SVD for J matrix as output identification info. 2011-05-10 10:11:25 +02:00
Marco Ratto cbfc017356 unix end of lines for new functions! 2011-05-02 11:32:26 +02:00
Marco Ratto 180a3bad9c New wrapper for identification analysis, given the parameter set provides results.
Allows more flexible coding and checks for particular parameter sets.
2011-05-02 11:03:18 +02:00