Houtan Bastani
074b6acb7d
SWZ: changes for new code
2011-05-13 17:23:41 +02:00
Houtan Bastani
aff5629736
bug fix: nonstationary vars and tex names
2011-04-08 13:37:05 +02:00
Houtan Bastani
865dcb57f8
IRF: add an option to limit the exogenous shocked in the computations (ticket 114)
2011-03-31 17:04:16 +02:00
Houtan Bastani
3e92f41079
ramsey_policy: allow discount factor to be an expression
2011-03-29 18:18:32 +02:00
Houtan Bastani
8cf247e26a
fixed typo
2011-03-22 10:38:58 +01:00
Michel Juillard
e029d46697
adding discretionary policy for linear quadratic models, thanks to code provided by Junior
2011-03-13 21:19:55 +01:00
Sébastien Villemot
89b5022f9b
Preprocessor: more explicit error message when users enter invalid floating
...
point numbers (like "1e-10000")
2011-02-16 11:08:40 +01:00
Sébastien Villemot
ca52f1a323
Preprocessor: fix error message for conditional_forecast_paths
2011-02-07 11:51:13 +01:00
Sébastien Villemot
f4557cb195
Reindentation of the preprocessor
2011-02-04 16:25:38 +01:00
Sébastien Villemot
7c65bceb0e
Preprocessor: in steady_state_model block, allow MATLAB functions which return several arguments ( closes #37 )
2011-01-26 13:55:01 -05:00
Sébastien Villemot
23d797d214
Preprocessor: minor refactoring of ParsingDriver::add_model_var_or_external_function
2011-01-13 19:10:16 +01:00
Sébastien Villemot
92b1451c70
Removed remnants of calib commands
2011-01-10 12:25:42 +01:00
Ferhat Mihoubi
97664607b2
- external functions are compatible with block decomposition and/or bytecode
2010-12-10 12:06:50 +01:00
Sébastien Villemot
771b4e766c
Preprocessor: various cleanups related to the signed vs non-negative numerical constants issues
2010-11-25 13:45:35 +01:00
Sébastien Villemot
76d5d441ea
Change the syntax for values of deterministic shocks:
...
Arbirtrary expressions after the "values" keywords must now be enclosed
within parentheses; consider the following example:
<code>
periods 1:2;
values -1 -2;
</code>
In the previous syntax, this was interpreted by the preprocessor as a shock of
value -1-2 = -3 for periods 1 and 2, which is clearly not the intent of the
user; with the new syntax, this will be rejected (too many values compared to
the number of ranges).
Also note that now commas are no longer required between arbitrary expressions,
since the parentheses are sufficient for separating them.
2010-11-24 18:26:43 +01:00
Sébastien Villemot
4a252d8d7c
Histval block:
...
- fail when user tries to initialize a variable at a period which is not in the model, and make the error message explicit
- correctly handle exogenous variables in stochastic mode, which are also substituted with an aux var
- added test files
2010-10-20 14:47:03 +02:00
Houtan Bastani
894155be88
trend_var, growth_factor, deflator: stationarize a nonstationary model and test
2010-10-18 16:07:42 +02:00
Sébastien Villemot
92d9a62dd3
Preprocessor: give more explicit error message when lead or lag is used inside 'planner_objective'
2010-10-11 14:49:23 +02:00
Sébastien Villemot
dbc9795a08
Preprocessor: rename "NodeID" in "expr_t"
2010-09-17 12:13:26 +02:00
Sébastien Villemot
25cf12f4f1
Preprocessor: uniformize typedef names (with a "_t" suffix)
2010-09-16 19:00:48 +02:00
Houtan Bastani
bab490fc7f
DSGE-VAR: support deprecated way of declaring dsge_prior_weight
2010-06-22 10:38:54 +02:00
Houtan Bastani
9b5df05804
DSGE-VAR: introduce dsge_var and dsge_varlag options to estimation statement
2010-06-22 10:38:43 +02:00
Houtan Bastani
6582341799
enable multi-line native matlab statements
2010-06-21 13:08:42 +02:00
Houtan Bastani
a0cd4b33ae
remove comments that are placed on the same line as native Matlab code in a .mod file
2010-06-18 16:21:28 +02:00
Sébastien Villemot
f1abbe724f
Preprocessor: cosmetic changes related to 'size_t'
2010-06-18 15:48:46 +02:00
Michel Juillard
ade0cd9d26
steady_state_model: authorizing change in parameter values in steady_state_model block + removing ys_ initialization to zero
2010-06-03 15:59:35 +02:00
Sébastien Villemot
c58312d3b7
Steady state file: in the presence of 'ramsey_policy', no longer check that the declarations are recursive, and use input vector of steady state file as initial values
2010-05-31 17:43:17 +02:00
Sébastien Villemot
37abe362a3
Preprocessor: added new 'steady_state_model' keyword for automatically creating steady state file
2010-04-23 18:39:07 +02:00
Sébastien Villemot
e2c0854cd4
Preprocessor: removed useless version of DataTree::AddVariable()
2010-04-23 18:32:25 +02:00
Sébastien Villemot
12ca3fe707
Preprocessor: removed useless version of DataTree::AddExternalFunction()
2010-04-23 18:32:19 +02:00
Sébastien Villemot
4b96b35dad
Preprocessor: changed the prototype of DataTree::AddLocalVariable()
2010-04-23 18:32:14 +02:00
Sébastien Villemot
da74e53204
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
Sébastien Villemot
7c01486b84
Preprocessor: minor fix in header inclusion
2010-04-06 11:07:19 +02:00
Sébastien Villemot
41343575a7
Preprocessor: removed unfinished 'prior_analysis' and 'posterior_analysis' statements
2010-03-18 14:56:22 +01:00
Houtan Bastani
4eefafef8a
bug fix: prevent vars with leads/lags from being used outside of the model block.
2010-03-15 10:47:44 +01:00
Houtan Bastani
1c3f7b83e5
Added erf as an internally supported function and updated manual.
2010-03-11 12:00:37 +01:00
Houtan Bastani
5d45bf947d
Added normpdf as an internally supported function and updated manual.
2010-03-11 10:16:40 +01:00
Houtan Bastani
28894927dd
Modified external functions to enforce consistent number of function arguments within model_block
2010-03-03 11:40:13 +01:00
Houtan Bastani
19d114ed32
Restricted syntactical variances in the implementation of the external_functions statement.
2010-02-24 15:37:52 +01:00
Sébastien Villemot
d860763122
Preprocessor: minor cosmetic changes related to external functions
2010-02-23 19:08:54 +01:00
Houtan Bastani
12c4a52ebc
Add support for external functions
2010-02-23 18:15:18 +01:00
houtanb
77897d691e
expectation conditional on a restricted information set
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3367 ac1d8469-bf42-47a9-8791-bf33cf982152
2010-01-18 22:08:44 +00:00
ferhat
46e144ad80
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
e6f1a53e60
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
sebastien
aa23ed73e9
preprocessor + bytecode DLL: various enhancements to block and bytecode options (changes by Ferhat)
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3244 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-16 13:21:31 +00:00
houtanb
271297a446
changed preprocessor internals to support vector<int> type. changed svar_identification to store symbols by symbol ids. Added missing Doxygen comments.
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3240 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-14 15:54:00 +00:00
houtanb
fe723f0dab
allow for vector <int> to be passed by Bison and modified processing of svar statement accordingly.
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3221 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-10 22:49:50 +00:00
houtanb
203c6582ba
svar: allow for two options to be passed instead of only three.
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3218 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-09 16:32:30 +00:00
houtanb
16e1bb2ef0
swz: implementation of svar
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3214 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-09 00:38:53 +00:00
houtanb
a2f878a179
swz: markov switching statement
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3212 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-08 16:46:13 +00:00