Commit Graph

63 Commits (master)

Author SHA1 Message Date
Sébastien Villemot c3524d33d0
Testsuite: replace “simul” by “perfect_foresight_setup” + “perfect_foresight_solver” 2023-02-06 15:42:34 -05:00
Johannes Pfeifer a82d24fd41 rbcii_MCP.mod: increase tolerance for Octave 2022-09-08 17:41:54 +02:00
Stéphane Adjemian (Ryûk) 1348c2ac4c
Fix typo. 2022-08-31 22:47:35 +02:00
Stéphane Adjemian (Ryûk) 2aa6565c18
Add test for lmmcp in extended path. 2022-08-31 13:37:00 +02: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
Sébastien Villemot d62a09cdef
tests/ep/rbcii.mod: use supported mechanism for user-provided steady state file
Incidentally, this should fix random crashes under Octave (where the manually
copied steady state file was not correctly detected by the interpreter).
2021-09-21 16:26:58 +02:00
Stéphane Adjemian (Charybdis) 9867203f25
Reduce simulation length in integration test.
Also removed commented codes.

Closes #1857
2021-05-28 13:56:13 +02:00
Johannes Pfeifer f78ac9f5ac
EP with MCP: add test case 2021-05-28 13:49:58 +02:00
Sébastien Villemot 71e3e0d49e
Fix extended_path with bytecode
By the way, document and enforce the fact that stochastic extended_path (i.e.
order > 0) is not compatible with either bytecode or block.

Closes: #1742
2020-10-14 17:25:58 +02:00
Johannes Pfeifer fc6c78e5ea testsuite: transform old steady state files to steady_state_model-blocks
Allows for easier maintenance
2019-11-26 17:02:12 +01:00
Stéphane Adjemian ee891948e0 Moved IntegrationAgorithm under options_.ep.stochastic 2019-04-18 18:03:57 +02:00
Stéphane Adjemian 62b0106dde Streamlined extended path examples. 2019-04-18 18:03:57 +02:00
Sébastien Villemot a1b8bd39b2 Move the location of various generated files on the filesystem
- M and MEX files are now under +${MODELNAME}/
- bytecode, C source and JSON now under ${MODELNAME}/model/
2018-06-27 17:03:39 +02:00
Stéphane Adjemian (Charybdis) 052655e353 Changed some integration tests for lowering the execution time of the testsuite. 2017-03-17 18:24:56 +01:00
Stéphane Adjemian(Charybdis) edce6b4779 Added integration test for Monte-Carlo EP. 2016-05-24 17:28:24 +02:00
Stéphane Adjemian(Charybdis) 6dcfd1c072 Added integration test.
Test that the extended path and stoch_simul (with order equal to 1)
algorithms return the same paths for the endogenous variables if the
RE model is linear.
2016-05-24 17:28:24 +02:00
Stéphane Adjemian (Hermes) 13ca15a278 Allow (S)EP with arbitrary sequence of innovations.
The third input argument of extended_path Matlab/Octave's routine is the
sequence of shocks (T*n array, where n is the number of exogenous
variables and T is the size of the sample). If the third argument is
empty, the (stochastic) extended path is run with gaussian
innovations (this corresponds to the previous behaviour).

TODO:
 - Fix the compatibility with ep.replic_nbr
 - Check the 'calibrated' mode.
