Commit Graph

4689 Commits (6c112a270114f9e0907fcd6d0da99aca6a59a618)

Author SHA1 Message Date
Stéphane Adjemian 6c112a2701 Merge pull request #743 from JohannesPfeifer/debug_info_estimation
Add check for NaN parameters to initial_estimation_checks.m
2014-10-10 22:30:12 +02:00
Stéphane Adjemian 06fbf2b2c5 Merge pull request #746 from JohannesPfeifer/rplot
Filter out empty oo_.endo_simul in rplot.m
2014-10-10 22:25:07 +02:00
Stéphane Adjemian (Charybdis) df1e734106 Merge branch 'steady_debug' 2014-10-10 21:47:24 +02:00
Stéphane Adjemian (Charybdis) f4922a8a27 Cosmetic changes. 2014-10-10 21:46:50 +02:00
Stéphane Adjemian 9e3edd6673 Merge pull request #748 from JohannesPfeifer/maxit
Change maxit default value and correct manual
2014-10-10 19:03:56 +02:00
Stéphane Adjemian 37d4cf7e35 Merge pull request #753 from JohannesPfeifer/MCMC_diag
Improve tractability of McMCDiagnostics_core.m by adding header and comm...
2014-10-10 18:46:30 +02:00
Houtan Bastani f4f7a02fd7 Provisions for MATLAB 8.4 (R2014b) 2014-10-10 10:41:04 +02:00
Johannes Pfeifer 1d68ed8da6 Improve tractability of McMCDiagnostics_core.m by adding header and comments. Also uses more intuitive variable names 2014-10-09 10:57:28 +02:00
Johannes Pfeifer 3187c70b97 Add debugging info on initial values for steady state computation 2014-09-30 15:05:12 +02:00
Johannes Pfeifer a9bb341b0a Increase default maxit for steady and deterministic simulations
Judging from forum reports, the default fails too often. Closes #747
2014-09-30 11:47:58 +02:00
Michel Juillard 6bbfa2fa6d removed 1e6 in expression forcing a non-singular Jacobian 2014-09-30 08:13:31 +02:00
Johannes Pfeifer 6a8c968411 Filter out empty oo_.endo_simul in rplot.m 2014-09-29 15:00:45 +02:00
Michel Juillard fa3e77d163 fixing bug in handling options for lmmcp 2014-09-28 10:07:08 +02:00
Johannes Pfeifer 127b7b0221 Add check for NaN parameters to initial_estimation_checks.m
Provides important info to debug cryptic crashes in later routines. Mostly applies to cases where people run estimation without stoch_simul
2014-09-25 09:02:36 +02:00
Stéphane Adjemian (Charybdis) e2fd82d403 Merge branch 'cut_sample' 2014-09-20 11:18:16 +02:00
Stéphane Adjemian (Charybdis) cc80c8662c Fixes ambiguity in the output of CutSample routine (second part of PR #733). 2014-09-20 11:17:57 +02:00
Stéphane Adjemian (Charybdis) bfc9719f05 Fix bug in in CutSample.m that led to wrong number of draws for moment computation (first part of PR #733)
FirstLine actually defined the last line. One needs to 1. Otherwise,
Draws in GetAllPosteriorDraws.m will be (NumberOfDraws+1)*nblck.
2014-09-20 11:16:50 +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
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 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
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
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
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
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
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) 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
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
Michel Juillard 6d42861e19 extended-path: fixing bug when options_.initial_period is NaN 2014-08-12 18:59:56 +02:00