Johannes Pfeifer
b615d2d795
identification_analysis.m: Fix bug introduced in 60d95b65f2
...
We already used a variable called offset
2018-11-16 16:20:27 +01:00
Johannes Pfeifer
60d95b65f2
Identification strength: make plotting consistent
...
1. Rely on actually computed standard deviations in bayestopt_ instead of potentially unset estim_params_
2. Remove arbitrary normalizations/omitted normalization in case of division by 0 in normalization
3. Distinguish between 0 identification and division by 0 due to normalization in plots
(cherry picked from commit 7341e21a381850c47fbed018bf6a7acdda4fa92e)
2018-11-16 10:17:30 +01:00
Sébastien Villemot
7a75872f72
Modernization: use tilde (~) syntax for ignored output arguments
2018-11-13 18:02:09 +01:00
Sébastien Villemot
a1b8bd39b2
Move the location of various generated files on the filesystem
...
- M and MEX files are now under +${MODELNAME}/
- bytecode, C source and JSON now under ${MODELNAME}/model/
2018-06-27 17:03:39 +02:00
Johannes Pfeifer
09ac7f6249
identification_analysis.m: make sure that increase in options_.ar is passed back via options_ident
2018-06-07 13:17:42 +02:00
Johannes Pfeifer
127a543b65
prior bounds: make sure that lower and upper bounds only affect mode-finding
...
99dbc8c74d
introduced a bug by disabling the resetting of the prior bounds used for the MCMC. The manual clearly states the bounds are only operational during mode-finding, but not during MCMC (and therefore prior sampling)
2018-02-01 10:16:47 +01:00
Stéphane Adjemian (Charybdis)
fe7da22853
Fixed copyright header.
2018-02-01 10:05:03 +01:00
Johannes Pfeifer
da48dea37c
identification_analysis.m: remove transformation to char when cell is expected
2018-02-01 09:58:31 +01:00
Stéphane Adjemian (Charybdis)
5417b27ac7
Fixed indentation of matlab files.
2017-05-16 15:10:20 +02:00
Stéphane Adjemian (Charybdis)
a53636e24e
Fixed copyright notices.
2017-05-16 14:11:15 +02:00
Stéphane Adjemian (Charybdis)
88e1701289
Removed useless commas and semicolons.
2017-05-16 13:24:46 +02:00
Houtan Bastani
d65f32d550
fix bug introduced in 72e84657a7
re eig args. #1266
2016-08-24 11:31:07 +02:00
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