Commit Graph

423 Commits (46b8f4b9f379c7487c9c08f8616a44af39d88ef9)

Author SHA1 Message Date
Stéphane Adjemian (Scylla) 85409ac5be Fixed typo introduced in previous merge. 2017-08-31 12:15:33 +02:00
Stéphane Adjemian (Scylla) 9b8961d26e Merge branch 'master' into ecb-master
Fixed conflicts:
	preprocessor/DynareBison.yy
	preprocessor/Statement.hh
2017-08-31 12:09:43 +02:00
Houtan Bastani d23a684bf6 preprocessor: add write_latex_steady_steade_model command. Closes #1496 2017-08-30 14:30:06 +02:00
Stéphane Adjemian (Scylla) 8e767ee720 Merge branch 'master' into ecb-master
Fixed conflicts:
	matlab/backward/backward_model_forecast.m
	preprocessor/DynareBison.yy
	preprocessor/ParsingDriver.hh
	tests/practicing/datasaver.m
2017-08-30 11:51:56 +02:00
Houtan Bastani b6176ae406 preprocessor: add parameter_set option to evaluate_smoother command. Closes #1477 2017-08-28 18:25:37 +02:00
Houtan Bastani 076fb75f98 preprocessor: add model_local_variable declaration for declaring model local variables with tex names. Closes #563 2017-08-28 17:24:56 +02:00
Houtan Bastani f0352541d5 preprocessor: ramsey_model: remove unused symbol_list syntax. Closes #1392 2017-08-24 16:43:36 +02:00
Houtan Bastani 48d6155dbc preprocessor: add write_equation_tags option to write_latex_original_model and write_latex_static_model. closes #1431 2017-08-24 16:10:53 +02:00
Stéphane Adjemian (Scylla) dc490570ab Merge branch 'master' into ecb-master
Fixed conflict in preprocessor/ModFile.cc
2017-07-27 22:48:29 +02:00
Johannes Pfeifer 52f3b964b2 Fix bug in use_shock_groups and colormap
Option was not written to correct subfield of options_-structure. Related to 7cd56e96877de4ed2dd22bb579884ab292034d71
2017-07-07 12:38:20 +02:00
Houtan Bastani 86443e90b9 preprocessor: add possibility to add vector to adl command 2017-07-03 17:29:58 +02:00
Houtan Bastani 462f0d85f4 Merge branch 'master' into ecb-master 2017-06-19 18:02:57 +02:00
Houtan Bastani cb369b3b98 preprocessor: support adl and diff 2017-06-14 16:12:08 +02:00
Johannes Pfeifer 2670ca8db0 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
Houtan Bastani 1d079d4edf preprocessor: var_estimation: remove unnecessary equation specifiers in syntax 2017-05-19 14:58:01 +02:00
Houtan Bastani 00e8930f1f preprocessor: fix spacing 2017-05-19 14:58:01 +02:00
Houtan Bastani b48a5d58a3 Revert "preprocessor: add options to var_model"
This reverts commit cbb099f7d9789dc7616f770ed98412309ea6ec4d.
2017-05-16 11:21:50 +02:00
Houtan Bastani d0131f3652 var_estimation: add datafile option 2017-05-16 10:12:24 +02:00
Houtan Bastani 644f1345ea preprocessor: add var_estimation statement 2017-05-10 17:23:40 +02:00
Houtan Bastani 1a1e2c1810 preprocessor: VAR restrictions 2017-05-10 16:25:01 +02:00
Houtan Bastani a2771a62ad var_model: allow non model-block variables in VAR 2017-05-04 16:15:33 +02:00
Stéphane Adjemian (Charybdis) d7336eb317 Merge branch 'master' into ecb-master
Model inversion of backward looking models.
2017-05-02 23:15:42 +02:00
Stéphane Adjemian d72cadeed7 Merge pull request #1441 from JohannesPfeifer/ksstat
Remove redundant ksstat option
2017-04-29 18:00:25 +02:00
Johannes Pfeifer ec6756db0e Remove redundant ksstat option
Closes #1431
2017-04-27 11:08:17 +02:00
Stéphane Adjemian (Charybdis) bac51e0a0e Added option rescale_prediction_error_covariance. 2017-04-26 18:22:03 +02:00
Houtan Bastani 35adc47c14 Merge branch 'master' into ecb-master 2017-04-14 11:35:43 +02:00
Houtan Bastani 40c26edcfc preprocessor: add options to var_model 2017-04-14 11:21:47 +02:00
Houtan Bastani 053407314d preprocessor: add option to write equation tags in latex output. closes #477 2017-04-04 16:08:30 +02:00
Stéphane Adjemian (Charybdis) f9a803f4a9 Added option nonlinear_filter_initialization.
Default value is 1 (initialization with the ergodic variance of the reduced
form solution of the model approximated at order one).

