Skip to main content
UpSkill Sprint Consulting

INTERMEDIATE · 180 MIN · INTERACTIVE LAB

Multivariate Statistical Process Control (MSPC) – Hotelling's T², Generalized Variance & Multivariate EWMA Control Charts: Complete Guide and Minitab Practice

Two pipes pass their individual strength checks. One follows the usual relationship between yield and tensile strength; the other breaks it. Can your control chart tell them apart? Multivariate statistical process control (MSPC) can.

Three complementary detectors

One process. Three ways to detect change.

T²Has the center moved?Joint mean shifthero t2Two correlated variables normally move together; an opposite-direction change leaves their ellipse.Unusual combination
GVHas the spread changed?Joint dispersionhero gvTwo ellipses with the same center but different areas.Same center, larger spread
MEWMAIs a shift persisting?Persistent drifthero mewmaA weighted line climbs after repeated deviations.UCL
01 / Your objectives

What you will be able to do

Understand and calculate

  • Explain why correlated variables require joint monitoring.
  • Calculate variance, covariance, correlation and T² by hand.
  • Distinguish joint location, dispersion and persistent drift.

Interpret and apply

  • Establish a representative historical baseline.
  • Recreate four Minitab chart types and interpret five panels.
  • Investigate a signal without confusing control with specification compliance.

Prerequisites: basic means, standard deviations and control limits. All examples use synthetic teaching data, not production records.

Before the mathematics: why do we need multivariate SPC?

Univariate SPC monitors one characteristic at a time. Multivariate SPC monitors several related characteristics as a vector. A process can look normal on each separate chart while its usual relationship between characteristics changes.

Separate charts see two acceptable readings

Individual three-sigma checksBoth individual deviations are within plus or minus three standard deviations.−3σ+3σTargetYSUTS+1.5σ−1.5σ
Each measurement is individually within an illustrative three-sigma band.

The joint chart sees an abnormal combination

Correlation-adjusted ellipsePipe B is outside the joint ellipse while Pipe A is inside.A: 2.5B: 22.5YS deviationUTS deviation
Known covariance, individual observations, illustrative T² limit 11.829 (upper-tail probability about 0.0027).

Neither picture determines whether a pipe meets its engineering specifications. Statistical control and product acceptance are separate decisions.

What does one point represent?

DesignInputOne plotted point
IndividualsOne paired YS/UTS specimenIts two-dimensional observation
SubgroupsTen paired specimens per subgroupT²: subgroup means; GV: subgroup covariance; MEWMA: smoothed subgroup means

Our Minitab exercises use subgroups of ten. The pipe A/B introduction uses individuals, so its numerical statistic and limit must not be compared directly with the saved subgroup chart.

The hidden signal: two variables, one story

Yield strength (YS) and ultimate tensile strength (UTS) often move together. A pipe with unusually high YS and low UTS may be suspicious even if each value is within its own control limits. Control limits describe statistical behaviour, not engineering specifications.

Pipe A

515 MPa YS, 615 MPa UTS. Both rise together.

\(T^2 = 2.5\)

Pipe B

515 MPa YS, 585 MPa UTS. The usual relationship breaks.

\(T^2 = 22.5\)

Try it: move the correlation

Joint control ellipseThe ellipse changes with correlation; the fixed pipe has positive YS and negative UTS deviations.Pipe BYS deviation

Which detective answers which question?

ChartWhat it remembersWhat it detectsWhat it cannot establish
ShewhartCurrent pointLarge individual mean or spread changes, depending on chartUnusual joint combinations
CUSUMAccumulated deviationsSmall sustained univariate mean shiftChanging covariance
EWMAWeighted historyUnivariate driftJoint location
T²Current vectorJoint location changeDirection or cause by itself
GVCurrent subgroup covarianceChange in determinantEvery possible covariance change
MEWMAWeighted vector historyPersistent joint location shiftDispersion change specifically

Essential vocabulary

Vector

A row of paired measurements, not separate unrelated samples.

Covariance

How two deviations move together, in product units.

Correlation

Standardized covariance, between \(-1\) and \(+1\).

Rational subgroup

Measurements collected under comparable short-term conditions.

ARL

Expected number of plotted points before a signal.

Decomposition

A diagnostic contribution analysis, not proof of causality.

Covariance: the process fingerprint

A variance describes the spread of one variable. Covariance describes how two variables move together. Correlation scales covariance to a unitless number between \(-1\) and \(+1\).

100

YS variance (MPa²)

80

YS–UTS covariance (MPa²)

0.80

Correlation

\[S=\begin{bmatrix}100&80\\80&100\end{bmatrix},\quad r=\frac{80}{10(10)}=0.8\]

The diagonal entries are variances; off-diagonal entries are covariances. Both standard deviations equal 10 MPa. Positive covariance means the variables tend to move in the same direction.

M1
YS
UTS
YS
100Variance · MPa²
80Covariance · MPa²
UTS
80Covariance · MPa²
100Variance · MPa²
Diagonal · individual variationOff-diagonal · joint variation
Read along the diagonal for each variable's own spread; read the two matching off-diagonal cells for the relationship. Matrix order is YS, UTS. This is the reference M1 matrix used throughout the Minitab exercise.

Calculate it from measurements

For paired observations, the sample covariance is \[s_{xy}=\frac{\sum_{i=1}^{N}(x_i-\bar x)(y_i-\bar y)}{N-1}\] where \(N\) is the number of paired observations and the bars represent sample means. Replacing \(y\) with \(x\) gives the sample variance.

For YS values 480, 490, 500, 510, 520 and UTS values 580, 595, 590, 615, 620, the means are 500 and 600. The sums of squared deviations are 1000 and 1150; cross-products total 1000.

YSUTS\(\text{YS} - 500\)\(\text{UTS} - 600\)\((\text{YS} - 500)^2\)\((\text{UTS} - 600)^2\)Cross-product
480580-20-20400400400
490595-10-51002550
5005900-1001000
5106151015100225150
5206202020400400400
Sum00100011501000

Divide each sum by \(N-1=4\), not 5, because these are sample estimates. The standard deviations are \(\sqrt{250}=15.81\) and \(\sqrt{287.5}=16.96\) MPa. Their correlation is \(250/\sqrt{250(287.5)}=0.9325\). Notice this small teaching sample has its own covariance matrix; do not substitute it for the historical 100/80 matrix.

\[S=\begin{bmatrix}250&250\\250&287.5\end{bmatrix}\]

With rational subgroups, estimate within-subgroup covariance rather than blindly using overall covariance. For equal subgroup sizes, average their covariance matrices. For unequal sizes, weight by degrees of freedom. Individual-observation charts may use successive-difference estimators.

Phase IInvestigate baseline
FreezeMeans and covariance
Phase IIMonitor new data

Use comparable grades, sizes, test orientations and measurement methods. Do not discard points simply because they signal; investigate and document assignable causes.

Build a historical covariance matrix from real measurements — not an invented matrix

The fixed matrix in the saved project is a teaching assumption. When you monitor an actual production process, estimate the mean and covariance from a representative, stable baseline. Here is an independent Phase I example using only the first 40 subgroups of the original practice dataset (400 measurements). These estimates are separate from the saved chart settings.

Step 1 — establish location

Mean YS = 500.4565 MPa

Mean UTS = 600.2878 MPa

40 equal-size subgroups, each containing 10 paired specimens.

Step 2 — estimate within-subgroup variation

\[S_{\mathrm{pool}}=\begin{bmatrix}98.6679&88.3904\\88.3904&114.0702\end{bmatrix}\]

Units: MPa². This is not the covariance of the 40 subgroup averages.

Why pool the individual subgroup matrices?

\[S_{\mathrm{pool}}=\frac{\sum_{i=1}^{m}(n_i-1)S_i}{\sum_{i=1}^{m}(n_i-1)}\]

For equal sizes, simply average the subgroup covariance matrices. For this example the denominator is \(40 \times 9 = 360\). The pooled estimate describes short-term variation, while covariance across all 400 readings can include between-subgroup movements.

Estimate and store historical parameters in Minitab
  1. Open the T²/GV worksheet. Use Data → Subset Worksheet to create a baseline worksheet containing only subgroup IDs 1 through 40.
  2. Create a T² chart using the YS and UTS columns and Subgroup as subgroup identifiers. Leave historical parameters unspecified so Minitab estimates them.
  3. Review the chart for instability; investigate special causes and document any justified exclusions. A historical window is not automatically stable.
  4. In T² Options → Storage, select means and covariance matrices. Run the analysis and inspect the saved matrix with Data → Display Data. Compare the values against the teaching estimate above, allowing for estimator differences.
  5. For prospective monitoring, copy the historical matrix and means to the worksheet containing future observations. Enter the actual number of baseline subgroups used (40 in this example, if none were excluded). Do not recalculate the reference from the future data every time an alarm occurs.

Official Minitab instructions for storing statistics.

