Commit Graph

379 Commits (cb411e5642ecd6978c86d4ad3dfca15fa840c913)

Author SHA1 Message Date
Houtan Bastani 012360c370 var_forecast: create individual .m files for each forecast 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
Houtan Bastani d2dfb65602 preprocessor: add realtime_shock_decomposition statement. #1406 2017-03-21 15:20:32 +01:00
Johannes Pfeifer 8c595e3298 evaluate_smoother.m: pass updated M_.params and oo_ back to base workspace
Closes #1373
2017-03-17 13:15:39 +01:00
Houtan Bastani 746f88eb6e preprocessor: create two different static and dynamic files with the option jsonprintderivdetail. #1387 2017-03-03 14:42:37 +01:00
Houtan Bastani 1b3cccb602 Merge branch 'master' into json 2017-03-03 14:42:25 +01:00
Houtan Bastani 301c9691d9 preprocessor: JSON output aesthetic fixes, support planner objective. #1387 2017-02-27 15:40:34 +01:00
Houtan Bastani 236f1ca7d0 preprocessor: fix JSON bugs. #1387 2017-02-27 14:23:55 +01:00
Houtan Bastani 915bea91a1 preprocessor: output JSON after different steps, write static, dynamic, params derivs files in JSON. #1387 2017-02-24 17:43:22 +01:00
Houtan Bastani 58951045d9 preprocessor: JSON output for statements, #1387 2017-02-20 11:23:10 +01:00
Houtan Bastani 83ea269155 preprocessor: aesthetic fix 2017-02-10 12:47:43 +01:00
Houtan Bastani 4dc640c635 preprocessor: aesthetic fix 2017-02-09 16:23:42 +01:00
Houtan Bastani d6e801cac8 preprocessor: change error to warning because we don’t end processing in this situation; fix error message 2017-02-09 16:21:18 +01:00
Houtan Bastani 5e1d20c8d9 preprocessor: replace exit(1) with exit(EXIT_FAILURE) 2017-02-09 12:46:37 +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 52e1017291 Make evaluate_smoother.m output former global variables for correct updating of these objects 2016-12-18 12:43:29 +01:00
Johannes Pfeifer cae0077ff4 Eliminate global variables from shock_decomposition.m 2016-12-18 09:57:51 +01:00
Houtan Bastani 01552008ba preprocessor: issue error when exogenous included in planner_objective. closes #1264 2016-08-12 11:50:57 +02:00
Stéphane Adjemian (Hermes) 64e04ac985 Allow (S)EP with arbitrary sequence of innovations.
The third input argument of extended_path Matlab/Octave's routine is the
sequence of shocks (T*n array, where n is the number of exogenous
variables and T is the size of the sample). If the third argument is
empty, the (stochastic) extended path is run with gaussian
innovations (this corresponds to the previous behaviour).

TODO:
 - Fix the compatibility with ep.replic_nbr
 - Check the 'calibrated' mode.
2016-05-24 17:28:24 +02:00
Stéphane Adjemian (Hermes) c3ed13bec7 Removed globals from extended_path routine. 2016-05-24 17:28:24 +02:00
Johannes Pfeifer 44cee441e5 Fix preprocessor renaming error introduced in b486ae4964ea534e70982487b1d7c11f732d950b 2016-05-22 11:41:54 +02:00
Houtan Bastani 9292389eeb preprocessor: replace obj_var_ with M_.osr.variable_indices and optim_weights with M_.osr.variable_weights. #948 2016-05-20 15:53:49 +02:00
Houtan Bastani 97a35ad6cb preprocessor: add warning if more than one osr_params statement is encountered in the .mod file. #948 2016-05-20 15:46:33 +02:00
Houtan Bastani a4045ae2da preprocessor: make modifications to osr_params and osr_params_bounds output. #948 2016-05-20 15:43:12 +02:00
Houtan Bastani 48928c61ce Revert "preprocessor: add params_derivs_order to identification and sensitivity. #1187"
This reverts commit 6192a6a7765e7bde388f4a6feac4362d1e9fd284.
2016-05-18 10:33:45 +02:00
Houtan Bastani b898bfea6e preprocessor: add params_derivs_order to identification and sensitivity. #1187 2016-05-17 17:18:16 +02:00
Houtan Bastani 0b922739a6 preprocessor: only compute first order derivatives w.r.t. parameters with identification. closes #1187 2016-05-12 12:02:34 +02:00
Houtan Bastani ca1879fe7d preprocessor: interface for osr_params_bounds. #948 2016-05-10 18:01:00 +02:00
Johannes Pfeifer 0c0ea326ce Fix wrong initialization of trend_coeff in preprocessor/ComputingTasks.cc 2016-03-23 10:06:19 +01:00
Stéphane Adjemian(Charybdis) e9f9aa2184 Allow irf_shocks in DSGE-VAR models. 2016-03-22 16:04:33 +01:00
Houtan Bastani d38d6e26b4 fix copyright dates 2016-03-11 16:22:42 +01:00
Stéphane Adjemian (Hermes) 359b4a20bc Fixed extended path.
- Removed call to make_ex_,
 - Fill oo_.exo_simul in extended path routine,
 - Do not update oo_.exo_simul after the call to the extended path routine,
 - Cosmetic change.

