Commit Graph

217 Commits (8f1a4cb3637fe4936ade877c88e6a120af2b5f24)

Author SHA1 Message Date
Sébastien Villemot 8f1a4cb363
Drop block-decomposed first-order perturbation solution and kalman filter 2023-01-13 16:57:49 +01:00
Stéphane Adjemian (Guts) f769420888
Document new option conditional_likelihood. 2023-01-06 15:39:10 +01:00
Johannes Pfeifer 45450651a2 model_info.m: fix display of block decomposition 2023-01-03 16:17:43 +01:00
Johannes Pfeifer 9de0688cfe Make default jscale depend on number of estimated parameters
Related to https://git.dynare.org/Dynare/dynare/-/issues/1849
2022-12-03 16:00:27 +01:00
Sébastien Villemot 6185767f63
Fix typo
[skip ci]
2022-11-30 15:21:49 +01:00
Sébastien Villemot d574705b4a
Design and performance improvement to solve_algo={12,14}
Use the new time-recursive block decomposition computed by the preprocessor
for:
- the simulation of backward models with “simul_backward”
- the perfect foresight simulation of purely backward/forward/static models

Also note that in this case, the preprocessor now defaults to “mfs=3” (i.e. it
minimizes the set of feedback variables and tries to renormalize equations).

This replaces the previous algorithm based on Dulmage-Mendelsohn (dmperm), plus
an ad hoc identification of some equations that can be evaluated (those with a
LHS equal to a variable, the log of a variable, or the diff-log of a variable).

By the way, the block_trust_region MEX has been modified so that it accepts a
boolean argument to decide whether it performs a Dulmage-Mendelsohn
decomposition (if not, then it performs a simple trust region on the whole
nonlinear system).

This provides a significant performance improvement (of almost an order of
magnitude for solve_algo=14 on a 700 equations model).
2022-11-30 14:47:57 +01:00
Sébastien Villemot 3e391347d4
Manual: fix wrong anchor 2022-11-30 14:42:15 +01:00
Johannes Pfeifer 28cf8d1719 Manual: document missing options of calib_smoother 2022-11-24 10:01:45 +01:00
Johannes Pfeifer 169985ae8e Manual: fix typo 2022-11-11 09:42:05 +01:00
Johannes Pfeifer 272e438c2b OccBin: document simul_reset_check_ahead_periods and simul_max_check_ahead_periods 2022-11-04 23:16:21 +01:00
Sébastien Villemot 417108643a
Manual: minor improvements to description of solve_algo={1,2,9}
[skip ci]
2022-10-24 18:05:15 +02:00
Sébastien Villemot 5bfcbe57f5
Merge branch 'doc_mcp' of git.dynare.org:JohannesPfeifer/dynare
Ref. !2077
2022-09-14 17:32:40 +02:00
Johannes Pfeifer 9a6ab30a03 Manual: expand documentation of MCP 2022-09-13 17:51:16 +02:00
Johannes Pfeifer 3493b91ead mode_compute=6: document changes in e5102eee 2022-09-13 13:43:33 +02:00
Sébastien Villemot 13709f6853
Add “fsolve_options” option to “steady” command
Closes: #1856
2022-07-22 14:35:19 +02:00
Sébastien Villemot 32cf926ef8
Macro-variables defined without a value are now set to “true”
They were previously set to 1.

Ref. preprocessor#43
2022-06-16 16:52:50 +02:00
Sébastien Villemot ec6ce95efd
Manual: fix return value of “in” macro-operator
It returns a boolean, not a logical.
2022-06-16 16:50:01 +02:00
Sébastien Villemot 1bb87538be
Merge branch 'doc_parallel' of git.dynare.org:JohannesPfeifer/dynare
Ref. !1976
2022-06-15 15:42:05 +02:00
Sébastien Villemot 06f665e231
Perfect foresight: LBJ now available under stack_solve_algo=1 (with/without block/bytecode)
Previously, LBJ was available:

– under stack_solve_algo=6 when neither block nor bytecode were present
– under stack_solve_algo=1 with either block or bytecode (but the documentation
  was not making it clear that it was LBJ)

