Commit Graph

295 Commits (cb411e5642ecd6978c86d4ad3dfca15fa840c913)

Author SHA1 Message Date
Houtan Bastani f0ff0d911b preprocessor: allow arbitrary partitioning of variables (removes long_name keyword) 2016-02-26 16:47:17 +01:00
Michel Juillard 1a12a3de0f adding new option 'fast_kalman_filter' implementing Ed Herbst 2012 approach 2015-11-28 17:38:00 +01:00
Houtan Bastani 035b6ea463 Revert "preprocessor: add utf-8 tokenizing"
This reverts commit f2cc9d389954f16dbb88c3401e90c7981e3599d6.

This commit causes warnings in Flex
2015-10-30 18:27:41 +01:00
Houtan Bastani d587a5133f preprocessor: change prior_posterior_function into two arguments. closes #1076 2015-10-14 11:02:35 +02:00
Houtan Bastani 3907462ae9 preprocessor: prior_posterior_function: change option 'prior_posterior_sampling_draws' to 'sampling_draws' #1076 2015-10-13 17:41:31 +02:00
Houtan Bastani 863e13db55 preprocessor: interface for prior_posterior_function command. closes #1076 2015-10-13 17:16:10 +02:00
Johannes Pfeifer ce1ebac039 Allow suppressing density of smoother and forecast objects 2015-10-12 15:34:52 +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 7cc90013cd Merge branch 'julia' 2015-09-01 11:35:16 +02:00
Houtan Bastani 73a1ca92c0 preprocessor: posterior_kernel_density option to estimation. #1035 2015-08-25 11:09:08 +02:00
Michel Juillard 203ddeba3d finalize svar_global_identification_check 2015-08-24 14:53:27 +02:00
Houtan Bastani 33f2e2077c preprocessor: add utf-8 tokenizing 2015-08-17 17:09:40 +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
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
Stéphane Adjemian 55cdd7d6cc Merge pull request #942 from JohannesPfeifer/TaRB_integration
Integrate the TaRB-algorithm into Dynare
2015-06-19 14:30:56 +02:00
Houtan Bastani f94c7ab332 preprocessor: add VerbatimStatement class. Closes #953 2015-06-16 12:48:32 +02:00
Johannes Pfeifer 342d479e8b Add preprocessor option silent_optimizer 2015-06-08 16:48:57 +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
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 dc1b9429b1 preprocessor: bug fix for Windows 7 in joint parameters syntax. Closes #855 2015-03-19 15:33:35 +01: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 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
Houtan Bastani 4ecbb919d8 remove repetitive none statement introduced in a6009908e44e0ceb3204ba21c245d26eab56c51c 2014-10-13 16:02:37 +02: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) 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
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
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
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) 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 d2e93452c3 preprocessor: match dates in dynare syntax 2013-11-19 13:05:54 +01:00
Stéphane Adjemian (Scylla) cef58f7646 Merge branch 'master' into remove-dynDate-class 2013-11-15 18:36:10 +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 f3ef1f583f disallow -0 year 2013-10-22 14:06:57 +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 f8eb08bd55 disallow -0 year 2013-10-14 16:30:17 +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
Houtan Bastani cbb0167c4c simplify date regex and require [YyAa] to follow annual date 2013-10-11 11:13:15 +02:00
Stéphane Adjemian (Charybdis) 0aa3e823c7 Merge branch 'master' into maxit 2013-10-09 12:19:17 +02:00
Houtan Bastani bba6318bdb remove unnecessary parenthesis 2013-10-02 17:21:55 +02:00
Houtan Bastani afc73796d4 support unbounded years 2013-10-02 17:21:55 +02:00
Houtan Bastani 3e5f03fadc simplify regex 2013-10-02 17:21:55 +02:00
Houtan Bastani 50d1a71aad support negative dates 2013-10-02 17:21:55 +02:00
Houtan Bastani eeb0596831 bug fix for date_number: don't permit weeks >= 53 2013-10-02 11:12:32 +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 801c69bfe7 introduce verbatim block closes #437 2013-08-13 17:08:39 -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
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 01aa3e1427 extended_path is a statement, not a block 2013-06-07 17:16:45 +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 94e6f569b8 Add new model option 'differentiate_forward_vars' (ref. #351) 2013-04-25 18:09:31 +02:00
Michel Juillard 24cac29cdf removed changes linked with transforming variables to avoid log or
power of negative numbers
2013-04-09 16:35:57 +02:00
Sébastien Villemot 91f3f578a0 Use syntax log_trend_var(log_growth_factor = …) for consistency 2013-03-26 17:10:37 +01:00