Clustering Time Series While Resisting Outliers

Robust Clustering of Time Series (RCTS) has the functionality to cluster time series using both the classical and the robust interactive fixed effects framework. The classical framework is developed in Ando & Bai (2017) . The implementation within this package excludes the SCAD-penalty on the estimations of beta. This robust framework is developed in Boudt & Heyndels (2022) and is made robust against different kinds of outliers. The algorithm iteratively updates beta (the coefficients of the observable variables), group membership, and the latent factors (which can be common and/or group-specific) along with their loadings. The number of groups and factors can be estimated if they are unknown.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("RCTS")

0.2.4 by Ewoud Heyndels, 3 years ago


Browse source code at https://github.com/cran/RCTS


Authors: Ewoud Heyndels [aut, cre]


Documentation:   PDF Manual  


GPL (>= 2) license


Imports stats, magrittr, dplyr, purrr, stringr, tidyr, tibble, ggplot2, ncvreg, robustbase, cellWise, rlang, Rdpack

Suggests tsqn, doParallel, doSNOW, foreach, mclust, Matrix


See at CRAN