Before deployment, confirm the variables share a stable joint distribution, the paired measurements are meaningful, the matrix is positive definite and sampling assumptions are adequate. A near-singular matrix is a warning of redundant variables or insufficient information.

01 · Joint location

Hotelling's T²: detect a joint mean shift

\[T_i^2=n(\bar{\mathbf x}_i-\boldsymbol\mu_0)^T S^{-1}(\bar{\mathbf x}_i-\boldsymbol\mu_0)\]

Here \(n\) is subgroup size, \(\bar{\mathbf x}_i\) the subgroup mean vector, \(\boldsymbol\mu_0\) the reference mean vector, and \(S\) the reference covariance matrix. The inverse covariance adjusts the distance for natural spread and relationships.

A superscript T means transpose: it turns a column into a row. The superscript \(-1\) denotes the inverse matrix, not the reciprocal of each entry. Multiply the row of mean deviations, the inverse covariance, and the column of deviations in that order; the result is one number.

For one observation and two variables with standardized deviations \(z_1,z_2\) and correlation \(r\): \[T^2=\frac{z_1^2-2rz_1z_2+z_2^2}{1-r^2}\]

Pipe A gives 2.5 and Pipe B gives 22.5 when both standard deviations are 10 MPa and correlation is 0.8. With known population parameters the theoretical limit is a chi-square quantile; estimated parameters require chart-specific limits. The saved Minitab UCL is 27.1452, not the illustrative 11.83 limit used for the individual-observation lab.

Why the upper control limits differ

For a known mean and known covariance, independent normal subgroup means have \(T^2\sim\chi_p^2\). For \(p=2\) and upper-tail probability 0.0027, the quantile is 11.829. This is the introductory ellipse threshold. The saved chart instead uses Minitab's historical-sample-count setting of 2 and returns 27.1452. Use that number to reproduce the saved project, not as a general production recommendation.

When the parameters are estimated, the reference sample size, the estimator and whether the plotted observations were used to estimate the baseline affect the distribution.

Phase I and Phase II limits need not match. For a new production chart use Minitab's documented formula for that design rather than copying either exercise limit. The MEWMA limit also depends on the weight and run-length target.

Joint locationSaved data · reconstructed

T² control chart

Hotelling's T²Subgroups 41 and 51 exceed the UCL; both statistics are approximately 100.0255075100UCL 27.15Subgroup 1: 0.4978Subgroup 2: 0.4968Subgroup 3: 1.1353Subgroup 4: 0.2205Subgroup 5: 3.6897Subgroup 6: 2.0472Subgroup 7: 3.041Subgroup 8: 1.6629Subgroup 9: 0.5696Subgroup 10: 0.5082Subgroup 11: 0.7778Subgroup 12: 0.3623Subgroup 13: 1.4554Subgroup 14: 1.802Subgroup 15: 1.6422Subgroup 16: 0.8524Subgroup 17: 1.4428Subgroup 18: 0.5118Subgroup 19: 2.9491Subgroup 20: 0.6112Subgroup 21: 0.793Subgroup 22: 0.3457Subgroup 23: 9.0838Subgroup 24: 2.1344Subgroup 25: 0.9388Subgroup 26: 2.1017Subgroup 27: 6.0454Subgroup 28: 2.2958Subgroup 29: 1.2757Subgroup 30: 1.575Subgroup 31: 1.0579Subgroup 32: 1.0658Subgroup 33: 2.9867Subgroup 34: 3.4979Subgroup 35: 4.4665Subgroup 36: 2.12Subgroup 37: 0.3179Subgroup 38: 1.3667Subgroup 39: 0.2939Subgroup 40: 0.0115Subgroup 41: 10041Subgroup 42: 0.3408Subgroup 43: 0.2103Subgroup 44: 0.6163Subgroup 45: 0.3247Subgroup 46: 3.605Subgroup 47: 0.4857Subgroup 48: 4.0638Subgroup 49: 9.6315Subgroup 50: 2.4905Subgroup 51: 99.999951Subgroup 52: 4.3012Subgroup 53: 1.7116Subgroup 54: 0.2335Subgroup 55: 5.2944Subgroup 56: 1.5626Subgroup 57: 0.7263Subgroup 58: 0.3894Subgroup 59: 2.92Subgroup 60: 3.62251102030405060SubgroupT²
Within limitSignalUCLCenter line
Upper control limit27.15Signals: 41, 51
Subgroup 41100.00Above UCL
Subgroup 51100.00Above UCL
Subgroups 41 and 51 exceed the UCL; both statistics are approximately 100. Reconstructed from saved Minitab graph statistics; values rounded for display.
Reveal full saved-project plot rendering
Hotelling’s T² full-size plot with control limits and failed subgroups
Full-size SVG reconstructed from the original saved chart statistics. This is not an exported Minitab screenshot. Select the image to view at full resolution.
Show step-by-step Minitab setup — T²

Start with: T2_GV_Practice.csv. If you have never imported a CSV, follow the first-time setup guide first. Activate the correct worksheet. You should have 600 rows, four named numeric columns, and 60 groups of ten.

1–2. Create the stored matrix M1

Do this once per worksheet. Follow Step B: type 100, 80 and 80, 100 into C5:C6, then use Data → Copy → Columns to Matrix to store them as M1. Check it with Data → Display Data (two rows: 100, 80 and 80, 100) before you continue.

3. Open the chart and fill in its main dialog

Select Stat → Control Charts → Multivariate Charts → T². Click in each field before entering its value. Use the names or numbers shown; do not enter both sets.

T² · main dialog field map
VariablesC3 C4Subgroup sizesC1

Next click T² Options; do not submit the main dialog yet.

Variables: C3 = YS_MPa, C4 = UTS_MPa. Subgroup sizes: C1 = Subgroup identifies the group of each row. You can alternatively enter the constant 10 when all groups are contiguous and equal-sized, but use C1 for the saved exercise. Never enter C2 or 60 here.

4. Enter historical parameters in the Options dialog

Click T² Options → Parameters. Use the values below. These fields are different from the main dialog.

T² Options · Parameters field map
Mean500 600Covariance matrix → MatrixM1Number of samples used to calculate covariance2

Use Copy instead of M1 only if that is the actual name of the verified stored matrix. Leave stages and unrelated settings at defaults.

Important: the saved exercise uses historical count 2, even though this is a theoretical covariance matrix. This reproduces the project, not a defensible production baseline. The number is neither the number of variables nor the subgroup size. For a real estimated reference use the actual historical sample count required by Minitab.

5. Run the chart and check the output

  1. Confirm the Options dialog, then click OK in the main chart dialog.
  2. In the Navigator, select the new T² analysis. The output shows the plotted chart and any test results. The horizontal axis is subgroup number, not individual specimen number.
  3. Compare the displayed upper limit with 27.1452, allowing for rounding. There should be 60 plotted statistics . Expected signal locations: 41 and 51.
  4. Hover over a plotted point in the graph to inspect its subgroup and statistic where supported. Inspect the test-results/decomposition table for the flagged points and variables. The table may display tiny p-values as 0.000; see the lesson's actual saved-output transcription. A signal is a reason to investigate, not proof of a defect.

Official Minitab historical parameter instructions for T² · If your chart does not match, troubleshoot here.

The chart detects a joint deviation, not necessarily a change in just one variable. Inspect individual measurements and decomposition before assigning a cause.

02 · Joint dispersion

Generalized Variance: detect joint dispersion

\[GV_i=\det(S_i)=s_1^2s_2^2(1-r^2)\]

For two variables, \(s_1,s_2\) are subgroup standard deviations and \(r\) is their subgroup correlation. The determinant measures joint dispersion, not the arithmetic sum of variances.

3,600

Both SDs 10; correlation 0.8

18,225

Both SDs 15; correlation 0.8

9,600

Both SDs 10; correlation 0.2

Even when each standard deviation is unchanged, weaker correlation can increase generalized variance. Conversely, different covariance matrices can have the same determinant. A sign reversal of correlation alone is invisible to this statistic.

Live lab: change spread without moving the center

gv live ellipseReference and modified covariance ellipses at the same center.Same center; different joint spread

Joint dispersionSaved data · reconstructed

GV control chart

