Commit Graph

1047 Commits (74ed99c6cac1df5456f197cea88ca054353c59f1)

Author SHA1 Message Date
Frédéric Karamé 7df352a60b correct the name of simulated dataset files.
(cherry picked from commit e35beb605bafbd462ec7dc79f0d67f7455a93dbd)
2016-06-01 16:40:26 +02:00
Michel Juillard c159dff19c adding hook for PATH solver 2016-05-31 12:10:12 +02:00
Johannes Pfeifer eca30eff75 Modify lmmcp unit test to have second (name) tag 2016-05-28 19:31:53 +02:00
Stéphane Adjemian (Charybdis) 03da338b05 Added more informative error messages. 2016-05-25 12:54:47 +02:00
Stéphane Adjemian (Charybdis) 6007d51ef4 Code factorization. 2016-05-25 12:42:56 +02:00
Stéphane Adjemian (Charybdis) 0ea9bc4e90 Fixed typo introduced in 0abb9dc6f9. 2016-05-24 21:18:13 +02: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) 4bd8ef7a9f Added new integration tests.
Simulation of the Smets and Wouters perfect foresight model, with a
productivity shock such that the nominal interest rate hits the
ZLB. Comparison of the solutions returned by a Newton
algorithm (stack_solve_algo==0) and the LMMCP algorithm. AT the time of
this commit, the results are different... Probably an issue with the
LMMCP algorithm.
2016-05-24 17:28:24 +02:00
Stéphane Adjemian (Hermes) 7eed391eb7 Do not display max. abs. error. 2016-05-24 17:26:06 +02:00
Stéphane Adjemian (Hermes) 4e8fcf6d47 Use lmmcp option in integration tests. 2016-05-24 17:26:06 +02:00
Stéphane Adjemian (Hermes) 7355214413 Added integration tests for lmmcp in testsuite.
Also merged rbcii.mod and rbciia.mod.
2016-05-24 17:26:06 +02:00
Stéphane Adjemian (Charybdis) 8763c29f34 Renamed and changed integration test for sim1_purely_forward routine.
Check the results against analytical solution. Also added a new
integration test (ar1.mod).
2016-05-24 17:26:06 +02:00
Stéphane Adjemian (Charybdis) 02c71eb270 Renamed and changed integration test for sim1_purely_backward routine.
Compare the solution returned by sim1_purely_backward with the true solution.
2016-05-24 17:26:06 +02:00
Stéphane Adjemian (Charybdis) 0abb9dc6f9 Added integration test.
Comparison of the solutions for the endogenous variables in perfect
foresight models with stack_solve_algo equal to 0 and 6 (LBJ, legacy
algorithm).
2016-05-24 17:26:06 +02:00
Stéphane Adjemian (Hermes) f0229f3b1c Removed workspace() in examples. 2016-05-23 13:48:19 +02:00
Stéphane Adjemian (Hermes) 2e8f528bef Cosmetic changes.
+ Renamed model as model_
+ Renamed options as options_
+ Renamed output as oo_
+ Also export oo_ and options_
+ Fixed typos in comments.
2016-05-23 13:48:19 +02:00
Stéphane Adjemian (Hermes) c3b5aee714 Specialize @dynare macro if one model is processed.
In this case importall is used instead of import.
2016-05-23 13:48:19 +02:00
Stéphane Adjemian (Hermes) 4bf436ec33 Fixed typo in comments. 2016-05-23 13:48:19 +02:00
Stéphane Adjemian (Hermes) 5998558c32 Fixed deprecated require issue + Changed interface
+ Fixed deprecated require().

+ Changed @dynare macro and added new macro @compile.
  The new macro @compile just runs the preprocessor, while the macro
  @dynare calls compile and put the generated objects in the
  workspace. Note that this macro can take an arbitrary number of mod
  files as argument.

      *Example*

      @dynare "rbc.mod" "nk.mod"

      Will run the preprocessor on both models, and the generated
      data (model descriptions, options, ...) are available in the
      workspace. For instance, to obtain the number of equations:

	julia> rbc.model.eq_nbr
   	6

   	julia> nk.model.eq_nbr
   	10

   	@compile "rbc.mod" "nk.mod"

   	Will run the preprocessor on both models, but will not load the
   	generated data in the workspace. This can be done as follows:

   	julia> using rbc

