Commit Graph

7761 Commits (4729459970bc91bb7cd89985e91e572ea9b1cc7c)

Author SHA1 Message Date
Marco Ratto 4729459970 Properly handle case when post_metropolis=0: here steady_state must be added to smoothed variables. 2014-09-12 15:35:00 +02:00
Jukka Heikkonen 55b6d0eb93 1) check for restricted or extened var list
2) allow proper working will all GSA type of sample: prior, MC, posterior
2014-09-12 14:49:25 +02:00
Johannes Pfeifer 8655df67a9 Clean up use of verbosity option
- in dr_block.m and ep_residuals.m the option was hardcoded and disabled
- for csminwel1.m, no verbosity option exists anymore, thus definitions preceeding calls to it were redundant as was the options_.osr.verbose
2014-09-12 10:33:37 +02:00
MichelJuillard bde4bb8232 Merge pull request #724 from FerhatMihoubi/fix-dr_block
Correct the test on the number of eigenvalues
2014-09-11 20:19:58 +02:00
ferhat beee1d2f82 Correct the test on the number of eigenvalues outside the unit circle: do the test on each block instead of at the global level 2014-09-11 18:19:31 +02:00
Stéphane Adjemian (Scylla) 576ed55dda Merge branch optimizer_number_5. 2014-09-11 17:38:03 +02:00
Stéphane Adjemian (Scylla) 89fa0ae9b6 Fixed typo. 2014-09-11 17:33:42 +02:00
Stéphane Adjemian (Charybdis) 7e3114847d Fix crash in Ramsey with more than 1 instrument and steady state file.
Vector ys is undefined.
2014-09-11 15:33:55 +02:00
Stéphane Adjemian (Charybdis) ce97a27c9d Cosmetic changes. 2014-09-10 17:49:33 +02:00
Johannes Pfeifer 308ce25031 Make sure that solve_algo=0 inherits options from options_.steady
Otherwise, MaxIter is hard-coded

(cherry picked from commit 2499f641ac2fab7ddf938263d0ee34f73765c4c8)
2014-09-10 17:49:33 +02:00
Johannes Pfeifer caa6d5d93e Fix display of MH-history if parameter names do not have same length
In this case, cell2mat fails, because the dimensions are not consistent. Using char() instead padds with spaces

(cherry picked from commit 47b1a2df74cf1f643ca913ab4ff6c2057e8b58cf)
2014-09-10 17:49:33 +02:00
Stéphane Adjemian (Charybdis) 6998d5b2d2 Mention in the manual that the base names of the data file and model file must be different. 2014-09-10 17:49:33 +02:00
Johannes Pfeifer 41d1533086 Add check that prevents datafile from having same name as mod-file
Otherwise, the generated m-file might be called as the datafile, leading to infinite loops. The check cannot be moved to makedataset because M_.fname is not available there.
2014-09-10 17:49:33 +02:00
Stéphane Adjemian (Charybdis) 27d54758be Fixed typo. 2014-09-10 17:49:33 +02:00
Stéphane Adjemian (Charybdis) 6d42ec66d5 Account for error code 10 (Inf in Jacobian of the dynamic model) in likelihood functions. 2014-09-10 17:49:33 +02:00
Houtan Bastani 45a3e7a710 ignore tmp files left in dir when ms-sbvar is aborted in the middle of execution 2014-09-10 17:24:40 +02:00
Michel Juillard b43b83b280 fixing bug in Makefile in commit 5e8489ac45 2014-09-10 09:47:17 +02:00
Stéphane Adjemian (Charybdis) 2d7b7e9192 Fixed copy/paste error in manual. 2014-09-08 22:45:34 +02:00
Stéphane Adjemian (Scylla) 5500846280 Added option distribution_proposal (estimation, non linear filters). 2014-09-08 22:36:41 +02:00
Stéphane Adjemian (Scylla) 4c9be8a56a Removed useless option. 2014-09-08 22:36:41 +02:00
Stéphane Adjemian (Scylla) df19396acf Added option proposal_approximation (estimation, non linear filters). 2014-09-08 22:36:41 +02:00
Stéphane Adjemian (Scylla) 9bfdeb30e2 Bug fixes. 2014-09-08 22:36:41 +02:00
Stéphane Adjemian (Scylla) 5e4b7d8d42 Added filter_algorithm (estimation command, sets the particle filter algorithm). 2014-09-08 22:36:41 +02:00
Stéphane Adjemian (Scylla) bcad4f31f2 Added option resampling_method (estimation command, non linear filters). 2014-09-08 22:36:41 +02:00
Stéphane Adjemian (Scylla) 08c74b8f41 Added option resampling_threshold (estimation command, non linear filters). 2014-09-08 22:36:40 +02:00
Stéphane Adjemian (Scylla) a6009908e4 Added option resampling (estimation command, non linear filters). 2014-09-08 22:36:40 +02:00
Stéphane Adjemian (Scylla) 77a29e95c1 Fixed bugs:
(1) The non_linear_dsge_likelihood routine was not adapted to the last changes related to the way data are handled.

