Academy › Topic library › Going Deeper: Capability for Non-Normal and Attribute Data
Q-BOT ACADEMY · FREE VIDEO LESSON · 12 MIN
Going Deeper: Capability for Non-Normal and Attribute Data
First, the study itself, because every index sits on top of it. Pick the characteristic and its spec. Make sure the gauge is good enough, with a gauge study. Collect enough data, a hundred readings or more, in rational subgroups over normal running. Check stability on a control chart. Then check the shape: a histogram and a normal probability plot. Only then pick a formula. Skip a step, and the index is just a number.
In short
A capability study starts with a good gauge, enough data, stability and a look at the shape. Natural limits are where the output lands; spec limits are what the customer needs. For skewed data, transform, use percentiles, or fit the right distribution, and always state the method. For attribute data, capability is the average defect rate from a stable chart, converted to Z if you need it. And report parts per million every time!
Check yourself
A skewed process has an upper spec of two point oh. The fitted distribution's median is point five, and its ninety nine point eight six five percentile is one point seven. Using the percentile method, what is P p k? A, one point two five. B, one point one eight. C, point two five. Or D, point eight eight.
Show the answer
The answer is A, one point two five. The upper limit minus the median is one point five. The upper percentile minus the median is one point two. One point five over one point two is one point two five. B divided the limit by the percentile and forgot the median. C measured the gap from the percentile to the limit. And D divided by the whole percentile, not its distance from the median. That's capability for non-normal and attribute data. Questions? Ask Q-Bot right here in the Academy. And one for the road: why did the skewed data skip the bell curve party? It had a long tail and nowhere to sit!
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
Brindlewood, the metrology lab. The restaurant group wants one more number in its capability report: twist on the Harbor table frame. Priya sets each welded frame on the surface plate and measures the gap under the high foot. The spec is two millimeters, maximum. Marcus runs the numbers. P p k, one point three three. Just made it! Then Priya turns her screen around. Her histogram doesn't look anything like a bell.
Hey there, I'm Q-Bot. Welcome to the Q-Bot Academy. Today we're going deeper: capability for non-normal and attribute data! We'll plan a capability study the right way, spot data that aren't normal, work out capability three honest ways, and then measure capability when all you have is pass or fail. If capability is new to you, start with the process capability video, and the C p and C p k worked-out video.
The capability study comes first
First, the study itself, because every index sits on top of it. Pick the characteristic and its spec. Make sure the gauge is good enough, with a gauge study. Collect enough data, a hundred readings or more, in rational subgroups over normal running. Check stability on a control chart. Then check the shape: a histogram and a normal probability plot. Only then pick a formula. Skip a step, and the index is just a number.
Natural limits and non-normal data
Here's the idea behind every capability index. The spec limits come from the customer. The natural process limits come from the process: where nearly all of the output lands, the middle ninety nine point seven three percent. For normal data, that's the mean, plus and minus three sigma. Capability compares the two. But if the data aren't normal, plus and minus three sigma is no longer where the output lands, and that's where normal formulas go wrong.
Some characteristics are skewed by nature. Anything that can't go below zero, like flatness, runout, twist or a gap, piles up near zero with a long tail to the right. So do times, like cycle times and call lengths. But there's a second reason data look non-normal: two processes mixed together. Like a weld histogram with two humps, where the low hump all came from one station. Don't transform that. Split it and fix it. And an unstable process isn't non-normal. It's unstable. Fix that first.
Worked example 1: table frame twist
Worked example one: table frame twist. Priya measures a hundred frames over two weeks, and the individuals chart on the log of the twist is in control. The mean is point six oh millimeters, and the standard deviation is point three five. The histogram piles up between point two and point six, with a long tail to the right. One frame is already at two point one millimeters. The normal probability plot bends like a banana, and the Anderson Darling test gives a p-value under point oh oh five. That's strong evidence the data aren't normal.
So what did the normal formula do? It assumed a bell. P p k equals two point oh minus point six, over three times point three five: one point four over one point oh five, one point three three. But look at the lower natural limit: point six minus one point oh five is minus point four five millimeters. A negative gap! That's impossible, and it's the giveaway. The normal model also predicts only about thirty two frames per million over the spec. The real tail is much fatter.
Method 1: transform the data
Method one: transform the data. Take the natural log of every reading, the LN function in a spreadsheet. The logs average minus point six six, with a standard deviation of point five four, and the log values pass the normal plot. A Box Cox search lands on lambda near zero, which means the same thing: take the log. Now transform the spec too. The log of two point oh is point six nine. And work on the log scale.
On the log scale, the distance to the spec is point six nine minus minus point six six, that's one point three five. Divide by the log standard deviation, point five four: Z is about two point five. P p k is Z over three, about point eight three. Now the honest parts per million: Z of two point five, through NORM dot S dot DIST, leaves about point six percent past the limit. That's about six thousand three hundred frames per million, not thirty two!
Method 2: the percentile method
Method two: the percentile method. Instead of plus and minus three sigma, use the actual percentiles of the fitted distribution: the zero point one three five percentile, the median, and the ninety nine point eight six five percentile. For one upper limit, P p k equals the upper limit minus the median, over the upper percentile minus the median. From the fitted lognormal, the median is about point five two, and the upper percentile is about two point six three. That's past the spec all by itself!
So: two point oh minus point five two is one point four eight. Two point six three minus point five two is two point one one. One point four eight over two point one one is about point seven oh. Method one said point eight three, method two says point seven oh. Different methods give different numbers, so always say which one you used. But both say the same thing: nowhere near one point three three.
Method 3: fit a distribution
Method three: fit a distribution that matches the shape. Software can try a lognormal, a Weibull, a gamma and others, and compare the fits with the Anderson Darling statistic. Pick one that fits and makes physical sense, then read the percentiles or the fraction past the spec straight from it. Here, the lognormal fits best, which is why we used it. Whichever method you pick, report the parts per million too. Everyone understands defects per million.
Why so much twist? Lou watches the welder. The frame's welds were made in order around the frame, so the heat pulled one corner up. Lou changes the order to opposite corners, and the clamps stay closed until the frame cools. Two weeks later: median point three oh, log standard deviation point four oh. The upper percentile drops to about one point oh millimeters, well inside the spec, and the transformed P p k is about one point five eight. The restaurant group gets its number!
Capability for attribute data
Now the other kind of data: attribute data, pass or fail, or counts of defects. There are no measurements, so there's no sigma to put in a formula. Instead, capability is simply the average defect rate from a stable attribute chart. For defectives, the p bar from a p chart or n p chart. For defects, the D P U or the defects per million opportunities, from a c chart or u chart. Then, if you want, convert it to a Z value, so it can sit next to the variables indices.
Worked example 2: the rocking check
Worked example two: the rocking check. Every Harbor chair gets one on a flat table, about three hundred sixty a day. Twenty days on the n p chart, all in control: forty four rockers out of seven thousand two hundred chairs. P bar is forty four over seven thousand two hundred, point six one percent. That's the capability: about six thousand one hundred rockers per million, or a yield of ninety nine point three nine percent.
Now convert it. Find the Z value that leaves point six one percent in one tail. In a spreadsheet, that's NORM dot S dot INV of one minus point oh oh six one one: about two point five one. A P p k equivalent is Z over three: about point eight four. And a confidence interval, because forty four rockers is a small count: the exact ninety five percent interval for p runs from about point four four to point eight two percent, so Z from about two point four to two point six.
Defects and opportunities
For defects with many chances per unit, use opportunities. Before the welding fixes, welding found eighty defects on one thousand eight hundred frames, with eight welds a frame. D P U is eighty over one thousand eight hundred, point oh four four. Opportunities: fourteen thousand four hundred welds. D P M O is eighty over fourteen thousand four hundred, times a million: about five thousand five hundred fifty six. That's a Z of about two point five four. Many tables add one and a half for a long-term shift and call it four sigma. That shift is a convention, not a law: say whether you added it.
How to read the result and decide
So how do you decide? First, is it stable? If not, fix that first. Second, is the shape natural? Skewed by physics, use a transform, the percentile method or a fitted distribution. Mixed streams, split them. Third, compare the right way: P p k against the customer's one point three three, parts per million against what the customer can live with. And for attribute data, put a confidence interval on the rate. Small counts give wide intervals.
Common mistakes
Now the common mistakes. One: running skewed data through normal formulas, and missing the tail. Two: transforming data from an unstable or mixed process. Three: forgetting to transform the spec limits along with the data. Four: reporting an index without saying which method. Five: calling a big normality p-value proof of normal. It isn't, it only means the test couldn't tell. And six: quoting a sigma level without saying whether the one point five shift is in it.
Recap
Let's recap. A capability study starts with a good gauge, enough data, stability and a look at the shape. Natural limits are where the output lands; spec limits are what the customer needs. For skewed data, transform, use percentiles, or fit the right distribution, and always state the method. For attribute data, capability is the average defect rate from a stable chart, converted to Z if you need it. And report parts per million every time!
Check yourself
Now, check yourself. A skewed process has an upper spec of two point oh. The fitted distribution's median is point five, and its ninety nine point eight six five percentile is one point seven. Using the percentile method, what is P p k? A, one point two five. B, one point one eight. C, point two five. Or D, point eight eight. Pause the video if you want to think about it.
The answer is A, one point two five. The upper limit minus the median is one point five. The upper percentile minus the median is one point two. One point five over one point two is one point two five. B divided the limit by the percentile and forgot the median. C measured the gap from the percentile to the limit. And D divided by the whole percentile, not its distance from the median.
That's capability for non-normal and attribute data. Questions? Ask Q-Bot right here in the Academy. And one for the road: why did the skewed data skip the bell curve party? It had a long tail and nowhere to sit!
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.