Academy › Topic library › Control Charts for Attributes Data
Q-BOT ACADEMY · FREE VIDEO LESSON · 9 MIN
Control Charts for Attributes Data
Control Charts for Attributes Data is data you count instead of measure. And there are two kinds of counts. A defective is a whole unit that fails: the chair rocks, or it doesn't. A defect is one flaw, and one unit can have several: one frame can have three little porosity holes in its welds. Attributes charts watch those counts over time, with a center line and limits, just like any control chart. But here, one chart does the job, not a pair!
In short
Attributes data are counts. Defectives are whole units that fail, defects are individual flaws. Defectives with a fixed sample: n p. Changing sample: p. Defects in a fixed amount: c. Changing amount: u. On p and u charts, the limits step with the sample size, and a negative lower limit is just zero.
Check yourself
Each day, Priya counts every coating flaw she finds on the frames she inspects, and some days she inspects more frames than others. Which chart fits? A, an n p chart. B, a p chart. C, a c chart. Or D, a u chart.
Show the answer
The answer is D, the u chart. Priya is counting flaws, which are defects, and the number of frames changes from day to day, so she plots flaws per frame. N p and p are for defectives, whole frames that fail, and a c chart needs the same amount of product every time.
Where this topic is taught
This lesson is part of every free Academy course whose Body of Knowledge covers it. Each course puts it in context, with exercises and checks.
Full lesson transcript
The narration from the video, by chapter. Brindlewood Outdoor Furniture and its people are a fictional company used in every Q-Bot Academy lesson.
Intro
It's Friday morning at Brindlewood Outdoor Furniture. Dwayne walks into Marcus's office holding the rocking check sheet. "Nine rockers yesterday! Usually it's two. Is that a real problem, or just a bad day?" Right behind him, Hannah has a question too. "My order desk had ten mistakes yesterday and five today. Are both days bad?" Marcus smiles. "Those are counts, not measurements. And counts get their own charts!"
Hey there, I'm Q-Bot. Welcome to the Q-Bot Academy. Today: control charts for attributes data. We'll cover what attributes data are, why counts need their own charts, the four main charts, p, n p, c and u, and two worked examples at Brindlewood.
What it is
So, what is attributes data? It's data you count instead of measure. And there are two kinds of counts. A defective is a whole unit that fails: the chair rocks, or it doesn't. A defect is one flaw, and one unit can have several: one frame can have three little porosity holes in its welds. Attributes charts watch those counts over time, with a center line and limits, just like any control chart. But here, one chart does the job, not a pair!
Why it matters
Why does it matter? Counts are everywhere: failed checks, returns, order mistakes, complaints. But a raw count can fool you. Ten mistakes out of eighty orders isn't the same as ten out of forty. Pick the wrong chart, and you'll chase noise, or miss a real problem. At Brindlewood, a missed problem means wobbly chairs on someone's patio, and a call to Hannah.
How it works: choosing and building the charts
Part one: choosing the chart. Ask two questions. First: am I counting defectives, or defects? Second: is the sample size the same every time? Defectives with the same sample size: the n p chart. Defectives with a changing sample size: the p chart. Defects in the same amount of product: the c chart. Defects with a changing amount: the u chart. Bad: grab whichever chart is handy. Good: answer the two questions, and the chart picks itself!
Part two: the n p chart. It plots the number of defectives in each sample, and every sample is the same size. The center line is n p bar, the average number of defectives. The limits are n p bar, plus or minus three times the square root of n p bar times one minus p bar. Here, p bar is the average fraction defective.
Part three: the p chart. When the sample size changes, plot the fraction defective instead: defectives divided by the sample size. The center line is p bar, total defectives divided by total units checked. The limits are p bar, plus or minus three times the square root of p bar times one minus p bar, divided by n. Because n is inside the formula, every point gets its own limits! A big sample gets tight limits, a small sample gets wide ones. Bad: one set of limits for every day. Good: limits that step with the sample size.
Part four: the c chart. It counts defects, and every count comes from the same amount of product, like one shift in the welding bay, about one hundred eighty frames. The center line is c bar, the average count. The limits are c bar, plus or minus three times the square root of c bar. Before the strip curtain, weld porosity averaged four point six holes a shift, so the upper limit was about eleven. After the curtain, the average fell to point nine, and the new upper limit is about three point seven!
Part five: the u chart. It also counts defects, but the amount of product changes, so you plot defects per unit: u equals the defects divided by the number of units. The center line is u bar, total defects divided by total units. The limits are u bar, plus or minus three times the square root of u bar divided by n. Just like the p chart, the limits step with the sample size. Bad: comparing raw defect counts from a big day and a slow day. Good: defects per unit, with limits for each day's size.
Part six: the lower limit. With small averages, the formula often gives a negative lower limit. You can't have fewer than zero defects, so the lower limit is simply zero. And when a chart does have a real lower limit, a point below it is a signal too. Maybe something got better, and you want to learn why! Or maybe the inspection stopped catching things. Either way, go and look.
Worked example: the rocking check (n p chart)
Now, worked example one: Dwayne's rocking check. Every Harbor chair gets rocked on a flat table before packing, about three hundred sixty chairs a day. Defectives, same sample size, so it's the n p chart. Over twenty days, forty four chairs rocked. Forty four divided by twenty is two point two rockers a day. That's n p bar. And p bar is two point two divided by three hundred sixty, about point six percent.
The limits. Two point two times one minus point oh oh six one is about two point one nine. The square root is about one point four eight. Three times that is about four point four four. So the upper limit is about six point six rockers a day, and the lower limit works out negative, so it's zero. Yesterday's nine rockers is above six point six. That's a real signal! Priya checks the rockers and finds the same thing on all nine: short glides on the feet, all from one new box. Ellen calls the glide supplier, the box is set aside, and the next day, two rockers. Back to normal.
Worked example: the order desk (p chart)
Worked example two: Hannah's order desk. A second person checks every order, and the desk enters anywhere from about forty to about eighty orders a day. Defectives, changing sample size, so it's the p chart. Over twenty days, the desk entered twelve hundred orders, and forty eight had a mistake. Forty eight divided by twelve hundred is point oh four. So p bar is four percent.
Now the limits for each day. On a day with forty orders: point oh four times point nine six is point oh three eight four. Divide by forty, take the square root, and you get about point oh three one. Three times that is about point oh nine three. So the upper limit is about thirteen point three percent. On a day with eighty orders, the same steps give an upper limit of about ten point six percent. Bigger day, tighter limit!
So, the two days Hannah asked about. Yesterday: eighty orders, ten mistakes. That's twelve point five percent, above ten point six. A signal! Today: forty orders, five mistakes. Also twelve point five percent, but below thirteen point three. Just noise. Same percent, different answer! Hannah's team looks at yesterday and finds that an update to the order screen had moved the ship-to field. The screen was put back the way it was, and the next week the desk was back to about four percent.
Common mistakes
A few common mistakes. One: mixing up defects and defectives. Two: plotting raw counts when the sample size changes. Three: one set of limits for every sample on a p or u chart. Four: a negative lower limit on the chart, instead of zero. And five: changing what counts as a defect partway through.
Recap
Let's recap. Attributes data are counts. Defectives are whole units that fail, defects are individual flaws. Defectives with a fixed sample: n p. Changing sample: p. Defects in a fixed amount: c. Changing amount: u. On p and u charts, the limits step with the sample size, and a negative lower limit is just zero.
Check yourself
Now, check yourself. Each day, Priya counts every coating flaw she finds on the frames she inspects, and some days she inspects more frames than others. Which chart fits? A, an n p chart. B, a p chart. C, a c chart. Or D, a u chart. Pause the video if you want to think about it.
The answer is D, the u chart. Priya is counting flaws, which are defects, and the number of frames changes from day to day, so she plots flaws per frame. N p and p are for defectives, whole frames that fail, and a c chart needs the same amount of product every time.
Wrap-up
That's control charts for attributes data. Questions? Ask Q-Bot right here in the Academy. And one for the road: why did the p chart bring a ladder to work? Because its limits keep stepping up and down!
Independent study material; not affiliated with or endorsed by ASQ. Body of Knowledge codes identify where the topic appears in each certification's published outline.