+ Changed examples (rbc1 has a steady state block but not rbc2), using
  new interface.
2016-05-23 13:48:19 +02:00
Johannes Pfeifer fb57ef453d Put all OSR unit tests into subfolder and add one for parameter bounds 2016-05-22 11:41:54 +02:00
Stéphane Adjemian 0521aa4e09 Merge pull request #1188 from JohannesPfeifer/slice_marco
Add slice and factorization of posterior samplers
2016-05-22 01:45:14 +02:00
Houtan Bastani 5fcd502f3c preprocessor: allow comments in parallel config file. closes #1194 2016-05-20 17:22:26 +02:00
Johannes Pfeifer aaa7318da4 Add unit test for independent MH 2016-05-19 14:37:05 +02:00
Johannes Pfeifer 969aa44963 Move slice test to separate folder 2016-05-19 14:37:05 +02:00
Johannes Pfeifer fad10d63b6 Adjust unit tests to reflect factorization of posterior sampler interface 2016-05-19 14:37:05 +02:00
Johannes Pfeifer a9fc65fbce Use steady_state_model block in fs2000_slice.mod 2016-05-19 14:37:05 +02:00
Marco Ratto 7b3c42c6e1 provisions for reworked posterior sampling options:
- handle sub lists of individual samplers
- split checks in dynare_estimation_init.m and before running posterior_sampler.m [invhess checks]
- posterior sampler options checks moved from initial_estimation_checks.m to check_posterior_sampler_options.m
- added use_mh_covariance_matrix to imh and rwmh
- slice re-sets mode_compute=0 cova_compute=0
- updated test function
2016-05-19 14:37:05 +02:00
Houtan Bastani cf6e3cb14c preprocessor: rework posterior sampler options, #1177 2016-05-19 14:37:05 +02:00
Marco Ratto ab8aa917e3 slice test moved to estimation folder 2016-05-19 14:34:09 +02:00
Marco Ratto 0497943f02 two steps slice sampling with rotation 2016-05-19 14:34:09 +02:00
Marco Ratto 6aa65e2a6a Added test function for slice sampler 2016-05-19 14:34:09 +02:00
Houtan Bastani e1bdd830af testsuite: fix race condition in accessing .mat file 2016-05-10 11:34:17 +02:00
Houtan Bastani ccb197e74f fix copyright dates 2016-05-09 12:42:58 +02:00
Michel Juillard d9e73b5477 fixing test case for loglinear models 2016-05-06 09:07:43 +02:00
Michel Juillard 034bd0367b test cases for loglinear with lead/lagged exogenous variables 2016-05-05 20:41:02 +02:00
Michel Juillard 5d321c86ce add test case for purely backward model 2016-04-16 17:21:42 +02:00
Johannes Pfeifer bfe3dded99 Add diffuse filter statement to nonstationary mod-file to prevent unit test from crashing 2016-04-15 15:00:50 +02:00
MichelJuillard 3d6c184566 Merge pull request #1168 from JohannesPfeifer/filter_tests
Improve speed of filtering unit tests and clean up setting of options
2016-04-15 09:50:49 +02:00
MichelJuillard a21aa064c9 Merge pull request #1166 from JohannesPfeifer/kalman_fixes
Kalman fixes
2016-04-15 09:50:25 +02:00
Johannes Pfeifer aff80b4ee3 Improve speed of filtering unit tests and clean up setting of options 2016-04-15 09:23:07 +02:00
Michel Juillard 920d212d95 shock decomposition: adding test case for groups 2016-04-15 09:06:26 +02:00
Johannes Pfeifer 30be2ed62a Add unit test for smoother only on nonstationary model 2016-04-14 20:11:50 +02:00
Johannes Pfeifer 9d6126c5f6 Make fs2000_smoother_only.mod call all Kalman options 2016-04-14 20:11:50 +02:00
Stéphane Adjemian (Scylla) efc193e429 Fixed typo in testsuite. 2016-04-13 22:25:52 +02:00
Johannes Pfeifer 994b9e5f16 Reduce runtime of unit tests by decreasing iteration number 2016-04-12 14:58:11 +02:00
MichelJuillard a8cc21eb97 Merge pull request #1163 from JohannesPfeifer/Smoother_fixes
Various fixes and documentation improvements related to smoother, trends and selected_variables_only option
2016-04-12 14:22:19 +02:00
MichelJuillard aa1a0b5e25 Merge pull request #1052 from JohannesPfeifer/lin_solve_robust
Integrate robust linear solver for stack_solve_algo=0
2016-04-12 12:06:22 +02:00
Johannes Pfeifer 5c40bcef8d Fix trend unit tests to account for classical smoother returning results in declaration rule order after fixing #1161 2016-04-12 11:41:15 +02:00
Johannes Pfeifer f5900aa03b Add unit test for selected_variables_only option in smoother 2016-04-12 11:37:57 +02:00
Johannes Pfeifer 5b1a97f777 Add unit test for conditional_forecast with trends and loglinear 2016-04-09 09:45:21 +02:00
Johannes Pfeifer 450dd465fd Reduce time intensity of unit tests by reducing number of iterations 2016-04-09 09:45:21 +02:00
Johannes Pfeifer 44b3092162 Fix merge conflict that undid commit 943db6fb24 2016-04-09 09:45:21 +02:00
Johannes Pfeifer 31c422e3d1 Add datafile to observation trends and prefiltering tests 2016-04-09 09:45:21 +02:00
Johannes Pfeifer ec1bb2138a Enable erroneously disabled unit tests 2016-04-09 09:45:21 +02:00
Johannes Pfeifer 4b83c1bf76 Integrates Tom Holden's robust linear solver
Supersedes #984
2016-03-25 09:59:20 +01:00
Stéphane Adjemian(Charybdis) b688cbe5b2 Merge branch 'master' into johannes_perfect_foresight_test 2016-03-24 23:01:11 +01:00
Stéphane Adjemian (Lupi) fd850ca5bd Merge branch 'master' into lik_init_5_fixes
Conflicts:
	doc/dynare.texi
	tests/Makefile.am