This commit merges the two values for the option, and makes them
interchangeable. LBJ should now be invoked with stack_solve_algo=1 (but
stack_solve_algo=6 is kept for compatibility, and is a synonymous).
2022-06-15 15:06:33 +02:00
Sébastien Villemot 594d847cba
Merge branch 'occ_checks' of git.dynare.org:JohannesPfeifer/dynare
Ref. !2040
2022-06-07 15:03:30 +02:00
Johannes Pfeifer 852d1352da Expand documentation of markowitz criterion 2022-06-07 15:00:50 +02:00
Johannes Pfeifer 48eae1dd66 Manual: modernizes terminology on master/slave 2022-06-02 14:26:25 +02:00
Johannes Pfeifer 8ac72590da PKF: document incompatibilities and throw proper errors if triggered 2022-05-31 17:40:03 +02:00
Johannes Pfeifer e24ff8e91f Document tolx option of steady 2022-05-31 14:37:11 +02:00
Johannes Pfeifer aeac54bd15 occbin: clarify concept of baseline regime 2022-05-17 12:25:14 +02:00
Johannes Pfeifer 0685e03ecd occbin: add warning on spurious regime transitions 2022-05-17 12:25:14 +02:00
Sébastien Villemot 63a116fb28
New += and *= syntaxes in “endval(learnt_in=…)” blocks 2022-05-03 17:46:59 +02:00
Sébastien Villemot a2fbd6d23c
Manual: fix typo
[skip ci]
2022-04-29 17:47:36 +02:00
Sébastien Villemot be90ca1156
Manual: add perfect foresight with expectation errors 2022-04-29 17:43:35 +02:00
Sébastien Villemot 518ef89268
Manual: fix typo and fonts 2022-04-29 11:23:39 +02:00
Sébastien Villemot 3b4ef0df49
Add new “log” option to “var” statement
Ref. #349
2022-03-30 18:01:22 +02:00
Sébastien Villemot 6988f0a3d8
Preprocessor: refactor parsing of symbol lists
Incidentally, this change allows a sligthly more flexible syntax in
“svar_identification”, so document it.
2022-03-29 15:11:28 +02:00
Sébastien Villemot d9feb04503
Manual: remove nonexisting syntax in “svar_identification” 2022-03-29 15:11:25 +02:00
Johannes Pfeifer ecbfb7d083 Manual: clarify potential naming issues in steady state files 2022-03-14 20:33:19 +01:00
Sébastien Villemot 3d7299c1e4
New option “non_zero” to the “resid” command
When this option is given, the “resid” command only displays non-zero residuals
2022-03-01 14:26:16 +01:00
Stéphane Adjemian (Charybdis) c9825c803a
Fix description of the conditional_forecast command.
Closes #1844
2022-02-24 20:33:47 +01:00
Sébastien Villemot 9a27735f47
Manual: cosmetics 2022-02-10 17:35:21 +01:00
Sébastien Villemot 685598c6e2
Add interface to “static” and “incidence” options of “model_info”
These options were implemented and described in the reference manual, but their
interface was missing.

By the way, make various minor improvements to the description of “model_info”
in the reference manual. In particular, remove the single quotes around the two
aforementioned options (which are a remnant from an older interface).
2022-02-09 14:07:30 +01:00
Stéphane Adjemian (Ryûk) f5f47cd834
Add new option last_simulation_period to initval_file command.
Also adjust the periods in Simulated_time_series (output of the perfect
foresight solver in the workspace). Note that this dseries object contains the
observations for the initial condition (M_.orig_maximum_lag observations) and
for the terminal condition (M_.orig_maximum_lead observations).

See #1838.

Fix testsuite (wrong file name)
2022-01-21 17:39:47 +01:00
Johannes Pfeifer b7d37f092f
manual: expansion of the semi-structural estimation section
[skip ci]
2022-01-06 17:59:21 +01:00
Sébastien Villemot 8553525c0f Merge branch 'doc' into 'master'
manual: clarify moment_calibration

See merge request Dynare/dynare!1990
2022-01-06 08:21:31 +00:00
Stéphane Adjemian (Ryûk) 02901002cf
Various improvements in the documentation of semi-structural models.
[skip ci]
2022-01-05 15:08:53 +01:00
Stéphane Adjemian (Ryûk) 472e66ae47
Fix list of allowed expressions in LHS (for solve_algo={12,14}).
[skip ci]
2022-01-05 11:46:53 +01:00
Johannes Pfeifer 259fe492e8 manual: clarify moment_calibration 2022-01-05 11:31:17 +01:00
Willi Mutschler 7f3bc60ce0
lsqnonlin only supported for method_of_moments 2022-01-04 14:33:05 +01:00
Stéphane Adjemian (Ryûk) 7ad508532d
Documentation of semi-structural models tools. 2022-01-02 21:00:28 +01:00
Sébastien Villemot 4db2899868
estimated_params: fixes for new semantics
The change implemented in 21a8a5794a broke the
testsuite and was incomplete.

– new option “overwrite” to provide the old behaviour (used to fix the testsuite);
– when concatenating several “estimated_params” block, the preprocessor now
  checks that paramateres are not declared twice across blocks.
2021-12-16 15:38:09 +01:00
Johannes Pfeifer d4cb7f7ff2 manual: clarify heteroskedastic_shocks-block 2021-12-16 09:09:47 +01:00
Sébastien Villemot 21a8a5794a
Various new model editing features
– multiple “model” and “estimated_params” block are supported
– new “model_options” statement to set model options in a global fashion
– new “model_remove” command to remove equations
– new “model_replace” block to replace equations
– new “var_remove” command to remove variables (or parameters)
– new “estimated_params_remove” block to remove estimated parameters
2021-12-15 17:33:01 +01:00
Johannes Pfeifer 6f87edfa3d Manual: remove wrong end; 2021-12-14 11:21:17 +01:00