Generalized VarianceSubgroups 46 and 51 signal; their determinants are 47,400.30 and 135,264.98.0k50k100k150kUCL 11,446.02Subgroup 1: 1484.0634Subgroup 2: 1257.8355Subgroup 3: 1038.156Subgroup 4: 683.6055Subgroup 5: 1258.3778Subgroup 6: 1904.3168Subgroup 7: 5238.8947Subgroup 8: 3181.6684Subgroup 9: 4042.3683Subgroup 10: 2476.1038Subgroup 11: 2318.2516Subgroup 12: 7678.9832Subgroup 13: 2300.6693Subgroup 14: 1297.9275Subgroup 15: 2197.1032Subgroup 16: 6063.6263Subgroup 17: 1082.3769Subgroup 18: 8542.5832Subgroup 19: 2302.4325Subgroup 20: 2838.7102Subgroup 21: 1579.9077Subgroup 22: 5916.7391Subgroup 23: 2235.5955Subgroup 24: 2528.8137Subgroup 25: 2417.0536Subgroup 26: 704.0825Subgroup 27: 4837.7933Subgroup 28: 1890.1495Subgroup 29: 3593.2179Subgroup 30: 2418.5801Subgroup 31: 5803.5999Subgroup 32: 3868.6241Subgroup 33: 2920.2639Subgroup 34: 729.1664Subgroup 35: 3552.3984Subgroup 36: 1602.0999Subgroup 37: 1286.665Subgroup 38: 5195.3491Subgroup 39: 2128.6701Subgroup 40: 2226.5995Subgroup 41: 3148.864Subgroup 42: 3874.1707Subgroup 43: 401.5513Subgroup 44: 8785.7346Subgroup 45: 1731.9428Subgroup 46: 47400.300246Subgroup 47: 2471.8904Subgroup 48: 2070.8814Subgroup 49: 1503.4717Subgroup 50: 1891.1087Subgroup 51: 135264.983451Subgroup 52: 3814.1071Subgroup 53: 2651.6555Subgroup 54: 4949.4995Subgroup 55: 3217.2655Subgroup 56: 5882.2392Subgroup 57: 3596.9095Subgroup 58: 1186.9164Subgroup 59: 7250.7847Subgroup 60: 7176.98931102030405060SubgroupGV (MPa⁴)
Within limitSignalUCLCenter line
Upper control limit11,446.02Signals: 46, 51
Subgroup 4647,400.30Above UCL
Subgroup 51135,264.98Above UCL
Subgroups 46 and 51 signal; their determinants are 47,400.30 and 135,264.98. Reconstructed from saved Minitab graph statistics; values rounded for display.
Reveal full saved-project plot rendering
Generalized Variance full-size plot with control limits and failed subgroups
Full-size SVG reconstructed from the original saved chart statistics. This is not an exported Minitab screenshot. Select the image to view at full resolution.
Show step-by-step Minitab setup — Generalized Variance

Start with: T2_GV_Practice.csv. If you have never imported a CSV, follow the first-time setup guide first. Activate the correct worksheet. You should have 600 rows, four named numeric columns, and 60 groups of ten.

1–2. Create the stored matrix M1

Do this once per worksheet. Follow Step B: type 100, 80 and 80, 100 into C5:C6, then use Data → Copy → Columns to Matrix to store them as M1. Check it with Data → Display Data (two rows: 100, 80 and 80, 100) before you continue.

3. Open the chart and fill in its main dialog

Select Stat → Control Charts → Multivariate Charts → Generalized Variance. Click in each field before entering its value. Use the names or numbers shown; do not enter both sets.

Generalized Variance · main dialog field map
VariablesC3 C4Subgroup sizesC1

Next click Gen Var Options; do not submit the main dialog yet.

Variables: C3 = YS_MPa, C4 = UTS_MPa. Subgroup sizes: C1 = Subgroup identifies the group of each row. You can alternatively enter the constant 10 when all groups are contiguous and equal-sized, but use C1 for the saved exercise. Never enter C2 or 60 here.

4. Enter historical parameters in the Options dialog

Click Gen Var Options → Parameters. Use the values below. These fields are different from the main dialog.

Gen Var Options · Parameters field map
Covariance matrixM1

Use Copy instead of M1 only if that is the actual name of the verified stored matrix. Leave stages and unrelated settings at defaults.

GV has no mean or historical sample-count entry. Its statistic concerns dispersion.

5. Run the chart and check the output

  1. Confirm the Options dialog, then click OK in the main chart dialog.
  2. In the Navigator, select the new Generalized Variance analysis. The output shows the plotted chart and any test results. The horizontal axis is subgroup number, not individual specimen number.
  3. Compare the displayed upper limit with 11446.0181, allowing for rounding. There should be 60 plotted statistics . Expected signal locations: 46 and 51.
  4. Hover over a plotted point in the graph to inspect its subgroup and statistic where supported. Read the associated test-results output for the flagged subgroups. A signal is a reason to investigate, not proof of a defect.

Official Minitab historical parameter instructions for Generalized Variance · If your chart does not match, troubleshoot here.

The saved center line is 3600 and lower limit is zero. Subgroup 46 illustrates a dispersion disturbance without a T² signal.

03 · Location + dispersion

T²–Generalized Variance: the two-panel detective

Read both panels at the same subgroup index. Their alarms answer different questions; neither establishes a root cause.

Neither signals

Neither signalsT squared within limit; generalized variance within limit.T²GV
○ T² within○ GV within
Continue monitoring.

Location only

Location onlyT squared signals; generalized variance within limit.T²GV
◆ T² signal○ GV within
Investigate means. Subgroup 41.

Dispersion only

Dispersion onlyT squared within limit; generalized variance signals.T²GV
○ T² within◆ GV signal
Investigate spread. Subgroup 46.

Both signal

Both signalT squared signals; generalized variance signals.T²GV
◆ T² signal◆ GV signal
Investigate spread, then means. Subgroup 51.

Conceptual mini-charts; actual saved plots follow.

T²GVInterpretationNext step
WithinWithinNo alarm from either statisticContinue monitoring; still check specifications.
SignalWithinJoint location alarm (41)Review mean shifts, decomposition and individual charts.
WithinSignalJoint determinant alarm (46)Check specimen spread, correlations and measurement repeatability.
SignalSignalBoth alarms (51)Investigate dispersion first, then assess location against the reference.
Upper panel · joint locationSaved data · reconstructed

T² control chart

Combined chart: T²Joint mean signals: 41 and 51.0255075100UCL 27.15Subgroup 1: 0.4978Subgroup 2: 0.4968Subgroup 3: 1.1353Subgroup 4: 0.2205Subgroup 5: 3.6897Subgroup 6: 2.0472Subgroup 7: 3.041Subgroup 8: 1.6629Subgroup 9: 0.5696Subgroup 10: 0.5082Subgroup 11: 0.7778Subgroup 12: 0.3623Subgroup 13: 1.4554Subgroup 14: 1.802Subgroup 15: 1.6422Subgroup 16: 0.8524Subgroup 17: 1.4428Subgroup 18: 0.5118Subgroup 19: 2.9491Subgroup 20: 0.6112Subgroup 21: 0.793Subgroup 22: 0.3457Subgroup 23: 9.0838Subgroup 24: 2.1344Subgroup 25: 0.9388Subgroup 26: 2.1017Subgroup 27: 6.0454Subgroup 28: 2.2958Subgroup 29: 1.2757Subgroup 30: 1.575Subgroup 31: 1.0579Subgroup 32: 1.0658Subgroup 33: 2.9867Subgroup 34: 3.4979Subgroup 35: 4.4665Subgroup 36: 2.12Subgroup 37: 0.3179Subgroup 38: 1.3667Subgroup 39: 0.2939Subgroup 40: 0.0115Subgroup 41: 10041Subgroup 42: 0.3408Subgroup 43: 0.2103Subgroup 44: 0.6163Subgroup 45: 0.3247Subgroup 46: 3.605Subgroup 47: 0.4857Subgroup 48: 4.0638Subgroup 49: 9.6315Subgroup 50: 2.4905Subgroup 51: 99.999951Subgroup 52: 4.3012Subgroup 53: 1.7116Subgroup 54: 0.2335Subgroup 55: 5.2944Subgroup 56: 1.5626Subgroup 57: 0.7263Subgroup 58: 0.3894Subgroup 59: 2.92Subgroup 60: 3.62251102030405060SubgroupT²
Within limitSignalUCLCenter line
Upper control limit27.15Signals: 41, 51
Subgroup 41100.00Above UCL
Subgroup 51100.00Above UCL
Joint mean signals: 41 and 51. Reconstructed from saved Minitab graph statistics; values rounded for display.
Lower panel · joint dispersionSaved data · reconstructed

GV control chart

