Commit Graph

1047 Commits (74ed99c6cac1df5456f197cea88ca054353c59f1)

Author SHA1 Message Date
Stéphane Adjemian (Hermes) 7a93e93f94 Fixed bug in testsuite (Octave). 2015-06-05 14:22:36 +02:00
Houtan Bastani b1dce40284 fix typo 2015-06-05 10:49:01 +02:00
Michel Juillard c782ca3686 adding occbin original files from 20140630 2015-06-04 14:18:46 +02:00
Stéphane Adjemian (Hermes) eb28122cfa Removed graphical output from integration test simul/simul_ZLB_purely_forward_no_solution.mod. 2015-06-04 12:28:58 +02:00
Stéphane Adjemian (Hermes) fe398e5b0d Renamed two integration tests (appended _xfail). 2015-06-03 12:24:28 +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
Stéphane Adjemian (Hermes) 1614805c17 Added missing dependency (testsuite). 2015-06-01 18:21:30 +02:00
Stéphane Adjemian (Hermes) ad8586f87c Removed integration tests estimation/{fs2000_mc4.mod, fs2000_mc4_mf.mod}. 2015-06-01 16:42:02 +02:00
Stéphane Adjemian (Hermes) 5b0be85ba8 Removed integration tests estimation/{fs2000_mc6.mod, fs2000_mc6_mf.mod}. 2015-06-01 16:42:02 +02:00
Michel Juillard c22d31330c Adding 'ramsey_constraints' block to declare contraints for Ramsey
problems. Note that LMMCP (solve_algo=10) still doesn't work in all cases.
2015-05-31 12:18:20 +02:00
Stéphane Adjemian (Hermes) b7f8fb5710 Removed e_f from shocks (declared but unused in the model block).
=> Removed the first test (calibrated covariance of structural
shocks). We probably want to put it back, but need to change
the model for that (by adding e_f in the model).
2015-05-29 12:19:54 +02:00
Stéphane Adjemian (Hermes) d3ce3aaca5 Removed e_f from shocks and estimated_params block (declared but not used in the model). 2015-05-29 12:13:49 +02:00
Stéphane Adjemian (Hermes) 60c18a0cef Fixed typo. 2015-05-29 12:06:08 +02:00
Stéphane Adjemian (Hermes) 5fea7a4049 Fixed typos. 2015-05-29 11:52:04 +02:00
Frédéric Karamé 88ebafc363 Fixes typos. 2015-05-28 14:37:48 +02:00
Frédéric Karamé a97cc09962 Simplification of the mod file. 2015-05-28 11:54:55 +02:00
Stéphane Adjemian (Hermes) e4f3ff664c Use macros and data command in tests/particle/dsge_base2.mod. 2015-05-27 18:09:03 +02:00
Stéphane Adjemian (Hermes) ccd4e40b49 Merge branch 'master' into rewrite-nonlinear-filters
Conflicts:
	.gitmodules
	tests/particle/dsge_base2.mod
2015-05-27 12:18:33 +02:00
Frédéric Karamé 2a5728dd85 last modfile 2015-05-27 12:06:50 +02:00
Frédéric Karamé b7d40cc714 add three datafiles corresponding to the usual calibration exercise in the literature. 2015-05-27 12:06:50 +02:00
Frédéric Karamé 503356c2e3 clean the dsge_base mod file. 2015-05-27 12:06:50 +02:00
Houtan Bastani 89828e56cc preprocessor: add proprosal_distribution and student_degrees_of_freedom options to estimation. closes #925 2015-05-19 12:31:22 +02:00
Stéphane Adjemian (Hermes) 19286d850b Changed colours. 2015-05-18 18:31:49 +02:00
Johannes Pfeifer 0120fc16c1 Cut number of draws in fs2000_student.mod unit test to speed it up 2015-05-12 16:50:35 +02:00
Johannes Pfeifer 770ac5a4c8 Delete whitespace in Makefile.am that crashes autoreconf 2015-05-12 14:31:59 +02:00
Stéphane Adjemian 9d8823dd73 Merge pull request #932 from JohannesPfeifer/t_dist
Unit test and cosmetic changes for t-distribution
2015-05-10 23:29:17 +02:00
Johannes Pfeifer cf5a36a1a8 Fix typos Makefile.am
Prevents test suite from running
2015-05-10 21:44:36 +02:00
Johannes Pfeifer 787f6d37c2 Add unit test for t-distribution as proposal density 2015-05-10 10:06:22 +02:00
Stéphane Adjemian (Charybdis) e91d92ba6d Changed encoding to utf-8. 2015-05-09 22:36:19 +02:00
Johannes Pfeifer de427b77f2 Add unit test for differentiate_forward_vars
Closes #727
2015-05-09 22:36:19 +02:00
Johannes Pfeifer 120946dfb3 Add unit test for deterministic simulations with several leads and lags
Tests #617
2015-05-09 08:13:22 +02:00
Stéphane Adjemian f9f763878c Merge pull request #907 from JohannesPfeifer/optimizer_unit_tests
Deletes redundant mode_compute tests and moves others to optimizers dire...
2015-05-07 15:14:31 +02:00
Stéphane Adjemian ddc7464b9b Merge pull request #911 from JohannesPfeifer/MH_cosmetics
Cosmetic Fixes to Metropolis-Hastings routines
2015-05-07 14:29:27 +02:00
Stéphane Adjemian (Charybdis) 85422a2f7d Added two rules in tests/makefile.am
A mod file distributed in the tests folder can be executed with

~$ make ramst.o.drs

for Octave, or

~$ make ramst.m.drs

for Matlab. The new rules call %.m.trs or %.o.trs and display the
generated log file.
2015-04-30 16:23:15 +02:00
Stéphane Adjemian (Charybdis) 21870b39e8 Cosmetic. Changed colored output. 2015-04-30 13:59:38 +02:00
Stéphane Adjemian (Charybdis) a2d0550764 Cosmetic changes. Nicer output for the testsuite (with colors depending on the results). 2015-04-28 13:02:39 +02:00
Houtan Bastani 1c25b7ddaa reporting: update test for fan charts, #867 2015-04-27 18:28:20 +02:00
Houtan Bastani 18e9521450 preprocessor: add dirname option to estimation. closes #910 2015-04-27 11:59:21 +02:00
Johannes Pfeifer d7293b110a Add unit test for mh_recover option 2015-04-25 19:28:58 +02:00
Johannes Pfeifer f6c29d9eb4 Deletes redundant mode_compute tests and moves others to optimizers directory
Closes #888
2015-04-24 09:42:23 +02:00
Stéphane Adjemian (Charybdis) 1970951d1f Merge branch 'johannes_fix_simulated_annealing_and_other_optimization_related_issues' 2015-04-16 22:31:07 +02:00
Stéphane Adjemian (Charybdis) fff07396d2 Divided tests/optimizers/fs2000.mod into 12 mod files...
Otherwise the execution of the testsuite is not parallelized. Also, added a test for
mode_compute=1 (if fmincon from Mathworks' Optimization toolbox is
available).
2015-04-16 22:26:24 +02:00
Stéphane Adjemian (Charybdis) 31dc863077 Fixed graphic issue in tests/gsa/ls2003a.mod.
We still need to find out why eps format does not work under matlab...
2015-04-16 00:30:52 +02:00
Stéphane Adjemian (Charybdis) 79d0310c10 Added traps if some optimization algorithm are not availabe (testsuite). 2015-04-15 12:48:03 +02:00
Stéphane Adjemian (Charybdis) a7f0366980 Removed gsa/ls2003a.mod from the test suite (which causes a segmentation fault and breaks the test suite). 2015-04-15 12:31:09 +02:00
Stéphane Adjemian (Charybdis) da2c529ee7 Merge branch 'marco_gsa_fixes' 2015-04-14 15:54:59 +02:00
Stéphane Adjemian (Charybdis) 58641d0efc Added gsa/ls2003a.mod in testuite. 2015-04-14 15:51:50 +02:00
Stéphane Adjemian (Charybdis) 8022a181c8 Removed excel data file used in ls2003_bayesian_xls.mod.
The excel data file available here:

