Academy › Topic library › Sampling
Q-BOT ACADEMY · FREE VIDEO LESSON · 9 MIN
Sampling
The population is everything you want to know about, like all two thousand slats in a lot, or every shift's checklist this month. A sample is the part you actually look at. Sampling means using that part to decide about the whole. It works only if the sample looks like the population, and you know how much risk you're taking.
In short
A sample is a part you look at to decide about the whole. Pick it by chance: random, systematic, stratified or cluster, never convenience. Keep it honest with labels, separation and sealing. Acceptance sampling uses n and c to accept or reject a lot, with a producer's risk and a consumer's risk. And the O C curve shows what your plan really catches.
Check yourself
Priya's sample from a slat lot finds two cracked slats, so the plan rejects it. Later, sorting shows the lot was only half a percent cracked, a good lot. What kind of risk just happened? A, the consumer's risk. B, the producer's risk. C, the L T P D. Or D, a sample integrity failure.
Show the answer
The answer is B, the producer's risk. A good lot was rejected by bad luck, and that risk falls on the supplier, the producer. The consumer's risk is the opposite, a bad lot accepted. The L T P D is a quality level, not a risk, and nothing here says the sample was mishandled. Every plan has both risks; a good plan keeps them both small! That's sampling. Questions? Ask Q-Bot right here in the Academy. And here's one for the road: why did Q-Bot bring a spoon to receiving? Because a good sample is just a taste of the whole pot!
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 Tuesday afternoon at Brindlewood Outdoor Furniture, and Dwayne, the assembly line lead, is holding up a cracked slat. His line has found about one cracked slat in every twelve from today's lot. But that lot passed receiving this morning! Priya, the quality technician, checked five slats from the top of the nearest bundle, and all five looked fine. Rosa, the plant manager, asks the question everybody's thinking: five slats out of two thousand, what could that ever tell us? And Ellen, from purchasing, asks the other one: so should we check all two thousand?
Hey there, I'm Q-Bot. Welcome to the Q-Bot Academy. Today: sampling. We'll cover what a sample is, how to pick one fairly, how to keep it honest, how acceptance sampling decides on a whole lot, and then we'll build Brindlewood a better plan for slats.
What it is
So, what is sampling? The population is everything you want to know about, like all two thousand slats in a lot, or every shift's checklist this month. A sample is the part you actually look at. Sampling means using that part to decide about the whole. It works only if the sample looks like the population, and you know how much risk you're taking.
Why it matters
Why not just check everything? A hundred percent inspection costs time: at twenty seconds a slat, two thousand slats take about eleven hours. Some tests destroy the part, like a pull test. And tired eyes on the thousandth slat still miss things. But a bad sample is worse than none, because it gives you false confidence. That cracked lot cost Dwayne's line an afternoon of sorting!
How it works: picking, honesty, deciding
Let's take the parts one at a time, starting with how to pick. Simple random sampling means every item has the same chance of being picked, using random numbers, not your hand. Systematic sampling takes every k-th item, like every fortieth slat, after a random start. Bad: grab the five slats on top of the nearest bundle, because that's a convenience sample, and the top of one bundle can't speak for the other twenty four. Good: let chance do the picking!
Two more methods. Stratified sampling splits the population into groups, called strata, and takes a random sample from each group, like a few slats from every bundle, or from every shift. It makes sure no group is skipped. Cluster sampling takes whole groups at random, like three entire bundles. It's cheaper, but it only works if each group is a fair mix of the whole. Bad: cluster sample when the groups differ. Good: stratify when they might.
Auditors sample too. Nobody can read every record, so an auditor picks some. Remember the coating audit, where the team checked twenty of the last forty shift checklists? The good way spreads the picks across all the shifts, days and weeks at random. The bad way pulls whichever folder is on top, and the folder on top is usually the tidy one!
Next, keep the sample honest. That's sample integrity. Label every sample with its lot and where it came from, keep it apart from other lots, and test it the way it arrived. For a moisture check, seal the slats in a bag right away, or they dry out on the bench and lie to you. Bad: a pile of loose slats on a cart with no tags. Good: a tagged, sealed sample that anyone can trace back to its lot.
Now, acceptance sampling. You take a sample of n items from a lot, and count the defectives. If you find c or fewer, you accept the lot. More than c, and you reject it, which usually means sending it back or sorting it. c is called the acceptance number. It doesn't improve the lot; it only decides what happens to it.
Every plan carries two risks. The producer's risk, called alpha, is rejecting a good lot by bad luck. The consumer's risk, called beta, is accepting a bad lot by bad luck. Two quality levels go with them. The A Q L, the acceptable quality level, is the worst percent defective you'd still call good. The L T P D, the lot tolerance percent defective, is a level you'd want rejected almost every time.
The picture that ties it together is the O C curve, the operating characteristic curve. Across the bottom is the lot's true percent defective; up the side is the chance the lot gets accepted. A perfect plan would be a cliff: accept everything good, reject everything bad. A real plan is a slope. Bad: pick a sample size because it feels about right. Good: draw the O C curve and see what your plan actually catches.
Where do n and c come from? Published sampling standards have tables. You look up the lot size, the inspection level and the A Q L, and the table gives you n and c. Plans come as single, double or multiple sampling, with switching rules: tighten up after rejections, relax after a long run of good lots. Variables plans use measurements instead of pass or fail, so they need fewer samples. And many plants use zero acceptance plans, where one defective rejects the lot.
Worked example: a better slat plan
Now let's fix Brindlewood. Each slat lot is two thousand slats in twenty five bundles of eighty. Ellen and the slat supplier agree: one percent cracked is acceptable, and eight percent should almost never get through. Marcus tries a plan: sample fifty slats, accept with one or fewer cracked. And Priya picks them stratified: two random slats from every bundle. Twenty five times two is fifty!
Let's check it with the binomial. At one percent cracked, the chance of zero or one cracked in fifty is about ninety one percent, so the producer's risk is about nine percent. At eight percent cracked, the chance of acceptance drops to about eight percent. So Brindlewood's consumer's risk is about eight percent. Compare the old check, five slats, zero allowed: an eight percent lot passed it about sixty six percent of the time. That's exactly what happened to Dwayne!
Priya started the new plan the next week. In the first month, one lot of eight came in with four cracked slats in the sample, and it went back. Ellen's supplier found a dull trim saw and replaced it. Dwayne hasn't sorted a slat since. And Rosa got her answer: fifty slats, picked fairly, tell you plenty. Five from the top tell you almost nothing!
Common mistakes
A few common mistakes. One: grabbing a convenient sample instead of a random one. Two: picking a sample size by gut feel instead of looking at the O C curve. Three: losing track of which lot a sample came from. Four: thinking acceptance sampling makes a lot better; it only sorts lots. And five: treating zero defects in a small sample as proof the lot is perfect.
Recap
Let's recap. A sample is a part you look at to decide about the whole. Pick it by chance: random, systematic, stratified or cluster, never convenience. Keep it honest with labels, separation and sealing. Acceptance sampling uses n and c to accept or reject a lot, with a producer's risk and a consumer's risk. And the O C curve shows what your plan really catches.
Check yourself
Now, check yourself. Priya's sample from a slat lot finds two cracked slats, so the plan rejects it. Later, sorting shows the lot was only half a percent cracked, a good lot. What kind of risk just happened? A, the consumer's risk. B, the producer's risk. C, the L T P D. Or D, a sample integrity failure. Pause the video if you want to think about it.
The answer is B, the producer's risk. A good lot was rejected by bad luck, and that risk falls on the supplier, the producer. The consumer's risk is the opposite, a bad lot accepted. The L T P D is a quality level, not a risk, and nothing here says the sample was mishandled. Every plan has both risks; a good plan keeps them both small!
That's sampling. Questions? Ask Q-Bot right here in the Academy. And here's one for the road: why did Q-Bot bring a spoon to receiving? Because a good sample is just a taste of the whole pot!
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.