Commit Graph

380 Commits (915bea91a101ba009f30387d02cc3c1cbd0d9698)

Author SHA1 Message Date
Houtan Bastani 5cbbb1c41e preprocessor: add horizon option to ms_forecast 2015-09-08 17:28:08 +02:00
Houtan Bastani 6c4f7c0898 preprocessor: add relative_irf option to irf_calibration block. closes #720 2015-09-07 11:49:17 +02:00
Houtan Bastani 73a1ca92c0 preprocessor: posterior_kernel_density option to estimation. #1035 2015-08-25 11:09:08 +02:00
Houtan Bastani d8d2124866 preprocessor: allow first_obs option of estimation to accept a vector of integers. #1034 2015-08-25 10:30:21 +02:00
Michel Juillard 203ddeba3d finalize svar_global_identification_check 2015-08-24 14:53:27 +02:00
Johannes Pfeifer 8c1cd0e8ba Add option for storing contemporaneous correlation 2015-08-11 11:27:55 +02:00
Houtan Bastani 7f7e0d5f1a preprocessor: add one_sided_hp_filter to stoch_simul. #1011 2015-08-03 17:34:34 +02:00
Houtan Bastani 5b4e94149c preprocessor: add bandpass_filter option to stoch_simul. #1011 2015-08-03 17:28:55 +02:00
Houtan Bastani 8af8ee193e preprocessor: add spectral_density option to stoch_simul. #254 2015-08-03 13:02:17 +02:00
Houtan Bastani 6016463c33 preprocessor: remove constraint outlined in #849 2015-07-30 17:52:47 +02:00
MichelJuillard ecf52751d6 Merge pull request #937 from JohannesPfeifer/graph_fix
Various fixes related to graphs and eps-TeX-loaders
2015-07-20 14:36:20 +02:00
MichelJuillard 585d9f1974 Merge pull request #740 from JohannesPfeifer/relative_irf
Fix and document relative_irf
2015-07-20 14:20:00 +02:00
Stéphane Adjemian (Charybdis) 7dfba933e5 Fied bug. Moved option linear_approximation. 2015-07-08 11:11:22 +02:00
Stéphane Adjemian (Charybdis) 6e52dfb828 New option linear_approximation for perfect foresight models.
This approach only requires one evaluation of the dynamic model (and its
jacobian) instead of T (the number of perdiods). Also (because the model
is linear) the equilibrium paths are obtained by inverting the jacobian
of the stacked equations (no need for a Newton algorithm).

Only available with stack_solve_algo==0 (which is the default algorithm
for solving perfect foresight models).

If possible, the option is triggered automatically if the model is
declared linear.

TODO:
 * Write a linear version of perfect_foresight_problem routine.
 * Evaluate the approxilation error (just need to evaluate the system of
 stacked non linear equations).
