Stéphane Adjemian (Charybdis)
38e300b94e
Merge #1786 .
...
Do not compute cholesky decomposition of H if the matrix has zeros on
the diagonal.
2021-01-16 11:24:10 +01:00
Johannes Pfeifer
ad17b8ec33
Particle filtering: provide more informative error messages in typical problematic cases
...
Also adds test cases
2021-01-15 22:11:20 +01:00
Johannes Pfeifer
03a8759560
Particle filters: provide error if trends or prefiltering is used
...
Closes https://git.dynare.org/Dynare/dynare/issues/1690
2020-01-10 19:08:51 +01:00
Johannes Pfeifer
da0ad67367
initial_estimation_checks.m: Allow for calibrated measurement error
2019-09-06 22:53:37 +02:00
Johannes Pfeifer
c1b0bb5ee3
initial_estimation_checks.m: Turn vector info into scalar
...
Related to a5b97a28a0
that needs to be reverted
2018-11-14 15:02:15 +01:00
Sébastien Villemot
7a75872f72
Modernization: use tilde (~) syntax for ignored output arguments
2018-11-13 18:02:09 +01:00
Stéphane Adjemian (Scylla)
7be8f10e0e
Use cells of strings instead of char arrays.
2018-01-09 22:30:01 +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)
97ac502d3d
Fixed wrong threshold (unit root detection again).
2017-04-05 14:14:56 +02:00
Stéphane Adjemian (Charybdis)
288f010944
Fixed bug (detection of unit roots).
2017-04-05 14:11:23 +02:00
Stéphane Adjemian (Charybdis)
4dcdb81a31
Changed error message introduced in 30c9b3721564d89d1b85abcdc75d493075e6ca77.
2017-04-03 11:25:05 +02:00
Johannes Pfeifer
76c4bd04fe
Provide informative error message if non-stationary model is estimated using particle filter
...
Closes #1377
(cherry picked from commit efaa7e54136ffd48fb69e075ecacf9708a553d3b)
2017-04-03 11:25:05 +02:00
Johannes Pfeifer
2e79d5ccac
Add more information to singularity warning
2016-11-04 12:28:01 +01:00
Johannes Pfeifer
3f907efbcd
initial_estimation_checks.m: Add proper check for stochastic singularity
2016-10-02 12:55:41 +02:00
Johannes Pfeifer
c6dc36536d
Add specification check of Ramsey policy to initial_estimation_checks.m
...
Related to #1173
2016-08-24 13:32:11 +02:00
Johannes Pfeifer
329b91d717
Harmonize output of objective functions
...
Closes #1149
Mirrors 1ad8df4635
2016-06-15 00:30:28 +02:00
Marco Ratto
7b3c42c6e1
provisions for reworked posterior sampling options:
...
- handle sub lists of individual samplers
- split checks in dynare_estimation_init.m and before running posterior_sampler.m [invhess checks]
- posterior sampler options checks moved from initial_estimation_checks.m to check_posterior_sampler_options.m
- added use_mh_covariance_matrix to imh and rwmh
- slice re-sets mode_compute=0 cova_compute=0
- updated test function
2016-05-19 14:37:05 +02:00
Johannes Pfeifer
c48a2659e5
Fix warning message that confused structural shocks with measurement errors
2016-05-01 17:52:57 +02:00
Johannes Pfeifer
16d8ee0c7b
Cosmetic changes to various function headers
2016-03-25 22:05:36 +01:00
Johannes Pfeifer
e37448faaf
Fix exceptions when prefiltering was requested with loglinear option
...
The check for an existing mean was based on the unlogged steady state, resulting in wrong error messages
2016-03-23 10:09:15 +01:00
Houtan Bastani
f60945facc
fix copyright dates
2016-03-11 16:22:42 +01:00
Johannes Pfeifer
ab6063f2b4
Check whether at least one MCM chain is requested when using Bayesian estimation
2016-03-06 21:19:17 +01:00
Stéphane Adjemian
4222269324
Merge pull request #1100 from JohannesPfeifer/initial_check_par_names
...
Fix display of parameter names changed during estimation
2015-11-04 14:40:43 +01:00
Johannes Pfeifer
1def4f357a
Fix display of parameter names changed during estimation
...
Relied on the wrong ordering
2015-10-28 15:34:14 +01:00
Johannes Pfeifer
554f3df659
Filter out datasets with missing values before particle filtering
2015-10-20 15:49:07 +02:00
Johannes Pfeifer
33aa22a80f
Condition check for stochastic singularity on maximum of non-missing observations
...
closes #1071
2015-10-11 10:49:15 +02:00
Michel Juillard
1a9aa17c9e
Revert "More fixings around objective_function"
...
This reverts commit 05cd51111c
.
2015-10-09 14:23:31 +02:00
Michel Juillard
05cd51111c
More fixings around objective_function
2015-10-08 20:57:00 +02:00
Johannes Pfeifer
bb0446873f
Add initial likelihood value to debugging info
2015-07-20 13:06:21 +02:00
Johannes Pfeifer
c2f07c720f
Add check whether tarb_new_block_probability is between 0 and 1
2015-06-08 16:49:39 +02:00
Stéphane Adjemian (Hermes)
47f4d37e70
Fixed online filter with first order approximation of the model.
2015-05-27 18:06:48 +02:00
Houtan Bastani
d5cb78bbea
fix typo introduced in 89828e56cc
2015-05-20 10:12:24 +02:00
Houtan Bastani
89828e56cc
preprocessor: add proprosal_distribution and student_degrees_of_freedom options to estimation. closes #925
2015-05-19 12:31:22 +02:00
Johannes Pfeifer
3dee87c243
Fix crash in unit test fs2000_smoother_only
...
For calibrated models, the param_vals field does not exist
2015-04-20 16:45:51 +02:00
Johannes Pfeifer
27403fb2dd
Add check whether initial prior is Inf
...
Requires adding fourth output argument of priordens.m that stores position of problematic parameter.
2015-04-01 16:30:46 +02:00
Johannes Pfeifer
a7f380d8c0
Condition check for changed parameters on whether parameters are estimated in the first place
...
Fixes crash in master unit test
2015-03-01 13:36:21 +01:00
Houtan Bastani
ca83397d95
update copyright dates for files changed in 2015
2015-02-16 09:08:02 +01:00
Johannes Pfeifer
8320a39e61
Add check whether steady state file during estimation overwrittes parameters to be estimated.
...
This might lead to wrong results and should be checked for.
2015-02-11 12:58:36 +01:00
Stéphane Adjemian (Charybdis)
fc3e1b2108
Merge remote-tracking branch 'fred@github/master'
...
Conflicts:
matlab/initial_estimation_checks.m
matlab/utilities/tests
2014-11-28 16:53:44 +01:00
Stéphane Adjemian (Karaba)
f48566aeae
Fixed prior bounds (according to the doc in master branch).
...
* Second and third positional arguments after the name of the
estimated parameter in the estimated_params block are only
considered in the optimization stage (not in the MCMC)
* Do not store bounds in bayestopt_, because bounds do not always
reflect restrictions implied by prior shapes.
* prior_bounds routine returns a structure (with fields lb and ub)
instead of a matrix.
2014-10-20 16:18:54 +02:00
Johannes Pfeifer
127b7b0221
Add check for NaN parameters to initial_estimation_checks.m
...
Provides important info to debug cryptic crashes in later routines. Mostly applies to cases where people run estimation without stoch_simul
2014-09-25 09:02:36 +02:00
Frédéric Karamé
b06b6a6161
Modifications for online estimation of linearly-solved models
2014-08-29 15:51:01 +02:00
Stéphane Adjemian (Charybdis)
efcf6bd9c0
Use dseries object in the estimation routines.
2014-06-16 17:41:59 +02:00
Johannes Pfeifer
a9292c5086
Add warning if prior allows for negative variances and if negative estimated variances are encountered. Closes #522
...
Due to the use of variances for Sigma_e and subsequently backing out the standard deviation from these variances, the sign of the standard deviation does not matter and no bound needs to be imposed.
2014-02-04 18:59:28 +01:00
Johannes Pfeifer
66b72e817e
Fix bug in test for stochastic singularity
2013-07-28 16:59:41 +02:00
Stéphane Adjemian (Charybdis)
8574dfd053
Adapted print_info routine.
2013-06-12 10:54:33 +02:00
Marco Ratto
b1dd7a5137
Allow quicker evaluation of likelihood with analytic derivatives.
2012-08-21 15:46:35 +02:00
Stéphane Adjemian (Charybdis)
1763855225
Consider the effective number of structural innovations in initial_estimation_checks routine. Some of the declared structural innovations may have been calibrated with a zero variance.
2012-06-14 15:32:15 +02:00
Michel Juillard
3ff832ddcc
added test for too large standard deviation in beta distribution;
...
cleaned up error messages related to priors; set error trap for
initilial likelihood Nan or complex
2012-06-13 15:47:01 +02:00