Grocer Function

NAME

subper - restrict a ts to a subperiod

CALLING SEQUENCE

tsout=subper(tsin,arg1,[arg2])

PARAMETERS

Input

Output

DESCRIPTION

Restricts a timeseries to a subperiod.

EXAMPLE

y = subper(x,'1985q1','1990q4')

Assuming that the ts x is defined over a period including the interval ['1985q1';'1990q4'], y is x restricted to the period ['1985q1';'1990q4'].

AUTHOR

Eric Dubois 2002