Robust Hotelling-Type T² Control Chart Based on the Dual STATIS Approach

Implements a robust multivariate control-chart methodology for batch-based industrial processes with multiple correlated variables using the Dual STATIS (Structuration des Tableaux A Trois Indices de la Statistique) framework. A robust compromise covariance matrix is constructed from Phase I batches with the Minimum Covariance Determinant (MCD) estimator, and a Hotelling-type T² statistic is applied for anomaly detection in Phase II. The package includes functions to simulate clean and contaminated batches, to compute both robust and classical Hotelling T² control charts, to visualize results via robust biplots, and to launch an interactive 'shiny' dashboard. An internal dataset (pharma_data) is provided for reproducibility. See Lavit, Escoufier, Sabatier and Traissac (1994) for the original STATIS methodology, and Rousseeuw and Van Driessen (1999) for the MCD estimator.


robustT2: Robust Hotelling-Type T2 Control Chart Based on STATIS Dual

Overview

robustT2 is an R package designed for robust multivariate statistical process control.
It implements methods based on the STATIS Dual approach to monitor batch-based industrial processes involving multiple correlated quality variables.

The package provides:

  • Construction of a robust compromise covariance matrix using Minimum Covariance Determinant (MCD) estimators.
  • Robust Hotelling-type T² statistics for anomaly detection.
  • Phase II monitoring using standardized Mahalanobis distances projected onto the compromise structure.
  • Visualization tools through robust biplots (GH-Biplot and HJ-Biplot) and an interactive Shiny dashboard.

An internal dataset (datos_farma) is included for reproducibility and demonstration.


Installation

You can install the development version directly from GitHub:

``r

install.packages("devtools")

devtools::install_github("SergioDanielFG/robustT2")

Authors

Sergio Daniel Frutos Galarza PhD Candidate in Multivariate Statistics University of Salamanca (USAL)

Contributors

Omar Ruiz Barzola

Dr. Purificación Galindo Villardón

License

MIT © 2025 Sergio Daniel Frutos Galarza

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("robustT2")

0.1.0 by Sergio Daniel Frutos Galarza, a year ago


https://github.com/SergioDanielFG/robustT2


Report a bug at https://github.com/SergioDanielFG/robustT2/issues


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


Authors: Sergio Daniel Frutos Galarza [aut, cre] (ORCID: , Omar Ruiz Barzola [aut] (ORCID: , Purificación Galindo Villardón [aut] (ORCID:


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports dplyr, MASS, ggplot2, rrcov, shiny, ggrepel, forcats, Matrix

Suggests spelling


See at CRAN