Sébastien Villemot
9fa64ee0d4
ramsey_policy and estimation: remove incorrect check about number of instruments
...
These should only be warnings, and they are already implemented in
model_diagnostics (see 39ae080997
).
2023-03-24 12:31:41 +01:00
NormannR
4cdb763ea4
Integrates the local_state_space_iteration_3 mex into dynare's bayesian estimation eco-system
...
Should be merged after the mex MR !2045 and the particles MR !16
2022-09-26 09:14:34 +02:00
Johannes Pfeifer
8ac72590da
PKF: document incompatibilities and throw proper errors if triggered
2022-05-31 17:40:03 +02:00
Sébastien Villemot
10af04c6d8
Use Unicode copyright symbol (in UTF-8 encoding) in all source files
...
It is now supported by the MATLAB editor (as of R2022a).
The old ASCII notation is left in some files that we copy as-is from other
sources (e.g. in the contrib/ and m4/ subdirectories).
The particles submodule is not updated at this point, because it is in an
inconsistent state.
[skip ci]
2022-04-13 14:54:25 +02:00
Johannes Pfeifer
35c30dc037
Occbin: use data instead of rawdata and gracefully exit if prefilter option is specified
...
Closes #1842
2022-03-29 12:16:48 +02:00
Johannes Pfeifer
086e0895cb
initial_estimation_checks.m: fix warning display
2021-12-27 13:03:47 +01:00
Johannes Pfeifer
de90c5d246
Provide warning if moments_varendo is not set but conditional_variance_decomposition
2021-12-13 13:08:59 +01:00
Marco Ratto
02072dde39
Add Occbin routines
...
Syntax is not yet finalized (see preprocessor#68).
Documentation still to be done.
Ref. #569
2021-07-16 17:20:11 +02:00
Johannes Pfeifer
b2c6a6f7a1
initial_estimation_checks.m: error out if data is complex
...
Prevents cryptic message that likelihood became complex
2021-07-14 19:30:50 +02:00
Sébastien Villemot
766fff88f6
Use secure URL for link to GNU licenses
2021-06-09 17:35:05 +02:00
Johannes Pfeifer
f51a57374a
mh_tune_jscale: fix display of stepsize and provide warning if no updating can occur.
2021-06-01 11:23:07 +02:00
Johannes Pfeifer
cac6f82e34
non_linear_dsge_likelihood.m: filter out explosive initial simulation
2021-05-27 21:04:35 +02:00
Marcoo Ratto
1645f38269
Implement heteroskedastic filter and smoother
2021-05-26 18:45:16 +02:00
Marco Ratto
74121c2aee
New no_init_estimation_check_first_obs option that allows to skip check of singularity in first observation
...
(like deficient # of shocks in the presence of stockflow observed)
2021-05-07 17:51:03 +02:00
Johannes Pfeifer
7c8f486727
Allow setting initial state for Kalman filter
...
Supersedes https://git.dynare.org/Dynare/dynare/-/merge_requests/1522
2021-01-28 17:24:27 +01:00
Johannes Pfeifer
847eb8050a
Check measurement error for mode_compute=11
2021-01-26 16:51:39 +01:00
Johannes Pfeifer
916058cbfd
initial_estimation_checks.m: Do not allow quadratic equation solver for non-quadratic problems
2021-01-24 09:21:08 +01:00
Johannes Pfeifer
f19decf297
non_linear_dsge_likelihood.m: consistently use options_.particles.pruning
...
Closes https://git.dynare.org/Dynare/dynare/-/issues/1756
2021-01-22 21:19:07 +01:00
Johannes Pfeifer
0b87f66443
non_linear_dsge_likelihood.m: do not set use_k_order_solver with pruning
...
local_state_space_iteration_k does not support it, use local_state_space_iteration_2 at order=2 instead and error out with order=3
2021-01-22 21:19:07 +01:00
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