2016-03-24 17:40:27 +01:00
Johannes Pfeifer d84bf3e107 Add unit tests for perfect foresight to detect issues with histval 2016-03-23 20:15:57 +01:00
Johannes Pfeifer da5f7243e9 Add missing data file and options for kalman_filter_smoother/compare_results_simulation unit tests 2016-03-23 10:48:23 +01:00
Johannes Pfeifer 2139420336 Factorize unit tests for observation trends 2016-03-23 10:48:22 +01:00
Johannes Pfeifer acd08bba0e Add means and trends to Bayesian smoother results
Also adjusts unit test
2016-03-23 10:47:25 +01:00
Johannes Pfeifer df54e8fcab Add unit tests for correctness of smoother results 2016-03-23 10:46:30 +01:00
Johannes Pfeifer 018fed21cd Add unit test for calibrated smoother
Tests loglinear, prefilter, and first_obs options
2016-03-23 10:35:40 +01:00
Johannes Pfeifer 8c8587d89b Add factored unit tests for mh_recover 2016-03-16 19:04:03 +01:00
Michel Juillard 066c79f46a test case for previous commit 2016-03-07 21:51:45 +01:00
Johannes Pfeifer 2e359cac02 Widen tolerance criterion in unit test 2015-12-17 17:06:53 +01:00
Johannes Pfeifer af627b8ecf Adapt estimated parameters to not hit prior bounds 2015-12-17 17:06:33 +01:00
Johannes Pfeifer e5894c4157 Add eps-loaders to GSA output 2015-12-14 14:09:37 +01:00
Johannes Pfeifer 4f9b141c76 Add eps-loaders to identification codes 2015-12-14 11:26:33 +01:00
Johannes Pfeifer 1c630a8172 Add trace_plot to LaTeX unit test 2015-12-13 17:45:10 +01:00
Stéphane Adjemian (Charybdis) 5ef86416bf Merge branch 'cmr-prior' 2015-12-04 15:06:28 +01:00
Stéphane Adjemian (Charybdis) a0119404c5 Added integration test for the Weibull prior. 2015-12-04 15:04:10 +01:00
Houtan Bastani 943db6fb24 testsuite: move tests/reporting/example1.mod to examples/example1_reporting.mod. closes #1111 2015-12-01 13:53:08 +01:00
Michel Juillard 717967f31f adding forgotten test file 2015-11-28 21:02:10 +01:00
Michel Juillard c373d1e1be adding new option 'fast_kalman_filter' implementing Ed Herbst 2012 approach 2015-11-28 17:38:00 +01:00
Stéphane Adjemian (Charybdis) cbe236730c Factorized tests and removed time consuming and out of scope parts. 2015-11-04 22:19:14 +01:00
Johannes Pfeifer a7ed27b889 Document lik_init=5 and add unit test for lik_init 2015-10-18 18:55:33 +02:00
Stéphane Adjemian (Charybdis) cf17040915 Added integration test for PR #1062 (conditional forecasts). 2015-10-16 17:22:33 +02:00
Houtan Bastani f583add550 prior_posterior_function: save results to different structures, depending on which command was called 2015-10-14 11:19:12 +02:00
Houtan Bastani fd5ce1366e preprocessor: change prior_posterior_function into two arguments. closes #1076 2015-10-14 11:02:35 +02:00
Stéphane Adjemian (Charybdis) 6ea5bdde34 Merge branch 'johannes_bandpass' 2015-10-13 23:56:22 +02:00
Stéphane Adjemian (Charybdis) a13c852feb Removed calls to autocorr routine in integration test.
This routine is part of the matlab's statistical toolbox which is not
required by Dynare (and not available on karaba). Use
sample_autocovariance routine instead.
2015-10-13 23:50:38 +02:00
Johannes Pfeifer f7175745ac Add one-sided HP filter 2015-10-13 20:50:03 +02:00
Houtan Bastani 8c44936846 prior_posterior_function: modify test to accord with preprocessor changes #1076 2015-10-13 17:41:45 +02:00
Houtan Bastani c45a054c6f modify calling structure of execute_prior_posterior_function and update doc 2015-10-13 15:13:35 +02:00
Stéphane Adjemian d3eca9338b Merge pull request #1038 from JohannesPfeifer/kernel_density
Allow computing posterior kernel density
2015-10-12 23:23:07 +02:00
Michel Juillard 8be2841582 fixing Makefile.am error 2015-10-12 22:39:03 +02:00
Johannes Pfeifer 2c63ca8843 Add unit tests for HP filter, bandpass filter, and spectral density 2015-10-12 21:18:51 +02:00
Johannes Pfeifer 40877685f2 Add LaTeX-output option to table from stoch_simul.m 2015-10-12 20:42:04 +02:00
Johannes Pfeifer 3902c86407 Add unit test for variance decomposition 2015-10-12 20:42:02 +02:00
Johannes Pfeifer b7cbb563d6 Allow suppressing density of smoother and forecast objects 2015-10-12 15:34:52 +02:00
MichelJuillard 866ab33575 Merge pull request #1042 from JohannesPfeifer/discretionary
Various fixes for discretionary_policy
2015-10-10 22:25:46 +02:00
MichelJuillard b51b037ef2 Merge pull request #871 from JohannesPfeifer/prior_posterior_function
Add functionality Prior posterior function
2015-10-10 22:17:53 +02:00
Stéphane Adjemian (Charybdis) dcf7cfbc4b Cosmetic change (testsuite).
Do not print warnings with Matlab>=R2015b because of the exit command at the end of the run_test_matlab script.

