Commit Graph

71 Commits (915bea91a101ba009f30387d02cc3c1cbd0d9698)

Author SHA1 Message Date
Houtan Bastani 58951045d9 preprocessor: JSON output for statements, #1387 2017-02-20 11:23:10 +01:00
Houtan Bastani 64642d928c preprocessor: write JSON output. #1387 2017-02-06 17:41:18 +01:00
Michel Juillard df20ace3cf adding missing initializations 2016-07-15 17:43:58 +02:00
Stéphane Adjemian (Hermes) d3da9eb990 Assign parameter values in main julia module.
See PR #1102 by spencerlyon2.

Added support for filling in the model.params Vector.
2016-05-23 13:48:19 +02:00
Houtan Bastani f94c7ab332 preprocessor: add VerbatimStatement class. Closes #953 2015-06-16 12:48:32 +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
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 96a5949d9e preprocessor: remove extraneous varexo, update model and statements, #841 2015-03-06 16:44:17 +01:00
Houtan Bastani 9f9452ea9c remove spurious lines in Statement.cc 2014-09-12 15:13:08 +02:00
Stéphane Adjemian (Scylla) 5cba5f37cc Fixed bug (test if the returned index is less than UINT_MAX). 2014-06-27 18:48:50 +02:00
Stéphane Adjemian (Charybdis) 6ce31cfea0 Do not initialize subfields of options_ as empty structs if they are already defined (in global_initialization). 2014-05-21 16:41:41 +02:00
Houtan Bastani 03833cee2f preprocessor: don't substitute 'dates' when preceded by an underscore 2014-04-18 16:08:39 +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 e040e4d0d6 Remove workaround preventing the use of "shocks" before "endval".
It now works correctly since 82b31156.

Closes #35
2014-04-08 17:53:10 +02:00
Michel Juillard 8d042b8121 finishing ramsey_model implementation 2014-03-09 12:15:32 +01:00
Houtan Bastani e1cebde83a ms-dsge: add param initialization to C output 2014-02-24 12:41:02 +01:00
Sébastien Villemot 64d3cfa601 Forbid the combination of estimation/mode_file and estimated_params_init/use_calibration
Closes #549
2013-12-09 16:23:49 +01:00
Houtan Bastani e12726a353 preprocessor: deal with dates in NativeStatement 2013-11-19 16:35:12 +01:00
Stéphane Adjemian (Scylla) aa4753f9ec Merge branch 'master' into remove-dynDate-class 2013-11-06 12:43:06 +01:00
ferhat b6c0850fb7 Add a flag for calib_smoother command and apply a setup similar to the one used for stoch_simul command:
- Add auxiliary variables for leaded and lagged exogenous
- Set the cutoff applied to the Jacobian at zero for the static and the dynamic models
2013-10-28 14:22:23 +01: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 496036d770 Revert "preprocessor: replace dates with dynDates"
This reverts commit 030fe52affb763f11766801f6deeb797e90365e2.

Conflicts:
	preprocessor/Statement.cc
2013-10-10 11:04:56 +02:00
Houtan Bastani 7b523eccd0 remove error message because odd numbers of apostrophes are valid for transposing matrices in Matlab syntax 2013-10-04 16:17:29 +02:00
Houtan Bastani a29ed07ea5 remove unused portion of code, code cleanup 2013-10-03 16:39:33 +02:00
Houtan Bastani dea0cdbdf3 handle inline comments 2013-10-03 16:27:25 +02:00
Houtan Bastani 1b527aa004 fix regular expression 2013-10-03 16:26:17 +02:00
Houtan Bastani 50b2c9d454 clarify error message 2013-10-03 15:44:31 +02:00
Houtan Bastani bb4ce64add catch leading space before comment 2013-10-03 10:48:29 +02:00
Houtan Bastani a96d79a3f0 remove unnecessary test 2013-10-03 09:16:31 +02:00
Houtan Bastani b42790cd6e preprocessor: replace dates with dynDates 2013-10-02 17:21:55 +02:00
Sébastien Villemot c882994056 Detect if an extended_path statement is present
Unused for the time being
2013-04-25 18:07:32 +02:00
Sébastien Villemot 1c98c34724 Amend the workaround for ticket #35, so that shocks+endval+simul can looped over 2012-07-30 17:01:42 +02:00
Sébastien Villemot a27e48575b Fix unitialized variable 2012-06-09 10:24:09 +02:00
Houtan Bastani 0b0d4d0455 estimation: rewrite options output 2012-03-29 16:45:46 +02:00
Houtan Bastani aa21ef6ec5 estimation: rewrite prior output 2012-03-29 16:07:01 +02:00
Houtan Bastani e4916a1d84 preprocessor: display a summary of preprocessor warnings at the end of a Dynare run 2012-01-30 10:44:14 +01:00
Houtan Bastani d865c0f4d6 ms-sbvar: enforce consecutive chain numbers for markov_switching 2012-01-04 14:42:06 +01:00
Houtan Bastani 5f88294bff bug_fix: add initializations for modfilestructure bools 2012-01-04 14:42:06 +01:00
Houtan Bastani b89eb4931c preprocessor: add set_time command 2011-12-21 12:21:29 +01:00
Michel Juillard 8adee6b673 adding discretionary policy for linear quadratic models, thanks to code provided by Junior 2011-03-13 21:19:55 +01:00
Houtan Bastani f8a717b496 bug fix: check that osr, osr_params and optim_weights appear together 2011-03-03 16:31:36 +01:00
Houtan Bastani d430ea8e43 bug fix: check that planner_objective and ramsey_policy statements appear together 2011-03-03 16:31:33 +01:00
Sébastien Villemot 5ddc0a595b Workaround for ticket #157 2011-02-04 12:38:12 +01:00
Sébastien Villemot c8fdd5d9d1 Preprocessor: uniformize typedef names (with a "_t" suffix) 2010-09-16 19:00:48 +02:00
Houtan Bastani 5a9f972cc1 DSGE-VAR: introduce dsge_var and dsge_varlag options to estimation statement 2010-06-22 10:38:43 +02:00
Sébastien Villemot 71d577bcb8 Preprocessor:
* give the possibility of calibrating measurement errors in the "shocks" blocks (only for observed endogenous variables)
* M_.H is now initialized in the preprocessor
* only one "varobs" statement is now accepted in a MOD file
2010-04-14 15:03:41 +02:00
ferhat 0808ba42b7 Add new model option no_static : avoid to compute the static model. Useful for models without steady-state.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3319 ac1d8469-bf42-47a9-8791-bf33cf982152
2010-01-08 11:06:25 +00:00
sebastien 3aa8876538 Beautified preprocessor code (uncrustify + emacs + manual adjustments, in particular with templates in MacroValue)
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3249 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-16 17:13:23 +00:00