Johannes Pfeifer
5d47ac2aa9
SMC: gracefully exit with unsupported options
2024-02-19 14:26:28 +01:00
Johannes Pfeifer
1b181fca57
OccBin tools: rework codes
2024-01-10 14:42:21 +01:00
Johannes Pfeifer
46d7e155d9
send_endogenous_variables_to_workspace.m and friends: output column instead of row vectors
2024-01-05 11:47:35 +01:00
Willi Mutschler
ee2545f84d
Fixes for CET tests on Octave
...
- the mode file was previously saved as '-v7.3', now it is '-v6'
- mode_compute=1 and additional_optimizer=1 do not work under Octave
2023-12-22 09:48:56 +01:00
Willi Mutschler
c46eef685d
irf_matching: add test for interface
2023-12-21 01:49:40 +01:00
Willi Mutschler
2f07fa2921
irf_matching: adaptations for new interface
2023-12-21 01:49:40 +01:00
Willi Mutschler
8987576ff5
irf_matching: make test files finish faster
2023-12-21 01:48:28 +01:00
Willi Mutschler
547bdcc99b
irf_matching: fixed CET (2016) test and some cosmetical changes
2023-12-21 01:48:28 +01:00
Willi Mutschler
7f60674dae
irf_matching: Add CET (2016, Econometrica) test
2023-12-21 01:48:28 +01:00
Marco Ratto
ac346ef83d
occbin.kalman_update_engine.m: embed use_relaxation and extend to work with 2 constraints
2023-12-18 16:16:49 +01:00
Johannes Pfeifer
48380a1370
Do not assign variables to base workspace by default
...
Related to https://git.dynare.org/Dynare/preprocessor/-/issues/95
2023-12-18 11:51:27 +01:00
Sébastien Villemot
e9ffb16ec6
Merge branch 'model_comp_tol' into 'master'
...
fs2000_model_comparison.mod: increase test tolerance due to problems on some runners
See merge request Dynare/dynare!2234
2023-12-18 10:11:43 +00:00
Stéphane Adjemian (Ryûk)
735bd66d4d
Remove unused output arguments.
2023-12-18 07:48:27 +01:00
Johannes Pfeifer
72a8d53df8
fs2000_model_comparison.mod: increase test tolerance due to problems on some runners
2023-12-15 21:44:10 +01:00
Sébastien Villemot
9225e6b6df
Merge branch 'occbin_utilities' of git.dynare.org:rattoma/dynare
...
Ref. !2232
2023-12-15 11:25:58 +01:00
Sébastien Villemot
d8f1e49221
Merge branch 'newrat' of git.dynare.org:JohannesPfeifer/dynare
...
Ref. !2231
2023-12-15 11:25:47 +01:00
Sébastien Villemot
1239842909
Merge branch 'occbin_smoother' of git.dynare.org:JohannesPfeifer/dynare
...
Ref. !2230
2023-12-15 11:25:35 +01:00
Marco Ratto
281f01f29e
bug fixes and examples in testsuite
2023-12-14 22:26:40 +01:00
Johannes Pfeifer
8710ce0898
newrat: trigger new option in testsuite
2023-12-14 22:25:37 +01:00
Sébastien Villemot
66bc9fd9c2
Rename “dynare_sensitivity” command to “sensitivity”
...
The old name is still accepted, but will trigger a deprecation warning.
2023-12-14 18:38:23 +01:00
Johannes Pfeifer
c3268c0279
Move various functions from main matlab folder to subfolders
2023-12-14 18:29:04 +01:00
Johannes Pfeifer
75cd1042c8
conditional_forecast: remove globals and move to namespace
2023-12-14 17:46:27 +01:00
Johannes Pfeifer
0c07460f3b
DSGE_smoother.m: clean up file and enable LaTeX output
2023-12-14 16:03:53 +01:00
Sébastien Villemot
a7f5fd571d
Merge branch 'steady_check' of git.dynare.org:JohannesPfeifer/dynare
...
Ref. !2220
2023-12-13 17:37:09 +01:00
Stéphane Adjemian (Ryûk)
60c0ed0180
Add Sequential Monte Carlo sampler.
2023-12-13 15:30:38 +01:00
Johannes Pfeifer
1b4fb46c75
Consistently use nocheck flag for steady state
...
Fixes a bug in model_diagnostics.m
2023-12-12 18:30:30 +01:00
Johannes Pfeifer
ec76bda254
Remove obsolete Sylvester options
...
dr_block has been removed
2023-12-11 18:04:43 +01:00
Johannes Pfeifer
c3b9c499ba
GSA: more fixes to LaTeX output
2023-12-07 12:18:00 +01:00
Johannes Pfeifer
37ab539a10
testsuite: provide meaningful output in case of LaTeX errors
2023-12-07 12:11:38 +01:00
Johannes Pfeifer
e68793030c
ls2003.mod: factorize tests
2023-12-07 12:11:38 +01:00
Johannes Pfeifer
bf6d88a472
Remove globals from identification and GSA
...
Incidentally cleans up files and fixes LaTeX output
2023-12-07 12:11:36 +01:00
Johannes Pfeifer
f8a0a99683
dynare_sensitivity.m: add dollar signs for TeX output
2023-11-28 21:11:02 +01:00
Sébastien Villemot
c3d91d5ce8
Fix marginal linearization in the context of perfect_foresight_with_expectation_errors_solver with homotopy
...
If a solution corresponding to 100% of the shock can’t be found in the first
informational period, marginal linearization will be performed to extrapolate a
solution.
However, in subsequent informational periods, this extrapolated solution cannot
be used for the initial conditions of endogenous variables, because the initial
conditions are not a true solution of the nonlinear model. For those subsequent
informational periods, the correct approach is to compute the two solutions
needed for marginal linearization using as initial conditions the values
obtained in the same two solutions for the previous informational
periods (stored as oo_.deterministic_simulation.{sim1,sim2}).
2023-11-28 16:26:49 +01:00
Sébastien Villemot
6ccc7fd69e
Testsuite: switch back to mode_compute=4 in lyapunov/fs2000_lyap.mod
...
This prevents an infinite (or at least very long) loop under Octave on karaba.
2023-11-24 11:49:28 +01:00
Sébastien Villemot
c0e39d40a7
Testsuite: increase tolerance for estimation/fs2000_model_comparison.mod
...
Needed for MATLAB R2018b, at least on AVX512-capable CPUs.
2023-11-23 22:07:49 +01:00
Sébastien Villemot
1d5a442fe5
Bump minimal required version of Octave to 7.1.0
...
Incidentally, this means that the JSONlab submodule is no longer needed, so it
is removed in the present commit.
Closes : #1907
2023-11-22 17:46:13 +01:00
Sébastien Villemot
3bfe2c5500
Testsuite: compatibility fix for MATLAB R2018b
...
On that version, spaces in variables names within a call to “table” are not
supported.
2023-11-22 16:49:59 +01:00
Sébastien Villemot
7f58e819c6
Bump minimal required version of MATLAB to R2018b
...
Ref. #1907
2023-11-22 16:00:04 +01:00
Sébastien Villemot
56ed5bff43
Testsuite: remove useless debug mode from several .m tests
...
The output is always useful (and even needed in case of test failure).
2023-11-17 12:13:36 +01:00
Sébastien Villemot
742a3101b1
Reporting is no longer a submodule
2023-11-17 12:08:56 +01:00
Sébastien Villemot
551060ae27
tests/moments/fs2000_post_moments.mod: increase tolerance under Octave
2023-11-15 15:16:06 +01:00
Sébastien Villemot
4b4cfba2dc
model_replace, model_remove: allow selecting an equation with several (conjunct) tags
...
NB: does not (yet) works with Occbin regime-specific equations.
Ref. #1890
2023-11-15 12:08:21 +01:00
Sébastien Villemot
0e5f9defbc
Preprocessor: error out if an “initval” block appears after an “endval” block
...
Ref. preprocessor#104
2023-11-14 17:45:54 +01:00
Stéphane Adjemian (Argos)
b863c309bd
Improve tests and timings for the Kalman mex.
...
- Ensure that we always use the same DGP (e.g. same transition matrix).
- Call the mex more than once with different samples.
- Ensure that the size of the state space model is the same in tests 1, 2 and 3.
- Fix the seed (same samples across 1, 2 and 3 except for the additive noise in 2 and 3 on the observed variables).
2023-11-09 19:00:37 +01:00
Stéphane Adjemian (Argos)
9c61422a75
Improve debug mode.
2023-11-09 19:00:37 +01:00
Normann Rion
3a461c996c
Kalman filter mex: routine and tests
2023-11-09 19:00:37 +01:00
Stéphane Adjemian (Argos)
b0a84bd6f8
Bug fixes.
...
- Simulation of the model was not working since to (1) wrong commented
line (dynare comments in a verbatim block), and (2) dates are not interpreted
in a verbatim block.
- A variable was missing (the auxiliary for the PAC expectation term) causing
problems for the initialisation of the simulations in dcontribs (presence of a
NaN in the guess for the first period).
2023-10-26 18:25:35 +02:00
Stéphane Adjemian (Argos)
76a2203b50
Make debug mode easier to use.
2023-10-26 14:59:12 +02:00
Stéphane Adjemian (Argos)
cdd842cc19
Do not overwrite macro variable simulate.
2023-10-26 14:57:37 +02:00
Sébastien Villemot
896c48eba7
Testsuite: move some files for more consistency in tests file structure
2023-10-23 17:00:01 +02:00