Combined chart: Generalized VarianceJoint dispersion signals: 46 and 51.0k50k100k150kUCL 11,446.02Subgroup 1: 1484.0634Subgroup 2: 1257.8355Subgroup 3: 1038.156Subgroup 4: 683.6055Subgroup 5: 1258.3778Subgroup 6: 1904.3168Subgroup 7: 5238.8947Subgroup 8: 3181.6684Subgroup 9: 4042.3683Subgroup 10: 2476.1038Subgroup 11: 2318.2516Subgroup 12: 7678.9832Subgroup 13: 2300.6693Subgroup 14: 1297.9275Subgroup 15: 2197.1032Subgroup 16: 6063.6263Subgroup 17: 1082.3769Subgroup 18: 8542.5832Subgroup 19: 2302.4325Subgroup 20: 2838.7102Subgroup 21: 1579.9077Subgroup 22: 5916.7391Subgroup 23: 2235.5955Subgroup 24: 2528.8137Subgroup 25: 2417.0536Subgroup 26: 704.0825Subgroup 27: 4837.7933Subgroup 28: 1890.1495Subgroup 29: 3593.2179Subgroup 30: 2418.5801Subgroup 31: 5803.5999Subgroup 32: 3868.6241Subgroup 33: 2920.2639Subgroup 34: 729.1664Subgroup 35: 3552.3984Subgroup 36: 1602.0999Subgroup 37: 1286.665Subgroup 38: 5195.3491Subgroup 39: 2128.6701Subgroup 40: 2226.5995Subgroup 41: 3148.864Subgroup 42: 3874.1707Subgroup 43: 401.5513Subgroup 44: 8785.7346Subgroup 45: 1731.9428Subgroup 46: 47400.300246Subgroup 47: 2471.8904Subgroup 48: 2070.8814Subgroup 49: 1503.4717Subgroup 50: 1891.1087Subgroup 51: 135264.983451Subgroup 52: 3814.1071Subgroup 53: 2651.6555Subgroup 54: 4949.4995Subgroup 55: 3217.2655Subgroup 56: 5882.2392Subgroup 57: 3596.9095Subgroup 58: 1186.9164Subgroup 59: 7250.7847Subgroup 60: 7176.98931102030405060SubgroupGV (MPa⁴)
Within limitSignalUCLCenter line
Upper control limit11,446.02Signals: 46, 51
Subgroup 4647,400.30Above UCL
Subgroup 51135,264.98Above UCL
Joint dispersion signals: 46 and 51. Reconstructed from saved Minitab graph statistics; values rounded for display.
Reveal full saved-project plot rendering
Combined T² panel and Combined GV panel full-size plot with control limits and failed subgroups
Full-size SVG reconstructed from the original saved chart statistics. This is not an exported Minitab screenshot. Select the image to view at full resolution.
Show step-by-step Minitab setup — T²-Generalized Variance

Start with: T2_GV_Practice.csv. If you have never imported a CSV, follow the first-time setup guide first. Activate the correct worksheet. You should have 600 rows, four named numeric columns, and 60 groups of ten.

1–2. Create the stored matrix M1

Do this once per worksheet. Follow Step B: type 100, 80 and 80, 100 into C5:C6, then use Data → Copy → Columns to Matrix to store them as M1. Check it with Data → Display Data (two rows: 100, 80 and 80, 100) before you continue.

3. Open the chart and fill in its main dialog

Select Stat → Control Charts → Multivariate Charts → T²-Generalized Variance. Click in each field before entering its value. Use the names or numbers shown; do not enter both sets.

T²-Generalized Variance · main dialog field map
VariablesC3 C4Subgroup sizesC1

Next click T²-GV Options; do not submit the main dialog yet.

Variables: C3 = YS_MPa, C4 = UTS_MPa. Subgroup sizes: C1 = Subgroup identifies the group of each row. You can alternatively enter the constant 10 when all groups are contiguous and equal-sized, but use C1 for the saved exercise. Never enter C2 or 60 here.

4. Enter historical parameters in the Options dialog

Click T²-GV Options → Parameters. Use the values below. These fields are different from the main dialog.

T²-GV Options · Parameters field map
Mean500 600Covariance matrix → MatrixM1Number of samples used to calculate covariance2

Use Copy instead of M1 only if that is the actual name of the verified stored matrix. Leave stages and unrelated settings at defaults.

Important: the saved exercise uses historical count 2, even though this is a theoretical covariance matrix. This reproduces the project, not a defensible production baseline. The number is neither the number of variables nor the subgroup size. For a real estimated reference use the actual historical sample count required by Minitab.

5. Run the chart and check the output

  1. Confirm the Options dialog, then click OK in the main chart dialog.
  2. In the Navigator, select the new T²-Generalized Variance analysis. The output shows the plotted chart and any test results. The horizontal axis is subgroup number, not individual specimen number.
  3. Compare the displayed upper limit with 27.1452 (T²) and 11446.0181 (GV), allowing for rounding. There should be 60 plotted statistics in each panel. Expected signal locations: T²: 41 and 51; GV: 46 and 51.
  4. Hover over a plotted point in the graph to inspect its subgroup and statistic where supported. Inspect the test-results/decomposition table for the flagged points and variables. The table may display tiny p-values as 0.000; see the lesson's actual saved-output transcription. A signal is a reason to investigate, not proof of a defect.

Official Minitab historical parameter instructions for T²-Generalized Variance · If your chart does not match, troubleshoot here.

41

Mean signal only

46

Dispersion signal only

51

Both panels signal

Read the dispersion panel first. An unstable covariance structure undermines the interpretation of the mean chart. Investigate variability, verify measurements and then reassess joint location.

04 · Persistent shift

MEWMA: remember the past

\[\mathbf Z_i=\lambda(\bar{\mathbf x}_i-\boldsymbol\mu_0)+(1-\lambda)\mathbf Z_{i-1}\]

Start with a zero vector. The weight \(\lambda\) determines how much the newest subgroup contributes. Smaller weights retain more history.

\[\Sigma_{Z_i}=\frac{\lambda}{2-\lambda}(1-(1-\lambda)^{2i})\frac{S}{n}\]

\[M_i=\mathbf Z_i^T\Sigma_{Z_i}^{-1}\mathbf Z_i\]

These formulas assume independent equal-sized subgroups and fixed reference covariance. The weighted vector's covariance changes during startup. MEWMA limits are calibrated for run-length performance rather than borrowed from T².

MEWMA memory experimentA sustained standardized shift begins at subgroup 11 and ends after 25. The weighted deviation rises then decays.Subgroups 1–40

Live MEWMA calculation on a joint shift

Illustrative independent subgroups of ten, reference covariance 100/80. Both variables shift in opposite directions by the amounts you choose from subgroup 11 to 25. This is a noise-free teaching simulation, not the saved dataset.

Multivariate squared monitoring statisticCurrent-subgroup T squared and covariance-standardized MEWMA statistic on shared axes. Both curves are illustrative and no control limit is assumed.01112540Subgroup

Dashed: current T². Solid: MEWMA statistic. Shaded: imposed shift. No alarm threshold is plotted because a different weight requires a calibrated limit.

Persistent joint shiftSaved data · reconstructed

MEWMA control chart

Multivariate EWMAThe first signal is subgroup 45; every subgroup through 60 signals.020406080UCL 9.65Subgroup 1: 0.8196Subgroup 2: 4.3136Subgroup 3: 7.0433Subgroup 4: 4.0393Subgroup 5: 2.4026Subgroup 6: 2.5255Subgroup 7: 0.6986Subgroup 8: 1.5912Subgroup 9: 1.1591Subgroup 10: 2.888Subgroup 11: 2.5643Subgroup 12: 0.6402Subgroup 13: 1.6528Subgroup 14: 7.2873Subgroup 15: 4.0228Subgroup 16: 2.1241Subgroup 17: 4.1547Subgroup 18: 4.9111Subgroup 19: 6.7687Subgroup 20: 7.2449Subgroup 21: 2.7711Subgroup 22: 2.4026Subgroup 23: 3.03Subgroup 24: 2.2002Subgroup 25: 1.836Subgroup 26: 0.7143Subgroup 27: 5.419Subgroup 28: 1.4925Subgroup 29: 2.0911Subgroup 30: 1.4653Subgroup 31: 1.351Subgroup 32: 0.9965Subgroup 33: 2.0109Subgroup 34: 1.1982Subgroup 35: 0.3963Subgroup 36: 0.0306Subgroup 37: 0.0398Subgroup 38: 0.1668Subgroup 39: 0.4734Subgroup 40: 0.0084Subgroup 41: 3.8095Subgroup 42: 6.7512Subgroup 43: 9.2131Subgroup 44: 6.5335Subgroup 45: 12.285945Subgroup 46: 26.4353Subgroup 47: 30.1773Subgroup 48: 54.137Subgroup 49: 56.307Subgroup 50: 79.0883Subgroup 51: 68.43Subgroup 52: 77.9777Subgroup 53: 74.5324Subgroup 54: 67.8399Subgroup 55: 71.9884Subgroup 56: 68.3542Subgroup 57: 64.9426Subgroup 58: 70.5558Subgroup 59: 58.6971Subgroup 60: 63.72381102030405060SubgroupMEWMA
Within limitSignalUCL
Upper control limit9.65Signals: 45–60
Subgroup 4512.29First signal
Subgroup 6063.72Last plotted signal
The first signal is subgroup 45; every subgroup through 60 signals. Reconstructed from saved Minitab graph statistics; values rounded for display.
Reveal full saved-project plot rendering
Multivariate EWMA full-size plot with control limits and failed subgroups
Full-size SVG reconstructed from the original saved chart statistics. This is not an exported Minitab screenshot. Select the image to view at full resolution.
Show step-by-step Minitab setup — Multivariate EWMA