http://www.dynare.org/Datasets/data_ca1_xls.xlsx

is downloaded by Matlab/Octave when performing the test. The file is
deleted after the estimation command.
2015-04-14 15:12:25 +02:00
Johannes Pfeifer 62f81da6dd Add unit test for recursive estimation with Excel data 2015-04-14 15:12:25 +02:00
Marco Ratto 8908cfe0f4 Updated testing routine 2015-04-14 12:38:18 +02:00
Johannes Pfeifer aea49e2fa0 Add unit test for mode_computations 2015-04-06 12:13:14 +02:00
Marco Ratto 214dc74723 - Fixed bugs around analytic derivation.
- Fixed test routine, eliminating diffuse filter.
- Trapped incompatibility of diffuse filter with analytic derivation.
2015-04-01 09:00:51 +02:00
Johannes Pfeifer bbbbeb839f Change call to test.m to fataltest.m
Necessary after a988418668 to prevent crashes
2015-03-18 13:32:04 +01:00
Johannes Pfeifer 91d8ce38bc Disable OSR unit tests for optimizers not supported by Octave 2015-03-17 11:43:30 +01:00
Stéphane Adjemian (Hermes) 6d304891d1 Fixed EXTRA_DIST in Makefile.am.
I forgot to update Makefile.am after the change introduced in the
previous commit (a988418668).
2015-03-13 22:51:02 +01:00
Stéphane Adjemian (Charybdis) a988418668 Renamed tests/test.m as tests/fataltest.m.
Previous routine name was causing octave testsuite to throw a warning.
2015-03-13 17:57:46 +01:00
Stéphane Adjemian (Scylla) 3a3469b887 Cosmetic change. 2015-03-13 17:27:26 +01:00
Stéphane Adjemian (Scylla) e2a149430e Use perfect_foresight_setup and perfect_foresight_solver routines. 2015-03-13 17:26:27 +01:00
Stéphane Adjemian (Scylla) f1d7060520 Added explicit extension for generated mat files (needed by octave). 2015-03-13 17:25:06 +01:00
Stéphane Adjemian (Scylla) e82487ed62 Added missing extension for o.tls rule. 2015-03-13 17:24:07 +01:00
Stéphane Adjemian (Scylla) 6d7b72cb0d Merged with master 2015-03-13 15:53:18 +01:00
Stéphane Adjemian (Charybdis) 7343fa8f99 Fixed typo in tests/Makefile.am 2015-03-13 15:52:33 +01:00
Stéphane Adjemian (Charybdis) cd7ffc0f5a Added missing matlab/octave scripts. 2015-03-13 15:39:43 +01:00
Stéphane Adjemian (Charybdis) cf5ec64012 Removed display of debug info. 2015-03-13 15:27:16 +01:00
Stéphane Adjemian (Charybdis) 00d67110f2 Removed data files for tests/initval_file.
Generate the data instead with matlab's script
ramst_initval_file_data.m. Note that the excel files are only produced
and tested under Windows (xlswrite is not working on OS X, need to check
for Linux).
2015-03-09 08:59:48 +01:00
Stéphane Adjemian (Charybdis) de5c541ce6 Manually merged PR #807.
Fixed conflict related to the move of the perfect foresight related routines
in a subfolder.
2015-03-05 14:31:36 +01:00
Houtan Bastani 30428aeb17 preprocessor: add joint prior syntax, #824 2015-03-03 15:08:33 +01:00
Stéphane Adjemian bcfa24bd99 Merge pull request #815 from JohannesPfeifer/newrat_analytic
Add unit test for newrat with analytic derivatives and various Kalman al...
2015-03-01 16:31:29 +01:00
Johannes Pfeifer 49c32da83b Add unit tests for different OSR algorithms 2015-02-28 20:42:46 +01:00
Houtan Bastani 59c8fe4319 test system: rename ramsey.mod as ramsey_.mod to avoid removal of ramsey directory when doing make clean 2015-02-23 16:50:14 +01:00
Houtan Bastani dcabcb6b01 preprocessor: new command write_latex_original_model. closes #657 2015-02-16 08:31:30 +01:00
Houtan Bastani 7f067311df use filter_algorithm option in particle tests 2015-02-09 03:21:25 +01:00
Michel Juillard f29bb5c761 fixing bug in tests/Makefile.am introduced in previous commit 2015-01-16 09:29:55 +01:00
Michel Juillard 470fbbe0b2 Fixed bug in deterministic simulations with exogenous variables lagged
by more than one period. Added corresponding test cases.
2015-01-15 11:27:00 +01:00
Houtan Bastani beb3fd1534 reporting: add legendAt option. closes #810 2014-12-29 22:18:08 +01:00
Houtan Bastani 544e10fc29 reporting: fix legend entry for bar graphs 2014-12-29 20:37:44 +01:00
Houtan Bastani 0fbf99232d reporting: add support for bar graphs, closes #809 2014-12-23 17:52:40 +01:00
Johannes Pfeifer 14938fd607 Add unit test for running smoother only 2014-12-08 11:30:30 +01:00
Johannes Pfeifer e60157e9b8 Add unit test for newrat with analytic derivatives and various Kalman algos 2014-12-05 15:27:52 +01:00
Stéphane Adjemian (Charybdis) fc3e1b2108 Merge remote-tracking branch 'fred@github/master'
Conflicts:
	matlab/initial_estimation_checks.m
	matlab/utilities/tests
