Commit Graph

9257 Commits (369d8dd7a420704f2fb2988dcb8913c77eeaacb3)

Author SHA1 Message Date
Stéphane Adjemian (Charybdis) 5834ed4446 Added checks for the input arguments of wblinv routine. 2015-12-11 18:50:54 +01:00
Stéphane Adjemian (Charybdis) d676c67f03 Added CDF for the Weibull distribution. 2015-12-11 18:50:54 +01:00
Stéphane Adjemian (Charybdis) d9cb5da148 Added unit test. 2015-12-11 18:50:54 +01:00
Stéphane Adjemian (Charybdis) 32475c90b0 Fixed typo in unit test. 2015-12-11 18:50:54 +01:00
Stéphane Adjemian (Charybdis) 1a07f95218 Fixed bug in the unit test for the mode of beta density. 2015-12-11 18:50:54 +01:00
Stéphane Adjemian (Charybdis) 0a4b9bfb3d Added missing semicolon. 2015-12-11 18:50:54 +01:00
Stéphane Adjemian (Charybdis) 09498d30eb Updated header doc. 2015-12-11 18:50:54 +01:00
Stéphane Adjemian (Charybdis) 3c42f7e362 Added try-catch blocks in unit tests. 2015-12-11 18:50:54 +01:00
Johannes Pfeifer 8c9736f93f Add unit tests for compute_prior_mode.m
(cherry picked from commit 7d9c3ee365aba25c131b423596a1446eafd9c6ec)
2015-12-11 18:50:54 +01:00
Stéphane Adjemian (Charybdis) 09b4928ca8 Added lower bound as an argument. 2015-12-11 18:50:54 +01:00
Stéphane Adjemian (Charybdis) cfefa6951c Changed inputs of inverse_gamma_specification routine and added unit tests. 2015-12-11 18:50:54 +01:00
Stéphane Adjemian (Charybdis) 887e44f2b0 Cosmetic change. Removed loop. 2015-12-11 18:50:54 +01:00
Stéphane Adjemian (Charybdis) 85a4a082ad Added a routine for computing the hyperparameters of the Beta distribution from the expectation and the variance (with unit tests). 2015-12-11 18:50:54 +01:00
Stéphane Adjemian (Charybdis) 24848a2ba4 Added a routine for computing the hyperparameters of the Gamma density from the expectation and the variance (with unit tests). 2015-12-11 18:50:54 +01:00
Stéphane Adjemian (Charybdis) 02d53b5d1d Use statistics toolbox if available for the Weibull inverse CDF. 2015-12-11 18:50:54 +01:00
Stéphane Adjemian (Charybdis) a1aa2bcd6e Changed second input of prior_bounds routine.
Do not pass options_ structure but only the required field (prior_trunc).
2015-12-11 18:50:54 +01:00
Houtan Bastani 8cd35f043e add files to EXTRA_DIST 2015-12-08 14:31:32 +01:00
Houtan Bastani e50008d717 contributions: add more info on reporting bugs, #1114 2015-12-08 14:31:27 +01:00
Houtan Bastani 25bce2d767 Add CONTRIBUTING.md. #1114 2015-12-08 13:45:05 +01:00
Stéphane Adjemian (Charybdis) f9436350f1 Added weibull prior in the manual. 2015-12-04 18:48:16 +01:00
Stéphane Adjemian (Charybdis) a859861e19 Fixed Bug.
Forgot to rename calls to the routine generating Weibull deviates.
2015-12-04 18:42:26 +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
Stéphane Adjemian (Charybdis) 5fb1b1cc23 Added Weibull prior. 2015-12-04 14:50:44 +01:00
Houtan Bastani 954e57c421 reporting: submodule update 2015-12-02 12:39:51 +01:00
Houtan Bastani b7e7d73177 reporting: submodule update 2015-12-01 14:34:26 +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
Houtan Bastani 15716124fa preprocessor: fix divergence of equations and aux_equations. closes #1110 2015-12-01 12:34:43 +01:00
Houtan Bastani 4ff17d6191 Revert "preprocessor: write auxiliary variable definitions to matlab function"
This reverts commit ad81129a9b.
2015-12-01 11:41:55 +01:00
Michel Juillard 9c42ebaa56 fix bug introduced in commit 105100c7fe 2015-11-30 21:31:25 +01:00
Houtan Bastani ad81129a9b preprocessor: write auxiliary variable definitions to matlab function 2015-11-30 15:36:17 +01:00
Michel Juillard 717967f31f adding forgotten test file 2015-11-28 21:02:10 +01:00
Michel Juillard fb3f9a6475 fixing the reference to Herbst 2015-11-28 18:20:36 +01:00
Michel Juillard c373d1e1be adding new option 'fast_kalman_filter' implementing Ed Herbst 2012 approach 2015-11-28 17:38:00 +01:00
Michel Juillard 105100c7fe remove global in dyn_forecast() and change input and output arguments 2015-11-28 17:38:00 +01:00
Michel Juillard eb3d0cd20e fix problem with nobs 2015-11-28 17:38:00 +01:00
Stéphane Adjemian 5bbdf02f73 Merge pull request #1109 from JohannesPfeifer/small_bugfixes
Small bugfixes
2015-11-28 15:25:52 +01:00
Johannes Pfeifer 09e03e7a6f Move closing of file in mode_check.m out of the loop
Code will otherwise crash with more than one figure to plot.
2015-11-28 14:07:36 +01:00
Johannes Pfeifer 2f010aa5de Set Filter order for BK-filter in disp_moments.m to more reasonable value 2015-11-28 14:06:56 +01:00
Johannes Pfeifer 0eba93dd71 Add missing input argument in newrat.m to prevent crashes 2015-11-28 14:06:10 +01:00
Stéphane Adjemian 88467aa275 Merge pull request #1108 from FerhatMihoubi/Branch_basic_plan
Fix a typo in basic_plan.m
2015-11-27 15:32:25 +01:00
ferhat 231cf19438 Fix a typo in basic_plan.m 2015-11-27 12:11:42 +01:00
Stéphane Adjemian (Charybdis) 83a6963286 Rewrote get_file_extension. 2015-11-26 20:53:13 +01:00
Houtan Bastani 73313dc5b7 Merge pull request #1107 from FerhatMihoubi/Branch_bytecode_display_and_exogenous_in_extended_path
Branch bytecode display and exogenous in extended path
2015-11-19 17:09:09 +01:00
ferhat e555c8181d Corrections in the way to handle the exogenous 2015-11-19 17:04:56 +01:00
ferhat ac2e5cfd52 - In extended path
- fix an error with results print out
  - fix an error withe exogenous initialization
2015-11-19 17:03:05 +01:00
Stéphane Adjemian (Charybdis) 215de7e8dc Closes #1057.
Use a static file with a list of routines to cleared before each run (because they have
persistent variables).This static file (the script
matlab/list_of_functions_to_be_cleared.m) is distributed with Dynare and
needs to be updated for each release (or each time we add/remove
persistent variables). To update the file just do:

>> clear_persistent_variables(DYNARE_MATLAB_PATH, true)

and add/commit the generated file.
2015-11-12 14:38:16 +01:00
Stéphane Adjemian (Charybdis) dd2cf673d2 Updated the dates submodule.
The setdiff method can return a second output argument (vector of indices). If A and B are two dates objects, and if setdiff is called with two output argument:

[C, IA] = setdiff(A, B)

then we have:

C = A(IA)
2015-11-11 22:51:25 +01:00
Houtan Bastani edd275bfcc Merge pull request #1103 from FerhatMihoubi/Branch_fix_bug_det_cond_forecast
Fix bugs in det_cond_forecast.m
2015-11-11 18:37:55 +01:00
ferhat 6d7218f9dc Fix bugs in det_cond_forecast.m 2015-11-11 18:35:41 +01:00