Start with: MEWMA_Practice.csv. If you have never imported a CSV, follow the first-time setup guide first. Activate the correct worksheet. You should have 600 rows, four named numeric columns, and 60 groups of ten.

1–2. Create the stored matrix M1

The MEWMA worksheet needs its own M1, because matrices belong to one worksheet. Follow Step B: type 100, 80 and 80, 100 into C5:C6, then use Data → Copy → Columns to Matrix to store them as M1. Check it with Data → Display Data (two rows: 100, 80 and 80, 100) before you continue.

3. Open the chart and fill in its main dialog

Select Stat → Control Charts → Multivariate Charts → Multivariate EWMA. Click in each field before entering its value. Use the names or numbers shown; do not enter both sets.

Multivariate EWMA · main dialog field map
VariablesC3 C4Subgroup sizesC1ARL200Weight0.20

Next click MEWMA Options; do not submit the main dialog yet.

Variables: C3 = YS_MPa, C4 = UTS_MPa. Subgroup sizes: C1 = Subgroup identifies the group of each row. You can alternatively enter the constant 10 when all groups are contiguous and equal-sized, but use C1 for the saved exercise. Never enter C2 or 60 here.

ARL is the target average number of plotted subgroups before a false alarm under the reference model. Set 200 (documented default; the saved MEWMA command does not override ARL). Weight 0.20 gives 20% weight to the current vector.

4. Enter historical parameters in the Options dialog

Click MEWMA Options → Parameters. Use the values below. These fields are different from the main dialog.

MEWMA Options · Parameters field map
Mean500 600Covariance matrixM1

Use Copy instead of M1 only if that is the actual name of the verified stored matrix. Leave stages and unrelated settings at defaults.

No historical sample-count entry is needed for this chart.

5. Run the chart and check the output

  1. Confirm the Options dialog, then click OK in the main chart dialog.
  2. In the Navigator, select the new Multivariate EWMA analysis. The output shows the plotted chart and any test results. The horizontal axis is subgroup number, not individual specimen number.
  3. Compare the displayed upper limit with 9.6476, allowing for rounding. There should be 60 plotted statistics . Expected signal locations: 45 through 60.
  4. Hover over a plotted point in the graph to inspect its subgroup and statistic where supported. Read the associated test-results output for the flagged subgroups. A signal is a reason to investigate, not proof of a defect.

Official Minitab historical parameter instructions for Multivariate EWMA · If your chart does not match, troubleshoot here.

The saved statistic is 9.2131 at subgroup 43 and 12.2859 at subgroup 45. The first crosses neither the saved UCL nor the test threshold; the latter does. A sustained signal is evidence of a persistent joint disturbance, not sixteen proven independent root causes.

Behind the chart: calculate the statistics yourself

Hotelling's T² — why the inverse matrix matters

Think of the matrix as a map of normal directions of movement. For positively correlated strengths, moving both upward is less unusual than moving one upward and the other downward by the same amount.

\[S^{-1}=\frac{1}{3600}\begin{bmatrix}100&-80\\-80&100\end{bmatrix}\]

The determinant is 3600. For Pipe B the deviation vector is \((15,-15)^T\). Multiplication yields:

\[T^2=\frac{100(15)^2-160(15)(-15)+100(-15)^2}{3600}=22.5\]

For Pipe A, both deviations are positive and the cross term subtracts rather than adds, yielding 2.5. The same two absolute deviations can produce a ninefold difference in squared distance.

Generalized Variance — from subgroup measurements to a control limit

Suppose the within-subgroup covariance is the reference matrix. Its determinant is:

\[100(100)-80^2=3600\]

If both standard deviations grow by 50% while correlation remains 0.8, the variances become 225 and covariance becomes 180. The determinant becomes 18225. Doubling both standard deviations would multiply the determinant by 16 for two variables.

For independent multivariate normal subgroups of size \(n\), with \(p\) variables and population covariance \(\Sigma\), the conventional unadjusted determinant has mean and variance:

\[\begin{aligned}E(|S_i|)&=b_1|\Sigma|\\ \operatorname{Var}(|S_i|)&=b_2|\Sigma|^2\end{aligned}\]

\[b_1=\frac{\prod_{j=1}^{p}(n-j)}{(n-1)^p}\]

\[b_2=\frac{\prod_{j=1}^{p}(n-j)}{(n-1)^{2p}}\left[\prod_{j=1}^{p}(n-j+2)-\prod_{j=1}^{p}(n-j)\right]\]

Moment-based limits for the raw determinant use \(b_1|\Sigma|\pm3\sqrt{b_2}|\Sigma|\), truncated at zero. A chart using the reference determinant as its center line can scale the relative standard deviation differently; see the specific Minitab calculation below. Always match the plotted statistic and the software's estimator to its limit formula.

Reproduce Minitab's Generalized Variance control limits

The preceding raw-determinant moments are useful for understanding the sampling distribution. Minitab's historical-covariance GV convention uses the reference determinant as its center line and scales the relative standard deviation by the bias factor:

\[\begin{aligned}\text{CL}&=|S|\\ \text{UCL}&=|S|\left(1+3\frac{\sqrt{b_2}}{b_1}\right)\\ \text{LCL}&=\max\left(0,\ |S|\left(1-3\frac{\sqrt{b_2}}{b_1}\right)\right)\end{aligned}\]

For two variables and 10 observations per subgroup, the constants are \(b_1=8/9\) and \(b_2=2736/6561\). With reference determinant 3600, these yield CL = 3600, UCL = 11,446.0181 and LCL = 0, exactly matching the saved Minitab output. The plotted points themselves are raw sample determinants, not divided by the bias factor. Minitab's GV methods and formulas.

MEWMA — three observations, step by step

Let the subgroup mean shift by \(+2\) MPa in YS and \(-2\) MPa in UTS. With weight 0.2, the first weighted vector is \((0.4,\ -0.4)\), the second is \((0.72,\ -0.72)\), and the third is \((0.976,\ -0.976)\).

Noise-free teaching example, not saved Minitab data
SubgroupYS weighted deviationUTS weighted deviation
10.400−0.400
20.720−0.720
30.976−0.976
41.181−1.181
51.345−1.345

If subgroup 6 returns exactly to the historical mean, its deviation vector is zero, so the previous weighted vector is multiplied by 0.8. The memory decays instead of instantly resetting. This is unlike standard T², which uses the current subgroup alone.

Control limits are not interchangeable

For known population parameters and multivariate normal subgroup means, \(T^2\) has a chi-square distribution with \(p\) degrees of freedom. Estimated-parameter charts may require F or beta limits depending on Phase I or Phase II and the estimation method. MEWMA needs its own run-length-calibrated UCL.

Do not compare detection delays between charts unless their false-alarm behaviour is comparable. A faster alarm in a single dataset is not proof of universal superiority.

Which control chart should I use?

One variable

Shewhart for current means or spread; CUSUM and EWMA for persistent mean changes.

Several variables

T² for joint location; GV for dispersion; combined for both; MEWMA for persistent shifts.

Shewhart plots the current value; CUSUM accumulates standardized deviations beyond a reference allowance; EWMA weights the current and previous values. T² and MEWMA additionally account for covariance.

\[C_i^+=\max(0,C_{i-1}^++y_i-k)\]

Here \(y_i\) is a standardized observation and \(k\) is a reference allowance. Compare the statistic to a decision interval. The lower CUSUM accumulates negative deviations analogously.

\[E_i=\lambda x_i+(1-\lambda)E_{i-1}\]

EWMA uses observation \(x_i\) and smoothing weight \(\lambda\). For fair comparisons, calibrate charts to comparable in-control average run lengths.

Chart-selection lab

Shewhart

Choose an appropriate individuals or subgroup chart for immediate changes.

New to Minitab? Start here before creating any chart

This lab uses the desktop Minitab Statistical Software interface. Menu wording and screen layout can vary by release. These are illustrated controls, not screenshots; the menu paths below were checked against Minitab's official help. Use an installed or licensed instance with multivariate charts available.

Meet the three parts of your workspace

File · Edit · Data · Calc · Stat · Graph
Navigator

Analyses appear here after running them.

Output

Charts, test results and messages.

Worksheet

C1, C2, C3… contain your data. Select the relevant worksheet tab before running an analysis.

A project can contain several worksheets and analyses. A CSV contains data only; a saved Minitab project preserves the analysis and its worksheet objects.

Step A — download and import the first worksheet

  1. Download T2_GV_Practice.csv to a folder you can find. This file is used for T², GV and combined charts. The separate MEWMA_Practice.csv is used only for MEWMA.
  2. Open Minitab, choose File → Open, browse to the downloaded CSV, select it, and click Open. If necessary change the file-type filter to show text/CSV files.
  3. If import options appear, select comma as the delimiter, and indicate that the first record contains column names. Preview the worksheet; verify four separate columns, not one long text column. Click OK/Open as appropriate.
  4. Check the shaded naming row underneath C1–C4. The headers must be Subgroup, Specimen, YS_MPa and UTS_MPa. The first numbered data row must contain numbers, not header text.
  5. Verify there are 600 measurement rows, subgroup IDs 1–60, and specimen numbers 1–10 repeating within each subgroup. In the Navigator, select the relevant worksheet; use worksheet tabs to switch. Do not sort one measurement column independently.