2014-11-28 16:53:44 +01:00
Johannes Pfeifer bb92f9bc2a Expand unit test on initval file
Also moves it to separate directory
2014-11-27 10:49:18 +01:00
Johannes Pfeifer d27e5bc5c2 Modify unit test for mode_compute=8 to set optimizer options 2014-11-25 09:56:55 +01:00
Johannes Pfeifer 1ac96c6808 Add initial values to prevent unit test from crashing due to numerical inaccuracy. 2014-11-24 17:40:29 +01:00
Houtan Bastani 2254f846c5 bug fix: remove consecutive plus signs 2014-11-24 12:26:10 +01:00
Johannes Pfeifer e12b494921 Shorten length of unit test file to prevent crash 2014-11-23 09:32:29 +01:00
MichelJuillard afb60b2528 Merge pull request #767 from JohannesPfeifer/osr_scaling
Fix computation of objective function in OSR when covariances are specified
2014-11-21 22:03:00 +01:00
MichelJuillard 22d4a86c6d Merge pull request #772 from JohannesPfeifer/varexo_det_forecasting
Fix forecasting with exogenous deterministic variables
2014-11-21 21:48:19 +01:00
Johannes Pfeifer 8204be67d0 Add unit test for correctness of forecasting with exogenous variables 2014-11-21 10:38:30 +01:00
Houtan Bastani c3fdb7517c Merge pull request #782 from JohannesPfeifer/perfect_foresight_message
Cosmetic change to perfect foresight + unit tests
2014-11-17 11:32:07 +01:00
Johannes Pfeifer c5a0f932c2 Change wrong Windows-style file separators to Linux ones 2014-11-16 21:11:06 +01:00
Johannes Pfeifer 747f90d89b Add unit tests for correct dimension of filtered, smoothed, forecasted, and updated variables and shocks 2014-11-16 21:08:18 +01:00
Johannes Pfeifer ac085f943a Add two unit test for perfect foresight simulation with only forward-looking variables 2014-11-16 15:09:16 +01:00
Johannes Pfeifer 201bbccae9 Add unit test for deterministic simulations without exogenous variables 2014-11-10 18:25:01 +01:00
Johannes Pfeifer e94056a765 Add unit test for correct computation of loss function in the presence of non-stationary variables 2014-11-03 18:08:30 +01:00
Johannes Pfeifer 4aaebfbe46 Add unit test to check whether objective function matches and whether covariances actually work 2014-11-02 13:15:55 +01: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
Stéphane Adjemian (Karaba) 7ab86d31ec Dataset factorization. Removed tests/kalman/lyapunov/fsdat_simul.m and use tests/fs2000/fsdat_simul.m instead. 2014-10-21 16:42:52 +02:00
Stéphane Adjemian (Karaba) a06083cb12 Fixed test (new data interface). 2014-10-20 16:31:40 +02:00
Stéphane Adjemian (Charybdis) 8244862bd1 Removed "spurious" characters. 2014-10-13 23:01:40 +02:00
Stéphane Adjemian (Charybdis) 9b3337c94d Oups. I forgot to remove a dependency to a binary in tests/Makefile.am. 2014-10-13 22:21:23 +02:00
Stéphane Adjemian (Karaba) f99fcfa27f Removed "Do pure Lyapunov tests" section.
This should be done in the lyapunov_symm routine.
2014-10-13 17:42:53 +02:00
Stéphane Adjemian (Karaba) a9b5fb4263 Fixed test introduced in commit and removed binary file.
Test was introduced in b11d14498aadac17c08b08dd80b6daf7dec9e340.

The binary  file was a mat  file containing a posterior  mode, and the
second estimation must be run iff the control toolbox is available.
2014-10-13 17:42:53 +02:00
Johannes Pfeifer 7605820dff Add unit test for Lyapunov solver
- tests whether they run within a mod-file
- tests whether they yield the same result for a simple state-space model
2014-10-13 17:42:52 +02:00
Michel Juillard b43b83b280 fixing bug in Makefile in commit 5e8489ac45 2014-09-10 09:47:17 +02:00
MichelJuillard 5e8489ac45 Merge pull request #696 from JohannesPfeifer/Ramsey_steady_state
Bugfix Ramsey steady state with steady state files
2014-09-08 21:56:13 +02:00
Johannes Pfeifer 4b49abd724 Add missing files for Ramsey unit test with steady state. 2014-09-07 21:15:56 +02:00
Marco Ratto 62b4cfe631 Provisions for moment calibration.
Sensitivity analysis for irf and moment calibration, with new function /gsa/map_calibration.m
Added new tests/gsa/ls2003a.mod for testsuite of irf/moment calibration

To be done:
- extend SA of calibration to MC and posterior samples (currently uses prior sample only)
- documentaion
- partial progress to close #267
2014-09-04 16:44:14 +02:00
Frédéric Karamé b06b6a6161 Modifications for online estimation of linearly-solved models 2014-08-29 15:51:01 +02:00
Frédéric Karamé 788833d874 Added options. 2014-08-29 15:38:18 +02:00
Houtan Bastani 217ab0088d reporting: tables: add row highlighting option 2014-07-30 15:21:32 +02:00
Johannes Pfeifer 59da9953bb Fix formating for Makefile.am
Replaced spaces by tabs
2014-07-30 13:07:52 +02:00
Houtan Bastani f3c807f577 reporting: add writeCSV option for tables. closes #693 2014-07-29 15:21:51 +02:00
Houtan Bastani b4dd4b5de1 reporting: add writeCSV option for graphs, #693 2014-07-29 15:21:45 +02:00
Houtan Bastani 1f3ae372fe reporting: fix bug where a whole row wasn’t colored if the tableSubSectionHeader option was passed at the same time 2014-07-28 17:28:20 +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
Stéphane Adjemian (Scylla) 7ccaf3e3fa Added two mod files in testsuite (new data interface). 2014-07-17 22:05:08 +02:00
Stéphane Adjemian (Scylla) c6562479cb Fixed datafile issue.
The tests/gsa contains two datafiles with the same basename and different extensions (.m and .mat). The new behaviour of the data interface forces the user to choose between the two candidate data files (ie it is no more possible to load a data file without specifying the extension in this case).
2014-06-25 11:33:24 +02:00
Stéphane Adjemian (Scylla) a0907b2e05 Merge branch 'master' into use-dseries 2014-06-23 15:15:48 +02:00
Houtan Bastani 6733c83ff5 reporting: add graph option: zeroLineColor 2014-06-20 15:41:11 +02:00
Stéphane Adjemian (Scylla) 940d2ffeff Added mod file in test suite. 2014-06-19 18:12:02 +02:00
Stéphane Adjemian (Charybdis) 3d0ebfb40a Added a mod file in tests for the feature introduced in commit 4f02e58010. 2014-06-17 16:05:31 +02:00
Stéphane Adjemian (Charybdis) efcf6bd9c0 Use dseries object in the estimation routines. 2014-06-16 17:41:59 +02:00
Stéphane Adjemian (Charybdis) af1009d8a4 Merge branch 'master' into use-dynSeries 2014-06-12 17:42:52 +02:00
Houtan Bastani 06db2cf4c8 tests: modify reporting test to account for support for empty dseries + horzcat 2014-06-12 09:51:13 +02:00
Houtan Bastani 27cc7b71b3 reporting: add new test 2014-06-11 12:32:00 +02:00
Stéphane Adjemian (Charybdis) a9e8dbb752 Merge branch 'master' into use-dynSeries 2014-06-02 16:12:05 +02:00
Houtan Bastani 9229a35e71 reporting: add new Paragraph class 2014-05-23 18:10:44 +02:00
Houtan Bastani b0386575d6 reporting: change vline to accept only one dates 2014-05-20 14:38:02 +02:00
Houtan Bastani 0247faa9ed reporting: support horizontal lines 2014-05-20 14:25:01 +02:00
Houtan Bastani d470ef16ca reporting: support vertical lines 2014-05-20 14:17:24 +02:00
Houtan Bastani eb63ef0267 reporting: add miscTikzPictureOptions option to addGraph 2014-05-19 15:57:43 +02:00
Houtan Bastani c7b2889034 reporting: allow for miscellaneous PGFPlots options to the addPlot command 2014-05-19 15:57:37 +02:00
Houtan Bastani ae1c12f482 reporting: add option ‘graphLegendName’ to addSeries 2014-05-19 12:29:54 +02:00
Michel Juillard a7ec5c7258 extended_path: adding missing files 2014-05-18 21:49:52 +02:00
Stéphane Adjemian (Charybdis) f054428318 Merge branch 'master' into bitbucket-use-dynSeries 2014-05-18 09:13:09 +02:00
Michel Juillard 23134353e3 extended_path: update tests models; correct bugs introduced in
previous commit
2014-05-12 14:17:19 +02:00
Michel Juillard 8bf484a140 fixed expectation model test cases. They had a crazy steady state
revealed by the now more accurate nonlinear solver.
2014-05-08 12:23:09 +02:00
Sébastien Villemot f31d060a4f Add all-in-one-file example for smoother2histval. 2014-05-07 11:16:47 +02:00
Sébastien Villemot c4a4e6eeb3 Octave testsuite: force gnuplot toolkit for text graphics.
This is necessary since FLTK is now the default toolkit in octave 3.8.
2014-05-07 10:42:28 +02:00
Stéphane Adjemian (Scylla) 28704d407d Addded mod file for tests. 2014-04-30 15:36:03 +02:00
Stéphane Adjemian (Scylla) 66d08ac3bf Merge branch 'master' into use-dynSeries
Conflicts:
	matlab/dynare_estimation_init.m
	matlab/global_initialization.m
	matlab/prior_posterior_statistics.m
	matlab/read_variables.m
	matlab/set_prior.m
	matlab/utilities/dataset/initialize_dataset.m
	preprocessor/ComputingTasks.cc
