Commit Graph

15320 Commits (62f608eb805822dbc166d579a54dda9ec2e2288a)

Author SHA1 Message Date
Sébastien Villemot 2a4f850996
Manual: fix name of shocks(surprise) block
[skip ci]
2023-02-16 17:11:56 -05:00
Sébastien Villemot 0da73f6415
Manual: document more precisely the column (resp. row) indices of oo_.endo_simul (resp. oo_.exo_simul)
[skip ci]
2023-02-16 17:06:45 -05:00
Sébastien Villemot 39a9b221b9
Manual: mark “simul” as deprecated
[skip ci]
2023-02-16 16:50:56 -05:00
Sébastien Villemot 1a421d93dd
steady: turn homotopy{1,2,3} into local functions 2023-02-16 14:22:27 -05:00
Sébastien Villemot def25a1fd3
Manual: explicitly say to which type the suffixes |e, |x and |p correspond
[skip ci]
2023-02-13 14:40:35 -05:00
Sébastien Villemot dbcaa2abfa
Manual: it is not possible to declare an exogenous or a parameter within an equation tag
[skip ci]
2023-02-13 14:40:32 -05:00
Sébastien Villemot 659474bd99
Manual: the “expression” option of “var_expectation_model” does not take a string
[skip ci]
2023-02-13 14:10:24 -05:00
Sébastien Villemot a1cdd287e5
Manual: specify that perfect_foresight_with_expectation_errors_setup(datafile=…) wants a CSV file
[skip ci]
2023-02-10 16:41:51 -05:00
Sébastien Villemot 4a150efb22
Manual: misc quote fixes
[skip ci]
2023-02-09 13:40:09 -05:00
Sébastien Villemot 2c44923384
No longer turn off output pagination
The “more off” command is incompatible with MATLAB Online.

Moreover, output pagination is disabled by default on MATLAB and on
Octave (since version 4 for the latter), so in most cases that command would do
nothing.

Incidentally, this allows users to enable output pagination should they want
to.

[skip ci]
2023-02-08 11:02:29 -05:00
Sébastien Villemot 05db89cb8c
Manual: fix typo
[skip ci]
2023-02-07 16:29:15 -05:00
Sébastien Villemot 3e6b6c87c3
Manual: fix math formula in “markowitz” option description
By the way, add some explanatory words.

[skip ci]
2023-02-07 16:25:16 -05:00
Sébastien Villemot 65053667cf
New “homotopy_alt_starting_point” option to “perfect_foresight_solver” command 2023-02-07 14:49:00 -05:00
Sébastien Villemot 7e3b83a135
Bug #1885 was actually not fixed in version 5.3
[skip ci]
2023-02-07 10:58:55 -05:00
Sébastien Villemot d6370a6d28 Merge branch 'occbin_init_smo' into 'master'
occbin enhancements and bug fixes