2015-07-07 17:55:41 +02:00
Johannes Pfeifer 2318fb31c1 Enable tex option for stoch_simul 2015-06-08 18:00:32 +02:00
Johannes Pfeifer 342d479e8b Add preprocessor option silent_optimizer 2015-06-08 16:48:57 +02:00
Johannes Pfeifer 6c1c1c9bf6 Allow for relative_irf option in estimation command
The option was used and inherited from stoch_simul before
2015-06-08 16:42:43 +02:00
Michel Juillard f914837aff adding options LMMCP and OCCBIN to perfect_foresight_solver and
extended_path
2015-06-02 17:38:22 +02:00
Stéphane Adjemian (Hermes) dae14ac19e Fixed bug introduced in c22d31330c7d3978f882003ffb999f65be70c4a5 (Ramsey
constraints).
2015-06-01 12:27:16 +02:00
Michel Juillard 60a33fb4a1 Adding 'ramsey_constraints' block to declare contraints for Ramsey
problems. Note that LMMCP (solve_algo=10) still doesn't work in all cases.
2015-05-31 12:18:20 +02:00
Houtan Bastani 2a51f6482f preprocessor: add proprosal_distribution and student_degrees_of_freedom options to estimation. closes #925 2015-05-19 12:31:22 +02:00
Houtan Bastani 691af085cd preprocessor: add tarb_optim option to estimation. #940 2015-05-13 16:50:07 +02:00
Houtan Bastani 6f4a19bb26 preprocessor: add tarb_new_block_probability option to estimation. #940 2015-05-13 15:49:41 +02:00
Houtan Bastani e00b7b62f6 preprocessor: add tarb_mode_compute option to estimation. #940 2015-05-13 15:46:52 +02:00
Houtan Bastani 23545052a8 preprocessor: add use_tarb option to estimation. #940 2015-05-13 15:32:24 +02:00
Houtan Bastani 8f458eb961 preprocessor: add huge_number to estimation and osr. #924 2015-05-13 15:14:34 +02:00
Houtan Bastani 46ac39092d preprocessor: add dr_display_tol to stoch_simul. #924 2015-05-13 15:12:39 +02:00
Houtan Bastani d13520019d preprocessor: add dirname option to estimation. closes #910 2015-04-27 11:59:21 +02:00
Stéphane Adjemian (Charybdis) 0c7ca28bfb Added new option (diffuse_kalman_tol) and fixed tolerance paremeters in diffuse smoother routines. 2015-04-03 18:02:03 +02:00
Houtan Bastani 2a108ba38f preprocessor: add joint prior syntax, #824 2015-03-03 15:08:33 +01:00
Houtan Bastani 4ba729fdd6 preprocessor: new command write_latex_original_model. closes #657 2015-02-16 08:31:30 +01:00
Houtan Bastani c948136379 fix preprocessor implimentation of filter_algorithm option to estimation. closes #843 2015-02-09 03:20:37 +01:00
Houtan Bastani 4fc785f8d5 preprocessor: add weibull and weibull_pdf options for estimation and new estimation, #520 2014-12-12 18:02:07 +01:00
Houtan Bastani b5f7c90596 preprocessor: add prefilter, first_obs, and loglinear options to calib_smoother, #803 2014-11-26 15:05:07 +01:00
Houtan Bastani 0ab693b973 preprocessor: add optim option to osr, #779 2014-11-25 11:44:52 +01:00
Houtan Bastani c655aca1ac preprocessor: add diffuse_filter and prior_trunc options to identification, #677 2014-11-18 11:53:34 +01:00
Houtan Bastani 7dcaaa1fa0 preprocessor: add nodecomposition option to estimation and stoch_simul, #702 2014-11-17 12:15:38 +01:00
Houtan Bastani 4307af5ff5 osr: add option opt_algo. #779 2014-11-14 17:35:03 +01:00
Stéphane Adjemian (Scylla) a124d2b255 Added option distribution_proposal (estimation, non linear filters). 2014-09-08 22:36:41 +02:00
Stéphane Adjemian (Scylla) b62dd9f0db Added option proposal_approximation (estimation, non linear filters). 2014-09-08 22:36:41 +02:00
Stéphane Adjemian (Scylla) 7e9dc99b61 Bug fixes. 2014-09-08 22:36:41 +02:00
Stéphane Adjemian (Scylla) 04754432b3 Added filter_algorithm (estimation command, sets the particle filter algorithm). 2014-09-08 22:36:41 +02:00
Stéphane Adjemian (Scylla) 63450d99a6 Added option resampling_method (estimation command, non linear filters). 2014-09-08 22:36:41 +02:00
Stéphane Adjemian (Scylla) e5007a873f Added option resampling_threshold (estimation command, non linear filters). 2014-09-08 22:36:40 +02:00
Stéphane Adjemian (Scylla) cdb2eb0abf Added option resampling (estimation command, non linear filters). 2014-09-08 22:36:40 +02:00
Stéphane Adjemian (Scylla) b17f65d0a2 Added option number_of_particles (estimation command, non linear filters). 2014-09-08 22:36:40 +02:00
Stéphane Adjemian (Charybdis) 78c72dad5f Added the possibility to pass a dseries object to the data command (the user can manipulate the data in the mod file, using dseries class methods, and use them for estimation without writing the data on disk). 2014-06-17 16:03:30 +02:00
Stéphane Adjemian (Charybdis) 90e2837bcb Fix initialization of the fields in options_.dataset + Cosmetic changes. 2014-05-21 16:47:58 +02:00
Sébastien Villemot 578da1e0bc Perfect foresight solver now uses a homotopy technique by default.
This commit introduces a "no_homotopy" option to restore the old behavior.

