Data Preprocessing

Format, plot, and transform time series data

Classes

LagOp Create lag operator polynomial (LagOp) object

Functions

filter Apply lag operator polynomial to filter time series
hpfilter Hodrick-Prescott filter for trend and cyclical components
price2ret Convert prices to returns
ret2price Convert returns to prices
recessionplot Overlay recession bands on a time series plot
Was this topic helpful?