@@ -8977,46 +8981,88 @@ ans = <dates: 1945Q4, 1939Q1, 1973Q2>
@enddeftypefn
@nodedseriesclass
@sectiondseriesclass
@sectiondseries
TheMatlab/Octave@dseriesclasshandlestimeseriesdata.AsanyMatlab/Octavestatements,thisclasscanbeusedinaDynare's mod file. A @dseries object has eight members:
Instantiates an empty @dseries object, with, if defined, an initial date given by the single element @dates object @var{INITIAL_DATE} (the frequency is then set accordingly).
@end deftypefn
@sp 1
@deftypefn {dseries} dseries (@var{FILENAME})
Instantiates and populates a @dseries object with a data file specified by @var{FILENAME}, a string passed as input. Valid file types are @file{.m} file, @file{.mat} file, and @file{.csv}.
If the data is not read from a file, it can be provided via a @math{T}x@math{N} matrix as the first argument to @code{dseries}'constructor,with@math{T}representingthenumberofobservationson@math{N}variables.Thesecondargument,@var{INITIAL_DATE},canbeeithera@datesobjectrepresentingtheperiodofthefirstobservationorastringwhichwouldbeusedtoinstantiatea@datesobject.Thethirdargument,@var{LIST_OF_NAMES},isa@math{1}by@math{N}cellofstringswithoneentryforeachvariablename.Thefinalargument,@var{LIST_OF_TEX_NAMES},isa@math{1}by@math{N}cellofstringscomposedofthe@LaTeX{}namesassociatedwiththevariables.Inputargumentsthreeandfourareoptional.