Commit Graph

7775 Commits (2d39fc62e2453c1d4be931a848c9a430a97a1877)

Author SHA1 Message Date
Johannes Pfeifer 2d39fc62e2 Make sure the output arguments of dsge_likelihood.m are actually set
Before, trend_coeff and ys were sometimes returned as empty
2014-09-21 11:54:43 +02:00
Johannes Pfeifer 3e427020d6 Cosmetic changes in headers 2014-09-21 11:51:46 +02:00
Stéphane Adjemian (Charybdis) 009f5f7efc Merge branch 'bound_documentation' 2014-09-19 23:39:40 +02:00
Stéphane Adjemian (Charybdis) 9eaf0a1ff5 Correction of PR #734 (model comparison). 2014-09-19 23:39:16 +02:00
Stéphane Adjemian (Charybdis) aa503abfa7 Correction on PR #734 (role of prior bounds). 2014-09-19 23:17:34 +02:00
Stéphane Adjemian (Charybdis) 2e08025cac Fixed typo (wrong condition for defining the integration weights and nodes). 2014-09-19 22:05:42 +02:00
Stéphane Adjemian 18eeeff785 Merge pull request #735 from JohannesPfeifer/Cosmetic_fixes
Cosmetic changes
2014-09-19 21:58:31 +02:00
Johannes Pfeifer 79c5e18bfe Cosmetic changes
- Suppresses spurious output from dynare_estimation_1.m
- Removes unset output argument from dynare_estimation_init.m (which seems to be totally unused as it was not set at all and nobody reported any crashes)
- Corrects header of dynare_estimation_init.m
2014-09-19 16:20:43 +02:00
Johannes Pfeifer bb3b96eb54 Clarify the role of prior bounds in the manual 2014-09-18 10:32:27 +02:00
Houtan Bastani 5f3dd73365 Merge pull request #731 from JohannesPfeifer/explicit_internals
Clarify ambiguous printout in internals function
2014-09-17 09:20:29 +02:00
Johannes Pfeifer 08b598609e Clarify ambiguous printout in internals function
"Overall acceptance rate" could be read as over all chains.
Also capitalizes the name Matlab
2014-09-16 20:44:18 +02:00
Stéphane Adjemian feed50e5fe Merge pull request #725 from rattoma/gsa
fixes for smoother2histval and relative provisions
2014-09-12 16:35:05 +02:00
Jukka Heikkonen 79d0e269a7 cosmetic change 2014-09-12 15:40:47 +02:00
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
Houtan Bastani 0b5498ee8b remove spurious lines in Statement.cc 2014-09-12 15:13:08 +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