Do not print
2015-10-10 02:26:40 +02:00
Stéphane Adjemian 3490e400bc Merge pull request #1015 from JohannesPfeifer/model_comparison
Bugfixes and improvements for model_comparison
2015-10-09 17:11:15 +02:00
Michel Juillard 035adeb89e Revert "More fixing related to objective_function_penalty_base"
This reverts commit 1ad8df4635.
2015-10-09 14:23:31 +02:00
Michel Juillard 9be5c31761 Revert "More fixing of the same"
This reverts commit a54dda165f.
2015-10-09 14:23:31 +02:00
Michel Juillard bc37c838c7 Revert "more fixes for penalty objective function"
This reverts commit 3dac7f8809.
2015-10-09 14:23:31 +02:00
Stéphane Adjemian (Charybdis) bf51be7efd Revert "Revert "test suite: add rule for text files""
This reverts commit 4825745047.
2015-10-08 23:20:35 +02:00
Stéphane Adjemian (Charybdis) 6396794b5b Revert "Revert "test suite: adjust display of results appropriately depending on whether octave/matlab or both were used""
This reverts commit 62b1c85fd4.
2015-10-08 23:20:08 +02:00
Stéphane Adjemian (Charybdis) 276c34f394 Revert "Temporarily removed an integration test."
This reverts commit 7b2ccc5a52.
2015-10-08 21:53:22 +02:00
Michel Juillard 3dac7f8809 more fixes for penalty objective function 2015-10-08 20:57:00 +02:00
Michel Juillard a54dda165f More fixing of the same 2015-10-08 20:57:00 +02:00
Michel Juillard 1ad8df4635 More fixing related to objective_function_penalty_base 2015-10-08 20:57:00 +02:00
Stéphane Adjemian (Charybdis) 7b2ccc5a52 Temporarily removed an integration test.
tests/recursive/ls2003_bayesian_xls.mod causes a seg fault under Octave
3.8.2 (Debian/Jessie).
2015-10-07 12:22:50 +02:00
Stéphane Adjemian (Charybdis) 38059daccf Added integration test. 2015-10-07 12:20:40 +02:00
Stéphane Adjemian (Charybdis) 62b1c85fd4 Revert "test suite: adjust display of results appropriately depending on whether octave/matlab or both were used"
This reverts commit 1bc965625c.
2015-10-06 16:38:59 +02:00
Stéphane Adjemian (Charybdis) 4825745047 Revert "test suite: add rule for text files"
This reverts commit 7e41cc170b.
2015-10-06 16:38:59 +02:00
Michel Juillard c0bc1f949b removing old test files 2015-10-06 13:44:52 +02:00
Stéphane Adjemian (Charybdis) f215e77a3e Reduced execution time of tests/optimizers/fs2000_6. 2015-10-06 11:34:56 +02:00
Houtan Bastani 7e41cc170b test suite: add rule for text files 2015-10-05 12:30:01 +02:00
Houtan Bastani 1bc965625c test suite: adjust display of results appropriately depending on whether octave/matlab or both were used 2015-09-23 13:56:16 +02:00
Houtan Bastani d7d8af34a0 preprocessor: remove create_timing_csv.sh (moved to testsuite.git) 2015-09-21 10:59:20 +02:00
Houtan Bastani 51ab885e68 test suite: fix naming in graph when a point is highlighted 2015-09-17 15:50:34 +02:00
Houtan Bastani 06e76386eb fix bug in 9d81916b82 2015-09-17 11:35:26 +02:00
Houtan Bastani 9d81916b82 test suite: make test work for non-dynbot users on Linux and OS X 2015-09-17 11:30:10 +02:00
Houtan Bastani b28f9ef0b3 test suite: prettier printing of timing results 2015-09-17 11:05:52 +02:00
Houtan Bastani 67410d87cf fix permissions on create_timing_csv.sh 2015-09-16 10:35:19 +02:00
Houtan Bastani 42d100f8c1 test suite: add header to timing files 2015-09-15 17:38:32 +02:00
Houtan Bastani c6e75df544 test suite: save timing info for graphs. #298 2015-09-11 15:24:05 +02:00
Houtan Bastani 5c006a4370 test suite: add timing, report 10 slowest tests. #298 2015-09-11 15:21:51 +02:00
Houtan Bastani 268384572b Merge pull request #1017 from JohannesPfeifer/gsa_fix
Fix bugs in gsa with morris and posterior sampling
2015-09-09 11:44:49 +02:00
Houtan Bastani 09e5440b69 test suite: fix bugs introduced in ad66a7bb35 and fe221bbc42 that broke parallel processing of test suite 2015-09-09 10:44:52 +02:00
Houtan Bastani 55acc0e557 Merge pull request #1049 from JohannesPfeifer/ramsey_test
Add unit test for Ramsey policy that checks correctness with analytic…
2015-09-08 13:57:07 +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
Houtan Bastani 8d54aeeaf6 preprocessor: add relative_irf option to irf_calibration block. closes #720 2015-09-07 11:49:17 +02:00
Houtan Bastani 11eaf27453 Merge branch 'julia' 2015-09-01 11:35:16 +02:00
Houtan Bastani fbe50131be test: add @#includepath to test 2015-08-31 14:33:00 +02:00
Stéphane Adjemian edcddd9008 Merge pull request #1037 from JohannesPfeifer/rolling_window
Add capacities for rolling window estimation
2015-08-31 12:56:02 +02:00
Johannes Pfeifer 752bc543b4 Add unit test for correctness of discretionary policy 2015-08-30 12:03:43 +02:00
Johannes Pfeifer 9e504a1293 discretionary_policy: Add check whether equation number is consistent with declared number of instruments
Also fixes unit test that violated this.
2015-08-30 11:43:54 +02:00
Houtan Bastani ae49cddd1d preprocessor: allow for [paths] block in dynare config file. closes #1039 2015-08-28 18:06:30 +02:00
Johannes Pfeifer f80f0f9258 Add capacities for rolling window estimation 2015-08-25 15:37:25 +02:00
Michel Juillard 511801c903 finalize svar_global_identification_check 2015-08-24 14:53:27 +02:00
Houtan Bastani bba553ff32 modify *_set_auxiliary_variables to work in julia 2015-08-17 15:36:18 +02:00
Houtan Bastani a917d5e998 only add path to LOAD_PATH if it is not already there 2015-08-17 12:29:59 +02:00
Houtan Bastani 96869fbd76 add workspace() command to the beginning of test.jl 2015-08-17 11:45:24 +02:00
Johannes Pfeifer 35bd2ed5d0 Add unit test for model_comparison 2015-08-13 17:49:14 +02:00
Stéphane Adjemian (Charybdis) 7c0cf3eff3 Added bash script for deleting generated files. 2015-08-13 11:12:39 +02:00
Stéphane Adjemian (Charybdis) ed12ea429b Added @dynare macro. 2015-08-13 11:11:50 +02:00
Stéphane Adjemian (Charybdis) b2bf59e8da Added example (rbc model). 2015-08-12 18:37:41 +02:00
Johannes Pfeifer 698a44c98a Add option for storing contemporaneous correlation 2015-08-11 11:27:55 +02:00
Johannes Pfeifer 40faefa182 Clarify unit test dependencies
fs2000 is needed by other tests while fs2000_mf.mod is redundant