See merge request Dynare/dynare!2123
2023-02-07 14:23:14 +00:00
Sébastien Villemot c3524d33d0
Testsuite: replace “simul” by “perfect_foresight_setup” + “perfect_foresight_solver” 2023-02-06 15:42:34 -05:00
Sébastien Villemot be698d5f98
Perfect foresight + homotopy: add missing newline 2023-02-06 15:14:02 -05:00
Marco Ratto 63a299f64e new error codes introduced and applied for occbin smoother.
- 321 when simulation within occbin smoother fails
- 322 when occbin smoother does not converge.
2023-02-06 14:58:42 +01:00
Marco Ratto f565a0a84a bug fix and avoid missing output arguments and when smoother exits after non convergence of simulation. 2023-02-06 11:39:24 +01:00
Marco Ratto f0aa2fb86f cosmetic change 2023-02-03 14:25:59 +01:00
Marco Ratto b886de92dc trap case when simulation does not converge within smoother 2023-02-03 14:25:32 +01:00
Marco Ratto cdd195576e store binding_indicator_history once it has been set 2023-02-03 14:24:58 +01:00
Marco Ratto 783c237d17 evaluate set_prior only when needed 2023-02-03 14:21:02 +01:00
Marco Ratto 035db8b8c4 bug fixes when using guess regime 2023-02-03 14:20:51 +01:00
Marco Ratto 77e87be48b try with base regime before returning error 2023-02-03 14:20:39 +01:00
Marco Ratto 22e6fb1814 make sure also ALL updated variables in period 1 are reconstructed with smoother_redux. test model changed accordingly. 2023-02-03 14:20:28 +01:00
Marco Ratto 7132cb593e bug fix for init variables to be defined only with occbin PKF 2023-02-03 14:20:16 +01:00
Marco Ratto 50aa20c742 eliminate buggy and useless check for existence of guess regime variable. this may create bugs in running PKF update step! 2023-02-03 14:20:02 +01:00
Marco Ratto e51a30eaf5 Bug fix for the case where no prior is defined for estim params 2023-02-03 14:19:50 +01:00
Marco Ratto a4dc58db8e adjust smoother redux test, to consider that now ALL smoothed variables must be properly reconstructed also in period 1 2023-02-03 14:19:39 +01:00
Marco Ratto a346639020 when filter is NOT diffuse, allow likelihood to handle violation of constraints in period 1. 2023-02-03 14:19:28 +01:00
Marco Ratto 6598d615d1 in some cases, order is not yet set to 1 2023-02-03 14:19:16 +01:00
Marco Ratto a91c36f920 first_period_occbin_update is an index, not a boolean 2023-02-03 14:19:05 +01:00
Marco Ratto 74acb2d1f5 bug fix using index t 2023-02-03 14:18:54 +01:00
Marco Ratto 21443e0988 add consistency check of results using smoother_redux with occbin 2023-02-03 14:18:43 +01:00
Marco Ratto 21c9d59e8c incorporate information about states in period 0 for occbin with smoother_redux 2023-02-03 14:18:32 +01:00
Marco Ratto 0622f01f4e filter out t=1 when storing aalphahat and eetahat 2023-02-03 14:18:21 +01:00
Marco Ratto b90dff1986 retrieve states in period 0 from smoother and deploy this to:
- allow having binding regimes in period 1 with occbin
- further improve recovering of smoothed variables in period 1 under smoother_redux option
2023-02-03 14:18:10 +01:00
Sébastien Villemot ef7dc09b8e
Manual: link to the openSUSE package
[skip ci]
2023-01-30 15:59:45 +01:00
Sébastien Villemot 0c06ab1cc1
Block decomposition: make mfs=1 the default 2023-01-25 18:43:59 +01:00
Sébastien Villemot cef1ce33ed
Preprocessor: remove some incorrect normalization rules for the case mfs=3
As a consequence, increase the tolerance for a test with mfs=3 (it now uses the
same tolerance as the corresponding test for mfs=2).
2023-01-25 18:39:47 +01:00
Sébastien Villemot 5aca770931
perfect_foresight_with_expectation_errors_{setup,solver}: fix bugs with several exogenous
Closes: #1883
2023-01-24 15:02:07 +01:00
Sébastien Villemot 35b32ded34
Preprocessor: fix bug if “trend_var” is used without “var(deflator=…)” 2023-01-24 14:16:32 +01:00
Sébastien Villemot 5093264b8a
Manual: use logo with orange line
Closes: website#3
2023-01-24 13:51:26 +01:00
Sébastien Villemot fa7839ea39
Preprocessor update
– Drop dynamic_g1_nz.m generated file
– Fix size of dynamic derivatives (legacy representation) when there are unused
  exogenous and “nostrict” option is given
– Block decomposition: another fix for sparse indices of static Jacobian when
  mfs > 0
2023-01-24 13:43:02 +01:00
Sébastien Villemot c3e1480a52
C++17 modernization: use std::extent_v to get raw arrays size
This can prevent mistakes when the array is modified.
2023-01-24 13:43:02 +01:00
Sébastien Villemot 7922fc011e
perfect_foresight_problem MEX: move to the sparse representation
Ref. #1859
2023-01-24 13:43:00 +01:00
Sébastien Villemot 538f38d269 Merge branch 'occbin_debug' into 'master'
missing_observations_kalman_filter.m: provide debugging information on PKF problems

See merge request Dynare/dynare!2122
2023-01-23 10:39:17 +00:00
Johannes Pfeifer 4307711c60 missing_observations_kalman_filter.m: provide debugging information on PKF problems 2023-01-19 11:57:35 +01:00
Sébastien Villemot cfaf5a685d
Preprocessor: actually obey the “mfs” option for the static model
As a consequence, fix steady state computation when mfs > 0.
2023-01-17 19:08:32 +01:00