Stéphane Adjemian (Charybdis)
2e280ecdcd
Added dseries/end method.
...
Allows the following syntax to extract variables from a
dseries object ts:
us = ts{2:end};
2014-06-11 12:22:34 +02:00
Stéphane Adjemian (Charybdis)
aa14faf508
Removed the possibility to extract subsamples from a dseries object with a vector of integers.
...
If ts is a dates object with 100 observations (ts.nobs=100), the
following syntax for selecting the last 90 observations *is not legal*:
ts(11:end)
ts has to be indexed instead with dates objects, as in the following example:
ts(d1:d2)
where d1 and d2 are dates objects. To select the 90 last observations,
if the last date is unknown, the following syntax can be used:
ts(ts.dates(11:end))
2014-06-11 12:22:34 +02:00
Stéphane Adjemian (Charybdis)
c3029468af
Do not display the object returned by from.
2014-06-11 12:22:34 +02:00
Stéphane Adjemian (Charybdis)
64bdbb525b
Allow variables extracted from a dseries object in the dynamic or static expression following the do keyword.
2014-06-11 12:22:34 +02:00
Stéphane Adjemian (Charybdis)
d60565bfc4
Fixed bug in @dates/colon (last years were wrong if r>0).
2014-06-11 12:22:34 +02:00
Stéphane Adjemian (Charybdis)
7a96533339
Allow empty dseries objects in @dseries/horzcat method. Added unitary test.
2014-06-11 12:22:33 +02:00
Stéphane Adjemian (Charybdis)
ba726db417
Fixed bug in @dates/colon methood (wrong offset if r>0).
2014-06-11 12:22:33 +02:00
Stéphane Adjemian (Charybdis)
3ae2874fd0
Cosmetic changes (error messages).
2014-06-11 12:22:33 +02:00
Stéphane Adjemian (Charybdis)
34e9f0dc14
Allow dates objects as first and third arguments (initial and terminal dates).
2014-06-11 12:22:33 +02:00
Stéphane Adjemian (Charybdis)
ac05826ef0
Test that the names of the variables contained in the dseries objects are different.
2014-06-11 12:22:33 +02:00
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
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
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