A Hotelling's T-squared chart is a multivariate statistical process control (SPC) chart used to monitor the mean vector of a process when two or more correlated quality characteristics are observed simultaneously. It extends univariate control charts like the X-bar chart to multiple dimensions by calculating the Hotelling's T-squared statistic, a multivariate distance measure that combines all variables into a single control statistic plotted against an upper control limit.
Glossary
Hotelling's T-squared Chart

What is Hotelling's T-squared Chart?
A multivariate control chart for monitoring the mean vector of a process with multiple correlated quality characteristics.
The chart signals an out-of-control condition when the T-squared statistic, which follows an F-distribution, exceeds its control limit, indicating a shift in the multivariate process mean. It is essential for rational subgrouping and is more powerful than monitoring individual univariate charts, as it accounts for correlation between variables and controls the overall Type I error rate for the process.
Key Features of Hotelling's T-squared Chart
Hotelling's T-squared chart is a multivariate control chart used to monitor the mean vector of a process when two or more correlated quality characteristics are observed simultaneously. Unlike univariate charts, it accounts for the relationships between variables.
Multivariate Mean Monitoring
The Hotelling's T-squared statistic is the core calculation, representing the squared statistical distance (Mahalanobis distance) of a sample's mean vector from the in-control process mean vector. It condenses multiple correlated variables into a single monitoring statistic.
- Formula: (T^2 = n(\bar{x} - \mu_0)' S^{-1} (\bar{x} - \mu_0))
- (\bar{x}): Sample mean vector.
- (\mu_0): Historical in-control process mean vector.
- (S^{-1}): Inverse of the sample covariance matrix.
- A single plotted point on the T-squared chart represents the combined status of all p variables for that sample.
Accounting for Variable Correlation
This is the chart's defining advantage over multiple univariate charts. It uses the covariance matrix (S) in its calculation, which captures the linear relationships between all monitored variables.
- Key Benefit: Correctly identifies out-of-control signals that would be missed by separate charts. For example, two variables might each be within their individual control limits, but their specific combination may be improbable given their typical correlation, triggering a T-squared alert.
- Avoids False Alarms: Reduces the overall probability of a Type I error (false out-of-control signal) compared to running many independent univariate charts.
Upper Control Limit (UCL) Derivation
The Upper Control Limit for a Hotelling's T-squared chart is based on the F-distribution, reflecting the multivariate nature of the data.
- Formula for Phase I (Retrospective Analysis): (UCL = \frac{(m-1)(n-1)p}{m(n-1)-p+1} F_{(\alpha, p, m(n-1)-p+1)})
- Formula for Phase II (Process Monitoring): (UCL = \frac{p(m+1)(n-1)}{m(n-1)-p+1} F_{(\alpha, p, m(n-1)-p+1)})
- m: Number of historical subgroups used to estimate (\mu_0) and (S).
- n: Subgroup size.
- p: Number of quality characteristics (variables).
- (F_{(\alpha, p, v)}): The upper (\alpha) percentage point of the F-distribution with p and v degrees of freedom. There is only an UCL; the lower limit is zero.
Signal Interpretation & Diagnosis
A point exceeding the UCL signals a multivariate out-of-control condition, but it does not indicate which variable(s) caused it. Diagnosis requires supplemental procedures:
- MYT Decomposition (Mason, Young, Tracy): A method to decompose the overall (T^2) value into independent components attributable to each variable, both unconditionally and conditional on others.
- Bonferroni-adjusted Univariate Charts: Plotting the individual variables on charts with adjusted, tighter control limits (e.g., using (\alpha/p)) to see which ones appear unusual.
- Principal Component Analysis (PCA) Charts: Monitoring the process via the principal components of the covariance matrix can sometimes isolate the source of variation.
Phase I vs. Phase II Analysis
The application of Hotelling's T-squared charts is formally split into two distinct phases with different objectives and calculations.
- Phase I (Retrospective): Goal: Establish a stable, in-control baseline. Historical data is analyzed to estimate (\mu_0) and (S), identify and remove special causes, and finalize the control limits for ongoing monitoring.
- Phase II (Monitoring): Goal: Detect shifts from the established baseline. New samples are plotted against the limits derived from the finalized Phase I estimates. The UCL formula changes because the parameters are now treated as known constants from the historical dataset.
Applications & Prerequisites
Hotelling's T-squared chart is powerful but has specific requirements for valid use.
Typical Applications:
- Monitoring multiple dimensions of a manufactured part (e.g., length, width, thickness).
- Tracking correlated chemical concentrations in a batch process.
- Observing multiple sensor readings from a complex machine.
Critical Prerequisites:
- Multivariate Normality: The underlying process data for the p variables should follow a multivariate normal distribution.
- Rational Subgrouping: Samples must be collected in rational subgroups where within-subgroup variation is due to common causes only.
- Adequate Historical Data (Phase I): A sufficiently large, stable historical dataset (m subgroups) is required to reliably estimate the mean vector and covariance matrix.
Hotelling's T-squared Chart vs. Univariate Control Charts
A direct comparison of multivariate and univariate statistical process control methods for monitoring data quality.
| Feature / Metric | Hotelling's T-squared Chart (Multivariate) | Univariate Control Charts (e.g., X-bar, I-MR) |
|---|---|---|
Primary Function | Monitors the mean vector of multiple correlated variables simultaneously. | Monitors a single quality characteristic (variable) over time. |
Data Structure | Requires a vector of p correlated measurements per observation (p ≥ 2). | Requires a single measurement or statistic (e.g., mean, range) per observation/subgroup. |
Correlation Handling | Explicitly models and accounts for correlations between variables. Signals account for joint variation. | Ignores correlations. Variables must be monitored on separate, independent charts. |
Type I Error (False Alarm) Rate | Controls the overall false alarm rate for the multivariate system (e.g., α = 0.0027 for ±3σ limits). | Controls the false alarm rate per individual chart. Monitoring k independent charts inflates the overall system Type I error to ~1-(1-α)^k. |
Signal Interpretation | A single out-of-control signal indicates a shift in the multivariate mean vector. Requires diagnostic procedures (e.g., contribution plots) to identify which variable(s) caused the shift. | A signal directly indicates a shift in the specific variable being plotted on that chart. |
Detection Sensitivity | More powerful for detecting small shifts in the mean vector when variables are correlated. | Less powerful for detecting shifts in correlated systems, as signals on individual charts may be masked or diluted. |
Modeling Complexity | Higher. Requires estimating a covariance matrix and calculating the T² statistic. Assumes multivariate normality. | Lower. Based on simpler statistics like sample means and ranges. Assumes univariate normality within subgroups. |
Visualization & Ease of Use | Single chart for the entire system, but diagnostic interpretation is more complex. | Simple, intuitive visualization—one chart per variable. Easy to plot and interpret by process operators. |
Common Use Cases in Data Observability | Monitoring multiple correlated data quality metrics (e.g., null rate, value range, string length) for a single dataset column or entity. Detecting subtle, systemic data drift. | Monitoring a single, critical data quality metric (e.g., row count, freshness latency). Establishing baseline control for individual pipeline performance indicators. |
Frequently Asked Questions
Hotelling's T-squared chart is a foundational tool in Multivariate Statistical Process Control (Multivariate SPC). These questions address its core mechanics, applications, and how it differs from traditional univariate control charts.
A Hotelling's T-squared chart is a multivariate control chart used to monitor the mean vector of a process when two or more correlated quality characteristics are observed simultaneously. It works by calculating a single composite statistic, T², for each sampled observation or subgroup. This statistic measures the standardized squared distance of the multivariate observation from the in-control process mean, accounting for the correlations between variables. The calculated T² value is plotted against an upper control limit derived from statistical distributions (like the F-distribution), providing a single signal for detecting shifts in the multivariate process mean.
Key Mechanism:
- Data Collection: Collect samples measuring
pcorrelated variables. - Parameter Estimation: Calculate the historical in-control mean vector (μ) and covariance matrix (Σ) from a phase I dataset.
- Statistic Calculation: For a new observation vector
x, compute:T² = (x - μ)' Σ⁻¹ (x - μ). - Monitoring: Plot T². A point exceeding the Upper Control Limit (UCL) indicates a potential special cause affecting the joint behavior of the variables.
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Related Terms
Hotelling's T-squared chart is a foundational tool within Multivariate Statistical Process Control (MSPC). These related concepts define the statistical framework for monitoring multiple, correlated process variables simultaneously.
Multivariate Statistical Process Control (MSPC)
Multivariate Statistical Process Control (MSPC) is the extension of univariate SPC to processes with multiple, correlated quality characteristics. It uses multivariate statistics, like the T-squared statistic, to monitor the mean vector and covariance structure of the process. Unlike monitoring variables individually, MSPC accounts for correlations, preventing missed signals and false alarms. It is essential in complex manufacturing and data pipelines where outputs are interdependent.
Control Chart
A control chart is a time-series graph with a central line (process mean) and upper/lower control limits. It is the primary tool in Statistical Process Control for distinguishing common cause from special cause variation. Hotelling's T-squared chart is a multivariate control chart that plots the Mahalanobis distance of a sample's mean vector from the target mean vector. Its control limit is a single upper bound, as the T-squared statistic is always non-negative.
Mahalanobis Distance
The Mahalanobis distance is a multivariate measure of how many standard deviations a point is from the mean of a distribution, accounting for correlations between variables. It is the core calculation for the T-squared statistic (T² = D²). Unlike Euclidean distance, it scales and rotates the data space based on the covariance matrix, making it unitless and sensitive to the underlying data structure. A large Mahalanobis distance indicates an observation is an outlier relative to the correlated process behavior.
Principal Component Analysis (PCA)
Principal Component Analysis (PCA) is a dimensionality reduction technique often used with Hotelling's T-squared charts. It transforms correlated variables into uncorrelated principal components. Monitoring these components with individual T² charts and a complementary Q statistic (SPE chart) helps diagnose whether a signal is due to a shift in the model space (T²) or a novel type of variation not captured by the model (Q). This PCA-T² approach is standard for high-dimensional process monitoring.
Multivariate Normal Distribution
The multivariate normal distribution is the foundational statistical assumption for the standard Hotelling's T-squared chart. It generalizes the normal distribution to multiple dimensions, defined by a mean vector and a covariance matrix. The theoretical control limits for the T-squared chart are derived from this distribution (using the F-distribution). While the chart is robust to minor deviations, severe non-normality can affect the Average Run Length (ARL) and require data transformation or non-parametric alternatives.
Phase I & Phase II Analysis
Deploying a T-squared chart involves two distinct phases:
- Phase I (Retrospective Analysis): Historical, "in-control" data is used to estimate the process mean vector and covariance matrix and establish the initial control limits. This phase identifies and removes special causes to achieve a stable baseline.
- Phase II (Prospective Monitoring): The chart is used for real-time monitoring of new observations, using the parameters and limits fixed in Phase I. Signals in Phase II indicate the process may have shifted from its established in-control state.

About the author
Prasad Kumkar
CEO & MD, Inference Systems
Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.
His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us