Johannes Pfeifer
7cd56e9687
Get rid of unused and superseded options_.colormap and make sure options_.plot_shock_decomp.colormap is set
2017-05-23 13:20:47 +02:00
Stéphane Adjemian (Charybdis)
5417b27ac7
Fixed indentation of matlab files.
2017-05-16 15:10:20 +02:00
Stéphane Adjemian (Charybdis)
d6e1d0baa5
Added option rescale_prediction_error_covariance.
2017-04-26 18:22:03 +02:00
Houtan Bastani
b3ecc8c003
preprocessor: add plot_shock_decomposition command. closes #1406
2017-03-24 12:11:36 +01:00
Houtan Bastani
c467c92d29
shock_decomposition: move fig_names to fig_name (fixing typo)
2017-03-24 10:34:59 +01:00
Marco Ratto
7a6b4f3464
extra option about choosing the time periods for which to plot decompositions
2017-03-17 12:41:59 +01:00
Marco Ratto
ad55e1b085
initialize screen_shocks option of shock decomp
2017-03-17 12:41:59 +01:00
Marco Ratto
d2d6e19d87
fixes around default options in shock decompositions
2017-03-17 12:41:59 +01:00
Marco Ratto
3ed94b2e46
New realtime_shock_decomposition.m routine + provisions in global initialization
2017-03-17 12:41:59 +01:00
Marco Ratto
a092cc3b73
Set default graph options and extend graph_decomp.m accordingly.
2017-03-17 12:41:59 +01:00
Marco Ratto
e174d04579
- New option init_state [options_.shock_decomp.init_state] to compute the shock decomposition conditional to the state variables in period 1;
...
- force plot_priors=0
- when grouping shocks, include the residual group Others, since user defined groups may not add up to the smoothed variable.
2017-03-17 12:41:59 +01:00
Stéphane Adjemian (Charybdis)
9fbef0c107
Removed penalty_hessian routine.
...
+ Code factorization.
+ Added an option for using the penalized objective when computing numerically
the hessian at the mode.
Previous behaviour (introduced with penalty_hessian routine) was to compute the
hessian matrix at the mode with the penalized objective function (instead of
the original objective function). This behaviour hides problematic situations,
where the computed hessian (using the original objective) would not be full
rank. For instance, if the estimation ends up with a parameter on (or very
close to) the bounds of its possible values (which is often not a desirable
outcome), the estimated posterior variance would be zero for this
parameter (with the original objective) because the hessian is not finite in
this direction, while the posterior variance would be positive if the penalized
objective is used instead. But this estimate would not be reliable by
construction of the penalty which is quite ad-hoc (more fundamentally I do not
think that there exists any rational for approximating the covariance matrix
with the inverse of the hessian matrix if the mode is on the border of the set
of possible values).
This commit restore the behaviour previous to 2446ab02ba
.
An option is available for computing the hessian with the penalized
objective function.
2017-02-08 13:07:25 +00:00
Stéphane Adjemian (Charybdis)
5b73d7d59c
Added new optimization routine (particleswarm).
...
Only available under Matlab if the Global Optimization Toolbox is installed.
2017-02-08 13:07:25 +00:00
Johannes Pfeifer
452d3cd986
Implement preprocessor interface for posterior_nograph option
2016-12-26 13:07:46 +01:00
Johannes Pfeifer
28d4ed1918
Finish implementation and documentation of nograph option of shock_decomposition.m
2016-12-26 12:52:28 +01:00
Johannes Pfeifer
352786c2b4
load_mh_file: recompute results by default and load on request
...
Prevents general overwriting of results in oo_ and having stale results
2016-12-19 19:37:34 +01:00
Johannes Pfeifer
5515da191a
Add Raftery/Lewis (1992) convergence diagnostics
2016-12-17 17:22:05 +01:00
MichelJuillard
31d2c7e332
Merge pull request #1324 from JohannesPfeifer/kalman
...
Three bugfixes for missing_DiffuseKalmanSmootherH1_Z.m that led to wrong results
2016-11-13 19:13:10 +01:00
Stéphane Adjemian (Charybdis)
e2da7c6627
Fixed bug (missing initialization of an option).
2016-11-05 00:08:28 +00:00
Johannes Pfeifer
7831dccd2a
Transform save_tmp_file into an option and change defaults
2016-11-04 19:56:55 +01:00
Johannes Pfeifer
98cf1bfc1d
Add smoothed state uncertainty to Kalman smoother routines
2016-11-04 09:23:55 +01:00
Houtan Bastani
4b3c98d953
preprocessor: add keep_kalman_algo_if_singularity_is_detected option to estimation. #1294
2016-09-30 14:31:13 +02:00
Houtan Bastani
c6f4af8894
preprocessor: add nograph option to shock_decomposition. closes #1290
2016-09-23 17:44:36 +02:00
Johannes Pfeifer
01f1abb19a
Provide dedicated maxit option for Ramsey
2016-08-24 13:32:11 +02:00
Johannes Pfeifer
46450c6f1f
Change textwidth depending on number of subplots
...
Prevents overblown figures
2016-08-23 17:22:41 +02:00
MichelJuillard
6a6ccfa966
Merge pull request #1257 from JohannesPfeifer/conf_sig
...
Conf sig
2016-08-21 16:14:28 +02:00
Michel Juillard
0ebef17df2
fix shocks_decomposition bug introduced in commit 75d699cbfa
2016-08-21 11:11:19 +02:00
Johannes Pfeifer
1bd5c7cc0d
Disentangle options_.conf_sig and set default to 0.9
2016-07-21 12:17:30 +02:00
Stéphane Adjemian (Hermes)
2435040929
Changed default for nonlinear filters.
2016-07-01 11:47:21 +02:00
Johannes Pfeifer
e294266247
Increase default MaxNumberOfBytes to 100 MB
...
Closes #330
2016-06-14 11:51:14 +02:00
Stéphane Adjemian (Charybdis)
392977d4ef
Changed default parameters for unscented transform (Particle filters).
2016-06-01 17:01:23 +02:00
Stéphane Adjemian (Charybdis)
15f83d0e18
Added new option for setting weights in CPF algorithm.
2016-06-01 16:29:53 +02:00
Michel Juillard
c159dff19c
adding hook for PATH solver
2016-05-31 12:10:12 +02:00
Stéphane Adjemian(Charybdis)
fdbd4fa7a7
Code factorization.
...
- Added routines for initializing and setting shocks in EP.
- Added a specialized routine for doing Monte Carlo around EP.
2016-05-24 17:28:24 +02:00
Stéphane Adjemian (Hermes)
53747cb082
Fixed lmmcp option.
...
This option may be used in extended_path and perfect_foresight_solver commands.
2016-05-24 17:26:06 +02:00
Johannes Pfeifer
9774d0544d
Initialize fields of M_.osr to empty in global_initialization.m
2016-05-22 11:41:54 +02:00
Johannes Pfeifer
4898a66d2a
Allow passing of optim option for TaRB
2016-05-19 14:37:05 +02:00
Marco Ratto
1d6961cc4c
initialize mode field in slice sampler options
2016-05-19 14:37:05 +02:00
Marco Ratto
7b3c42c6e1
provisions for reworked posterior sampling options:
...
- handle sub lists of individual samplers
- split checks in dynare_estimation_init.m and before running posterior_sampler.m [invhess checks]
- posterior sampler options checks moved from initial_estimation_checks.m to check_posterior_sampler_options.m
- added use_mh_covariance_matrix to imh and rwmh
- slice re-sets mode_compute=0 cova_compute=0
- updated test function
2016-05-19 14:37:05 +02:00
Houtan Bastani
cf6e3cb14c
preprocessor: rework posterior sampler options, #1177
2016-05-19 14:37:05 +02:00
Marco Ratto
9089fc340c
Initialize posterior_sampler_options.
2016-05-19 14:34:09 +02:00
MichelJuillard
3d6c184566
Merge pull request #1168 from JohannesPfeifer/filter_tests
...
Improve speed of filtering unit tests and clean up setting of options
2016-04-15 09:50:49 +02:00
Johannes Pfeifer
3542d086ae
Transform hard-coded bandpass filter order into option
2016-04-15 09:23:35 +02:00
Michel Juillard
de567377c3
adding groups of shocks for shock_decomposition
...
consistency checks, documentation and test case
are still missing
2016-04-15 09:02:53 +02:00
Johannes Pfeifer
4b83c1bf76
Integrates Tom Holden's robust linear solver
...
Supersedes #984
2016-03-25 09:59:20 +01:00
Houtan Bastani
458cfc4fc6
preprocessor: initialize xref structure and use indices. closes #1125
2016-02-23 14:32:48 +01:00
Houtan Bastani
f546368252
preprocessor: print reverse references (param->eqs, endo->eqs, exo->eqs, exo_det->eqs)
2015-12-18 17:13:50 +01:00
Houtan Bastani
4976b2b335
preprocessor: add equation cross references
2015-12-18 15:17:32 +01:00
Michel Juillard
c373d1e1be
adding new option 'fast_kalman_filter' implementing Ed Herbst 2012 approach
2015-11-28 17:38:00 +01:00
Stéphane Adjemian (Charybdis)
6ea5bdde34
Merge branch 'johannes_bandpass'
2015-10-13 23:56:22 +02:00