PCA Process Diagnostics (Hotelling T² and Q Residuals)
PCA process diagnostics fit principal components to calibration samples and flag new samples whose Hotelling T² within the model or Q residual outside the model exceeds a statistical limit.
PCA 공정 진단은 보정 시료로 주성분 모델을 만들고 모델 안의 호텔링 T² 나 모델 밖의 Q 잔차가 통계적 한계를 넘는 시료를 표시하는 방법입니다.
I monitor batches with many correlated process or spectral variables; how do I flag abnormal samples and see which variables caused the alarm?
서로 상관된 공정·스펙트럼 변수가 많은 배치를 감시하는데, 이상 시료를 어떻게 잡아내고 어느 변수 때문인지 어떻게 보나요?
Build a PCA model on normal calibration samples, then compute Hotelling T², the distance within the retained components, and Q (squared prediction error), the distance from the model plane, for every sample. Compare them with F-based and Jackson-Mudholkar limits and inspect variable contributions of flagged samples. For batch processes, the batch-wise unfolding option arranges each batch as one row of time points × variables, which removes the mean trajectory, and gives limits per time point for monitoring new batches.
When to use PCA Process Diagnostics (Hotelling T² and Q Residuals)
- Many correlated variables are monitored and a single multivariate alarm is needed.
- Spectra or batches must be screened for outliers before calibration modelling.
- The variables responsible for an abnormal sample should be identified.
When to use something else
- Only a few roughly independent variables are monitored; use univariate control charts.
- Two groups' mean vectors are to be compared; use Hotelling's T-squared test.
Assumptions and requirements
- Calibration samples represent normal operation and are free of gross outliers.
- Scores and residuals are approximately normal for the limits.
- Variables are scaled appropriately (autoscaling by default).
- In batch mode, batches are aligned on a common time grid (equal length) and at least 5 calibration batches are given; 20 or more are advisable.
What the analysis reports
- T² per sample with the F-based limit A(n²-1)/(n(n-A))F
- Q (SPE) per sample with the Jackson-Mudholkar limit
- Top contributing variable to T² and Q for flagged samples
- Number of components and explained variance
- Optional batch-wise unfolding (multiway PCA, Nomikos-MacGregor) of long-format batch data: batch-level T² and SPE with limits, SPE limits at every time point (g·χ² approximation), evolving T² from the data observed up to each time point, alarm counts and first alarm time per batch
How to report it
A [value]-component PCA model (calibration n = [value], [value]% variance) gave 95% limits T² = [value] and Q = [value]; [value] samples exceeded the T² limit and [value] the Q limit, mainly through variable [value].
Common variants
자주 쓰는 설정
The same analysis with settings already chosen. Each runs PCA Process Diagnostics (Hotelling T² and Q Residuals) itself, at the same price.
Related methods
- Multivariate Control Chart (Hotelling T² and MEWMA)
- Hotelling's T-squared Test
- Applicability Domain Assessment
How this method is validated
이 방법의 검증 근거
- Independent computation. 2 reference tests compare the results with scikit-learn.
독립 계산. scikit-learn 대조 참조 시험 2건 통과.
Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.
허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.
Run PCA Process Diagnostics (Hotelling T² and Q Residuals) on Quorant
- Data you need
- a table (CSV or Excel) with predictor (feature) columns
- Price
- 400 credits for one analysis up to 10,000 rows (complexity level 3); larger or wider data costs more. Optional methodologist review: 1800 credits.
- Checking
- Compared with independent computations
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.