Commit Graph

7626 Commits (7f15295cda5093e3d29ef8178bf81acf51e1dbb4)

Author SHA1 Message Date
Stéphane Adjemian (Charybdis) 1ed0ccff6f Test that dseries are not empty. 2014-06-11 12:22:33 +02:00
Stéphane Adjemian (Charybdis) 03250208c0 Test that each dseries object contains only one variable. 2014-06-11 12:22:33 +02:00
Stéphane Adjemian (Charybdis) 0096611b06 Added the possibility to use parameters in a from-to-do statement. 2014-06-11 12:22:33 +02:00
Stéphane Adjemian (Charybdis) 95d613c53d Cosmetic change. 2014-06-11 12:22:33 +02:00
Stéphane Adjemian (Charybdis) 14819abb5f Added specialized code for static models. 2014-06-11 12:22:33 +02:00
Stéphane Adjemian (Charybdis) 65968bb134 Use new leadlagtable's columns introduced in d0708fcb2c978c7ae47aa8ab7cbdf6f2b162c123 (usefull for sparse dynamic models). 2014-06-11 12:22:32 +02:00
Stéphane Adjemian (Charybdis) f8203911c8 Added two columns to leadlagtable cell array (vectors of lag/lead orders). 2014-06-11 12:22:32 +02:00
Stéphane Adjemian (Charybdis) b858aed1c0 Various optimizations and cosmetic changes. 2014-06-11 12:22:32 +02:00
Stéphane Adjemian (Charybdis) 35645540e5 Bug fix. Wrong number of lines for time member if n<freq. 2014-06-11 12:22:32 +02:00
Stéphane Adjemian (Charybdis) adda8b6b09 Another speed improvement for @dates/colon method (vectorized code, removed loop around add_periods_to_date routine). 2014-06-11 12:22:32 +02:00
Stéphane Adjemian (Charybdis) 8587674317 Removed call to ismember. Test if to_id or do_id are empty instead. 2014-06-11 12:22:32 +02:00
Stéphane Adjemian (Charybdis) cf43c90347 Improve speed of @dates/colon method (added specialized version of add_periods_to_array_of_dates -> add_periods_to_date). 2014-06-11 12:22:32 +02:00
Stéphane Adjemian (Charybdis) cf86c8f721 Improve speed of comparison methods (lt, gt, le and ge) for @dates class. 2014-06-11 12:22:32 +02:00
Stéphane Adjemian (Charybdis) 84caf6d35f Improve speed of @dates/colon method. 2014-06-11 12:22:32 +02:00
Stéphane Adjemian (Charybdis) 6aee567382 Save empty dates and dseries objects in memory (base workspace) instead of disk (faster). Added an initialization mode for dates and dseries constructor. The following commands:
dates('initialization');
dseries('initialization');

create variables emptydatesobject and emptydseriesobject in base workspace.
2014-06-11 12:22:31 +02:00
Stéphane Adjemian (Charybdis) e4238dd7e4 Exclude from versioning the mat files generated for the initialization of dseries and dates objects. 2014-06-11 12:22:31 +02:00
Stéphane Adjemian (Charybdis) 0206792c12 Save empty dates and dseries objects on disk (in dynareroot), to reduce the time needed to instantiate new objects. 2014-06-11 12:22:31 +02:00
Stéphane Adjemian (Scylla) f5e2fda22a Code optimization. Removed manipulations of dseries objects in the
main loop.
2014-06-11 12:22:31 +02:00
Stéphane Adjemian (Scylla) 6dc0748de5 Added tests on the recursive expression to be evaluated (the endogeous variable
canot depend on its current level or its future level).
2014-06-11 12:22:31 +02:00
Stéphane Adjemian (Scylla) 507b56a055 Added lead/lag incidence table. Also check that the ranges of the
dseries objects appearing in the recursive expression are compatible
with the range of the loop.
2014-06-11 12:22:31 +02:00
Stéphane Adjemian (Scylla) 59a787f47f Check that the initial and terminal dates are in the ranges of the
dseries objects involved in the recursive expression.
2014-06-11 12:22:31 +02:00
Stéphane Adjemian (Scylla) 61d6276d47 Added comments. 2014-06-11 12:22:31 +02:00
Stéphane Adjemian (Scylla) e16e05a50d Removed the loop for building the recursive expression to be evaluated. 2014-06-11 12:22:31 +02:00
Stéphane Adjemian (Scylla) 4da4623c94 Fixed typo in comments. 2014-06-11 12:22:31 +02:00
Stéphane Adjemian (Scylla) 27587e1ea5 Factorized code for the displayed error messages. 2014-06-11 12:22:30 +02:00
Stéphane Adjemian (Scylla) 4fd4436013 Fixed case sensitivity issue with respect to TO and DO keywords. 2014-06-11 12:22:30 +02:00
Stéphane Adjemian (Scylla) 4dad18b222 Added new function from.
Allows the follwing syntax