Closes #1018
2015-08-06 14:27:36 +02:00
Johannes Pfeifer 1134e34caa Add unit test for posterior sampling with morris and rmse 2015-08-06 12:28:51 +02:00
Houtan Bastani 779e59cf02 test suite: add missing deletion of downloaded binaries 2015-08-03 08:52:12 +02:00
Johannes Pfeifer 5adfe426bc Correct copy and paste mistake in comparison_policy_functions_dynare_mathematica.m 2015-08-01 08:26:38 +02:00
Johannes Pfeifer 30b277e6af Fix filename in unit test 2015-07-31 22:55:21 +02:00
Johannes Pfeifer a708037feb Unit test checking correctness of decision rules against results from Dynare 4.3.2
Detects problems as the unnoticed one introduced by caa04fb251
2015-07-31 17:45:32 +02:00
Johannes Pfeifer 7fbc587ae1 Lower tolerance for unit tests/irfs/example1_unit_std.mod
Otherwise, Octave complains
2015-07-30 10:00:40 +02:00
Michel Juillard e5d431919c fixing one more test case for deterministic simulations and leads lags
on more than one period
2015-07-29 16:36:13 +02:00
Michel Juillard 0cccceff86 fixed test cases for deterministic simulations with histval and leads
and lags on more than one period: All variables different from zero
must be declared in histval. The reference simulation has one lag
because of k(-1).
2015-07-29 16:12:53 +02:00
Johannes Pfeifer 02bd634046 Add unit test for prior/posterior function 2015-07-28 15:37:01 +02:00
Johannes Pfeifer 0f50f33c2c Initialize M_.dname=M_.fname in global_initialization.m
Closes #979
2015-07-28 15:23:53 +02:00
Johannes Pfeifer 19b7f5ea7f Bugfixes related to collect_LaTeX_Files.m
- deals with potentially unset M_.dname
- loads missing float package
- prevents crash when longnames is not used
2015-07-26 17:49:54 +02:00
Johannes Pfeifer 126e04da20 Correct case-sensitive spelling in unit tests that stops testsuite in Linux 2015-07-24 08:34:16 +02:00
MichelJuillard d82524ad1d Merge pull request #987 from JohannesPfeifer/mixed_estimation
Prevent mixed ML/Bayesian estimation
2015-07-23 15:57:03 +02:00
MichelJuillard f21e02f6b9 Merge pull request #986 from JohannesPfeifer/foresight_auxvar_tests
Add unit tests for dealing with multiple leads and lags
2015-07-23 15:56:19 +02:00
Johannes Pfeifer 244462adb6 Add unit test for disallowing mixed ML/Bayesian estimation 2015-07-23 14:44:26 +02:00
Johannes Pfeifer 9f21d2724f Add unit tests for dealing with multiple leads and lags 2015-07-23 14:05:58 +02:00
Johannes Pfeifer 0fd76e0c6f Assigning unique function for each input argument of lyapunov_symm.m
The old way of redefining input arguments to satisfy different options was too error-prone. See 69daaa0460b0ddee97292c39d40355201e316622 of tholden
2015-07-22 15:11:39 +02:00
Johannes Pfeifer bccadf7b03 Add compilation of TeX-binder to unit test 2015-07-22 13:46:57 +02:00
Johannes Pfeifer 3c5705d8d4 Make covariance matrix in example positive definite 2015-07-21 16:18:45 +02:00
Johannes Pfeifer 386225d4e6 Delete redundant steady_state_model block (was present twice). 2015-07-21 11:49:48 +02:00
Johannes Pfeifer 1f0897005f Add mod.file lost in 6d048d8766 2015-07-21 10:02:34 +02:00
Johannes Pfeifer b159d4227c Fix wrong name of unit test in Makefile.am and make name more expressive 2015-07-20 21:17:44 +02:00
MichelJuillard 80253835a7 Merge pull request #738 from JohannesPfeifer/Kalman
Kalman
2015-07-20 15:02:40 +02:00
MichelJuillard f94910173d Merge pull request #937 from JohannesPfeifer/graph_fix
Various fixes related to graphs and eps-TeX-loaders
2015-07-20 14:36:20 +02:00
MichelJuillard 2269b38465 Merge pull request #740 from JohannesPfeifer/relative_irf
Fix and document relative_irf
2015-07-20 14:20:00 +02:00
MichelJuillard e174f5f00a Merge pull request #726 from JohannesPfeifer/steady_linear
Prevent incorrect steady state from being accepted if model is not truly linear
2015-07-20 14:06:03 +02:00
Johannes Pfeifer 1dfb6ea327 Add unit tests for Kalman filter calls from Matlab 2015-07-20 13:10:30 +02:00
MichelJuillard ce3dc068c3 Merge pull request #692 from JohannesPfeifer/imcforecast
Account for initial values when making conditional forecasts
2015-07-20 10:18:43 +02:00
Stéphane Adjemian (Charybdis) caaabe9436 Added integration test for the linear_approximation option in
perfect foresight model simulation.

