Check · Test yourselfPractice tests

Academy › Topic library › Going Deeper: Binomial, Poisson, Hypergeometric and Other Distributions

Q-BOT ACADEMY · FREE VIDEO LESSON · 12 MIN

Going Deeper: Binomial, Poisson, Hypergeometric and Other Distributions

Not everything at Brindlewood is a measurement. Many numbers are counts: rocking chairs, phone calls, bad tubes in a sample. Counts don't follow the bell curve, especially when they're small. And time between breakdowns follows its own shape. Pick the wrong model, and you'll call an ordinary day a crisis, or wave through a lot that should have been stopped.

12:19 · Q-Bot · narrated, with worked example and a check-yourself question

In short

Binomial: pass or fail out of a fixed n, with mean n p and variance n p times one minus p. Poisson: events at a steady rate, with mean and variance both lambda, and it approximates the binomial when n is big and p is small. Hypergeometric: sampling a small lot without replacement. Exponential: random, memoryless time between events. Weibull: life data, where beta tells you early failure, random, or wear-out!

Check yourself

Priya pulls ten glides from a big box, and five percent of the glides in the box are bad. What's the chance her sample has exactly one bad glide? A: about five percent. B: about thirty one and a half percent. C: about fifty percent. Or D: about sixty percent.

Show the answer

The answer is B. It's binomial: ten choose one is ten, times point oh five, times point nine five to the ninth power, which is about point six three. Ten times point oh five times point six three: about point three one five. A is just p. C is just a guess. And D, about sixty percent, is the chance of zero bad glides, point nine five to the tenth. So a clean ten-glide sample happens sixty percent of the time, even when one glide in twenty is bad! That's binomial, Poisson, hypergeometric and other distributions. Questions? Ask Q-Bot right here in the Academy. And one for the road: why did the Poisson distribution skip the party? It heard the guests would arrive at random!

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 receiving dock, Monday morning. A pallet of forty aluminum tubes has just come in from the tube mill. Priya pulls five, checks them for out-of-round, and all five pass. Ellen nods. Good, the lot's fine. Marcus raises an eyebrow. Is it? If four of those forty tubes were bad, how often would five tubes miss every one of them? Let's find out. The answer is going to surprise you!

Hey there, I'm Q-Bot. Welcome to the Q-Bot Academy. Today we're going deeper: binomial, Poisson, hypergeometric and other distributions! We'll pick the right model for counts, work the formulas with Brindlewood numbers, and then meet the curves for time and life: exponential, Weibull, lognormal and a few more. If distributions are new to you, start with the video on the normal curve and its cousins.

Why the math matters

Why does this math matter? Not everything at Brindlewood is a measurement. Many numbers are counts: rocking chairs, phone calls, bad tubes in a sample. Counts don't follow the bell curve, especially when they're small. And time between breakdowns follows its own shape. Pick the wrong model, and you'll call an ordinary day a crisis, or wave through a lot that should have been stopped.

Choosing the model

Here's the first fork in the road. Are you counting units that pass or fail, out of a fixed number checked? That's binomial, or hypergeometric when the lot is small. Are you counting events in a stretch of time or space, with no fixed upper limit? That's Poisson. Are you measuring time until something happens? That's exponential or Weibull. Measuring a size or a weight? That's usually normal, or lognormal when it's skewed.

The binomial

Let's start with the binomial. It needs four things: a fixed number of trials, n. Two outcomes each time, like rocks or doesn't rock. The same chance, p, every time. And trials that don't affect each other. The chance of exactly x defectives is: n choose x, times p to the x, times one minus p to the n minus x. The mean is n times p, and the variance is n times p times one minus p.

Worked example 1: the rocking check

Worked example one. Every Harbor chair gets the rocking check, about three hundred sixty chairs a day, and about point six percent rock. So the mean is three sixty times point oh oh six: two point one six rockers a day, with a standard deviation of about one point four seven. The chance of a day with zero rockers is point nine nine four to the three hundred sixtieth power: about eleven point five percent. The chance of exactly two is three sixty choose two, times point oh oh six squared, times point nine nine four to the three fifty eight: about twenty seven percent.

Now the useful question: how rare is a bad day? The chance of seven or more rockers on an ordinary day is only about point six six percent, roughly one day in a hundred and fifty. That's why seven is past the n p chart's upper limit of six point six. Five or more happens about seven percent of the time, so a five-rocker day alone is no reason to call Lou. Bad: panic at four rockers because yesterday had one. Good: compare the count to what the binomial says is ordinary.

The Poisson

Next, the Poisson. It counts events in a fixed stretch of time, area or units, when events happen independently at a steady average rate, called lambda. There's no fixed number of trials. The chance of exactly x events is: e to the minus lambda, times lambda to the x, over x factorial. And here's its signature: the mean and the variance are both lambda.

Worked example 2: Hannah's calls

Worked example two. Hannah's customer service gets about four calls a day about assembly questions. So lambda is four. The chance of a day with no calls at all is e to the minus four: about one point eight percent. Three calls and four calls are tied as the most likely, each about nineteen and a half percent. And nine or more calls? About two point one percent of days. So last Thursday, when nine calls came in, Hannah checked the call notes. Eight of them asked about the same step: the new Ridge bench instruction sheet had two pictures swapped!

