Professional Documents
Culture Documents
Attribute Control Charts Overview - BPI Consulting PDF
Attribute Control Charts Overview - BPI Consulting PDF
(/)
Attribute Control Charts Overview
April 2009
In this issue:
Last month we introduced the np control chart. With that publication, we have now covered the four
attributes control charts. This month we review the four types of attributes control charts and when you
should use each of them. We have now devoted one publication to each of the four control charts:
p Control Charts
np Control Charts
c Control Charts
u Control Charts
With this type of data, you are examining a group of items. For each item, there are
only two possible outcomes: either it passes or it fails some preset speci cation.
Each item inspected is either defective (i.e., it does not meet the speci cations) or is
not defective (i.e., it meets speci cations).
Support (/support) Contact Us (/contact-us)
https://www.spcforexcel.com/knowledge/attribute-control-charts/attribute-control-charts-overview 1/9
8/17/2020 Attribute Control Charts Overview | BPI Consulting
Revision
Suppose you teach a green History (/revision-history-for-spc-for-excel-version-6)
belt workshop for your company. You have implemented a processView Cart
that(/cart)
requires each participant to pass a written exam as well as complete a project in orderMy to Account
be given (/user)
the
(/)
title of green belt. This is yes/no type of data. Either a participant completes the requirement or does not
complete the requirement.
Suppose one workshop has 20 attendees. This is the subgroup size (n). A "defective" participant is one
who does not complete the requirements. The number of participants in the workshop who do not
complete the requirements is denoted by np. Suppose that two participants do not complete the
requirements, i.e., np = 2. The fraction defective is called p. In this example, p = np/n = 2/20 = .10 or 10%
of the participants did not meet the requirements. As an instructor, you can track this data for each
workshop.
There are two ways you can track the data: use the p control chart or the np control chart, depending on
what you are plotting and whether or not the subgroup size is constant over time.
The p control chart plots the fraction defective (p) over time. The subgroup size does not have to be the
same each time. This means that sometimes you can have 20 participants, another time 22, another time
18 and so on.
The np control chart plots the number defective over time, and the subgroup size has to be the same
each time. This means you must have 20 participants each time, or you may take a random sample that
is the same each time.
BINOMIAL DISTRIBUTION
The p and np control charts involve counts. You are counting items. To use the p or np control chart, the
counts must also satisfy the following four conditions, as shown in Advanced Topics in Statistical Process
Control (Dr. Don Wheeler, www.spcpress.com (http://www.spcpress.com)):
1. The area of opportunity for defective items to occur must consist of n distinct items (e.g., there are
20 distinct participants in the workshop)
2. Each of the n distinct items is classi ed as possessing or not possessing some attribute (e.g., for
each student, determine if the requirements were met or not met)
3. Let p be the probability that an item has the attribute; p must be the same for all n items in a
sample (e.g., the probability of a participant meeting or not meeting the requirements is the same
for all participants).
4. The likelihood of an item possessing the attribute is not a ected by whether or not the previous
item possessed the attribute (e.g., the probability that a participant meets or does not meet the
requirements is not a ected by others in the group).
Revision
If these four conditions are History
met, the (/revision-history-for-spc-for-excel-version-6)
binomial View Cart of
distribution can be used to estimate the distribution (/cart)
the
counts; the p or the np control chart can be used. The control limits equations for the Myp and np control
Account (/user)
(/)
charts are based on the assumption that you have a binomial distribution. The binomial distribution is a
distribution that is based on the total number of events (np) rather than each individual outcome. The
average and standard deviation of the binomial distribution are given below:
The control limits for both the np and p control charts are based on this distribution as can be seen
below. The limits are based on the average +/- three standard deviations. The point to remember is that
it is three standard deviations of the binomial distribution - not the standard deviation you get from
calculating the standard deviation using something like Excel's STDEV function.
(/)
Remember that to use these equations, the four conditions above must be met. Be careful here because
condition 3 does not always hold. For example, some people use the p control chart to monitor on-time
delivery on a monthly basis. A p control chart is the same as the np control chart, but the subgroup size
does not have to be constant. You cannot use the p control chart unless the probability of each shipment
during the month being on time is the same for all the shipments. Big customers often get priority on
their orders. The probability of their orders being on time is di erent from that of other customers so
you cannot use the p control chart. If the conditions are not met, consider using an individuals control
chart.
We just looked at yes/no type of data that classi es an item as defective or not
defective. If the item is complex in nature, like a television set, computer or car,
it does not make much sense to characterize it as being defective or not
defective. For example, a television set may have a scratch on the surface, but that defect hardly makes
the television set defective. The real issue here is how many defects there are on the television set.
Rating items as defective or not defective is also not very useful if the item is continuous. For example,
suppose you are making a plastic sheet. The fact that the sheet has a small defect such as a bubble or
blemish on it does not make it defective. However, if there are too many bubbles, the sheet may not be
useful for its intended purpose.
For example, suppose you make plastic sheets that are used for sheet protectors. Bubbles on the plastic
sheet are considered defects. You can monitor the number of bubbles over time by counting the number
of bubbles on one plastic sheet. The plastic sheet is the area of opportunity for defects to occur. The
number of bubbles is the number of defects (c).
A defect occurs when something does not meet a preset speci cation. It does not mean that the item
itself is defective. When looking at counting data, you end up with whole numbers such as 0, 1, 2, 3; you
can't have half of a defect. Thus, with the plastic sheet example, you will have 1 bubble, 2 bubbles, etc.
There are two ways to track this counting type data, depending on what you are plotting and whether or
not the area of opportunity for defects to occur is constant.
The c control chart plots the number of defects (c) over time. The area of opportunity must be the same
over time. This means that you use the same sized sheet each time you are counting the bubbles in the
sheet.
Support (/support) Contact Us (/contact-us)
https://www.spcforexcel.com/knowledge/attribute-control-charts/attribute-control-charts-overview 4/9
8/17/2020 Attribute Control Charts Overview | BPI Consulting
(/)
for bubbles each time.
POISSON DISTRIBUTION
There are four conditions that must be met to use a c or u control chart. These are listed in Advanced
Topics in Statistical Process Control (Dr. Wheeler, www.spcpress.com (http://www.spcpress.com)) as
follows:
The counts must be discrete counts (e.g., each bubble that occurs is discrete).
The counts must occur in a well-de ned region of space or time (e.g., one plastic sheet is the well-
de ned region of space where the bubbles can occur).
The counts are independent of each other, and the likelihood of a count is proportional to the size
of the area of opportunity (e.g., the probability of nding a bubble on a plastic sheet is not related
to which part of the plastic sheet is selected).
The counts are rare compared to the opportunity (e.g., the opportunity for bubbles to occur in the
plastic sheet is large, but the actual number that occurs is small).
If these conditions are met, then the Poisson distribution can be used to model the process. This
distribution is used to model the number of occurrences of a rare event when the number of
opportunities is large but the probability of a rare event is small. The average and standard deviation of
the Poisson distribution are given below:
An example of the Poisson distribution with an average number of defects equal to 10 is shown below.
The control limits for both the c and u control charts are based on the Poisson distribution as can be
seen below. The limits are based on the average +/- three standard deviations. The point to remember is
that it is three standard deviations of the Poisson distribution - not the standard deviation you get from
calculating the standard deviation using something like Excel's STDEV function.
Support (/support) Contact Us (/contact-us)
https://www.spcforexcel.com/knowledge/attribute-control-charts/attribute-control-charts-overview 5/9
8/17/2020 Attribute Control Charts Overview | BPI Consulting
(/)
u Control Chart: Control Limits
Remember that the four conditions above must be met if you are going to use these control limit
equations to model your process. If the conditions are not met, consider using an individuals control
chart.
The control limits given above are based on either the binomial or the Poisson distribution. The
conditions listed above for each must be met before they should be used to model the process. However,
there is a time when the control limit equations do not apply. If the n * average fraction defective is less
than 5, the control limits above for the p and the np control charts are not valid. The control limits for the
c and u control charts are not valid if the average number of defects is less than 3. For more information
on this, please see the two newsletters below:
There is also more information on the binomial and Poisson distributions in those two newsletters.
The table below shows when to use each of the charts. X-mR is the individuals control chart.
Revision Historysize
Subgroup (/revision-history-for-spc-for-excel-version-6)
=n Area of Opportunity = n View Cart (/cart)
My Account (/user)
(/)
Follows Binomial Follows Poisson
Distribution? Distribution?
Yes No Yes No
More information on the individuals control chart can be found here (/knowledge/variable-control-
charts/individuals-control-charts). It is important to remember that the assumptions underlying the
control charts are important and must be met before the control chart is valid.
SUMMARY
This month’s publication reviewed the four basic attribute control charts: p, np, c and u. The equations
for the average and control limits were given as well as the underlying assumptions for each type of
control chart. When to use each chart was introduced.
QUICK LINKS
Thanks so much for reading our publication. We hope you nd it informative and useful. Happy charting
and may the data always support your position.
Sincerely,
(https://www.linkedin.com/in/billmcneese)
Support (/support) Contact Us (/contact-us)
https://www.spcforexcel.com/knowledge/attribute-control-charts/attribute-control-charts-overview 7/9
8/17/2020 Attribute Control Charts Overview | BPI Consulting
(/)
(https://www.facebook.com/spcforexcel) (https://www.linkedin.com/company/spc-
for-excel) (https://twitter.com/SpcforExcel)
(https://www.youtube.com/channel/UCnogTilST4u1z_TQFops_LQ)
Buy Now (/catalog/software)
(https://www.capterra.com/reviews/124809/SPC-for-Excel?
utm_source=vendor&utm_medium=badge&utm_campaign=capterra_reviews_badge)
(/spc-knowledge-base-signup)
Sign up for our FREE monthly publication featuring SPC techniques and other statistical topics.
(/)
SPC Around the World
SPC for Excel is used in over 60 countries internationally. Click here for a list of those countries.
(https://www.spcforexcel.com/spc-for-excel-used-internationally)
Questions?
Contact Us (/contact-us)
Connect with Us
(https://www.facebook.com/spcforexcel) (https://www.linkedin.com/company/spc-
for-excel) (https://twitter.com/SpcforExcel)
(https://www.youtube.com/channel/UCnogTilST4u1z_TQFops_LQ)
https://www.spcforexcel.com/knowledge/attribute-control-charts/attribute-control-charts-overview 9/9