Commit Graph

10285 Commits (9abac8ccdbad9d405f93bf28d6500d1de183c791)

Author SHA1 Message Date
Stéphane Adjemian (Charybdis) 62c954ff12 Fixes #1287. 2017-01-25 22:13:36 +01:00
Stéphane Adjemian (Charybdis) 40993c4ebe Document integration and unit tests in README.md. 2017-01-25 17:14:51 +01:00
Stéphane Adjemian (Charybdis) 0b1b873160 Updated dseries submodule.
Fixes remaining Octave failing unit tests.
2017-01-25 09:18:28 +01:00
Stéphane Adjemian (Charybdis) b152f3920d Added the possiblity to run the testsuite on a subset of tests.
*Example*

To run all the tests related to the numerical gradient, just type:

~$ make m/gradient

in the tests subfolder. These tests will be done with Matlab. If you want to
test these routines against Octave instead:

~$ make o/gradient

If you want to test against Matlab and Octave:

~$ make gradient.

*Remark*

[1] Integration tests in subfolders can be accessed using the same approach. For
instance:

~/m/observation_trends_and_prefiltering/MCMC

will run all the mod files with matlab in tests/observation_trends_and_prefiltering/MCMC.

[2] Autocompletion works.

[3] Some folders/subfolders are still missing...