The Poisson has a second job: it approximates the binomial when n is large and p is small. A common rule is n of at least twenty and p of five percent or less. For the rocking check, lambda is n times p, two point one six. The Poisson says seven or more rockers happens point six eight percent of the time, versus point six six for the exact binomial. Close enough! Bad: use the Poisson for a ten-chair sample with a twenty percent defect rate. Good: use it when n is big and p is tiny.

The hypergeometric

Now, the hypergeometric. The binomial assumes p stays the same with every pick. But when you sample from a small lot without putting anything back, every pick changes the odds for the next one. For a lot of N units with D defectives, the chance a sample of n finds exactly x is: D choose x, times N minus D choose n minus x, over N choose n.

Worked example 3: a pallet of tubes

Worked example three: Priya's pallet. N is forty tubes, D is four bad ones, and n is five. The chance of finding zero bad tubes is thirty six choose five, over forty choose five. That's three hundred seventy six thousand, nine hundred ninety two, over six hundred fifty eight thousand and eight: about fifty seven percent! So more than half the time, a five-tube check passes a lot that's ten percent bad. The binomial shortcut, point nine to the fifth, says fifty nine percent: close, but not exact.

So how many tubes would Priya need to check? To miss a four-bad lot less than ten percent of the time, the hypergeometric says seventeen tubes out of forty. The binomial would say twenty two, because it ignores that each good tube pulled makes the next pick more likely to be bad. Ellen takes a different path: she asks the tube mill to send roundness data with every lot, and Priya's check becomes the backup. The rule of thumb: when the sample is more than about ten percent of the lot, use the hypergeometric.

Time and life: exponential and Weibull

Now for the curves of time and life. The exponential describes time between random events at a steady rate. The chance something lasts past time t is e to the minus t over the mean. After Lou's chain fix, the coating conveyor's mean time between failures is about six hundred ninety hours. A week is eighty scheduled hours, so the chance of a breakdown-free week is e to the minus eighty over six ninety: about eighty nine percent, up from seventy three percent before the fix!

The exponential has a strange property: it's memoryless. If the conveyor has run five hundred hours without a breakdown, the chance it makes it through the next week is still eighty nine percent. Old doesn't mean worn out. Bad: use the exponential for belts and bearings that wear out. Good: use it for random, steady-rate events, like the time between Hannah's calls.

For wear-out, use the Weibull. It has a shape parameter, beta, and a scale parameter, eta. Beta below one means early failures that fade, like infant mortality. Beta equal to one is the exponential. Beta above one means wear-out. The chance of failing by time t is one minus e to the minus, t over eta, to the beta. Lou's oven fan belts follow a Weibull with eta of two thousand hours and beta of two point five. By one thousand hours, about sixteen percent have failed. By two thousand, sixty three point two percent: that's what eta always means.

Three more you'll meet. The lognormal: data skewed to the right, where the logarithm of the data is normal, like repair times. The uniform: every value in a range is equally likely, like where a random check lands in a shift. And the bivariate normal: two normal measurements that move together, like slat thickness and slat width, which plot as an oval cloud instead of a circle.

One more shortcut: the normal curve can approximate the binomial when n times p and n times one minus p are both at least five. One rocking-check day has n p of only two point one six: too small, so use the exact binomial. But a week of eighteen hundred chairs has n p of ten point eight, with a standard deviation of about three point three: big enough for the normal shortcut.

Reading the result

So how do you read the result and decide? First, name what you're counting or measuring. Second, check the model's conditions: fixed n, constant p and independence for the binomial; a steady rate for the Poisson and exponential; a small lot for the hypergeometric. Third, compute the chance of what you saw, or something more extreme, if the process were running as usual. A tiny chance is a signal to go look. A middling chance is ordinary variation: leave the process alone.

Common mistakes

Common mistakes. One: using the binomial for a small lot, which overstates how often a sample misses bad parts. Two: using the Poisson when there's a fixed upper limit and p is large. Three: forgetting that the chance of zero isn't zero, so a clean sample doesn't prove a clean lot. Four: computing the chance of exactly seven when the question is seven or more. Five: applying the exponential to parts that wear out.

And misreadings. If the variance of your counts is much bigger than the mean, the Poisson doesn't fit: events are clumping, so look for a cause. If p drifts from day to day, the binomial limits will be wrong. And a model is a tool, not the truth: plot the real data and check the fit.

Recap

Let's recap. Binomial: pass or fail out of a fixed n, with mean n p and variance n p times one minus p. Poisson: events at a steady rate, with mean and variance both lambda, and it approximates the binomial when n is big and p is small. Hypergeometric: sampling a small lot without replacement. Exponential: random, memoryless time between events. Weibull: life data, where beta tells you early failure, random, or wear-out!

Check yourself

Now, check yourself. Priya pulls ten glides from a big box, and five percent of the glides in the box are bad. What's the chance her sample has exactly one bad glide? A: about five percent. B: about thirty one and a half percent. C: about fifty percent. Or D: about sixty percent. Pause the video if you want to think about it.

The answer is B. It's binomial: ten choose one is ten, times point oh five, times point nine five to the ninth power, which is about point six three. Ten times point oh five times point six three: about point three one five. A is just p. C is just a guess. And D, about sixty percent, is the chance of zero bad glides, point nine five to the tenth. So a clean ten-glide sample happens sixty percent of the time, even when one glide in twenty is bad!

That's binomial, Poisson, hypergeometric and other distributions. Questions? Ask Q-Bot right here in the Academy. And one for the road: why did the Poisson distribution skip the party? It heard the guests would arrive at random!

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.