Re: [DynareDev] date slice of dynSeries
Hi Houtan, This feature is missing, I work on it today so that it will be possible to write something like : range = dynDate('1950Q3'):dynDate('1973Q1') ; ts = ds(range) ; Best, Stéphane. Le 2013-03-13 09:46, Houtan Bastani a écrit :
Hi Stephane,
How can you create a new dynSeries based on date range of another dynSeries?
e.g. I would want something like ds{'1999q1','2002q3'}
Thanks, Houtan
-- Stéphane Adjemian Université du Maine, Gains
Overloading the "colon" operator will do it. Sent from my iPhone On Mar 13, 2013, at 6:17, "Stéphane Adjemian" <stephane.adjemian@univ-lemans.fr> wrote:
Hi Houtan,
This feature is missing, I work on it today so that it will be possible to write something like :
range = dynDate('1950Q3'):dynDate('1973Q1') ;
ts = ds(range) ;
Best, Stéphane.
Le 2013-03-13 09:46, Houtan Bastani a écrit :
Hi Stephane,
How can you create a new dynSeries based on date range of another dynSeries?
e.g. I would want something like ds{'1999q1','2002q3'}
Thanks, Houtan
-- Stéphane Adjemian Université du Maine, Gains _______________________________________________ Dev mailing list Dev@dynare.org https://www.dynare.org/cgi-bin/mailman/listinfo/dev
participants (2)
-
Junior Maih -
Stéphane Adjemian