2016-05-24 17:28:24 +02:00
Stéphane Adjemian (Hermes) b60bd7b36b Removed globals from extended_path routine. 2016-05-24 17:28:24 +02:00
Stéphane Adjemian (Hermes) 3a5b221dde Reduced the number of periods in integration tests for Extended Path. 2015-06-03 08:26:23 +02:00
Michel Juillard a7ec5c7258 extended_path: adding missing files 2014-05-18 21:49:52 +02:00
Michel Juillard 23134353e3 extended_path: update tests models; correct bugs introduced in
previous commit
2014-05-12 14:17:19 +02:00
Stéphane Adjemian (Charybdis) 94fa6144bd Fixed example ep/rbcii.mod (RBC model with endogenous labour supply and irreversible investment).
The leaded lagrange multiplier (associated with the positivity constraint on investment) was missing in the Euler equation.
2014-01-17 12:06:16 +01:00
Stéphane Adjemian (Scylla) 80868b2955 Bug fix (max function not yet implemented for dseries objects). 2013-12-16 09:54:49 +01:00
Stéphane Adjemian (Scylla) 8f8bfe6cc3 Renamed tests/ep/linear.mod as tests/ep/linearmodel.mod to avoid conflict with matlab's system identification toolbox. 2013-12-16 09:50:12 +01:00
Stéphane Adjemian (Charybdis) cc0d9b42f0 Changed name of options_.maxit as options_.simul.maxit. 2013-10-09 13:06:06 +02:00
Michel Juillard dd75baa9b4 stochastic extended path: new algorithm with leaner tree, new hybrid
option using second order perturbation correction,
solve_stochastic_perfect_foresight_model.m moves to matlab/ep directory
2013-03-11 16:09:08 +01:00
Michel Juillard 5c893f501b making extended path ready for parallel computing with parfor 2012-11-17 20:55:01 +01:00
Stéphane Adjemian (Charybdis) 34bcc9a20a Added burnside asset pricing model in tests/ep. 2012-11-09 14:32:44 +01:00
Stéphane Adjemian (Charybdis) b82813d3f9 Removed call to mean_preserving_spread routine in tests/rbc.mod. 2012-11-07 10:13:12 +01:00
Stéphane Adjemian (Charybdis) 63e4bb3f87 Removed plot of a variable that does not exist anymore (LagrangeMultiplier) in tests/rbcii.mod. 2012-11-07 10:13:12 +01:00
Stéphane Adjemian (Charybdis) 9e0e025eba Changed computing tasks in tests/rbcii.mod. 2012-11-07 10:13:12 +01:00
Stéphane Adjemian (Charybdis) 3271296592 Do not use mean_preserving_spread routine (far too expensive). Added use_dll option (necessary because calls to getPowerDeriv routine dramatically increases execution time). 2012-11-07 10:13:12 +01:00
Stéphane Adjemian (Charybdis) f823bcf5fa Deleted useless matlab routine for steady state (tests/rbcii.mod). 2012-11-07 10:13:11 +01:00
Stéphane Adjemian (Charybdis) e75a54d35c Fixed steady state in rbcii.mod (steady state levels in the unconstrained regime were wrong). 2012-11-07 10:13:11 +01:00
Stéphane Adjemian (Charybdis) a219a4b9e7 Fixed bug and cosmetic changes. 2012-11-07 10:13:11 +01:00
Stéphane Adjemian (Charybdis) f9d8ee682c Reduced the number of simulations. 2012-11-07 10:13:11 +01:00
Stéphane Adjemian (Charybdis) 59a62d87af Fixed bugs. 2012-11-07 10:13:11 +01:00
Sébastien Villemot 02efbd31a8 Convert files to Unix EOL 2012-06-08 19:10:19 +02:00
Michel Juillard 1fc2d78ddf dminished number of nodes and order of computation in
./tests/ep/rbcii.mod to make it faster. Commented out production of
graphs
2012-06-08 18:38:36 +02:00
Sébastien Villemot a87cac34ca Preprocessor iface to extended_path 2012-06-08 17:36:32 +02:00
Michel Juillard e98aa4df90 fixing problem with irreversible investment tests case ep/rbcii.mod 2012-06-05 15:57:40 +02:00
Michel Juillard 62b1b9a2cc extend test case rbcii until stochastic order = 3 2012-06-02 16:21:02 +02:00
Michel Juillard 944c19ab51 fixing extended_path test case 2012-06-02 11:36:00 +02:00
Michel Juillard ec05f302b7 Removing debugging code for extended path. Updating test cases. 2012-06-01 15:01:25 +02:00
Michel Juillard dd5cb335fb changes to stochastic perfect foresight simulation (still doesn't work
correctly with ZLB)
2012-04-21 21:41:07 +02:00
Stéphane Adjemian (Charybdis) 8c4f2c79b7 Changed options conformably to the previous commits. 2012-03-08 12:52:53 +01:00
Stéphane Adjemian (Charybdis) cfed4b8aaa Changed some options and the test criteria which has to depend on the value of options_.dynatol.x. 2012-03-08 12:50:28 +01:00
Michel Juillard 3785962519 fixing extended-path test 2012-03-06 12:42:37 +01:00
Michel Juillard bad8746e77 corrected bugs in extended path. The code works now with
./tests/ep/linear.mod
2012-03-04 20:59:57 +01:00
Stéphane Adjemian (Charybdis) 133e51e6d6 Changed the test files conformably to the latest commits related to the (stochastic) extended path approach. 2012-02-04 18:44:57 +01:00