Process Capability Comparison (Cp, Cpk, Pp, Ppk, Cpm by Group)

See at a glance which of several lines, machines, operators or lots making the same product has better or worse capability. The Ppk confidence interval of each group helps judge whether a difference is just chance.

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.

2Capability Comparison Options

(Spec limits by group are not supported; only common spec limits are supported)

How to compare capability across groups

  1. Copy the measurement column and the group column with their headers and paste them in (one measurement and its group per row).
  2. Enter the measurement column, the group column, the common LSL and USL and, if needed, a common target.
  3. Click Analyze and review the capability table by group and the automatic interpretation of the comparison charts.

Worked example with sample data

The example data are 90 measurements, 30 from each of lines A, B and C. The common specs are 49-51 and the target is 50.

Capability plot - Ppk with 95% confidence interval by line, the red dashed line is the 1.33 criterion
Capability plot - Ppk with 95% confidence interval by line, the red dashed line is the 1.33 criterion

Ppk is 2.164 for line C, 1.411 for line A and 0.7755 for line B, so 2 of the 3 lines meet the 1.33 criterion. Taking the target into account, Cpm is also highest for line C (2.187) and lowest for line B (0.798).

The 95% confidence intervals on the capability plot are 0.543-1.008 for line B, 1.029-1.794 for line A and 1.595-2.734 for line C; the interval of line B does not overlap the other two.

Line B has a mean of 50.28, shifted upward, and the largest standard deviation (0.3091), and 1 of its 30 values is out of spec (observed 33333.3 PPM).

How it is calculated

Each group's indices use the same formulas as the normal capability analysis, with the within standard deviation estimated from the group's moving ranges (MR̄/1.128). Groups with fewer than 4 valid values are dropped, and at least 2 groups are needed.

The Ppk confidence interval on the capability plot is the normal approximation Ppk ± z·√(1/(9n) + Ppk²/(2(n−1))) (Bissell); the confidence level option changes it.

Charts

Cpk/Ppk bars by group with the 1.33 line, Ppk points with confidence intervals, overlaid group histograms with the spec and target lines, and the Ppk trend in group order.

How to read a capability comparison

  • The automatic interpretation names the groups with the highest and lowest Ppk and, if a target is given, the best and worst groups by Cpm.
  • If the confidence intervals of two groups on the capability plot do not overlap, their capability clearly differs.
  • The capability trend follows the order of the group names, so name groups by date or sequence to see a time order.

Frequently asked questions

What if each group has different specs?

Only common spec limits for all groups are supported for now. With different specs, split the data and run the normal capability analysis for each group.

How is the group order decided?

By sorting the group names (digits, then letters, then Korean).

How is Cpk calculated without subgroups?

The values in each group are taken in measurement order and the within variation is estimated from moving ranges.

Other chart tools