(cherry picked from commit 0271f2e8c13d5fe94871fa7aed027047a2cfd36f)
2017-01-24 16:00:50 +00:00
Houtan Bastani a6e74ac7af doc: update manual copyright date 2017-01-23 14:24:30 -05:00
Stéphane Adjemian (Charybdis) da31cca7d4 Fixed bug.
NO_POSTERIOR_KERNEL_DENSITY option was not modifying the expected field in
options_, consequently this option was no honored.
2017-01-20 17:35:43 +01:00
Houtan Bastani 1de5ac8ecf Merge pull request #1379 from JohannesPfeifer/octave_tests
Adjust Octave unit tests
2017-01-18 09:06:40 -05:00
Johannes Pfeifer 875497bc71 Unit test lpdfgweibull.m: adjust upper integration bound under Octave
Does not correctly integrate otherwise as more than 99% of support is 0
2017-01-18 11:01:13 +01:00
Johannes Pfeifer ce4ab7f7d8 Unit test wblinv.m under Octave: adjust tolerance 2017-01-18 10:59:53 +01:00
Houtan Bastani 477a09e9ef Merge pull request #1376 from JohannesPfeifer/remove_unused_varexo2
unit tests: remove more unused exogenous variables
2017-01-11 00:26:26 +01:00
Johannes Pfeifer d5a6f132b5 unit tests: remove more unused exogenous variables 2017-01-10 19:58:44 +01:00
Houtan Bastani 12b8a915e9 submodule update: reporting 2017-01-09 16:20:15 +01:00
Stéphane Adjemian f3af328cb8 Merge pull request #1371 from JohannesPfeifer/remove_unused_varexo
Remove unused exogenous variables from unit tests
2017-01-09 10:41:19 +01:00
MichelJuillard 562b8f7a5c Merge pull request #1139 from JohannesPfeifer/Ramsey_documentation
Correct manual on Ramsey
2017-01-08 20:03:59 +01:00
Johannes Pfeifer c5c465d675 Remove unused exogenous variables from unit tests 2017-01-08 19:00:04 +01:00
Johannes Pfeifer 901121fe30 Merge pull request #1 from MichelJuillard/Ramsey_documentation
minor changes
2017-01-08 18:51:53 +01:00
Michel Juillard 1554f15a65 - rephrased description of objective function value when Lagrange multipliers are
set to 0
- type correction
2017-01-08 17:16:41 +01:00
Houtan Bastani 7fb7dd7ccc fix nested parens for params derivatives. closes #1201 2017-01-05 18:19:37 +01:00
Houtan Bastani a5d3ef21ad update license file for 2017 2017-01-05 15:24:19 +01:00
Houtan Bastani 157369b505 when >32 nested parens encountered in matlab, print error message once per file in which such a situation occurred. #1201 2017-01-05 15:19:13 +01:00
Stéphane Adjemian ba9af24a67 Merge pull request #1370 from JohannesPfeifer/updated_variables
Output UpdatedVariables in oo_ without filtered_variables
2017-01-05 11:50:06 +01:00
Stéphane Adjemian 4dfec0d7fb Merge pull request #1369 from JohannesPfeifer/disp_dr_aux_var
disp_dr: Add case for aux_vars.type==0
2017-01-05 10:44:44 +01:00
Stéphane Adjemian 420fb3896b Merge pull request #1361 from JohannesPfeifer/endogenous_prior_restrictions
Document irf_calibration and moment_calibration in the context of est…
2017-01-05 09:08:52 +01:00
Stéphane Adjemian 77a93d6ff9 Merge pull request #1362 from JohannesPfeifer/MCMC_jumping_covariance
Moving loading of MCMC_jumping_covariance to after display of standar…
2017-01-05 09:02:59 +01:00
Stéphane Adjemian b464226eaa Merge pull request #1358 from JohannesPfeifer/nograph
Implement posterior_nograph option
2017-01-05 06:52:08 +01:00
Stéphane Adjemian (Lupi) 3708b5c4e5 Fixed typo (integration test for nested parenthesis). 2017-01-05 00:32:37 +01:00
Stéphane Adjemian 90982d5fa0 Merge pull request #1357 from rattoma/parallel
Provisions for new node option NumberOfThreadsPerJob. Document option
2017-01-04 23:29:24 +01:00
Stéphane Adjemian (Karaba) 11962c0a21 Added integration test for nested parenthesis.
example1long.mod is the benchmark (less than 32 nested parenthesis). The two
other mod files have more than 32 nested parenthesis (rewrite the sum of
discounted ys using the Horner factorization). Both files compare the approaches
discussed in issue #1201 with the benchmark.
2017-01-04 23:23:41 +01:00
Stéphane Adjemian (Lupi) c893c0620c Merge branch 'pr#1354' 2017-01-04 15:12:32 +01:00
Johannes Pfeifer 2c5b1fed2d Use master function lyapunov_solver.m to call individual solvers 2017-01-04 11:25:44 +01:00
Stéphane Adjemian b946d3c082 Merge pull request #1353 from JohannesPfeifer/Plot_posterior
PlotPosteriorDistributions.m: remove eval commands and fix typo in "m…
2017-01-04 11:20:06 +01:00
Johannes Pfeifer e815c2b4db Output UpdatedVariables in oo_ without filtered_variables
Makes it consistent with manual and closes #1366
2017-01-04 10:57:00 +01:00
Stéphane Adjemian (Karaba) 515e080f49 Do not compute static residuals if steady state routine failed.
Avoids cryptic model dependent error message.
2017-01-04 10:26:22 +01:00
Johannes Pfeifer 65c402469c disp_dr: Add case for aux_vars.type==0
Closes #1367
2017-01-04 09:14:01 +01:00
Marco Ratto 3c892170ef Fixed bug with getting CPU number on mac [see #1272 #838] 2017-01-03 19:24:18 +01:00
Marco Ratto ee7611c8ad added note to commented text, as an alternate option, should bugs/problems be reported with line 60 2017-01-03 19:15:53 +01:00
Houtan Bastani 09e7dde0ea fix warnings introduced in 3b20d41a92 related to size_t/int comparison #1201 2017-01-02 11:38:13 +01:00
Houtan Bastani 6bd1ff8e1c 3b20d41a92 used to_string from C++11 standard which breaks the snapshot build. #1201 2017-01-02 11:21:28 +01:00
Houtan Bastani 952f545cd7 avoid unnecessary processing when a stream has 32 or fewer nested parenthesis. #1201 2016-12-30 18:32:20 +01:00
Houtan Bastani 3b20d41a92 first iteration of fix for nested parenthesis in matlab. #1201 2016-12-30 18:14:08 +01:00
Houtan Bastani 69306b5a82 Merge pull request #1365 from JohannesPfeifer/Octave_tests
Further adjust tolerance of Octave unit tests
2016-12-28 22:20:01 +01:00
Johannes Pfeifer 6c9a08d7e2 Further adjust tolerance of Octave unit tests 2016-12-28 19:30:24 +01:00
Houtan Bastani 9582431bd5 bug fix: end preprocessing with error when more than 32 nested parenthesis are encountered. closes #1201 2016-12-28 14:02:50 +01:00
Houtan Bastani 95ac8536ba doc: update menue for compiler installation 2016-12-28 11:10:02 +01:00
Houtan Bastani 17e343d769 Merge pull request #1363 from JohannesPfeifer/ramsey_policy
Document that ramsey_policy now takes multipliers in the variable list.
2016-12-27 14:38:25 +01:00
Johannes Pfeifer ca6cd152f2 Document that ramsey_policy now takes multipliers in the variable list.
Related to #1355
2016-12-27 14:36:51 +01:00
Houtan Bastani 013043b1dd ramsey_policy: accept all endogenous variables in var_list_, even auxiliary variables. closes #1355 2016-12-27 14:08:50 +01:00
Johannes Pfeifer 7b4fc9ec4a Moving loading of MCMC_jumping_covariance to after display of standard errors and computation of Laplace approximation
Closes #1255
2016-12-27 12:07:22 +01:00
Johannes Pfeifer 8900b99a74 Add posterior_nograph option to fs2000.mod unit test 2016-12-26 13:11:02 +01:00
Johannes Pfeifer d8b0495c77 Make PosteriorIRF.m and pm3.m honor nograph and posterior_nograph option 2016-12-26 13:11:01 +01:00