Using a linearized version of the SW model we check that the
linear_approximation option does not affect the results.
2015-07-08 11:23:13 +02:00
Michel Juillard dd1f761549 adding tests using lmmcp
(cherry picked from commit 2ddfcf2f73)
2015-07-07 16:45:20 +02:00
Johannes Pfeifer d76b3a722e Make use of preprocessor to set options_.silent_optimizer 2015-07-06 08:22:13 +02:00
Stéphane Adjemian 71700dff76 Merge pull request #942 from JohannesPfeifer/TaRB_integration
Integrate the TaRB-algorithm into Dynare
2015-06-19 14:30:56 +02:00
Stéphane Adjemian (Charybdis) 462639103f Added command to download binary data file from www.dynare.org/Datasets. 2015-06-18 14:55:21 +02:00
Stéphane Adjemian (Charybdis) af29c078ad Added integration test (deterministic simulation invoking solve_one_boundary routine). 2015-06-18 14:50:21 +02:00
Stéphane Adjemian 3fd010ff91 Merge pull request #957 from JohannesPfeifer/fs2000_steady_state
Update unit tests to use correct steady state files
2015-06-18 14:25:01 +02:00
Houtan Bastani aeb1542b48 preprocessor: add VerbatimStatement class. Closes #953 2015-06-16 12:48:32 +02:00
Johannes Pfeifer aa4f38b60a Add unit test to filter out incorrectly accepted steady state 2015-06-08 18:10:57 +02:00
Johannes Pfeifer 52f9d164ac Add routine for creating parameter table 2015-06-08 17:59:57 +02:00
Johannes Pfeifer e1aaa1796f Add unit test for LaTeX eps-loaders 2015-06-08 17:59:56 +02:00
Johannes Pfeifer aa4b07610e Add unit test for TaRB MH-algorithm 2015-06-08 16:48:58 +02:00
Johannes Pfeifer 0769fd1cce Add verbosity and SaveFile options to some optimizers
Also moves additional optimizer-related files to corresponding subfolder
Closes #894
2015-06-08 16:44:44 +02:00
Johannes Pfeifer e7bf0672f5 Add unit test for relative_irf option 2015-06-08 16:39:08 +02:00
Johannes Pfeifer fe221bbc42 Add/adapt unit test for conditional forecasts with initval and histval blocks 2015-06-08 16:12:37 +02:00
Johannes Pfeifer ad66a7bb35 Account for initial values when making conditional forecasts
- Closes #655
- Implements unit test
- Saves distribution of controlled exogenous variables
- Adds information that the full path of constrained variables must be specified
2015-06-08 15:42:14 +02:00
Houtan Bastani 41155369ac Merge pull request #955 from JohannesPfeifer/identification_fixes
Various fixes to GSA and Identification
2015-06-08 10:17:24 +02:00
Johannes Pfeifer 2479a4fa66 Delete redundant initval-block from fs2000.common.inc 2015-06-07 18:11:28 +02:00
Johannes Pfeifer ba7087ca65 Add moments_varendo to fs2000 unit test
Was not triggered elsewhere
2015-06-07 17:27:30 +02:00
Johannes Pfeifer 0104f91f4b Replace initval blocks by steady_state_model blocks in fs2000 unit tests
Speeds up estimation
2015-06-07 17:11:39 +02:00
Johannes Pfeifer 0c9937f33c Add unit test for ML with morris 2015-06-05 20:50:29 +02:00
Johannes Pfeifer fbaf27493c Add unit tests for correctness of identification results when only standard deviations are estimated
Compares results for standard deviations specified with varexo to results when specified as deep parameter
2015-06-05 18:23:47 +02:00
Stéphane Adjemian (Lupi) 398718d48f Revert "Load xls file instead of xlsx file in tests/recursive/ls2003_bayesian_xls.mod (Octave testsuite)."
This reverts commit 0fb612fad1.
2015-06-05 17:14:20 +02:00
Stéphane Adjemian (Lupi) 0fb612fad1 Load xls file instead of xlsx file in tests/recursive/ls2003_bayesian_xls.mod (Octave testsuite). 2015-06-05 16:49:09 +02:00
Johannes Pfeifer 2aa341f730 Add unit test for diffuse filter in identification 2015-06-05 16:42:43 +02:00
Stéphane Adjemian (Karaba) 1658e5b997 Exclude recursive/ls2003_bayesian_xls.mod from testsuite if Octave version is less than 3.8 (problem for reading xls files). 2015-06-05 16:33:53 +02:00