Following the approach described in Chen & Liu (1993),
an automatic procedure for detection of outliers in time series
is implemented in the package
The function tsoutliers
is the main interface for the
automatic procedure. The functions locate.outliers.oloop
and remove.outliers
implement respectively the first and
second stages of the procedure. In practice, the user may stick to use
the function tsoutliers
.
Although the purpose of the package is to provide an automatic procedure,
the implementation allows the user to do a manual inspection of each
step of the procedure. Thus, the package is also useful to track the behaviour
of the procedure and come up with ideas for possible improvements or
enhancements.The functions locate.outliers.oloop
and remove.outliers
implement the major steps of the procedure.
tsoutliers
is the main interface to the automatic procedure.
All the options at any stage of the procedure can be defined through the
arguments passed to tsoutliers
.
Despite the user may stick to use the function tsoutliers
,
other functions called by this main interface are exported in the namespace of
the package. They are helpful for debugging and allow the interested user to more
easily track each step of the procedure.
Information supplemental to these help pages is given in the document that is
provided with the package (
Gómez, V. and Maravall, A. (1996).
Programs TRAMO and SEATS. Instructions for the user.
Banco de España, Servicio de Estudios. Working paper number 9628.
Gómez, V. and Taguas, D. (1995).
Detección y Corrección Automática de Outliers con TRAMO:
Una Aplicación al IPC de Bienes Industriales no Energéticos.
Ministerio de Economía y Hacienda. Document number D-95006.
Hyndman, R.J. and Khandakar, Y. (2008).
Hyndman, R.J. with contributions from
George Athanasopoulos, Slava Razbash, Drew Schmidt, Zhenyu Zhou, Yousaf Khan,
Christoph Bergmeir and Earo Wang (2014).