(cherry picked from commit 4791649524cc7876fc25d04a925f58a546a3a67d)
2016-03-05 16:24:14 +01:00
Michel Juillard bdc7f83f18 remove global in dyn_forecast() and change input and output arguments 2015-11-28 17:38:00 +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 ca44a87a54 fix typo 2015-10-13 17:21:32 +02:00
Houtan Bastani 863e13db55 preprocessor: interface for prior_posterior_function command. closes #1076 2015-10-13 17:16:10 +02:00
Houtan Bastani 4d06a6623e preprocessor: simplify code 2015-10-13 15:13:40 +02:00
Houtan Bastani 712ca5be89 fix typo 2015-10-13 15:13:40 +02:00
Stéphane Adjemian 4979fbd190 Merge pull request #1015 from JohannesPfeifer/model_comparison
Bugfixes and improvements for model_comparison
2015-10-09 17:11:15 +02:00
Houtan Bastani 7cc90013cd Merge branch 'julia' 2015-09-01 11:35:16 +02:00
Michel Juillard 203ddeba3d finalize svar_global_identification_check 2015-08-24 14:53:27 +02:00
Johannes Pfeifer 3951c00513 Save results of model_comparison to oo_ 2015-08-13 17:48:09 +02:00
Houtan Bastani ffc2188383 preprocessor: make hp, one-sided hp, and bandpass filters mutually exclusive 2015-08-03 17:51:45 +02:00
Houtan Bastani 5b4e94149c preprocessor: add bandpass_filter option to stoch_simul. #1011 2015-08-03 17:28:55 +02:00
Houtan Bastani 6fc6f2f7d1 clean up writing of static model 2015-07-27 15:59:13 +02:00
Houtan Bastani 4102e0cc56 Revert "Merge branch 'rmExtraExo'"
This reverts commit 28ffa9c56fd021cc75415aeafc13d3810d1b3132, reversing
changes made to 60b3577a09f3eb9cf3cc590241343b1f0fee8706.

Conflicts:
	preprocessor/Shocks.cc
	preprocessor/SymbolTable.cc