RowC1 SubgroupC2 SpecimenC3 YS_MPaC4 UTS_MPa
111502.4074596.0916
212506.8647611.5408
10110508.1447606.6218
1121510.2003607.7191
6006010Check original CSVCheck original CSV

Numbers may display fewer decimal places because of formatting; this does not mean the stored measurements were rounded. In an analysis dialog, click the destination field before selecting a worksheet column; type its name or number or use the column list to insert it. Do not choose the specimen identifier as a response variable.

Official CSV opening instructions · How Minitab dialog fields work

Step B — create the stored covariance matrix once per worksheet

Every chart below reads the historical covariance from a stored matrix called M1. Build it once on the T² and GV worksheet and reuse it for the first three charts. The MEWMA worksheet needs its own copy, because matrices belong to one worksheet.

B1. Enter the historical covariance values

Use two unused columns. In a fresh four-column worksheet, click the shaded name cell below C5 and type Cov_YS; name C6 Cov_UTS. Press Enter to confirm each name. Now enter the four numbers into the numbered data cells (not the name row). Do not add these values to the measurement columns.

Worksheet rowC5 Cov_YSC6 Cov_UTS
110080
280100
3 onwardLeave emptyLeave empty

B2. Turn the two columns into a stored matrix

  1. Choose Data → Copy → Columns to Matrix.
  2. Click the source field, enter C5 C6 in that order (or the actual column numbers). Set the destination to the current worksheet and type M1 in its matrix field. If M1 already exists, inspect it before overwriting, or choose a free matrix number.
  3. Open Subset the Data. Choose to include specified rows, select the row-number option and type 1:2. Confirm the subset dialog, then the copy dialog. This excludes blank trailing cells.
  4. Do not look for an extra visible worksheet column called M1; Minitab stores matrices as worksheet objects. Choose Data → Display Data, enter M1 and click OK. In the output verify two rows and two columns containing 100,80 and 80,100. You may optionally name the stored matrix Copy. If your original MPX already contains Copy, reuse that verified matrix.
Columns to Matrix · illustrative field map
Source columnsC5 C6Current worksheet matrixM1Subset: include rows1:2

Click OK in Subset the Data, then OK in Columns to Matrix. Confirm the resulting matrix with Display Data.

Reference covariance is symmetric and positive definite: diagonal entries 100 and determinant 3600. Official matrix-copy guide · Viewing stored matrices.

Now open the chart you want:

Download the original practice measurements and answer tables

Both measurement files match the original Minitab worksheet values row for row. The calculated-statistics tables independently reproduce all plotted values to the precision shown in the lesson.

CSV · 01

T² and GV — original measurements

600 observations · T², GV and combined charts

Download T2_GV_Practice.csv (CSV, 14 KB)
CSV · 02

MEWMA — original measurements

600 observations · MEWMA chart

Download MEWMA_Practice.csv (CSV, 14 KB)
CSV · 03

Data dictionary

4 column definitions · Units and meaning

Download data-dictionary.csv (CSV, 1 KB)
CSV · 04

T² and GV — answer table

60 subgroup results · Verify your T² and GV calculations

Download T2_GV_calculated_statistics.csv (CSV, 6 KB)
CSV · 05

MEWMA — answer table

60 subgroup results · Verify your MEWMA calculations

Download MEWMA_calculated_statistics.csv (CSV, 4 KB)

Minitab practice: reproduce the five panels

Minitab · Multivariate Charts

Illustrated menu, not a native screenshot. Select a chart to open its own step-by-step guide.

The saved project uses two synthetic steel-property datasets, 60 subgroups each, 10 specimens per subgroup. Historical means are 500 and 600 MPa; the reference covariance matrix is the 100/80 matrix above.

  1. Import the practice CSV. Select YS_MPa and UTS_MPa in that order.
  2. Enter 100, 80 in one empty column and 80, 100 in a second. Use Data → Copy → Columns to Matrix to store M1.
  3. Verify M1 using Data → Display Data. Select Subgroup (C1) in the Subgroup sizes field; constant 10 is an equivalent alternative for these contiguous equal-size groups.
  4. In chart options, enter means 500 600 and historical covariance M1 where supported. For the saved T² and combined chart, the historical sample-count field was set to 2. This reproduces the saved output only; it is not an appropriate baseline estimation count for the theoretical matrix. See the chart-specific expandable instructions.
  5. Repeat for the standalone T², GV and combined chart. Compare the output to the saved figures above.
  6. Open the MEWMA dataset and repeat with the Multivariate EWMA chart. Use ARL 200. Reproduce weight 0.20 first; then try 0.10 and 0.40 and record the first signal.

For a real baseline, use stable subgroups only, leave historical parameters blank initially, and store estimates in chart options. Use the actual number of historical subgroups if a count is requested. Never fabricate a sample count for population parameters.

Saved plot limits and values are reproduced above; precise reproduction requires matching the original options. The verified original worksheet CSVs are available in the Downloads section above. Each contains exactly 600 paired observations.

My Minitab output looks different — troubleshoot before continuing

SymptomCheck and fix
CSV appears in one columnReopen with comma delimiter and preview four columns.
C3-T or C4-T; variables unavailableA strength column is text. Reimport numeric values with the correct decimal separator and header setting.
600 points or unexpected group sizesUse Subgroup (C1) or constant 10, not Specimen or constant 1. Verify the 60 groups have 10 consecutive paired rows.
M1 missing from the dialogActivate the correct worksheet. Use Data → Display Data to check matrix storage; create M1 there or copy it using Data → Copy → Matrices to Matrices.
Matrix size or positive-definiteness errorUse only rows 1:2 of C5 C6. Verify 100,80 / 80,100. Do not include header text, empty cells or extra columns.
Different T² UCLCheck means 500 600, M1, historical count 2 for saved exercise, subgroup IDs and default stages.
Different GV UCLCheck historical covariance (not an overall covariance recalculated from all rows), group size and data file.
Different MEWMA UCL or signalsUse MEWMA_Practice.csv, ARL 200, weight .20, historical means and covariance; preserve chronology.
Cannot locate test resultsSelect the analysis in Navigator and inspect its output, not only the graph editor. Compare the saved results section.
Numbers differ only in final displayed decimalsMinitab rounds graph labels. Compare unrounded stored statistics or the answer tables before diagnosing an error.

Save your work and export a chart

  1. Choose File → Save Project As (or the equivalent Save As command in your release). Choose a new name such as MSPC_student_practice.mpx. Save the project rather than only a CSV so the worksheet matrices and analyses are retained.
  2. To save a native chart image, select the graph in the output, right-click it and use Save Graph As or the available graph export command. Choose PNG and a descriptive filename. The exported graph is distinct from the recreated teaching SVG.
  3. To preserve the associated tables, select the analysis output and use the available save/export or copy output command. Keep test results with the graph.

Official project-saving instructions · Official graph and output export instructions

Reopen the saved project and verify the correct worksheets, matrices, charts and outputs are present. This is your final practical checkpoint.

Reproduce the saved results, one subgroup at a time

Subgroup 40 · Reference-window example

specimens 40Ten original specimens in subgroup 40; reference center marked by dashed cross and subgroup mean by a diamond.Specimen 1: YS 487.4676, UTS 596.0485 MPaSpecimen 2: YS 497.0171, UTS 591.0348 MPaSpecimen 3: YS 506.2532, UTS 607.5813 MPaSpecimen 4: YS 499.9023, UTS 606.9829 MPaSpecimen 5: YS 493.4156, UTS 594.3657 MPaSpecimen 6: YS 500.9886, UTS 602.5862 MPaSpecimen 7: YS 509.626, UTS 603.7283 MPaSpecimen 8: YS 514.0801, UTS 613.717 MPaSpecimen 9: YS 487.9179, UTS 580.6576 MPaSpecimen 10: YS 506.7141, UTS 606.1204 MPaYS deviation (MPa)UTS deviation (MPa)−90+90
Mean YS 500.34 MPa; mean UTS 600.28 MPa. Each dot is a paired specimen; diamond is its subgroup mean. Reference ellipse is a 95% individual-observation illustration, not a subgroup T² limit.

Subgroup 41 · Location signal