If the model has unit roots, the user must use `nonlinear_filter_initialization=3`,
which select an identity matrix for the initial covariance matrix of the state variables.

A side effect of this option is to temporarily change the value of options_.qz_criterium to
a value above one (ie 1+1e-6) so that the unit roots are not rejected. If the
model has unit roots and if the and if the option
nonlinear_filter_initialization has a value less than 3, the evaluation of the
likelihood will fail, because by default the unit root is counted as an
unstable root.
2017-04-03 11:25:05 +02:00
Houtan Bastani 5be4206092 preprocessor: add options plot_init_date and plot_end_date to plot_shock_decomposition 2017-03-31 14:38:44 +02:00
Houtan Bastani bc9a619d8a preprocessor: initial_condition_decomposition front end. closes #1425 2017-03-31 13:19:04 +02:00
Houtan Bastani 5fb2ba6f7c plot_shock_decomposition: remove argument to steadystate option 2017-03-28 12:15:00 +02:00
Houtan Bastani 59322da2a7 preprocessor: add plot_shock_decomposition command. closes #1406 2017-03-24 12:11:36 +01:00
Houtan Bastani 1ab66f549f var_expectation: create possibility for h-step-ahead forecast 2017-03-22 09:41:09 +01:00
Houtan Bastani 012360c370 var_forecast: create individual .m files for each forecast 2017-03-22 09:41:09 +01:00
Houtan Bastani a020daef37 var_expectation: first draft 2017-03-22 09:41:09 +01:00
Houtan Bastani b08a397983 var_forecast: move var declaration from options_ to M_, simplify structure in which it is stored 2017-03-22 09:41:09 +01:00
Houtan Bastani 85a7d72515 VAR(p) forecast first draft, preprocessor for var command and backend for forecast 2017-03-22 09:41:09 +01:00
Stéphane Adjemian (Charybdis) 80e322d319 Added declaration of observed exogenous variables.
With integration test.
2017-03-22 09:41:09 +01:00
Houtan Bastani d2dfb65602 preprocessor: add realtime_shock_decomposition statement. #1406 2017-03-21 15:20:32 +01:00
Houtan Bastani ea450d4254 preprocessor: fix bug introduced in a4eb8d6b91b3b9d5c0293b78be0678c52c4395a4 2017-03-21 14:07:30 +01:00
Houtan Bastani bc5ac82612 preprocessor: add init_state option to shock_decomposition 2017-03-21 12:48:11 +01:00
Stéphane Adjemian (Charybdis) 3c79e231c7 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 2446ab02ba4b3ed88c9c5021aced076078d96007.

An option is available for computing the hessian with the penalized
objective function.
2017-02-08 13:07:25 +00:00
Houtan Bastani a9de8dd0a0 preprocessor: issue warnings for undeclared model variables when the end of the model block is encountered. #1286 2017-01-27 20:36:26 +01:00
Stéphane Adjemian (Charybdis) 10b6a794ad Fixed bug.
NO_POSTERIOR_KERNEL_DENSITY option was not modifying the expected field in
options_, consequently this option was no honored.
2017-01-20 17:35:43 +01:00
Stéphane Adjemian 07ea12dc18 Merge pull request #1358 from JohannesPfeifer/nograph
Implement posterior_nograph option
2017-01-05 06:52:08 +01:00
Houtan Bastani 9b0fbdb4fe ramsey_policy: accept all endogenous variables in var_list_, even auxiliary variables. closes #1355 2016-12-27 14:08:50 +01:00
Johannes Pfeifer 2a442561c6 Implement preprocessor interface for posterior_nograph option 2016-12-26 13:07:46 +01:00
Johannes Pfeifer 15bd6dd04a Finish implementation and documentation of nograph option of shock_decomposition.m 2016-12-26 12:52:28 +01:00
Johannes Pfeifer a00bf1fa90 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