2014-04-30 10:10:30 +02:00
Sébastien Villemot 85f7af9133 Perfect foresight solver now uses a homotopy technique by default.
This commit introduces a "no_homotopy" option to restore the old behavior.

Ref #220
2014-04-10 16:39:06 +02:00
Sébastien Villemot 9c4b2d949b Introduce two new command: perfect_foresight_{setup,solver}.
simul is now simply an alias for
perfect_foresight_setup+perfect_foresight_solver.
2014-04-09 17:57:17 +02:00
Sébastien Villemot e396b4d86d smoother2histval/test: change datafile to avoid non-posdef matrix under MATLAB. 2014-04-07 14:58:58 +02:00
Sébastien Villemot 614dc3e5a6 smoother2histval/histval_file: handle lagged exogenous.
Ref #594
2014-04-04 17:22:09 +02:00
Sébastien Villemot 37af4b073f Add datafile forgotten in commit 9eebfc87.
Ref #594
2014-04-04 14:51:49 +02:00
Sébastien Villemot 9eebfc87b0 Improvements to smoother2histval (ref #594)
- fix handling of auxiliary variables related to lagged endogenous
- add preprocessor interface
- add histval_file
- add tests (for smoother2histval with outfile, and for histval_file)
2014-04-03 15:05:20 +02:00
Sébastien Villemot 76e276d629 Change initial values to accomodate the change of default solver. 2014-03-11 14:54:42 +01:00
Sébastien Villemot 7c4cc82012 Change initial values to accomodate the change of default solver. 2014-03-10 14:09:40 +01:00
Michel Juillard fabcbb7042 finishing ramsey_model implementation 2014-03-09 12:15:32 +01:00
Sébastien Villemot 9e332ef305 Forbid MOD file names that are too long.
And rename filenames in the testsuite that are too long.

Closes #626
2014-02-28 18:25:02 +01:00
Houtan Bastani 5c1488fe23 add variance to prior statement, remove stdev from another prior statement 2014-02-24 12:41:02 +01:00
Houtan Bastani b0f7b8f732 add test file to build system 2014-02-24 12:41:02 +01:00
Houtan Bastani aef3bb49aa ms-dsge: modify test file 2014-02-24 12:41:02 +01:00
Houtan Bastani f94c2c0570 ms-dsge: test modification 2014-02-24 12:41:02 +01:00
Houtan Bastani 2c2aeceb9d preliminary test file 2014-02-24 12:37:19 +01:00
Houtan Bastani 0feeb0f2a9 reporting: fix shading 2014-02-24 09:11:11 +01:00
Houtan Bastani daf6189e9c reporting: add option 'ALL' to xTickLabels 2014-02-20 16:35:05 +01:00
Houtan Bastani 5899a19e79 reporting: change xTickLabels default to be first date, last date, and, if passed, the first date of the shade region. Accordingly, change the default of the tick rotation to be 0. 2014-02-20 16:24:37 +01:00
Houtan Bastani e329ee2b60 reporting: make the titleFormat default work for both titles and subtitles, not just titles 2014-02-17 12:25:49 +01:00
Houtan Bastani 28716ed52a reporting: add subtitles for graphs, closes #580 2014-02-17 12:11:41 +01:00
Houtan Bastani 522013f889 reporting: add subtitle support for tables, ref #580 2014-02-17 11:19:46 +01:00
Houtan Bastani 6d71e53646 reporting: include graph title in tikz code as opposed to latex 2014-02-14 15:36:16 +01:00
Houtan Bastani eeedda5e2d reporting: add options xAxisTight and yAxisTight 2014-02-13 17:01:34 +01:00
Houtan Bastani 031dca436b reporting: set up legends for graphs 2014-02-13 15:14:29 +01:00
Houtan Bastani be1819b282 reporting: make graph line markers work with tikz 2014-02-12 16:13:41 +01:00
Houtan Bastani db50e96193 reporting: re-impliment yrange option 2014-02-11 18:25:50 +01:00
Houtan Bastani 6bbae11b66 reporting: new option xTickLabelRotation 2014-02-11 17:04:06 +01:00
Houtan Bastani 2942be0e69 reporting test: pass xTickLabels explicitly 2014-02-11 15:50:07 +01:00
Houtan Bastani 233016a667 reporting: modify test suite 2014-02-11 15:34:42 +01:00
Sébastien Villemot a5be9dd845 Add trust-region nonlinear solver.
Closes #260
2014-02-04 17:56:27 +01:00
Stéphane Adjemian (Scylla) 260a733442 Added new mod file in the testsuite (test that the changes introduced in 201ee7d627b71bf0fade1ab28799206e001191a7 are correct). 2014-02-03 12:25:29 +01:00
Johannes Pfeifer 9885a31587 Add unit test for loglinear option 2014-01-29 20:43:23 +01:00
Houtan Bastani 618527e666 add timing to report test 2014-01-24 09:54:21 -06:00
Houtan Bastani fa9c0f0a79 reporting: add indentation to table rows. closes #581 2014-01-24 09:53:53 -06:00
Houtan Bastani 0fde09e5de remove unused variable 2014-01-21 10:56:16 -06: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
Houtan Bastani e301eeb206 reporting: tests: show functionality of tableDataRhs option 2014-01-02 15:35:41 +01:00
Stéphane Adjemian (Charybdis) ed5696a938 Added test (+ cosmetic changes). 2013-12-30 16:34:26 +01:00
Stéphane Adjemian (Charybdis) 1ea7631930 Added new option for perfect foresight simulations (sim1 routine, available only with stack_solve_algo==0).
Try to reduce the size of the nonlinear system of equations by skipping the (last) periods for wich the residuals are
already (almost) zero. The number of periods is not constant during the Newton, the effective number of periods for
each iteration of the Newton is available in oo_.deterministic_simulation.vperiods.
2013-12-27 18:35:53 +01:00
Sébastien Villemot fd7e9afd9d Fix test/Makefile.am following 8f8bfe6c. 2013-12-16 12:52:22 +01:00
Sébastien Villemot bb1353e46b Fix bug introduced in 8b1e76a1bf.
The unitary tests file was renamed, but his output file wasn't.
2013-12-16 10:25:39 +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 (Scylla) 8b1e76a1bf Renamed tests/run_unitary_tests.m script to avoid conflict with matlab/utilities/tests/run_unitary_tests.m function. 2013-12-13 16:21:10 +01:00
Sébastien Villemot 857a2b0e35 Add missing antislashes 2013-12-12 11:26:03 +01:00
Michel Juillard 86a083697e osr: added optimal value of parameters to oo_.osr.optim_params; moved
osr_example to ./tests/optimal_policy
2013-12-11 19:24:29 +01:00
Stéphane Adjemian (Scylla) 1fe12d9c3e Added mod files (and associated steadystate files) for k_filter_ahead in the testsuite. 2013-12-11 16:45:01 +01:00
Stéphane Adjemian (Scylla) 534b54074f Do not replicate fsdat_simul.m (use the one in tests/fs2000 folder). 2013-12-11 16:43:15 +01:00
Johannes Pfeifer cd3b5bf3d9 Fix bug in Bayesian estimation where the filter_step_ahead command produced no output
- Improves documentation of resulting matrices
- Adds unit test for filter_step_ahead option
2013-12-11 16:43:15 +01:00
Houtan Bastani 398076432c fix typo 2013-12-11 11:11:35 +01:00
Sébastien Villemot f525de04b1 Add missing file to tarball 2013-12-09 22:25:41 +01:00
Sébastien Villemot c7cb38e687 Update tests/.gitignore 2013-12-09 19:07:09 +01:00
Sébastien Villemot 5f3d56c31a Add unitary tests to testsuite 2013-12-09 19:05:36 +01:00
Sébastien Villemot 3d525c39f2 Fix block/bytecode tests under Octave 2013-12-02 17:22:16 +01:00
Sébastien Villemot f7cdc39ff2 Refuse that estimated parameters appear in the expressions defining the variance/covariance matrix of shocks
Closes #469
2013-11-29 14:51:17 +01:00
Sébastien Villemot d3175b75a9 Add newline at the end of CSV files.
csv2cell from octave-io package has a bug (in versions < 1.2.2): it enters an
infinite loop when reading CSV files without a newline at the end.
2013-11-28 16:25:40 +01:00
Houtan Bastani 70e8f48afd reporting: replace occurrences of dynDate with dates 2013-11-22 17:11:57 +01:00
Stéphane Adjemian (Scylla) 817060c954 Added unitary test for name2tex routine. 2013-11-22 16:53:02 +01:00
Stéphane Adjemian (Charybdis) a0ba469863 Added mod files in the testsuite. Test new local options for the numerical gradient algorithm. 2013-11-17 14:13:03 +01:00
Stéphane Adjemian (Charybdis) 823ed85e8d Various changes in tests/dsge-var mod files.
+ Changed comments.
+ Use new Dynare's interface for specifying the version of numgrad.
2013-11-17 12:55:56 +01:00
Stéphane Adjemian (Charybdis) a96d361599 Added comments in mod files (tests/dsge-var). 2013-11-16 23:40:58 +01:00
Stéphane Adjemian (Charybdis) b7ff4d9f75 Added new mod file in the testsuite for Dynare's implementation of the simplex algorithm. 2013-11-16 20:24:40 +01:00
Stéphane Adjemian (Penelope) 0c00151092 Merge branch 'master' into remove-dynDate-class
Conflicts:
	preprocessor/DynareBison.yy
2013-11-14 16:41:08 +01:00
Sébastien Villemot a25f7150fb Fix test under Octave, by changing the value of mode_compute
With the former optimizer, the ML estimation under Octave would lead to a point
with a non-positive covariance matrix for shocks; in turn this would be an
unsuitable starting point for the subsequent Bayesian estimation
2013-11-08 16:07:38 +01:00
Sébastien Villemot df85db65ed Add missing test to testsuite
Ref. #511
2013-11-07 14:47:32 +01:00
Houtan Bastani 4626a1cf0f test suite: add test file 2013-11-06 17:07:33 +01:00
Johannes Pfeifer fd8820a883 Change unit test for H-matrix to be positive definite 2013-11-06 16:59:01 +01:00
Houtan Bastani 1893dd2220 modify test to use use_calibration option 2013-11-06 14:05:26 +01:00
Houtan Bastani 0fdc18e7fb Merge branch 'ifc'
Conflicts:
	matlab/dynare_estimation_1.m
	matlab/global_initialization.m
2013-11-06 13:58:57 +01:00
Stéphane Adjemian (Scylla) 8429321547 Merge branch 'master' into remove-dynDate-class 2013-11-06 12:43:06 +01:00
Sébastien Villemot a72cc3ff48 Merge remote-tracking branch 'github/master' 2013-11-05 17:17:53 +01:00
Sébastien Villemot 73944a10c4 Finish implementation of mcmc_jumping_covariance option
Closes #112, #514
2013-11-05 17:16:32 +01:00
Johannes Pfeifer fddee8e1db Bugfixes for correlated shocks
Uses preprocessing capabilities introduced in 07137e804b

Fixes #392 and #494. Also fixes a bug in the checking for positive definiteness of covariance matrices in likelihood functions

Allows for calibrated covariances by reading them out and setting them after covariance matrix has been reconstructed from correlation and variances.

Adds unit test
2013-11-05 15:55:29 +01:00
Johannes Pfeifer 0d669a73cb Add options for providing the variances, an identity matrix , and user specified matrices as proposal densities
Deals with #507 and #112
Includes a unit test
2013-11-04 19:09:24 +01:00
Johannes Pfeifer e1b92dc588 Add unit test for initialization from calibrated model 2013-10-30 21:35:53 +01:00
Stéphane Adjemian (Charybdis) bfb5421182 Removed useless routine. 2013-10-18 22:58:47 +02:00
Stéphane Adjemian (Charybdis) 6de19c16ab dynSeries --> dseries. 2013-10-18 17:56:18 +02:00
Stéphane Adjemian (Charybdis) b52e57cbb7 Added test for dates (Sébastien, please do not add the files in the test suite). 2013-10-18 12:55:33 +02:00
Stéphane Adjemian (Charybdis) 3edf3d0e3d Added csv files for testing load_csv_file_data routine. 2013-10-17 17:34:09 +02:00
Stéphane Adjemian (Charybdis) 5a98be702c Decreased the value of maxit in simul (bytecode & ireland.mod). 2013-10-09 16:53:31 +02:00
Stéphane Adjemian (Charybdis) e28eaa1c18 Use dynare interface (maxit option). 2013-10-09 16:26:55 +02:00
Stéphane Adjemian (Charybdis) f3334357a5 Merge branch 'master' into maxit 2013-10-09 15:43:43 +02:00
Houtan Bastani bcc883edad gitignore: exclude macro-expanded mod files 2013-10-09 14:45:34 +02:00
Stéphane Adjemian (Charybdis) cc0d9b42f0 Changed name of options_.maxit as options_.simul.maxit. 2013-10-09 13:06:06 +02:00
Stéphane Adjemian (Charybdis) 08d671d629 Added comment. 2013-09-23 08:40:56 +02:00
Stéphane Adjemian (Charybdis) c5c3b45f3c Merge branch 'master' into use-dynSeries 2013-09-23 08:14:46 +02:00
Michel Juillard 944e0a873e adding missing data file in previous commit 2013-09-18 12:32:02 +02:00
Michel Juillard f40af9bebe adding tests for shocks decomposition of estimated model. Closes #313 2013-09-18 12:05:00 +02:00
Stéphane Adjemian (Charybdis) 5fa1b87e0f Use new syntax. 2013-09-12 17:30:11 +02:00
Stéphane Adjemian (Charybdis) 0ed35166de Added unitary tests (instantiation of the dynSeries class form an excel file).
(cherry picked from commit 84075cab81)
2013-09-11 17:25:07 +02:00
Stéphane Adjemian (Charybdis) 84075cab81 Added unitary tests (instantiation of the dynSeries class form an excel file). 2013-09-11 17:21:26 +02:00
Stéphane Adjemian (Charybdis) 2c7a3a7c25 Added test mod file for fs2000 (using dynSeries). 2013-09-07 16:05:01 +02:00
Sébastien Villemot 30033df22c Deactivate 2nd and 3rd order approximation of purely forward models
There are some strange crashes in both normal mode (gensylv) and k_order_solver
mode
2013-08-15 12:27:03 +02:00
Houtan Bastani 201239dbf7 introduce verbatim block closes #437 2013-08-13 17:08:39 -04:00
Sébastien Villemot 87dfa938bb Remove unfinished "shocks" and "labels" options to shock_decomposition
The preprocessor implementation of "shocks" is broken, and the ref. manual
entries are empty. Nothing is implemented in MATLAB files. It's better to
remove this for now, until a working implementation is done.

Ref. #136
2013-08-13 11:37:16 +02:00
Houtan Bastani 31c1bb627f fix makefile typos 2013-08-12 15:52:32 -04:00
Sébastien Villemot 1e9521af0f Add new unit tests to testsuite 2013-08-12 12:14:19 +02:00
Sébastien Villemot 26acc2ec1e Merge pull request #453 from JohannesPfeifer/forward_looking_model_fix
Bugfixes and unit tests for stochastic purely forward-looking models
2013-08-12 03:05:30 -07:00
Johannes Pfeifer 07a05d554e Add unit tests for stochastic simulations of purely forward looking models
Adds one for purely forward looking models and one for purely forward looking model with additional static variable
2013-07-24 23:39:39 +02:00
Johannes Pfeifer 592c2c8f77 Add unit test for shock_decomposition 2013-07-22 19:25:53 +02:00
Houtan Bastani b3cfc330e9 rm graph_format=fig for Octave compatibility 2013-06-28 10:57:57 +02:00
Sébastien Villemot 17a8db9dee Fix clean rule wrt reporting files 2013-06-26 09:10:58 +02:00
Houtan Bastani 51b43e1ff0 build system bug fix 2013-06-25 16:37:18 +02:00
Houtan Bastani fcba382b48 test: use csv instead of mat file 2013-06-25 10:26:20 +02:00
Houtan Bastani 4cef0a1568 test for reporting 2013-06-24 17:01:00 +02:00
Stéphane Adjemian (Charybdis) 25fd2917f4 Fixed datafile (data_risky_perturb3 is not versioned). 2013-06-18 22:26:27 +02:00
Frédéric Karamé 8820c63f5e Bug fixes. 2013-06-18 16:15:16 +02:00
Sébastien Villemot fd9264627e Reenable test for block with stack_solve_algo=3
Closes #407
2013-06-13 11:02:15 +02:00
Sébastien Villemot 6391a60641 Testsuite: improve decoupling of check-matlab and check-octave rules 2013-06-13 10:41:08 +02:00
Sébastien Villemot 61485ab809 Fix copyright notices 2013-06-12 17:04:46 +02:00
Sébastien Villemot f11c2f2521 Disable test with block and stack_solve_algo=3 under Octave (Ref #407) 2013-05-23 13:10:09 +02:00
Sébastien Villemot bf18eef9dd Fix mangling of lasterror() under Octave 2013-05-23 13:09:42 +02:00
Sébastien Villemot 21b75fac0d Fix incorrect reporting of failed test number 2013-05-23 13:09:00 +02:00
Marco Ratto ab5b922e46 -) fixed bug introduced in commit 66527df;
-) estimation options for data set must be given also when ppost=1 (fix in testsuite);
2013-04-30 11:41:13 +02:00
Sébastien Villemot d219d2b800 Add 3rd order unit test to testsuite 2013-04-25 12:24:29 +02:00
Sébastien Villemot 3d56792124 Compatibility fixes for Octave 2013-04-25 12:22:32 +02:00
Johannes Pfeifer 7e63b562d9 Add unit test for order=3
The unit test uses the policy rules of Fernandez-Villaverde et al.
(2011)'s "Risk matter" derived from Mathematica to compare them to the
Dynare matrices. If the policy functions differ by more than 1e-9, an
error is produced.
2013-04-24 23:12:52 +02:00
Sébastien Villemot 38824dc1e5 Implement tags [static] and [dynamic] for equations
Closes #307
2013-04-11 17:11:35 +02:00
Michel Juillard 39cc313964 removed changes linked with transforming variables to avoid log or
power of negative numbers
2013-04-09 16:35:57 +02:00
Sébastien Villemot 4cab27249c Fix test w.r.t. clean rules 2013-03-29 17:22:43 +01:00
Sébastien Villemot f594c27fd5 Conditional forecast test: remove spurious changes introduced in dfa744fcb3
As a consequence, reactivate the tests
2013-03-26 17:31:34 +01:00
Sébastien Villemot 3c5ce6aab9 Use syntax log_trend_var(log_growth_factor = …) for consistency 2013-03-26 17:10:37 +01:00
Sébastien Villemot e504ea0682 Also ignore TeX files produced with options_.TeX = 1 2013-03-26 16:51:17 +01:00
Sébastien Villemot a0b7178962 Automatic detrending engine can now handle models written in logs (ref. #309)
- new command `log_trend_var'
 - new option `log_deflator' to `var' command
2013-03-26 16:51:17 +01:00
Sébastien Villemot 25269c3c6b Temporarily disable another test which goes into an infinite loop 2013-03-25 12:58:17 +01:00
Sébastien Villemot 3079ad49fa Temporarily disable conditional_forecast tests 2013-03-25 11:18:02 +01:00
Sébastien Villemot d308356a2f Revert "removing tests of conditional forecast that are blocking the test suite"
This reverts commit 8be13512d0.
2013-03-25 10:57:45 +01:00
Michel Juillard 8be13512d0 removing tests of conditional forecast that are blocking the test suite 2013-03-23 21:44:33 +01:00
Stéphane Adjemian a5e9c7bef4 Merge pull request #340 from FerhatMihoubi/master
last commits
2013-03-22 12:37:36 -07:00
Ferhat Mihoubi dfa744fcb3 - adds new files: Evaluate.cc and Evaluate.hh to bytecode 2013-03-22 16:34:50 +01:00
Sébastien Villemot 214ff84429 Incorporate unit test for correlation in measurement errors 2013-03-22 15:01:40 +01:00
Johannes Pfeifer 82c6ff3b1b Merge commit '34fb9f1c62c63e7e4ab41656a7690167449e596f' 2013-03-21 21:22:20 +01:00
Johannes Pfeifer 0311c4add4 Add unit test for correlated measurement error
Tests both ML and Bayesian estimation and test calibrated correlation of
those shocks
2013-03-21 20:51:21 +01:00
Stéphane Adjemian (Charybdis) 865f300032 Make load and save routines for dynSeries objects support tex variable names. 2013-03-21 16:42:10 +01:00
Stéphane Adjemian (Ulysses) 95f36eccb7 Added data file for unitary tests (dynSeries class). 2013-03-14 11:08:34 +01: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 bbd95b3a60 adding Ed Herbst fast implementation of the Kalman filter and test
cases with timing. Still needs preprocessor interface (option) and documentation.
2013-02-21 17:47:16 +01:00
Stéphane Adjemian (Charybdis) 241afd1ae5 Removed fs2000_particle from the test suite. 2013-02-05 10:37:11 +01:00
Stéphane Adjemian (Charybdis) d63904ec65 Changed options of the estimation command in fs2000_particle.mod (added optimization of the posterior kernel).
In the end the hessian at the mode has the wrong sign...
2013-02-05 10:37:11 +01:00
Stéphane Adjemian (Charybdis) 2fc7aa7b94 Reduced the number of particles in particle/dsge_base2.mod. 2012-12-21 17:21:07 +01:00
Stéphane Adjemian (Charybdis) bd01669fb9 Fixed crash with particle/dsge_base2.mod in the test suite. 2012-12-21 17:21:07 +01:00
Stéphane Adjemian (Charybdis) c6f3f531b6 Added missing csv file in /tests folder (used by unitary tests in dynSeries class). 2012-12-07 16:43:06 +01:00
Michel Juillard 2c545eaf8b adding test case with lagged exogenous variable (currently fails) 2012-12-04 10:46:44 +01:00
Stéphane Adjemian (Charybdis) 9f1ad5568e New nonlinear filters routines and bug fixes.
Merge remote-tracking branch 'refs/remotes/fred/master'
2012-11-19 16:23:07 +01:00
Michel Juillard 5c893f501b making extended path ready for parallel computing with parfor 2012-11-17 20:55:01 +01:00
Sébastien Villemot 020328a844 Adapt for new syntax of model_diagnostics 2012-11-17 10:29:14 +01:00
Sébastien Villemot c121aa14b1 Remove oo_.dr.{nstatic,npred,nboth,nfwrd,nspred,nsfwrd}
Replace them by equivalents in M_ (and an extra one: M_.dynamic).

IMPORTANT POINT: oo_.dr.npred used to count both purely backward and mixed/both
variables. This was the cause of lots of confusion. The new M_.npred only
counts purely backward variables.

We now have the following indentities:

M_.npred + M_.nboth + M_.nfwrd + M_.nstatic = M_.endo_nbr
M_.nspred = M_.npred + M_.nboth
M_.nsfwrd = M_.nfwrd + M_.nboth
M_.ndynamic = M_.npred + M_.nboth + M_.nfwrd
2012-11-16 20:05:13 +01:00
Frédéric Karamé a6576debd5 details all the options for testing particle filters. 2012-11-16 12:25:44 +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) 59247ddcfa Added test mod file in tests/particle (not to be used in the testsuite). 2012-11-09 14:32:44 +01:00
Houtan Bastani c6a330ff7d add xfail test for all_values_required 2012-11-07 18:13:42 +01:00
Houtan Bastani feced78ee6 make check: support xfail tests 2012-11-07 18:13:41 +01:00
Houtan Bastani 76ccaac947 make check: remove unused output from test file 2012-11-07 18:13:41 +01:00
Stéphane Adjemian (Charybdis) 2c674ce529 Use resampling in tests/particle/dsge_base2.mod. 2012-11-07 15:59:37 +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 0ab230b474 Fix copyright notices 2012-10-31 17:03:49 +01:00
Houtan Bastani ca8610e768 aesthetic fix 2012-10-16 11:12:12 +02:00
Houtan Bastani 07d4d0bc8d make check: add more dependencies 2012-10-16 11:10:13 +02:00
Houtan Bastani 269c221a0e make check: add dependencies 2012-10-15 17:42:20 +02:00
Houtan Bastani 7dbfaebf59 test suite parallelization 2012-10-12 18:13:17 +02:00
Sébastien Villemot fd633cba2c Load system-wide initialization file when running octave tests
This is necessary to ensure that Octave Forge packages are loaded.
2012-10-09 09:57:21 +02:00
Sébastien Villemot b8b7d90e10 Add explicit extension to datafile, since test.m is an internal Octave function 2012-10-08 15:01:50 +02:00
Sébastien Villemot 2f9e34c5e5 Various fixes related to data-loading
- fix support for filenames with extension (.m, .mat, .xls), since the manual
  and the bison grammar both support it
