Package: RCTS 0.2.4
RCTS: 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) <doi:10.1080/01621459.2016.1195743>. The implementation within this package excludes the SCAD-penalty on the estimations of beta. This robust framework is developed in Boudt & Heyndels (2022) <doi:10.1016/j.ecosta.2022.01.002> 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.
Authors:
RCTS_0.2.4.tar.gz
RCTS_0.2.4.zip(r-4.5)RCTS_0.2.4.zip(r-4.4)RCTS_0.2.4.zip(r-4.3)
RCTS_0.2.4.tgz(r-4.4-any)RCTS_0.2.4.tgz(r-4.3-any)
RCTS_0.2.4.tar.gz(r-4.5-noble)RCTS_0.2.4.tar.gz(r-4.4-noble)
RCTS_0.2.4.tgz(r-4.4-emscripten)RCTS_0.2.4.tgz(r-4.3-emscripten)
RCTS.pdf |RCTS.html✨
RCTS/json (API)
# Install 'RCTS' in R: |
install.packages('RCTS', repos = c('https://eh-in-r.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/eh-in-r/rcts/issues
- X_dgp3 - The dataset X_dgp3 contains the values of the 3 observable variables on which Y_dgp3 is based.
- Y_dgp3 - Y_dgp3 contains a simulated dataset for DGP 3.
- df_results_example - An example for df_results. This dataframe contains the estimators for each configuration.
- factor_group_true_dgp3 - Factor_group_true_dgp3 contains the values of the true group factors on which Y_dgp3 is based
- g_true_dgp3 - G_true_dgp3 contains the true group memberships of the elements of Y_dgp3
- lambda_group_true_dgp3 - Lambda_group_true_dgp3 contains the values of the loadings to the group factors on which Y_dgp3 is based
Last updated 1 years agofrom:f6a1ba4cdd. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Sep 09 2024 |
R-4.5-win | OK | Sep 09 2024 |
R-4.5-linux | OK | Sep 09 2024 |
R-4.4-win | OK | Sep 09 2024 |
R-4.4-mac | OK | Sep 09 2024 |
R-4.3-win | OK | Sep 09 2024 |
R-4.3-mac | OK | Sep 09 2024 |
Exports:adapt_pic_with_sigma2maxmodeladd_configurationadd_metricsadd_piccalculate_best_configcalculate_error_termcalculate_lambda_groupcalculate_PICcalculate_sigma2calculate_VCsquaredcheck_stopping_rulescreate_data_dgp2define_C_candidatesdefine_configurationsdefine_kg_candidatesdefine_number_subsetsestimate_algorithmestimate_betaestimate_factor_groupfill_rcfill_rcjget_best_configurationget_convergence_speedget_final_estimationinitialise_betainitialise_clusteringinitialise_commonfactorstructure_macropcainitialise_df_picinitialise_df_resultsinitialise_rcinitialise_rcjiteratemake_subsamplesparallel_algorithmplot_VCsquaredupdate_g
Dependencies:cellWiseclicolorspacecpp11DEoptimRdplyrfansifarvergenericsggplot2gluegridExtragtableisobandlabelinglatticelifecyclemagrittrMASSMatrixmatrixStatsmgcvmunsellmvtnormncvregnlmepcaPPpillarpkgconfigplyrpurrrR6rbibutilsRColorBrewerRcppRcppArmadilloRdpackreshape2rlangrobustbaserrcovscalesshapestringistringrsvdtibbletidyrtidyselectutf8vctrsviridisLitewithr