FROM d1 TO d2 DO y(t)=f(y(t-1),e(t),e(t+1),e(t-1))

where d1 and d2 are @dates objects (d1<d2), y is a @dseries object
defined over d1-1:d2, and e is a @dseries object defined over
d1-1:d2+1.
2014-06-11 12:22:30 +02:00
Houtan Bastani 1958a7b5df reporting: fix shading on Linux 2014-06-10 15:48:49 +02:00
Johannes Pfeifer 39bfc1dd04 Fix two bug in resol that lead to crashes instead of error messages when loglinear option was used and steady state were negative 2014-06-10 10:58:19 +02:00
Houtan Bastani f755a32745 reporting: align graphs based on axis not axis labels 2014-06-10 10:15:24 +02:00
Houtan Bastani 9258aecba0 reporting: add options to control y axis label 2014-06-10 10:15:15 +02:00
Houtan Bastani f101009d0d reporting: change default multiplication operator for graph precision 2014-06-09 11:47:23 +02:00
Houtan Bastani e1b3bdf3fb doc: remove line related to 59bfd89f09 2014-06-09 10:14:24 +02:00
Houtan Bastani 59bfd89f09 doc: update dseries slides to reflect changes 2014-06-09 09:59:29 +02:00
Houtan Bastani 8b960b873d doc: dseries slides touch ups 2014-06-06 12:10:22 +02:00
Houtan Bastani f06178a218 doc: dseries slides touch ups 2014-06-05 13:00:04 +02:00
Sébastien Villemot 1a4df2fedf Merge pull request #659 from JohannesPfeifer/steady_fix
Fix size of NaN vector returned so that resid.m does not crash
2014-06-04 16:59:14 +02:00
Houtan Bastani a2eec75f6f doc: fix typos in dseries/reporting slides 2014-06-03 18:54:51 +02:00
Stéphane Adjemian (Charybdis) a9e8dbb752 Merge branch 'master' into use-dynSeries 2014-06-02 16:12:05 +02:00
Johannes Pfeifer ca6803b531 Add forgotten case to likelihood functions
Code 25 was not filtered out, leading to cryptic crashes
2014-06-02 14:10:43 +02:00
Johannes Pfeifer 54d353e255 Fix typo in header of DynamicModel.cc 2014-06-02 13:58:29 +02:00
Houtan Bastani ff268520cd doc: rework reporting portion of slides 2014-06-02 13:49:06 +02:00
Houtan Bastani dafc1b9c1f doc: add paragraph info to reporting portion of slides and do some minor touchups 2014-06-02 11:06:47 +02:00
Houtan Bastani 547fc8df49 doc: changes to dseries portion of slides following Stéphane’s slides 2014-06-02 11:06:47 +02:00
Johannes Pfeifer 2caa9eb9d4 Restore backward compatibility of mode_file option
Displays warning and then assumes the user provided a correct mode-file. Closes #658
2014-06-01 15:08:09 +02:00
Michel Juillard 381b0426e3 adding missing file for perfect foresight 2014-05-28 09:32:44 +02:00
Michel Juillard 979c1af53b perfect foresight with lmmcp: removed display of iterations 2014-05-28 09:23:10 +02:00
Houtan Bastani 799ce399f5 doc: some changes to dseries portion of slides, following Stéphane’s slides 2014-05-27 18:51:31 +02:00
Houtan Bastani da69fe91ab doc: more dates-related changes to slides 2014-05-27 14:54:28 +02:00
Houtan Bastani b63b8e381f doc: modify dates portion of slides based on Stéphane's slides 2014-05-27 11:55:18 +02:00