- fix support for XLS files under Octave
- add support for XLSX files
- run test for loading XLS files
2012-10-08 13:00:55 +02:00
Michel Juillard b7b50fa901 adding data file for test case 2012-10-06 20:45:09 +02:00
Michel Juillard c722f53955 fixed bug with options mode_compute=0,mode_file=....
added tests for mode_compute=4 and mode_compute=6. They increase computing time of the
test suite by about 30 minutes.
2012-10-06 16:51:42 +02:00
Sébastien Villemot 78693d971b Fix following removal of run_test.m 2012-10-06 10:23:31 +02:00
Houtan Bastani 25d591485c remove unused file 2012-10-05 17:06:23 +02:00
Houtan Bastani 22d590eecd clean test files in ms-sbvar 2012-10-04 11:40:38 +02:00
Houtan Bastani 43d13fda96 remove file generated by kalman_filter_smoother/gen_data.mod in clean 2012-10-03 19:34:51 +02:00
Michel Juillard c584245637 added lag on 2 periods to test with auxiliary variables 2012-09-19 22:51:44 +02:00
Sébastien Villemot dc0955b665 Test exogenous deterministic variables at order 2 2012-09-19 10:42:51 +02:00
Marco Ratto 428b193c11 Need to pass the entire global workspace, if subroutines called by the _core loops need them. Updated parallel test. 2012-09-11 15:45:08 +02:00
Michel Juillard 2244af9c62 adding pruning option for 3rd order 2012-07-31 21:50:59 +02:00
Michel Juillard edf826f315 added code to optionally run cycle_reduction algorithm on GPU. Added
options_.gpu (no interface yet, use options_.gpu=1). Added test
./tests/first_order/fs2000_cr.mod
2012-07-20 17:06:12 +02:00
Stéphane Adjemian (Charybdis) 0d5dff2bd9 Added walsh.mod in the testsuite to compare the solutions obtained with the cyclic reduction algorithm and the generalized schur algorithm. 2012-07-11 18:26:22 +02:00
Sébastien Villemot 57b7c0e94f Add unit test for kalman filter with missing observations
Contributed by Johannes Pfeifer
2012-07-06 10:32:34 +02:00
Marco Ratto 5f9d2e6492 fix test for analytic derivatives 2012-07-05 10:23:34 +02:00
Houtan Bastani e1404965ea add tests for ifndef 2012-06-26 16:28:39 +02:00
Houtan Bastani 3bfa231535 add test for conditional macro statements 2012-06-26 16:27:13 +02:00
Stéphane Adjemian (Charybdis) 2c077928b2 Added test for shock decomposition.
(cherry picked from commit 70d17ceb08d02ab58a9d030b45a5822a095b0d03)
2012-06-18 14:55:36 +02:00
Marco Ratto 186d973ccb use of nodisplay in all sensitivity calls 2012-06-15 12:36:47 +02:00
Marco Ratto 974390ee49 use of nodisplay for estimation call
(cherry picked from commit 32a14593985b5e0e2356df2830bb1c60b66188ae)
2012-06-14 18:55:09 +02:00
Sébastien Villemot cef35cd393 Fix function names 2012-06-13 11:09:27 +02:00
Marco Ratto 240e6d688e Update testsuite script for gsa. 2012-06-11 01:36:03 +02: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 129553579a Merge remote-tracking branch 'ratto/master' 2012-06-08 18:24:18 +02:00
Sébastien Villemot a87cac34ca Preprocessor iface to extended_path 2012-06-08 17:36:32 +02:00
Marco Ratto dca2ffc5f3 clean-up of test project for gsa+identification. 2012-06-08 15:35:39 +02:00
Sébastien Villemot 761b1f2df7 Don't use loglinear in test for analytic_derivation 2012-06-08 11:43:32 +02:00
Houtan Bastani 9ce6eeebc6 test: add [hooks] to config file 2012-06-07 13:45:50 +02:00
Houtan Bastani 585c98e515 change file type to unix 2012-06-07 13:45:50 +02:00
Sébastien Villemot 9bea42f411 order=2 in estimation command now triggers particle filter 2012-06-06 17:08:53 +02:00
Sébastien Villemot 2156f67298 New option analytic_derivation for estimation 2012-06-06 11:34:32 +02:00
Michel Juillard e98aa4df90 fixing problem with irreversible investment tests case ep/rbcii.mod 2012-06-05 15:57:40 +02:00
Sébastien Villemot 05dca0e3ea Change the default algorithm for stack_solve_algo = 0
The old algorithm (LBJ) is now available under stack_stock_algo = 6
2012-06-04 17:23:14 +02:00
Sébastien Villemot 5dd9c844b3 Implement determistic simulation of purely backward models 2012-06-04 16:14:01 +02:00
Sébastien Villemot 25b6638522 Remove duplicate test file 2012-06-04 12:03:32 +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
Sébastien Villemot 84c37137c1 Minor fixes 2012-05-31 08:22:31 +02:00
Sébastien Villemot 7044c8da2b Add new command "calib_smoother"
Closes: #233
2012-05-30 16:28:29 +02:00
Michel Juillard eab165d3ee added in manual a section on how to use steady_state_model block with
initval and endval for deterministic models. Added test cases for
deterministic models.
2012-05-29 21:31:57 +02:00
Michel Juillard 539bf0ca69 finishing implementation of optional transformation of log and non
integer power arguments   to insure that they are positive
2012-05-26 20:53:48 +02:00
Michel Juillard c6495dfc9d first implementation of transform_logpow. It creates too many auxilary
variables and probably violates Jensen inequality in some cases.
2012-05-23 15:09:33 +02:00
Sébastien Villemot 91e041d704 Add unit test for purely forward models 2012-05-15 18:38:00 +02:00
Marco Ratto da9ec0f187 Estimation with analytic scores and hessian;
This includes re-setting the list of output arguments in objective functions
Added test function
2012-04-29 21:18:33 +02:00
Michel Juillard 7a4405e754 added check_options are the same as steady_options. Added option
nocheck to 'check' in test fs2000/fs2000a as there is a unit root and
the user provided _steadystate.m doesn't solve the static equations
2012-04-24 10:32:59 +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
Michel Juillard e0de97878f added validation test computing Ramsey policy with expecation
operator; updated build system
2012-04-20 14:06:33 +02:00
Michel Juillard 7d4a7b1bac adding test for computing Ramsey policy in a model using the
expectation operator.
2012-04-20 11:51:32 +02:00
Sébastien Villemot 41de387ab7 Workaround for race condition in run_test_octave 2012-04-06 21:54:54 +02:00
Sébastien Villemot 5696dadf27 Reindentation of Octave code 2012-04-06 21:53:50 +02:00
Sébastien Villemot db20fdd0f4 Fix function prototype 2012-03-21 10:18:07 +01:00
Michel Juillard 1fcf708b80 Merge remote-tracking branch 'origin/master' into dr1break 2012-03-10 18:21:14 +01:00
Stéphane Adjemian (Charybdis) 10cd5f200a Changed options. 2012-03-09 16:36:43 +01:00
Houtan Bastani 402363bab2 MS-SBVAR: rewrite ms_variance_decomposition 2012-03-08 17:54:35 +01:00
Houtan Bastani 864e0b7c7e MS-SBVAR: rewrite ms_irf 2012-03-08 17:53:58 +01:00
Stéphane Adjemian (Charybdis) eaee103619 Added a test mod file (non linear filters, comparison with linear filters). 2012-03-08 16:56:02 +01:00
Stéphane Adjemian (Charybdis) 3d682766a0 Removed test files (non linear filters). 2012-03-08 15:58:14 +01:00
Stéphane Adjemian (Charybdis) bf1e6a15a5 Changed options and initial condition for tau. 2012-03-08 15:54:20 +01:00
Stéphane Adjemian (Charybdis) f27db56bd0 Added measurement errors in the data set. 2012-03-08 15:44:34 +01: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
Stéphane Adjemian (Charybdis) 91d47148c5 Removed particle filters related mod files from the test suite. 2012-03-05 23:13:32 +01:00
Stéphane Adjemian (Charybdis) a2f3a53634 Parallelization of local_state_space_iteration_2 (used in non linear filters). 2012-03-05 23:11:49 +01:00
Sébastien Villemot 9610cb0b20 Testsuite: add missing files to dist rule 2012-03-05 19:46:01 +01:00
Sébastien Villemot a708d92d45 Added particle filter tests to the testsuite 2012-03-05 19:45:03 +01:00
Sébastien Villemot 31d6d39811 Added test for CMAES 2012-03-05 19:32:18 +01:00
Stéphane Adjemian (Charybdis) d5900f2822 Added test files for non linear filters. 2012-03-04 22:13:00 +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
Marco Ratto 8cde66e466 added test for new option 2012-02-06 17:04:29 +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
Stéphane Adjemian (Charybdis) 2f5ce2403d Fixed typo related to the sign of the Lagrange multiplier. Deleted trailing whitespaces. 2012-02-03 11:25:03 +01:00
Michel Juillard c6849a0194 relaxing slightly the accuracy check in ep/linear.mod (the higher
accuracy didn't pass the test in Octave and could generate problems
accross machine or Matlab versions)
2012-02-02 21:26:49 +01:00
Stéphane Adjemian (Charybdis) 119a8eee3b Added plot (Lagrange multiplier). 2012-01-23 14:47:01 +01:00
Stéphane Adjemian (Charybdis) 0f1dd850ed Added one variable (LM) and one equation to ensure that the Lagrange multiplier is positive.
It appeared that the Lagrange  multiplier simulated by EP is positive,
but the series simulated by SEP are most of the time negative.
2012-01-23 14:46:25 +01:00
Michel Juillard 1f055cd539 adding two tests to the list of daily tests
(./optimal_policy/nk_ramsey.mod ./ep/linear.mod)
2012-01-22 16:13:14 +01:00
Michel Juillard 62b1ed7923 correcting bug in extended path and added a test 2012-01-21 17:50:11 +01:00
Houtan Bastani dcaed91f66 fix to license call (checkout only works for Matlab version >= 2011a) 2012-01-09 11:57:47 +01:00
Michel Juillard 80ca47d62a Merge remote-tracking branch 'local_master/master' into dr1break 2011-12-31 10:10:41 +01:00
Sébastien Villemot 30cbcdbb55 Store histval information for endogenous in M_.endo_histval
Really closes: #157
2011-12-28 11:35:22 +01:00
Stéphane Adjemian (Charybdis) 5c6d93d3f0 Fixed bug (same problem as in f9dc4574). 2011-12-26 11:53:08 +01:00
Stéphane Adjemian (Charybdis) 327f2cf3f0 Fixed bug (related to the last changes in options_.ep structure). 2011-12-26 11:53:08 +01:00
Houtan Bastani 9be84bdf65 make check: fix bug in check for license 2011-12-23 18:22:41 +01:00
Stéphane Adjemian (Charybdis) 3e35dea96d Added plots. Comparison of SEP and EP. 2011-12-22 11:17:24 +01:00
Stéphane Adjemian (Charybdis) 2c04f5c825 Merge branch 'master' of kirikou.dynare.org:/srv/d_kirikou/git/dynare 2011-12-21 18:57:09 +01:00
Stéphane Adjemian (Charybdis) 7a875fe562 Added new test files for (Stochastic) Extended Path method. Simulation of an RBC model with CES technology and irreversible investment constraint. 2011-12-21 18:54:32 +01:00