Generalized Variance Chart (|S|)

Summarizes the variances and covariances of several variables in a single number - the determinant of the covariance matrix - to find subgroups where the multivariate spread suddenly grew. Where Hotelling T² watches the mean, the generalized variance watches the spread.

1Data Table

Paste a table copied from Excel into a cell (Ctrl+V). Click a column header (A, B…) before pasting to use the first line as column names. Double-click a header to rename it, right-click to insert/delete rows and columns, and formulas such as =A1*2 work too.

2Generalized Variance Chart Options

Select 2 or more related numeric variables:
Subgroups

How to make a generalized variance chart

  1. Copy the numeric variable columns (and a subgroup column, if any) with their headers and paste them in.
  2. Choose 2 or more variables, the subgroup size or subgroup column, and the significance level.
  3. Click Analyze and review the control limits summary, the generalized variance chart, the spread comparison scatter plot and the automatic interpretation.

Worked example with sample data

The example data are the inner and outer diameters (mm) of 50 parts, giving 10 subgroups of 5. Subgroup 8 was made to have a larger spread in both dimensions.

Generalized variance chart - the |S| of subgroup 8 is above the UCL
Generalized variance chart - the |S| of subgroup 8 is above the UCL

With a subgroup size of 5, the mean |S| (CL) is 0.01688, UCL 0.0574 and LCL 0.

Subgroup 8 has |S| = 0.1294, far above the UCL. Compared with the most stable subgroup 7 (|S| = 0.0004887), it is hundreds of times larger.

In the spread comparison scatter plot, subgroup 8 (red) is spread much wider than subgroup 7 (blue).

How it is calculated

The determinant |S| of each subgroup's sample covariance matrix is computed, with mean S̄. With constants b₁ and b₂ from the subgroup size n and the number of variables p, the limits are (S̄/b₁)(b₁ ± z·√b₂) (z = the standard normal 1-α/2 quantile), with the lower limit never below 0.

If the subgroups from a column differ in size, every subgroup is cut to the smallest size (its first rows). Subgroups need at least p + 1 values and there must be at least 3 subgroups.

What the results show

A control limits summary table, the generalized variance chart and a scatter plot comparing the most and least stable subgroups (first two variables).

How to read a generalized variance chart

  • A subgroup above the UCL is a time when the spread of the variables grew overall.
  • In the scatter plot, the wider the red points (least stable subgroup) spread compared with the blue ones, the bigger the difference in spread.
  • Confirm that the spread is stable first, then look for unusual means with the Hotelling T² chart.

Frequently asked questions

What subgroup size should I use?

At least the number of variables + 1; the default is 5. Larger subgroups give a more stable |S|.

How is it different from Hotelling T²?

T² measures how far an observation is from the mean; the generalized variance measures how large the multivariate spread within a subgroup is.

Is the Phase option used?

Not for the generalized variance chart; only the significance level affects the limits.

Other chart tools