Commit Graph

929 Commits (e12726a353cba9288815437f00c269527474420a)

Author SHA1 Message Date
Houtan Bastani e12726a353 preprocessor: deal with dates in NativeStatement 2013-11-19 16:35:12 +01:00
Houtan Bastani d2e93452c3 preprocessor: match dates in dynare syntax 2013-11-19 13:05:54 +01:00
Houtan Bastani fae00ea729 fix bug introduced by ee812f38816294450a307ccb8f2fb2a27fc032f0 2013-11-19 13:05:08 +01:00
Houtan Bastani 1707e6aa96 preprocessor: bug fix: return oo 2013-11-19 11:56:39 +01:00
Houtan Bastani 29507f8e45 proprocessor: block code bug fix: M and oo not being passed to solve_two_boundaries 2013-11-19 11:54:00 +01:00
Houtan Bastani 9d5d6b713d Revert "macroprocessor: substitute dates, don't substitute dates preceded by $ or dates('"
This reverts commit 9be1d084fd2b510e7d229c7b0e02bde500e34ce1.
2013-11-18 12:53:55 +01:00
Houtan Bastani 71cd4c1a52 Revert macro/MacroFlex.ll of 858159a4f53e23a4654d5cb447e7a937faf30168 2013-11-18 12:53:42 +01:00
Houtan Bastani 0e6c4735ff Revert "macroprocessor: if you encounter dates(date), insert quotes"
This reverts commit 9eb34cee4a68d54a0943f41a7977899a36a60a80.
2013-11-18 12:42:48 +01:00
Houtan Bastani 9a28f4103d Revert "macroprocessor: copy anything within "dates()" straight to preprocessing stage"
This reverts commit 4f93207a30478d28f026cc1c9ac51640bd134f88.
2013-11-18 12:42:25 +01:00
Houtan Bastani 2acb921e99 Revert "simplify flex code"
This reverts commit 3d57c1e5e95de4fc36e2dee095aa8a9c187ddfc4.
2013-11-18 12:42:01 +01:00
Houtan Bastani c23cbb5edd clang compilation: replace ostringstream array with vector of strings 2013-11-18 12:16:37 +01:00
Houtan Bastani c03f89eb8d preprocessor: simplify if statement 2013-11-18 12:16:37 +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 f964d06e22 saves variables if they exist at end of dynare run. closes #517 2013-11-13 11:29:27 +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
Houtan Bastani 6d6701aa50 revert change that breaks gcc build 2013-11-05 18:21:12 +01:00
Sébastien Villemot 74ad93e0f4 Remove select1st (GNU extension), replace it by a call to boost::bind 2013-11-05 18:13:29 +01:00
Houtan Bastani 1ae5832e13 preprocessor and matlab mex fixes for clang compilation 2013-11-05 18:04:57 +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 1634c7c50f Always initialize M_.maximum_{endo,exo}_{lead,lag} and M_.params
Closes #515
2013-11-04 16:02:28 +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
Houtan Bastani bd9e8acdab preprocessor: move M_.Correlation_matrix and M_.Correlation_matrix_ME to preprocessor #392 2013-10-29 15:02:07 +01:00
Houtan Bastani 4852c12099 fix header to remove compilation warning 2013-10-29 12:47:40 +01:00
Houtan Bastani 114cb8bc25 missing semicolon 2013-10-29 12:38:28 +01:00
Sébastien Villemot e487dab6bb Refuse non-stationary endogenous variables in deflators.
It is not clear what we should do in that case anyways.
2013-10-29 18:47:59 +08:00
Sébastien Villemot 46c7622f1c Reactivate and fix the test for the balanced growth path.
If the homogeneized equation evaluates to zero, then we skip the
test (otherwise the 2nd derivative of the log is infinite, and the test fails
while it should not necessarily).

Closes #506
2013-10-29 18:46:54 +08:00
ferhat b21252b895 Comment the trend test for a balance growth path => problematic with eLogTrend 2013-10-28 16:41:21 +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
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 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 447177d771 simplify flex code 2013-10-23 15:28:16 +02:00
Houtan Bastani 72effd0156 macroprocessor: copy anything within "dates()" straight to preprocessing stage 2013-10-22 16:32:53 +02:00
Houtan Bastani 5b0bde1b8d macroprocessor: if you encounter dates(date), insert quotes 2013-10-22 14:06:57 +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 9ecd0f2b41 macroprocessor: substitute dates, don't substitute dates preceded by $ or dates(' 2013-10-22 14:06:57 +02:00
Houtan Bastani 1cd7ed1f03 macroprocessor: if you encounter dates(date), insert quotes 2013-10-14 18:16:07 +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 c2a3d342d8 macroprocessor: substitute dates, don't substitute dates preceded by $ or dates(' 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
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