(2) The removal of the trend was missing.
2014-09-08 22:36:40 +02:00
Stéphane Adjemian (Scylla) 06f4926553 Do not consider variables that are not column vectors. 2014-09-08 22:36:40 +02:00
Stéphane Adjemian (Scylla) 648c4717ad Added option number_of_particles (estimation command, non linear filters). 2014-09-08 22:36:40 +02:00
Stéphane Adjemian (Scylla) b972c34417 Changed local variable name (index of the main loop). 2014-09-08 22:36:40 +02:00
Stéphane Adjemian (Scylla) f6a1df8549 Increased default number of particles. 2014-09-08 22:36:40 +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
Houtan Bastani 7e4bede76d Merge pull request #721 from rattoma/gsa
Provisions for moment calibration.
2014-09-08 13:26:46 +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
Sébastien Villemot 07d321c159 Merge pull request #705 from JohannesPfeifer/get_posterior_bug
Fixes bug where number of posterior draws was computed incorrectly and w...
2014-08-14 12:44:58 +02:00
Sébastien Villemot 931ea41f18 Fix substring operator in macro-processor.
The characters of the substring could be mixed with random characters from the
memory space. Thanks to Tom Holden for reporting the bug.

Closes #708
2014-08-12 19:30:09 +02:00
Michel Juillard 6d42861e19 extended-path: fixing bug when options_.initial_period is NaN 2014-08-12 18:59:56 +02:00
Sébastien Villemot bdfe4f4249 Fix STEADY_STATE operator for model local variables.
Thanks to Tom Holden for spotting the bug.
2014-08-12 18:53:55 +02:00
Michel Juillard 812a8c7637 extended_path: fixed bugs when model doesn't converge 2014-08-12 12:12:15 +02:00
Sébastien Villemot 0f669fd974 New location for binary build dependencies under Windows
(and FlexLexer.h for OS X)
2014-08-11 19:02:21 +02:00
Johannes Pfeifer 819dd8c899 Fixes bug where number of posterior draws was computed incorrectly and wrong warning was displayed
The bug did not affect any computations, but only provided a wrong warning
2014-08-09 10:37:16 +02:00
Marco Ratto f346b734d9 when flag==0 (or options_.hess==0), we force to use the hessian from outer product gradient computed in optimizer == 5. 2014-08-07 17:49:04 +02:00
Houtan Bastani 5bb994fd19 packaging: update os x packaging script 2014-08-01 17:46:26 +02:00
Sébastien Villemot 19e02acd0b Ref. manual: fix paths for Debian/Ubuntu packages. 2014-07-31 21:07:31 +02:00
Sébastien Villemot dd1e19ca36 Make scripts work when run from other directories. 2014-07-31 15:45:15 +02:00
Sébastien Villemot 1d3bca8ad3 Push scripts for reindenting and for fixing copyright years. 2014-07-31 15:29:40 +02:00
Stéphane Adjemian (Scylla) b313ea4a00 Updated NEWS for version 4.4.3 (list of bug fixes). 2014-07-31 12:45:18 +02:00
Sébastien Villemot 6c1266f861 Merge pull request #683 from JohannesPfeifer/mh_mode
Add saving of parameter names to make loading of mh_mode-file compatible...
2014-07-30 18:29:03 +02:00
Sébastien Villemot d1958e453c Forbid use of 'identification' with exogenous deterministic variables.
Closes #664
2014-07-30 17:28:45 +02:00