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
Michel Juillard
812a8c7637
extended_path: fixed bugs when model doesn't converge
2014-08-12 12:12:15 +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
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
Houtan Bastani
217ab0088d
reporting: tables: add row highlighting option
2014-07-30 15:21:32 +02:00
Sébastien Villemot
9c4294d0aa
Merge pull request #700 from JohannesPfeifer/unit_test
...
Set missing argument in makedataset.m that leads to crashes with GSA
2014-07-30 12:59:45 +02:00
Stéphane Adjemian (Scylla)
0f28422e9f
This fixes #704 .
2014-07-29 18:22:10 +02:00
Houtan Bastani
f3c807f577
reporting: add writeCSV option for tables. closes #693
2014-07-29 15:21:51 +02:00
Houtan Bastani
5b7b8da7fa
reporting: table fix bug where the table would not be saved in the directory specified by tableDirName if the tableName option was provided
2014-07-29 15:21:51 +02:00
Houtan Bastani
b4dd4b5de1
reporting: add writeCSV option for graphs, #693
2014-07-29 15:21:45 +02:00
Stéphane Adjemian (Scylla)
c5af1d43ed
Removed nobs and vobs members in @dseries class.
...
The syntax to get the number of observations and the number of
variables remains unaffected by this commit. If ts a @dseries object,
ts.nobs and ts.vobs are respectively the number of observations and
the number of variables.
2014-07-28 17:50:15 +02:00
Houtan Bastani
555e2cf73b
reporting: write tableSubSectionHeader in bold
2014-07-28 17:28:20 +02:00
Houtan Bastani
1f3ae372fe
reporting: fix bug where a whole row wasn’t colored if the tableSubSectionHeader option was passed at the same time
2014-07-28 17:28:20 +02:00
Houtan Bastani
19134d1287
reporting: minor aesthetic changes to table and code simplifications
2014-07-28 17:28:20 +02:00
Houtan Bastani
010a87623e
reporting: ensure tableRowIndent is ge 0
2014-07-28 17:28:20 +02:00
Stéphane Adjemian (Scylla)
1e4c2e0881
Fixed bug affecting prior restictions (removed the extension in the argument of str2func).
2014-07-28 13:02:10 +02:00
Houtan Bastani
7387237a5b
reporting: option to suppress reporting output. closes #688
2014-07-25 14:38:30 +02:00
Stéphane Adjemian (Scylla)
916fe62218
Fixed bug. Test on multiple declaration of observed variables was wrong.
2014-07-24 17:53:20 +02:00
Marco Ratto
a6bddb2d57
Improve computation of outer product gradient for univariate Kalman algorithms, by exploiting the larger number of individual densities computed during recursions (used in optimizer number 5).
2014-07-23 16:33:39 +02:00
Johannes Pfeifer
4c6aad3d2d
Fix bug in dynare_identification.m that led to missing output and crashes if the initial parameterization was invalid
...
If the initial parameters did not solve, the code for displaying results and saving was not reached. The also led to later crashes with saving as the -append option was used and no file existed. If no valid draw can be found, the function exits in any case, so no additional check is needed.
2014-07-23 12:10:00 +02:00
Johannes Pfeifer
bf69cee91f
Set missing argument in makedataset.m that leads to crashes with GSA
...
Fixes the recent problem with unit tests
2014-07-23 12:05:45 +02:00