Solved – “the” correct way of calculating Cp/Cpk values for Statistical Process Control

quality controlstandard deviationunbiased-estimator

There seems to be many different methods of calculating $C_p$/$C_{pk}$ values in SPC, and I need help in determining which one to use at any given situation.

Currently, we need to show $C_p$/$C_{pk}$ values when drawing two different chart.

  • X-MR Chart
  • X-Bar R Chart

Let's assume we have an LSL/USL of 3.0/3.2 respecitvely and we have the following sample:

$
3.55,
2.41,
3.61,
2.71,
2.91,
3.42,
3.52,
2.92,
2.98,
3.02,
3.14,
3.25,
2.98,
3.33,
3.31
$

So according to this website, here's how I would go about determining $C_{pk}$ value.

  1. Calculate sample mean

    $\overline{x} = 3.137333333$

  2. Calculate Standard Deviation

    $\sigma = 0.335249729$

  3. Calculate $C_{pu}$, $C_{pl}$ and take the smaller value as $C_{pk}$

    $C_{pu} = \frac{USL-\overline{x}}{3s}$

    $C_{pl} = \frac{\overline{x}-LSL}{3s}$

    $C_{pu} = 0.062308444$

    $C_{pl} = 0.136548292$

    $C_{pk} = 0.062308444$

This works fine and all for X-MR Chart, since we don't have any subgroups, but let's assume for X-Bar R Chart, we're looking at a subgroup of 3. Now according to this website, we're supposed to use a different formula to calculate standard deviation, namely:

$\sigma'=\frac{\overline{R}}{d_2}$

This will lead to a different value of $C_{pk}$, namely $\sigma'=\frac{0.618}{1.693}=0.365$; $C_{pu}=0.057$; $C_{pl}=0.125$; and $C_{pk}=0.057$.

My question is, which formula am I supposed to use to calculate $C_p$/$C_{pk}$ value?

Best Answer

As far as I know estimating the standard deviation within a sub-group from the sub-group range was only ever done to make shop-floor calculation easier. So feel free to use the summed square deviations from the sub-group mean, which is the sufficient statistic when the distribution's Gaussian. The range method gets relatively less efficient as the sub-group size increases.

On the other hand, when the observations don't fall into sub-groups, you should be using the mean moving range or mean square successive differences to estimate the process standard deviation assuming a stationary process with no auto-correlation. If this is much different from that got from the mean summed squared deviations from the overall mean it's a sign that the process is not under control (cf the Durbin–Watson test). The latter estimate is used to calculate the process performance index $P_\mathrm{pk}$ rather than the process capability index $C_\mathrm{pk}$.

Related Question