specimens 41Ten original specimens in subgroup 41; reference center marked by dashed cross and subgroup mean by a diamond.Specimen 1: YS 517.2415, UTS 603.8422 MPaSpecimen 2: YS 503.8749, UTS 580.4312 MPaSpecimen 3: YS 504.0527, UTS 589.3388 MPaSpecimen 4: YS 527.4354, UTS 603.7234 MPaSpecimen 5: YS 489.9689, UTS 566.1143 MPaSpecimen 6: YS 506.6556, UTS 586.3412 MPaSpecimen 7: YS 510.902, UTS 593.3162 MPaSpecimen 8: YS 511.8685, UTS 600.1539 MPaSpecimen 9: YS 508.2258, UTS 585.7698 MPaSpecimen 10: YS 519.7747, UTS 590.969 MPaYS deviation (MPa)UTS deviation (MPa)−90+90
Mean YS 510.00 MPa; mean UTS 590.00 MPa. Each dot is a paired specimen; diamond is its subgroup mean. Reference ellipse is a 95% individual-observation illustration, not a subgroup T² limit.

Subgroup 46 · Dispersion signal

specimens 46Ten original specimens in subgroup 46; reference center marked by dashed cross and subgroup mean by a diamond.Specimen 1: YS 515.1538, UTS 634.274 MPaSpecimen 2: YS 542.8682, UTS 653.4851 MPaSpecimen 3: YS 485.7451, UTS 590.469 MPaSpecimen 4: YS 512.0418, UTS 607.3386 MPaSpecimen 5: YS 492.96, UTS 604.7196 MPaSpecimen 6: YS 487.2586, UTS 572.2037 MPaSpecimen 7: YS 476.6029, UTS 588.2167 MPaSpecimen 8: YS 489.1269, UTS 592.9493 MPaSpecimen 9: YS 509.1395, UTS 596.0885 MPaSpecimen 10: YS 511.7245, UTS 611.7228 MPaYS deviation (MPa)UTS deviation (MPa)−90+90
Mean YS 502.26 MPa; mean UTS 605.15 MPa. Each dot is a paired specimen; diamond is its subgroup mean. Reference ellipse is a 95% individual-observation illustration, not a subgroup T² limit.

Subgroup 51 · Both signals

specimens 51Ten original specimens in subgroup 51; reference center marked by dashed cross and subgroup mean by a diamond.Specimen 1: YS 536.3977, UTS 621.9972 MPaSpecimen 2: YS 520.4451, UTS 607.5353 MPaSpecimen 3: YS 469.5746, UTS 570.0979 MPaSpecimen 4: YS 461.8203, UTS 536.9787 MPaSpecimen 5: YS 541.6017, UTS 630.2306 MPaSpecimen 6: YS 547.1167, UTS 614.6285 MPaSpecimen 7: YS 467.9273, UTS 551.8392 MPaSpecimen 8: YS 505.5557, UTS 587.6916 MPaSpecimen 9: YS 536.5051, UTS 604.5265 MPaSpecimen 10: YS 513.0558, UTS 574.4746 MPaYS deviation (MPa)UTS deviation (MPa)−90+90
Mean YS 510.00 MPa; mean UTS 590.00 MPa. Each dot is a paired specimen; diamond is its subgroup mean. Reference ellipse is a 95% individual-observation illustration, not a subgroup T² limit.

Compare the ten-point clouds using the same axes. Moving the cloud's center and spreading the cloud apart are distinct disturbances.

Subgroup 41 — a mean shift in opposite directions

The actual subgroup averages are 510.0000 MPa and 590.0000 MPa. With subgroup size 10 and reference means 500 and 600, the deviations are +10 and −10. Inserting these into the covariance-adjusted distance gives:

\[T^2=10\frac{100(10)^2-160(10)(-10)+100(-10)^2}{3600}=100.\]

Compare 100 with 27.1452: investigate. The dispersion statistic is 3148.86, below 11446.02, so this particular signal is a location disturbance without a determinant signal.

Subgroup 46 — spread changes, not the mean

Calculate each sample variance and covariance from the ten paired rows (divide by nine). The entries below come from the original worksheet.

\[S_{46}=\begin{bmatrix}384.767&410.554\\410.554&561.262\end{bmatrix}\]

Its determinant is 47400.30 MPa⁴, versus UCL 11446.02. Yet its \(T^2\) is only 3.6050. A conventional location chart could miss this dispersion disturbance.

Subgroup 51 — both panels demand attention

Actual mean YS: 510.0000 MPa; actual mean UTS: 590.0000 MPa. \(T^2 = 99.9999\) and \(\text{GV} = 135264.98\). Check measurement integrity and spread first; then investigate the process shift.

Subgroup 45 — a memory chart crosses its threshold

The weighted deviation vector at 45 is (0.210616, -2.044738) MPa. Apply the startup covariance multiplier to the reference covariance of the subgroup mean, then compute the quadratic form. The result is 12.285905, exceeding 9.647594. The preceding point is 6.533482. The first signal is 45, not the first moment a change may have started.

Use the downloadable answer tables to check all 60 points, not just the alarms. These calculations match the saved graphs to four decimals.

Read the actual Minitab output: from alarm to evidence

41T² signalsGV within limit

Investigate location.

46T² within limitGV signals

Investigate spread.

51T² signalsGV signals

Investigate spread and location.

45–60MEWMA signalsSeparate dataset

Investigate sustained drift.

Saved Minitab signals from both practice datasets; MEWMA uses a different worksheet.

These tables transcribe the saved Minitab project output groups, not hypothetical results or screenshots. The five graphs above are redrawn from saved graph data. Read the software output alongside each graph.

Matrix Copy — historical covariance input

Saved Matrix Copy output (rows and columns ordered YS, UTS)
VariableYSUTS
YS10080
UTS80100

This is the actual matrix stored in the project, not an estimate of the 60 observed subgroups. It represents the assumed reference population. It tells Minitab that each strength has a standard deviation of 10 MPa and their correlation is 0.8.

Historical parameters · illustrative layout
Mean500 600Covariance matrixM1

Use only the fields supported by the selected chart. GV does not need means.

Test Results for T² Chart of YS_MPa, UTS_MPa

Saved Minitab decomposition (standalone and combined T² results agree)
TestPointVariableP-Value (full precision rounded)
Greater Than UCL41YS_MPa0.000000386847
Greater Than UCL41UTS_MPa0.000000386847
Greater Than UCL51YS_MPa0.000000386849
Greater Than UCL51UTS_MPa0.000000386850

Minitab stores these tiny p-values even though its display may round them to 0.0000. Zero after rounding does not mean the probability is literally zero. Both variables are implicated at both points; this does not establish which process mechanism caused the disturbance.

Point 41

\(T^2 \approx 100\) versus UCL 27.15. \(\text{GV} \approx 3149\) versus UCL 11446. Investigate a joint location shift.

Point 51

\(T^2 \approx 100\) and \(\text{GV} \approx 135265\). Investigate dispersion first, then location. Both panels signal.

Test Results for Generalized Variance Chart of YS_MPa, UTS_MPa

TEST. One point beyond control limits.

Test Failed at points: 46, 51

Identical test results appear in the standalone GV and combined output. Point 46 is especially informative: its \(T^2\) is only about 3.61, while GV is about 47,400. The mean can remain near the target while individual specimens become much more inconsistent.

Test Results for MEWMA Chart of YS_MPa, UTS_MPa

TEST. One point beyond control limits.

Test Failed at points: 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60

At point 43 the statistic is about 9.21, below 9.65. At point 44 it drops to about 6.53. At point 45 it exceeds the limit at 12.29. A memory chart can fluctuate during a sustained shift; it need not rise monotonically.

Source: uploaded Hotelling_Generalized Variance_MEWMA_Minitab_Practice .mpx, saved output groups 3, 6, 10, 15 and 19. Repeated combined-chart tables are consolidated above. The original native Minitab graphical interface was not available for screenshot export.

Investigate, don't just alarm

01Verify measurement
02Inspect individual charts
03Check covariance and decomposition
04Confirm process cause

Look for gauge problems, changes in grade or product mix, process settings, and operator or equipment changes. Decomposition helps identify variables that contribute to the signal conditional on the others; it does not prove causation.

Other applications: monitor chemical reactor temperature, pressure and concentration; mining recovery and feed grade; finance risk factors; or dimensional characteristics such as diameter and ovality. Avoid redundant variables that make the covariance matrix singular. Use representative data, independent observations, sufficient sample size and appropriate distribution assumptions.

Do it in software

Statistics Implementation

Psst. Excel and Minitab do the heavy matrix lifting in here, and the sneakiest exam traps are hiding too.You found the secret level. Let the software crunch the matrices for you.Unlock the cheat codesHide the cheat codes

1. Excel Functions

FunctionSyntaxPurposeWhen to use
AVERAGEAVERAGE(range)MeanReference center
VAR.S / VAR.PVAR.S(range)VarianceSample / population
COVARIANCE.S / COVARIANCE.PCOVARIANCE.S(x,y)CovariancePaired sample / population
CORRELCORREL(x,y)CorrelationRelationship
MINVERSE / MMULT / TRANSPOSEMINVERSE(matrix)Matrix calculationsT²
MDETERMMDETERM(matrix)DeterminantGV
CHISQ.INV.RTCHISQ.INV.RT(probability,deg_freedom)Upper quantileKnown-parameter T²
F.INV.RTF.INV.RT(probability,deg_freedom1,deg_freedom2)Upper F quantileAppropriate estimated-parameter formula

