P-chart explained

p-chart
Proposer:Walter A. Shewhart
Subgroupsize:n > 1
Measurementtype:Fraction nonconforming in a sample
Qualitycharacteristictype:Attributes data
Distribution:Binomial distribution
Sizeofshift:≥ 1.5σ
Meanchart:P control chart.svg
Meancenter:

\barp=

m
\sum
n
\sum
j=1
\begin{cases
i=1
1

&ifxijdefective\ 0&otherwise\end{cases}}{mn}

Meanlimits:

\barp\pm3\sqrt{

\barp(1-\barp)
n
}
Meanstatistic:

\barpi=

n
\sum\begin{cases
j=1
1

&ifxijdefective\ 0&otherwise\end{cases}}{n}

In statistical quality control, the p-chart is a type of control chart used to monitor the proportion of nonconforming units in a sample, where the sample proportion nonconforming is defined as the ratio of the number of nonconforming units to the sample size, n.[1]

The p-chart only accommodates "pass"/"fail"-type inspection as determined by one or more go-no go gauges or tests, effectively applying the specifications to the data before they are plotted on the chart. Other types of control charts display the magnitude of the quality characteristic under study, making troubleshooting possible directly from those charts.

Assumptions

The binomial distribution is the basis for the p-chart and requires the following assumptions:[2]

Calculation and plotting

The control limits for this chart type are

\barp\pm3\sqrt{

\barp(1-\barp)
n
} where

\barp

is the estimate of the long-term process mean established during control-chart setup.[2] Naturally, if the lower control limit is less than or equal to zero, process observations only need be plotted against the upper control limit. Note that observations of proportion nonconforming below a positive lower control limit are cause for concern as they are more frequently evidence of improperly calibrated test and inspection equipment or inadequately trained inspectors than of sustained quality improvement.[2]

Some organizations may elect to provide a standard value for p, effectively making it a target value for the proportion nonconforming. This may be useful when simple process adjustments can consistently move the process mean, but in general, this makes it more challenging to judge whether a process is fully out of control or merely off-target (but otherwise in control).[2]

Potential pitfalls

There are two circumstances that merit special attention:

Adequate sample size

Sampling requires some careful consideration. If the organization elects to use 100% inspection on a process, the production rate determines an appropriate sampling rate which in turn determines the sample size.[2] If the organization elects to only inspect a fraction of units produced, the sample size should be chosen large enough so that the chance of finding at least one nonconforming unit in a sample is high—otherwise the false alarm rate is too high. One technique is to fix sample size so that there is a 50% chance of detecting a process shift of a given amount (for example, from 1% defective to 5% defective). If δ is the size of the shift to detect, then the sample size should be set to

n\ge\left(

3
\delta

\right)2\barp(1-\barp)

.[2] Another technique is to choose the sample size large enough so that the p-chart has a positive lower control limit or

n>

32(1-\barp)
\barp
.

Varying sample sizes

In the case of 100% inspection, variation in the production rate (e.g., due to maintenance or shift changes) conspires to produce different sample sizes for each observation plotted on the p-chart. There are three ways to deal with this:

Technique Description
Use variable-width control limitsEach observation plots against its own control limits:

\barp\pm3\sqrt{

\barp(1-\barp)
ni
}, where ni is the size of the sample that produced the ith observation on the p-chart
Use control limits based on an average sample sizeControl limits are

\barp\pm3\sqrt{

\barp(1-\barp)
\barn
}, where

\barn

is the average size of all the samples on the p-chart,
m
\sumni
i=1
m
Use a standardized control chartControl limits are ±3 and the observations,

\hat{p}i

, are standardized using

Zi=

\hat{p
i

-\barp}{\sqrt{

\barp(1-\barp)
ni
}}, where ni is the size of the sample that produced the ith observation on the p-chart

Sensitivity of control limits

Some practitioners have pointed out that the p-chart is sensitive to the underlying assumptions, using control limits derived from the binomial distribution rather than from the observed sample variance. Due to this sensitivity to the underlying assumptions, p-charts are often implemented incorrectly, with control limits that are either too wide or too narrow, leading to incorrect decisions regarding process stability.[3] A p-chart is a form of the Individuals chart (also referred to as "XmR" or "ImR"), and these practitioners recommend the individuals chart as a more robust alternative for count-based data.[4]

See also

Notes and References

  1. Web site: Proportions Control Charts. 2010-01-05. NIST/Sematech Engineering Statistics Handbook. National Institute of Standards and Technology.
  2. Book: Montgomery, Douglas . Introduction to Statistical Quality Control . John Wiley & Sons, Inc. . 2005 . . 978-0-471-65631-9 . 56729567 . dead . https://web.archive.org/web/20080620095346/http://www.eas.asu.edu/~masmlab/montgomery/ . 2008-06-20 .
  3. Web site: Wheeler. Donald. What about p-Charts?. Quality Digest. 17 July 2017.
  4. Book: Wheeler, Donald . Understanding Variation: The Key to Managing Chaos . . 2000 . 140 . 0-945320-53-1 . registration .