Ref #220
2014-04-10 16:39:06 +02:00
Sébastien Villemot 1644412875 New option "overwrite" to "shocks" and "mshocks".
Tells that a new block overwrite the previous ones instead of being cumulative.
2014-04-10 11:54:49 +02:00
Sébastien Villemot d44cb3af93 Introduce two new command: perfect_foresight_{setup,solver}.
simul is now simply an alias for
perfect_foresight_setup+perfect_foresight_solver.
2014-04-09 17:57:17 +02:00
Sébastien Villemot 8c2e9b3c02 Improvements to smoother2histval (ref #594)
- fix handling of auxiliary variables related to lagged endogenous
- add preprocessor interface
- add histval_file
- add tests (for smoother2histval with outfile, and for histval_file)
2014-04-03 15:05:20 +02:00
Houtan Bastani 491e70ab7b dmm/estimation: add dirichlet prior shape front end, #642 2014-03-26 11:12:43 +01:00
Sébastien Villemot 8507409d97 Allow ranges in lags/periods specification of {irf,moment}_calibration.
Ref #267
2014-03-17 18:12:04 +01:00
Michel Juillard 46bcfea9e5 adding ramsey_model to Dynare grammar 2014-03-09 12:15:32 +01:00
Johannes Pfeifer d43a2bce09 Add option mh_conf_sig
Fixes #598
2014-03-06 10:06:55 +01:00
Houtan Bastani 516491941d ms-dsge: add number_of_lags and parameters option to front end 2014-02-24 12:37:18 +01:00
Sébastien Villemot 58d71bb44e Implement syntaxes for moment_calibration and irf_calibration.
Ref #267
2014-02-10 19:23:06 +01:00
Sébastien Villemot 9e962e7a93 Add new options consider_all_endogenous and consider_only_observed.
Closes #336
2014-02-04 14:49:06 +01:00
Stéphane Adjemian (Scylla) 1ae4bebf5e Added logdata option. Closes #600. 2014-01-31 11:27:36 +01:00
Sébastien Villemot 314f9ccb0d It's bison 2.5 that's actually required now. 2014-01-13 14:56:56 +01:00
ferhat e2d9f2476c The previous syntax used to call the conditional forecast using the extended path method was problematic. It does not allow to match the endogenous and the shock that are flipped. This is problematic as soon as the forecast periods are heterogeneous or the type of expectation (surprise or perfect foresight) are different. We get rid of the previous syntax. 2013-12-31 01:57:30 +01:00
Stéphane Adjemian (Charybdis) 4d95aa8d42 Merge branch 'master' into sim1-with-variable-dimension 2013-12-30 16:37:16 +01:00
Houtan Bastani e0f662129a preprocessor: namespace fixes to remove clang warnings 2013-12-30 14:54:00 +01:00
Sébastien Villemot 1afd46b880 Refactor bison files using new prologue syntax. 2013-12-28 21:16:47 +01:00
Sébastien Villemot 10c4b8a080 Fix compatibility issue with Bison 3.
Closes #570
2013-12-28 21:02:15 +01:00
Stéphane Adjemian (Charybdis) 2975072c1b Added new option for perfect foresight simulations (sim1 routine, available only with stack_solve_algo==0).
Try to reduce the size of the nonlinear system of equations by skipping the (last) periods for wich the residuals are
already (almost) zero. The number of periods is not constant during the Newton, the effective number of periods for
each iteration of the Newton is available in oo_.deterministic_simulation.vperiods.
2013-12-27 18:35:53 +01:00
Stéphane Adjemian (Scylla) fe24d9bcab Closes #567. 2013-12-18 16:44:31 +01:00
Houtan Bastani 0d1fe6899f allow long_name to be used without specifying a latex name, #478 2013-12-09 17:04:32 +01:00
Houtan Bastani 645b830dc9 preprocessor: allow empty estimated_params_init block 2013-11-21 15:11:57 +01:00
Stéphane Adjemian (Scylla) cef58f7646 Merge branch 'master' into remove-dynDate-class 2013-11-15 18:36:10 +01:00
Houtan Bastani 14b6cf98fb preprocessor: support long name for parameters, #478 2013-11-15 11:14:16 +01:00
Houtan Bastani 8b34189bc3 preprocessor: support long name for exogenous, #478 2013-11-15 11:14:04 +01:00
Houtan Bastani d368a501d7 preprocessor: support long name for endogenous, #478 2013-11-15 10:57:51 +01:00
Stéphane Adjemian (Penelope) 966ed438c1 Merge branch 'master' into remove-dynDate-class
Conflicts:
	preprocessor/DynareBison.yy
2013-11-14 16:41:08 +01:00
Stéphane Adjemian (Penelope) d2363c9cf6 Merge branch 'preprocessor-dates' into remove-dynDate-class
Conflicts:
	preprocessor/DynareBison.yy
	preprocessor/DynareFlex.ll
	preprocessor/macro/MacroFlex.ll
2013-11-14 15:50:20 +01:00
Sébastien Villemot eabad03581 Preprocessor interface for irf_plot_threshold
Closes #498
2013-11-13 14:34:46 +01:00
Houtan Bastani 8513c59c9e preprocessor: add use_calibration option for estimated_params_init block. closes #447, closes #512 2013-11-06 13:59:13 +01:00
Stéphane Adjemian (Scylla) aa4753f9ec Merge branch 'master' into remove-dynDate-class 2013-11-06 12:43:06 +01:00
Sébastien Villemot b34a55b36a Finish implementation of mcmc_jumping_covariance option
Closes #112, #514
2013-11-05 17:16:32 +01:00
Sébastien Villemot 49060c3abd Allow a custom function named 'prior' as a value for 'mode_compute' option
Closes #507
2013-11-04 15:42:59 +01:00
Stéphane Adjemian (Charybdis) d56393da98 Merge branch 'master' into remove-dynDate-class
Conflicts:
	matlab/reports/@report_series/getLine.m
	matlab/reports/@report_series/write.m
	matlab/reports/@report_table/report_table.m
	matlab/reports/@report_table/write.m
2013-10-28 15:04:21 +01:00
Houtan Bastani 3706338bf4 ms-sbvar: ms_simulation: add option to save mcmc draws 2013-10-23 17:03:52 +02:00
Houtan Bastani 7d3dcb74c9 preprocessor: allow anything of the form dates(*) to be accepted as a valid date by the preprocessor 2013-10-23 16:09:32 +02:00
Houtan Bastani e19da3777c preprocessor: only accept dates of the form: dates('date') in mod file 2013-10-22 14:06:57 +02:00
Houtan Bastani aee8202a20 preprocessor: only accept dates of the form: dates('date') in mod file 2013-10-14 09:58:05 +02:00
Stéphane Adjemian (Charybdis) 0aa3e823c7 Merge branch 'master' into maxit 2013-10-09 12:19:17 +02:00
Houtan Bastani 5f2bf10521 front end for maxit: ref #293, #262 2013-09-24 15:40:13 +02:00
Houtan Bastani 3019c80f56 front end for Geweke convergence diagnostics for single chains 2013-09-23 15:40:19 +02:00
Houtan Bastani 8051c547ff stoch_simul: add loglinear option #431 2013-08-14 12:02:51 -04:00
Sébastien Villemot 4295a48dc8 Remove unfinished "shocks" and "labels" options to shock_decomposition
The preprocessor implementation of "shocks" is broken, and the ref. manual
entries are empty. Nothing is implemented in MATLAB files. It's better to
remove this for now, until a working implementation is done.

Ref. #136
2013-08-13 11:37:16 +02:00
Houtan Bastani e7b300039b osr: add tolf option closes #423 2013-06-26 12:33:48 +02:00
Houtan Bastani de32eeece5 osr: add maxit option ref #423 2013-06-26 12:32:30 +02:00
Stéphane Adjemian (Charybdis) c07ce32687 Added an option for setting the number of points where the posterior kernel is evaluated when using mode_check. Reorganized the options_ global structure wrt mode_check. 2013-06-20 17:19:44 +02:00
Stéphane Adjemian (Charybdis) cc7e5c4dec Added qz_zero_threshold to check, stoch_simul and estimation commands. 2013-06-12 11:46:56 +02:00
Sébastien Villemot 98daf662aa extended_path: new order and hybrid options (ref #152)
Also add stub in the doc for the new options
2013-06-07 18:18:54 +02:00
Sébastien Villemot a595a83b16 Add new option parallel_local_files to model block
Ref #389
2013-05-31 14:47:38 +02:00
Sébastien Villemot e8353673fe Add interface and doc to use_univariate_filters_if_singularity_is_detected option
Closes #414
2013-05-27 17:07:47 +02:00
Sébastien Villemot 6d7242b6e8 Add mode_check_{neighbourhood_size,symmetric_plots} in preprocessor and manual
Closes #320
2013-05-24 12:13:32 +02:00
Sébastien Villemot 55a548282c Possibility of restricting differentiate_forward_vars to some variables
Closes #351
2013-05-17 16:53:15 +02:00