2. Excel Use Cases

For paired samples in B2:B6 and C2:C6, use =VAR.S(B2:B6), =COVARIANCE.S(B2:B6,C2:C6) and =CORREL(B2:B6,C2:C6). Put the covariance matrix in F2:G3 and a row of mean deviations in I2:J2. Calculate an individual T² using =MMULT(MMULT(I2:J2,MINVERSE(F2:G3)),TRANSPOSE(I2:J2)). Multiply by subgroup size for subgroup means. Use =MDETERM(F2:G3) for generalized variance.

Build the first subgroup in Excel — exact cell layout

Open the T²/GV CSV so columns A:D are Subgroup, Specimen, YS_MPa and UTS_MPa, with headers in row 1. Rows 2:11 contain subgroup 1. Enter the following in unused cells.

CellEnter exactlyPurpose
F2:G3100,80 / 80,100 (one number per cell)Historical covariance
I2=AVERAGE(C2:C11)-500YS mean deviation
J2=AVERAGE(D2:D11)-600UTS mean deviation
K2=10*MMULT(MMULT(I2:J2,MINVERSE(F2:G3)),TRANSPOSE(I2:J2))Subgroup T²
F5=VAR.S(C2:C11)YS sample variance
G5=COVARIANCE.S(C2:C11,D2:D11)Covariance
F6=G5Symmetric covariance
G6=VAR.S(D2:D11)UTS sample variance
K3=MDETERM(F5:G6)Subgroup GV

Expected outputs: \(T^2 = 0.4978463\) and \(\text{GV} = 1484.0634029\). Compare with the answer-table CSV. For subgroup 2 use rows 12:21. Modern Excel returns the single-cell matrix product automatically; legacy versions may need Ctrl+Shift+Enter.

For MEWMA on the second CSV, use the same I2:J2 deviations for its first subgroup. Put 0.2 in L1 and 0 in M1:N1. In M2 enter =$L$1*I2+(1-$L$1)*M1; in N2 use =$L$1*J2+(1-$L$1)*N1.

Put subgroup number 1 in O2. In P2 enter =10*MMULT(MMULT(M2:N2,MINVERSE($F$2:$G$3)),TRANSPOSE(M2:N2))/($L$1/(2-$L$1)*(1-(1-$L$1)^(2*O2))). Expected first statistic: 0.8196323.

Populate I:J with subsequent subgroup mean deviations and O with their sequential numbers before filling M:P down. Do not compare against a fixed saved MEWMA limit after changing lambda.

3. Minitab Navigation

Stat → Control Charts → Multivariate Charts → T², Generalized Variance, T²-Generalized Variance, or Multivariate EWMA. For ordinary sample covariance, use Stat → Basic Statistics → Covariance. For within-subgroup baseline estimates, use chart-specific storage options.

4. Exam Tips

  • The ASQ CSSBB and CQE bodies of knowledge do not name Hotelling’s \(T^2\), generalized variance or MEWMA charts. Treat this lesson as beyond-the-exam depth, and know the ideas the exams do test.
  • Covariance and correlation: the diagonal of a covariance matrix holds variances, and correlation is covariance scaled to between \(-1\) and \(+1\).
  • Control limits are not specification limits. A signal means “investigate”, never “reject the product”.
  • Rational subgroups and Phase I versus Phase II: build limits from a stable baseline, then freeze them to monitor new data.
  • Location versus dispersion: a means chart and a spread chart answer different questions, just like \(T^2\) and GV here.
Practice / Think like the analyst

Can you solve the case before opening Minitab?

Case A: the unusual combination

Historical means 500 and 600 MPa. Both standard deviations 10 MPa, correlation 0.8. A new individual pipe measures 510 and 590 MPa. Calculate its T² and compare with the illustrative limit 11.83.

Reveal worked solution

The standardized deviations are \(+1\) and \(-1\), so \(T^2 = 10\). This does not exceed 11.83, although the combination is more unusual than both measurements rising together.

Case B: the spread changes

Both standard deviations increase from 10 to 20 MPa with correlation unchanged at 0.8. By what factor does GV change?

Reveal worked solution

Each variance quadruples. The determinant grows sixteenfold, from 3600 to 57600. This is a dispersion question, not a mean-shift question.

Case C: the drift continues

A series of individually modest joint deviations persists. Which chart should you add and what parameter controls memory?

Reveal worked solution

MEWMA. Lambda controls the newest observation weight. A lower lambda generally emphasizes persistent changes, but limits must be recalibrated.

Eight mistakes that can ruin the analysis

Mixing product families

Build comparable baselines.

Misaligned rows

Keep each variable paired to the same specimen.

Using overall covariance blindly

Match the chart's within-subgroup estimator.

Re-estimating every day

Freeze a justified reference.

Ignoring dispersion

Read GV before interpreting location.

Inventing a historical sample count

Use the true estimation count.

Calling every alarm a defect

Check specifications separately.

Treating decomposition as causation

Confirm process evidence.

References

Source: supplied synthetic Minitab project, saved figures dated November 24, 2026. Chart coordinates and control limits are extracted from the saved QChartCompute records, not native screenshots. Original project contains graph definitions but no exported plot images. Full-size renderings retain the recorded numerical results.

Minitab control chart documentation · NIST Engineering Statistics Handbook

Your independent Minitab investigation

Allow 30–45 minutes after reading the lesson if you already know Minitab; beginners should allow additional time for importing data and creating matrices. Download both CSVs. Try this without looking at the answer tables first.

  1. Import T²/GV data, create the historical matrix, and generate standalone T², standalone GV and combined charts. Record the limits and signal indices.
  2. For each of subgroups 41, 46 and 51, calculate both subgroup averages and the covariance determinant. Decide whether location, dispersion or both require investigation.
  3. Import the MEWMA dataset, create its own M1 and run the chart at weight 0.20. Record the first signal and the following five statistics.
  4. Change weight to 0.10 and 0.40 in Minitab. Record the corresponding limits and first signals. Explain why a single observed detection delay cannot prove one design is generally superior.
  5. Write a three-sentence response to a production supervisor: what changed statistically, what cannot yet be concluded, and what physical evidence you would inspect next.
Check your investigation
ChartUCLSignal
T²27.145241 and 51
GV11446.018146 and 51
CombinedSame as standalone41: location; 46: dispersion; 51: both
MEWMA at 0.209.647645–60

MEWMA subgroups 45–50: 12.2859, 26.4353, 30.1773, 54.1370, 56.3070, 79.0883. For alternate weights use your own recalibrated Minitab outputs rather than the saved UCL. Independent numerical checkpoints (not Minitab control limits):

WeightSubgroup 1Subgroup 45Subgroup 50Subgroup 60
0.100.819610.764175.8192110.2092
0.200.819612.285979.088363.7238
0.400.819610.687558.159028.0367

These values use the startup-adjusted covariance and the original MEWMA worksheet. They are statistic checkpoints only; obtain each weight-specific UCL from Minitab. Check the answer-table CSV for the exact group calculations.

Suggested supervisor response: the joint strength mean changed at 41, dispersion changed at 46, and both signaled at 51. These results do not establish a material defect or its root cause. Verify test repeatability, product mix, rolling conditions and individual strength trends before taking action.

Knowledge check

Check your understanding

Comprehension quiz

Pick the strongest answer, then submit. Explanations appear after you submit.

1. Which chart can detect an unusual YS/UTS combination even when both are individually within limits?
2. What does a covariance matrix diagonal contain?
3. Which saved subgroup signals only on GV?
4. What does MEWMA retain?
5. When should historical parameters be frozen?
6. Does a GV signal prove which variable changed?
7. A pipe is 1 SD high in YS and 1 SD low in UTS. Correlation is 0.8. What is its individual T²?
8. Both standard deviations double while correlation stays fixed. How does GV change?
9. At lambda 0.20, a return to target multiplies the previous weighted deviation by what?
10. T² is in control but GV signals. What should you investigate first?
11. MEWMA signals at 45 and T² at 41 on different worksheets. What can you conclude?
12. Why not use the introductory 11.83 limit on every T² chart?
Final recap

One process. Three complementary ways to detect change.

T²Where did the center move?

Current mean vector · 41, 51

T²/GV dataset
GVDid the joint spread change?

Covariance determinant · 46, 51

T²/GV dataset
MEWMAIs a small shift persisting?

Weighted mean vector · 45–60

Separate MEWMA dataset

Start with a trustworthy baseline. Choose a chart that answers the actual process question. Interpret statistical signals in context and confirm causes before changing the process.

← Back to Statistics lessons