Commit Graph

20 Commits (ec908386b67d1b27e0dc4174ef64796f74246318)

Author SHA1 Message Date
Sébastien Villemot ec908386b6
Testsuite: no longer use deprecated ramsey_policy, except a in a dedicated test 2023-03-29 16:57:01 +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 fa04600264 Testsuite: add calls to resid for optimal policy 2021-10-11 18:06:37 +02:00
Sébastien Villemot 9fd0806643
Testsuite: do not distribute optimal_policy/Ramsey/oo_ramsey_policy_initval.mat
It is a generated file.

By the way, ensure that the generated file has the .mat extension under Octave.
2021-09-27 16:43:50 +02:00
Johannes Pfeifer 334020fc46 evaluate_planner_objective.m: fix wrong timing in setting of shocks 2021-09-11 09:44:36 +02:00
Johannes Pfeifer 0d483ff85f evaluate_planner_objective.m: Factorize setting of initial condition
also takes care of initially set shocks
2021-09-11 09:44:35 +02:00
NormannR acdad93822 Fixing the regression in behavior in evaluate_planner_objective (Ref: #1680)
- evaluate_planner_objective now returns conditional welfare depending on the initial value of the Lagrange multipliers when it is suitable to do so
   - histval blocks are no longer ignored
2021-09-11 09:44:35 +02:00
Johannes Pfeifer e09d215964 evaluate_planner_objective.m: correctly rely on lag/lead structure for perfect foresight
Also cosmetic changes to indentation
2021-07-23 13:27:30 +02:00
Sébastien Villemot 766fff88f6
Use secure URL for link to GNU licenses 2021-06-09 17:35:05 +02:00
Johannes Pfeifer 456dc86ad1 identification: support optimal policy
Related to https://git.dynare.org/Dynare/dynare/-/merge_requests/1837
2021-05-14 13:38:42 +02:00
Normann Rion e880d1bcc3 Ref. #1680: 2nd-order welfare 2021-02-17 13:53:55 +01:00
Johannes Pfeifer 068a3e4bde testsuite: add integration test for estimation with Ramsey
[skip ci]
2020-03-02 09:17:36 +01:00
Johannes Pfeifer a4030c3676 testsuite: update ramsey_model to new command sequence using ramsey_model
Related to https://git.dynare.org/Dynare/dynare/issues/1678
2019-12-13 14:18:15 +01:00
Johannes Pfeifer 79e510a99e Add integration tests for #1193 and #1510 2017-09-13 10:20:09 +02:00
Johannes Pfeifer 71fd7730f0 Add unit test for Ramsey policy that checks correctness with analytical results 2015-09-08 13:47:54 +02:00
Stéphane Adjemian (Hermes) fe398e5b0d Renamed two integration tests (appended _xfail). 2015-06-03 12:24:28 +02:00
Johannes Pfeifer 3d6af995bc Update unit test by adding also auxiliary variables on exogenous variables 2014-10-30 14:23:13 +01:00
Johannes Pfeifer 38a0941d69 Add unit test file Ramsey with auxiliary variables
TBD: add check for correctness. As variables are dummy variables, the solution should be identical to the one without these auxiliary variables
2014-10-30 13:31:58 +01:00
Johannes Pfeifer 4b49abd724 Add missing files for Ramsey unit test with steady state. 2014-09-07 21:15:56 +02:00
Johannes Pfeifer 6fb7877113 Add bunch of unit test checking the correctness of Ramsey computation with initval and steady state files 2014-07-18 13:31:01 +02:00