2015-06-09 16:42:51 +02:00
Michel Juillard 567156aad4 option occbin allows for more equations than variables 2015-06-04 14:18:46 +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 6d727f534e Merge branch 'rmExtraExo' 2015-05-28 12:33:56 +02:00
Houtan Bastani 35cd407f5f preprocessor: add minimal_workspace option to dynare statement, #946 2015-05-28 11:50:39 +02:00
Houtan Bastani 6905456cb3 preprocessor: provide more info in error message 2015-04-16 18:47:31 +02:00
Houtan Bastani 781039752a preprocessor: take care of instruments option in discretionary_policy
squash
2015-04-16 17:14:49 +02:00
Houtan Bastani a39448b63f fix typo 2015-04-16 16:45:36 +02:00
Houtan Bastani f76a6cb58b preprocessor: take care of exos in smoother2histval statement 2015-04-14 15:05:03 +02:00
Houtan Bastani ca233d8bf1 Merge branch 'master' into rmExtraExo 2015-04-14 14:47:59 +02:00
Houtan Bastani b5042500c8 preprocessor: method out of order 2015-04-14 14:47:26 +02:00
Houtan Bastani e4f3d31757 preprocessor: take care of exos in calib_smoother statements 2015-04-14 14:42:17 +02:00
Houtan Bastani 1165c2608b preprocessor: take care of exos in options statements 2015-04-14 12:49:15 +02:00
Houtan Bastani 7cc464b5ea preprocessor: take care of exos in prior statements 2015-04-14 12:06:53 +02:00
Houtan Bastani c8a7e47f6f Merge branch 'master' into rmExtraExo 2015-04-14 11:33:57 +02:00
Houtan Bastani f0efea3025 preprocessor: method out of order 2015-04-14 11:33:02 +02:00
Houtan Bastani 8719bbff32 preprocessor: take care of extra exos in ramsey_model instruments option 2015-04-09 16:29:52 +02:00
Houtan Bastani bddcc87c6e preprocessor: replace catch all exceptions in catch statements for clone/reindex methods 2015-04-09 16:17:22 +02:00
Houtan Bastani cb08675696 preprocessor: pointer to symbol_table unnecessary 2015-04-09 16:08:55 +02:00
Houtan Bastani da72162dbe preprocessor: remove commented code 2015-04-09 12:36:07 +02:00
Houtan Bastani f329a2686e preprocessor: take care of extra exos in plot_conditional_forecast 2015-04-09 12:16:52 +02:00
Houtan Bastani 6b79c05e45 preprocessor: take care of extra exos in conditional_forecast 2015-04-09 12:12:09 +02:00
Houtan Bastani 1b81049cb0 preprocessor: take care of extra exos in shock_decomposition 2015-04-09 12:04:36 +02:00
Houtan Bastani 5b029637e7 preprocessor: take care of extra exos in ms_sbvar_irf 2015-04-08 17:30:45 +02:00
Houtan Bastani c22d5f6b2b preprocessor: take care of extra exos in planner_objective 2015-04-08 16:35:09 +02:00
Houtan Bastani 47d0516d4f preprocessor: take care of extra exos in dynatype 2015-04-03 17:15:01 +02:00
Houtan Bastani 0c6f84bdcf preprocessor: take care of extra exos in dynasave 2015-04-03 17:11:28 +02:00
Houtan Bastani de1af95604 preprocessor: take care of extra exos in optim_weights 2015-04-03 17:07:26 +02:00
Houtan Bastani 9dda8c4058 preprocessor: take care of extra exos in osr 2015-04-03 17:07:25 +02:00
Houtan Bastani 6a634ba104 preprocessor: take care of extra exos in osr_params 2015-04-03 17:07:25 +02:00
Houtan Bastani e7218bd26a preprocessor: take care of extra exos in observation_trends 2015-04-03 17:07:18 +02:00
Houtan Bastani fd5b9279da take care of extra exos in estimated_params_bounds 2015-04-02 18:03:16 +02:00
Houtan Bastani 5a60f2d9d7 take care of extra exos in estimated_params_init 2015-04-02 17:57:12 +02:00
Houtan Bastani 27a69b8cec take care of extra exos in estimated_params 2015-04-02 17:42:01 +02:00
Houtan Bastani e4b10c4ec6 preprocessor: take care of extra exos in rplot 2015-04-01 15:48:07 +02:00
Houtan Bastani e3ef0b12c4 Merge branch 'master' into rmExtraExo 2015-04-01 15:22:10 +02:00
Houtan Bastani 84e680adef preprocessor: remove unnecessary options_list argument to rplot 2015-04-01 15:18:09 +02:00
Houtan Bastani c5b58ee1d9 preprocessor: take care of extra exos in dynare_sensitivity 2015-04-01 15:06:04 +02:00
Houtan Bastani 18624e0f8f preprocessor: take care of extra exos in estimation 2015-04-01 14:36:56 +02:00
Houtan Bastani 5163f28871 preprocessor: take care of extra exos in discretionary_policy 2015-04-01 14:26:07 +02:00
Houtan Bastani 33420148dd preprocessor: take care of extra exos in ramsey_policy 2015-04-01 14:19:51 +02:00
Houtan Bastani e82958222e preprocessor: take care of extra exos in ramsey_model statement 2015-03-31 17:50:16 +02:00
Houtan Bastani 71f76cdaa6 preprocessor: take care of extra exos in forecast statement 2015-03-31 17:41:41 +02:00
Houtan Bastani 8a92da9c5a preprocessor: take care of extra exos in stoch_simul 2015-03-31 16:59:47 +02:00
Houtan Bastani 30395147fb preprocessor: remove use of tables completely as they were introduced in Matlab R2013b. #824 2015-03-09 17:59:05 +01:00
Houtan Bastani 8aa35a4c0c preprocessor: cell2table doesn’t exist in Octave 2015-03-09 17:16:59 +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 904c93a75e preprocessor: ensure that options_.k_order_solver = 1 when order >= 3, closes #844 2015-02-10 03:39:18 +01:00
Houtan Bastani 20216b127a preprocessor: replace \n with endl 2014-12-15 11:44:27 +01:00
Houtan Bastani 6ae5cf8496 preprocessor: add return argument to dynare_estimation, #812 2014-12-15 11:35:28 +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
Michel Juillard 1aea6b4d4c fixing bug introduced in commit 4185e8af14704e83e1c5d8fd3d14c33c4cb1f7f4 2014-09-30 07:58:51 +02:00