How one sample tells us about everyone.
Up to now we've just described the 200 students in front of us. Starting today, we want to say something about all students — people we never measured. We can't survey everyone, so we take a sample and trust it to stand in for the whole group. This unit is the bridge from "here's what we found" to "here's what's probably true everywhere." One idea does the heavy lifting: the Central Limit Theorem. It's the engine behind every test in the rest of the course.
We can't measure everyone. So we grab a random, representative sample, compute its mean, and use that to estimate the whole group. The catch: a different sample would give a slightly different mean. The Central Limit Theorem tells us exactly how much those means bounce around — and that's what makes guessing about a whole population a science, not a shot in the dark. Here's the cast of characters we'll meet:
| Term | Symbol | Plain English |
|---|---|---|
| Population | — | Everyone you care about (all college students) |
| Sample | n | The smaller group you actually measure |
| Population mean | μ | The true average you're trying to learn |
| Sample mean | x̄ | The average of your one sample — your estimate of μ |
| Sampling distribution | — | All the possible sample means, gathered into one picture |
| Standard error | SE | How much those sample means spread out |
A small convention that pays off all term: Greek letters describe the population (μ for its mean, σ for its standard deviation) and Latin letters describe your sample (x̄ for its mean, s for its standard deviation). The population values are usually unknown — that's the whole reason we sample.
Probability is just a number from 0 to 1 that says how likely something is. 0 means it never happens, 1 means it always happens, and 0.5 is a coin-flip. Multiply by 100 if you'd rather speak in percent (0.5 = 50%). Two things can never happen: a probability below 0 or above 1. If your arithmetic ever produces one, you made an error.
Where does that number come from? It's the long-run relative frequency — the share of times an event happens if you repeat the situation many, many times. Flip a fair coin 10 times and you might get 7 heads; that's noise. Flip it 1,000 times and you'll be hovering right near 500 — about half. Probability is the value that count settles toward as the run gets long. And notice the move: a probability is a count over a total, exactly the relative-frequency calculation you did building tables back in Unit 2.
In our dataset, 18 of the 200 students are vegan. So the probability of randomly drawing a vegan student is 18 ÷ 200 = 0.09 = 9%. Probability is just a count over a total — the same move you made building frequency tables back in Unit 2.
Most real questions involve two events at once. Will a randomly chosen student be a freshman or a sophomore? Will two dice both come up six? Two rules handle almost everything you'll meet in this course, and the trigger words tell you which one to reach for: “or” → add, “and” → multiply. Before you use either one, though, you have to ask one question about the events — and the answer changes the arithmetic.
If two events can't happen together — statisticians call them mutually exclusive — the chance of one or the other is simply the sum:
P(A or B) = P(A) + P(B) (mutually exclusive)
One die: P(1 or 2) = 1/6 + 1/6 = 2/6 = .33. You can't roll a 1 and a 2 on the same throw, so nothing gets counted twice. From our dataset: 56 of the 200 students are freshmen and 51 are sophomores. Nobody is both, so P(freshman or sophomore) = 56/200 + 51/200 = 107/200 = .535.
If the events can overlap, plain addition counts the overlap twice — so you subtract it once:
P(A or B) = P(A) + P(B) − P(A and B) (events can overlap)
One die: P(even or above 4). The evens are 2, 4, 6 (3/6); above 4 is 5 and 6 (2/6). But the 6 is in both groups, so 3/6 + 2/6 − 1/6 = 4/6 = .67. Check it by listing the faces — 2, 4, 5, 6 — four out of six. The rule is just a shortcut for listing. From our data: 18 students are vegan, 151 commute, and 14 are both. P(vegan or commuter) = 18/200 + 151/200 − 14/200 = 155/200 = .775. Forget the overlap and you get .845 — you've counted the 14 vegan commuters twice.
Two events are independent when one outcome does not change the probability of the other. Two dice don't talk to each other. A coin has no memory. The reels of a slot machine each spin on their own. For independent events, the chance that both happen is the product:
P(A and B) = P(A) × P(B) (independent events)
Double six: 1/6 × 1/6 = 1/36 = .03. Three heads in a row: .5 × .5 × .5 = .125. Ten heads in a row: .510 = .001, about 1 in 1,024. Streaks get unlikely fast — and that feeling, “how surprising is this if only chance is at work?”, is exactly what a p-value measures in Unit 9.
A slot machine has 3 reels. Each reel shows 1 of 10 symbols, and 1 of those symbols is a cherry. The reels are independent, so:
P(cherry, cherry, cherry) = .1 × .1 × .1 = .001
P(no cherries) = .9 × .9 × .9 = .729
P(at least 1 cherry) = 1 − P(no cherries) = 1 − .729 = .271
“At least one” problems are an exam favorite because the tempting answer — adding .1 + .1 + .1 = .3 — is wrong: it counts the double- and triple-cherry spins more than once. Use the complement: 1 minus the chance of none.
Why does “1 minus none” work? Every spin lands in exactly one of two piles: 0 cherries or at least 1 cherry. There is no third pile, so the two piles add to 1. Check it the long way. Exactly 1 cherry can happen 3 ways (cherry on reel 1, 2, or 3), each .1 × .9 × .9 = .081, so 3 × .081 = .243. Exactly 2 cherries: 3 ways × (.1 × .1 × .9 = .009) = .027. Exactly 3 cherries: .001. Add them: .243 + .027 + .001 = .271 — the same answer, but from 7 outcomes instead of 1. And all four piles together, .729 + .243 + .027 + .001, make exactly 1.000. A common slip is to stop at .243: that's exactly one cherry, not at least one.
The recipe for any “at least one” problem: (1) find the chance of missing once (1 − .1 = .9); (2) multiply it across every try, because the tries are independent (.9 × .9 × .9 = .729); (3) subtract from 1 (1 − .729 = .271).
What about “at least 2”? The complement still works, but the opposite of “at least 2” is “0 or 1,” not “none.” Direct: exactly 2 + exactly 3 = .027 + .001 = .028. Complement: 1 − (.729 + .243) = 1 − .972 = .028. Same answer either way, so count whichever side has fewer outcomes. For “at least 1,” the other side is a single outcome (none), so the complement wins. For “at least 2” on 3 reels it's a tie, so go direct. For “at least 4” on 5 reels, go direct: list exactly 4 and exactly 5 rather than 0, 1, 2, and 3. The practice set (problem 14) shows how to lay the long way out in Sheets: one row per way, multiply across each row, then sum the last column.
These two words get mixed up constantly. Mutually exclusive means the events can't happen together. Independent means one tells you nothing about the other. Freshman and sophomore are mutually exclusive — and very much not independent: if you know a student is a freshman, you know for certain they are not a sophomore. In our file, being vegan and being a commuter look independent: if they were, we'd expect .09 × .755 = .068 of 200 ≈ 14 students to be both, and we have exactly 14.
Events are dependent when the first outcome changes the probability of the second. The classic setting is drawing from a bag. Say the bag holds 5 red and 3 blue marbles (8 total) and you draw 2. What is P(red, then red)? It depends on one question: do you put the first marble back?
| WITH replacement (put it back) | WITHOUT replacement (keep it out) | |
|---|---|---|
| Events are… | Independent — the bag is the same for draw 2 | Dependent — draw 2 faces a smaller bag |
| Rule | P(A) × P(B) | P(A) × P(B after A), written P(B | A), “B given A” |
| P(red, red) | 5/8 × 5/8 = 25/64 = .39 | 5/8 × 4/7 = 20/56 = .36 |
| P(blue, blue) | 3/8 × 3/8 = 9/64 = .14 | 3/8 × 2/7 = 6/56 = .11 |
| P(red, then blue) | 5/8 × 3/8 = 15/64 = .23 | 5/8 × 3/7 = 15/56 = .27 |
Without replacement, the second fraction changes in two ways: the bottom drops by one (one fewer marble in the bag), and the top drops by one only if you're asking for the same color you already removed. That's why P(red, then blue) without replacement is 5/8 × 3/7, not 5/8 × 2/7 — the red came out, so all 3 blues are still there.
Why should a psychologist care? We sample participants without replacement — nobody gets into a study twice. With a big population it barely matters: the chance of drawing 2 vegans in a row from our 200 students is (18/200)² = .0081 with replacement and 18/200 × 17/199 = .0077 without — practically the same. With a small bag of 8, it matters a lot.
Probability is a skill, and skills come from reps. Grab paper (or a Sheet) and try each problem before you open the steps. Round to two decimals, except slot machines: those go to three, because the numbers get small fast. After each group, the 🎲 New numbers button deals you a fresh problem of the same kind, as many times as you like.
(1) Is this an OR (add) or an AND (multiply)? (2) For OR: can the two events overlap? If so, subtract the overlap once. For AND: does the first outcome change the second (dependent, like marbles kept out of the bag)? (3) Does it say at least? Then count whichever side has fewer outcomes.
1. Roll one fair die. What is P(3 or 4)?
A 3 and a 4 can't happen on the same roll (mutually exclusive), so just add: 1/6 + 1/6 = 2/6 = .33.
2. Roll one fair die. What is P(odd or above 3)?
Odd = 1, 3, 5 → 3/6. Above 3 = 4, 5, 6 → 3/6. The 5 is in both, so subtract it once: 3/6 + 3/6 − 1/6 = 5/6 = .83.
Check by listing: 1, 3, 4, 5, 6 → 5 faces out of 6. Forget the overlap and you get 6/6 = 1.00, which would mean you can't roll a 2. You can.
3. Roll two fair dice. What is P(the sum is 7 or 11)?
Two dice give 6 × 6 = 36 equally likely outcomes. A sum of 7 happens 6 ways (1+6, 2+5, 3+4, 4+3, 5+2, 6+1). A sum of 11 happens 2 ways (5+6, 6+5). One roll can't sum to both, so add: 6/36 + 2/36 = 8/36 = .22.
🎲 More like this: dice OR
4. Roll two fair dice. What is P(both dice are even)?
Each die: P(even) = 3/6 = .5. The dice are independent, so multiply: 3/6 × 3/6 = 9/36 = .25.
5. Roll two fair dice. What is P(the first die is a 1 or a 2, and the second die is a 6)?
Do the OR inside the first die first: P(1 or 2) = 1/6 + 1/6 = 2/6. Then AND across the two dice: 2/6 × 1/6 = 2/36 = .06.
This is the exam move: an OR inside one event, then an AND across events. Adding 2/6 + 1/6 = .50 would be the chance of the first OR the second, not both.
6. Roll three fair dice. What is P(no sixes)? What is P(at least one six)?
No six on one die = 5/6. Three independent dice: 5/6 × 5/6 × 5/6 = 125/216 = .58.
At least one six = 1 − P(no sixes) = 1 − .58 = .42. The tempting 1/6 + 1/6 + 1/6 = .50 counts the double and triple sixes more than once.
🎲 More like this: dice AND
Problems 7–9 use one bag: 7 red and 3 blue marbles (10 total).
7. You draw 2 marbles. What is P(both red) with replacement? Without replacement?
With (put it back): the bag is the same both times. 7/10 × 7/10 = 49/100 = .49.
Without (keep it out): after one red comes out, 6 reds remain among 9 marbles. 7/10 × 6/9 = 42/90 = .47.
8. You draw 2 marbles. What is P(red first, then blue) with replacement? Without?
With: 7/10 × 3/10 = 21/100 = .21.
Without: 7/10 × 3/9 = 21/90 = .23. The bottom drops to 9 (one fewer marble), but the top stays 3: the marble that came out was red, so all 3 blues are still in the bag.
9. You draw 2 marbles without replacement. What is P(one of each color), in either order?
“One of each” can happen 2 ways, and they can't both happen, so AND within each way, then OR across them.
Red then blue = 7/10 × 3/9 = 21/90. Blue then red = 3/10 × 7/9 = 21/90. Add: 42/90 = .47.
10. A new bag holds 5 red and 5 blue marbles. You draw 3. What is P(all three red) with replacement? Without?
With: 5/10 × 5/10 × 5/10 = .125 → .13.
Without: 5/10 × 4/9 × 3/8 = 60/720 = .08. Each draw, the top and the bottom both drop by one, because each draw takes out another red.
🎲 More like this: marbles
11. A slot machine has 3 independent reels. On each reel, 1 of the 7 symbols is a bell. What is P(at least 1 bell)?
(1) Miss on one reel: 1 − 1/7 = 6/7. (2) Miss on all 3: 6/7 × 6/7 × 6/7 = .630. (3) At least 1 = 1 − .630 = .370.
Not 1/7 + 1/7 + 1/7 = .429: that counts the 2-bell and 3-bell spins more than once.
12. A machine has 4 reels. On each reel, 1 of the 10 symbols is a cherry. What is P(at least 1 cherry)?
Miss on one reel = .9. Miss on all 4 = .9 × .9 × .9 × .9 = .656. At least 1 = 1 − .656 = .344. More reels, more chances: the same machine with 3 reels (section 1b) gave .271.
13. A machine has 3 reels. On each reel, 3 of the 10 symbols are stars. What is P(at least 1 star)?
Now P(star) on a reel is 3/10 = .3, so a miss is .7. None = .7 × .7 × .7 = .343. At least 1 = 1 − .343 = .657.
🎲 More like this: at least 1
For “at least 2,” the opposite side is no longer one outcome, so we go the long way: list every way to win, find the chance of each way, and add them up. Sheets does the arithmetic; your job is the setup.
14. Same star machine as problem 13: 3 reels, P(star) = .3 on each. What is P(at least 2 stars)?
Step 1: count the ways. “At least 2” means exactly 2 or exactly 3. Exactly 2 stars: the one miss can sit on reel 1, 2, or 3, so 3 ways. Exactly 3 stars: 1 way. That's 4 ways, so the table gets 4 rows.
Step 2: build the table in your copy of the class dataset (Raw Data tab), starting in cell AK1. Each row is one way. Each reel cell holds that reel's probability: .3 for a star, .7 for a miss.
| AK | AL | AM | AN | AO | |
|---|---|---|---|---|---|
| 1 | Way | Reel 1 | Reel 2 | Reel 3 | P(this way) |
| 2 | Star, star, miss | =3/10 | =3/10 | =7/10 | =AL2*AM2*AN2 → .063 |
| 3 | Star, miss, star | =3/10 | =7/10 | =3/10 | fill down → .063 |
| 4 | Miss, star, star | =7/10 | =3/10 | =3/10 | fill down → .063 |
| 5 | Star, star, star | =3/10 | =3/10 | =3/10 | fill down → .027 |
| 6 | At least 2 | =SUM(AO2:AO5) → .216 |
Step 3: multiply across each row (one way = reel 1 AND reel 2 AND reel 3), then sum down the last column (way 1 OR way 2 OR way 3 OR way 4; no two ways can happen on the same spin). P(at least 2 stars) = .063 + .063 + .063 + .027 = .216.
Sheets trap: type =3/10 or 0.3. Typed bare, 3/10 becomes a date (March 10), and your product turns into nonsense.
Check it with the complement: 1 − [P(0 stars) + P(exactly 1 star)] = 1 − (.343 + 3 × .3 × .7 × .7) = 1 − (.343 + .441) = .216. Same answer.
15. A machine has 4 reels, with 1 cherry among 10 symbols on each. What is P(at least 2 cherries)? Which way is shorter?
The long way needs every way to get 2, 3, or 4 cherries: 6 + 4 + 1 = 11 rows. The other side, “0 or 1 cherry,” has only 1 + 4 = 5 ways, so go by the complement this time.
P(0) = .94 = .6561. P(exactly 1) = 4 ways × (.1 × .9 × .9 × .9) = 4 × .0729 = .2916. At least 2 = 1 − (.6561 + .2916) = 1 − .9477 = .052.
The rule: count whichever side has fewer outcomes. On 3 reels, “at least 2” is a tie (4 ways vs 4 ways), so the long way is fine, and it's the way you'll show in Sheets.
🎲 More like this: at least 2, the long way
One more connection, and it's the bridge to everything after today. Back in Unit 5 you found areas under the normal curve with z-scores. The whole area under that curve is 1.00 — so any slice of the area is a probability. The area beyond z = +1.96 is .025; the area beyond ±1.96 in both tails together is .05; the middle 95% sits between them. When Unit 9 introduces the p-value, it will be exactly this: the area out in the tail, read as the probability of a result that extreme if only chance were at work.
Nobody can measure every college student in America. It would cost a fortune and take forever. So we take a sample — a manageable slice — as long as it's random (everyone has a fair chance of being picked) and representative (it looks like the group it came from). Then we use the sample mean (x̄) to estimate the population mean (μ). A good sample is a small, honest mirror of the whole.
The word "random" is doing real work. Random selection is what protects you from quietly stacking the deck — surveying only your friends, only morning people, only students who answer email. A sample of 50 chosen at random beats a sample of 5,000 that all came from one dorm. How you pick matters more than how many you pick.
This is worth saying twice because it costs people exams and costs companies millions: a big sample that was gathered the wrong way is still biased. More people just gives you a more precise wrong answer. Everything in this unit assumes the sample was drawn fairly to begin with.
Here's the move that unlocks everything. Imagine you don't take one sample — you take many, each of the same size n. For each one, you write down only its mean. Sample 1's mean is 20.3. Sample 2's is 19.7. Sample 3's is 20.1. Keep going for thousands of samples.
Those means pile up into their own distribution — the sampling distribution of the mean. Read that name carefully: it is a distribution of averages, not of individual people. Each dot in it is one whole sample's mean. This is the single most-confused idea in the course, so hold onto the picture: you're drawing a histogram where every value plotted is itself an average of n scores.
And it behaves in a beautifully predictable way. Averages don't swing as wildly as individuals — one unusually tall person barely budges the average height of a roomful of people. So the sampling distribution is narrower than the population, and it's centered right on μ. That predictability is what the next idea names and explains.
This is the star of the whole course. The Central Limit Theorem (CLT) says: as the sample size n grows, the sampling distribution of the mean approaches a normal distribution — no matter what shape the population has. Spelled out, the distribution of sample means is:
That second point is the payoff. The population can be skewed, jagged, weird — the sample means still come out bell-shaped. That's why we can use the normal curve (from Unit 5) for almost any variable. A common rule of thumb: by about n = 30 the sampling distribution is close enough to normal to use, and the more skewed the population, the larger n you'd want. Here's that bell — slide the controls to see how a mean and spread shape it:
Watch what the SD slider does: a small SD gives a tall, tight bell; a big SD gives a wide, flat one. When you picture the sampling distribution of the mean, imagine that bell getting narrower and taller as your sample grows — that's the next idea, and here it is in three pictures:
Every t-test and ANOVA ahead assumes the sampling distribution of the mean is normal. The CLT is why that's usually safe, and the working rule is n ≥ 30 per group — per cell, not in total. Compare 4 groups of 10 and you don't have “40 people”; you have 10 per cell, and each group mean is still shaky. Strongly skewed variables (reaction times, symptom counts) need more than 30. At the other end, once samples pass roughly 300, formal normality tests become so sensitive that they flag bumps nobody should care about. At that size, judge normality by the histogram and the size of skew and kurtosis instead: an absolute skew above 2, or a kurtosis above 7, signals substantial non-normality (Kim, 2013). (Careful: that kurtosis cutoff is for raw kurtosis; Sheets' =KURT reports excess kurtosis, which is raw kurtosis minus 3, so its cutoff is 4.)
Kim, H.-Y. (2013). Statistical notes for clinical researchers: Assessing normal distribution (2) using skewness and kurtosis. Restorative Dentistry & Endodontics, 38(1), 52–54. https://doi.org/10.5395/rde.2013.38.1.52
All three bells sit over the same center, μ — bigger samples don't move the target, they just tighten the aim. The width keeps shrinking, and that width has a name and a formula.
The spread of that distribution of means has a name: the standard error (SE). It's just the standard deviation of the sample means — how far a typical sample mean lands from μ. And there's a clean formula:
SE = σ ÷ √n. Read it slowly. A bigger n (a bigger sample) makes the bottom bigger, which makes the standard error smaller. A smaller standard error means the sample means cluster tighter around the truth — so your estimate is more reliable. Big samples give steady answers.
Notice the √n, not n. That square root is why precision comes at a rising price: to cut the standard error in half you don't double the sample, you have to quadruple it. Going from n = 25 to n = 100 (4×) only halves the spread. The first hundred people you measure buy you far more precision than the second hundred — a real budgeting fact for anyone who runs studies. Let's watch the formula bite, holding σ fixed at 10:
Open the SJNY Student Life dataset. We want the standard error of stress (column J). We already know stress has SD = 5.90 across all n = 200 students. So:
SE = 5.90 ÷ √200 = 5.90 ÷ 14.14 = 0.42
What does 0.42 mean? If we took sample after sample of 200 students, their mean stress scores would typically land within about 0.42 of the true average. That's a tight, trustworthy estimate — because n is big.
And here's the CLT flexing: our commute_minutes (column W) is right-skewed — a few students have brutal 90-minute commutes that stretch it out. But take samples from it and the means still come out normal. The lopsided shape of the raw data doesn't matter. The means behave.
Remember the z-score from Unit 5: z = (X − μ) ÷ σ — how many standard deviations a score sits from the mean. For a sample mean, swap in the same pieces from the sampling distribution: the center is still μ, but the spread is now the standard error. So z = (x̄ − μ) ÷ SE. Because the CLT made the sampling distribution normal, that z drops straight onto the normal curve you already know — and that single substitution is the whole machinery behind every hypothesis test in Block 4.
Paste any list of numbers below (or load class data) to see its mean and standard deviation. Then try the formula by hand: take the SD it reports, pick a sample size n, and compute SE = SD ÷ √n. The bigger the n you imagine, the smaller that standard error gets.
Mean, median, mode, range, variance, standard deviation, and quartiles for one list of numbers — the SD is the σ you'll feed into SE = σ ÷ √n.
This unit isn't abstract — it's how every honest claim about a large group gets made. When researchers report that, say, only a minority of Americans have ever met a vegan, or that public concern for farmed-animal welfare is rising, they did not ask all 330 million people. They drew a random, representative sample of perhaps 1,000–2,000 and let the Central Limit Theorem carry the inference from the few to the many. The standard error is what lets them attach a margin to the claim instead of just guessing.
The same logic powers the studies behind this whole site's running thread. A finding like "meat and dairy use 83% of farmland but provide only 18% of calories" (Poore & Nemecek, 2018) rests on a sample of roughly 38,000 farms standing in for global agriculture — not a census of every farm on Earth. Whenever you read a number about a population too big to count, a sampling distribution is quietly doing the work underneath.
You've seen a poll say "1,500 adults, margin of error ±3%." Why 1,500? Because of everything in this unit. A poll of 1,500 people has a smaller standard error than a poll of 100 — bigger n, smaller SE, tighter estimate. This is the law of large numbers: as your sample grows, its average settles down and stops jumping around.
Flip a coin 10 times and you might get 7 heads (70%). Flip it 1,000 times and you'll be hovering right near 50%. The average calms down as n grows. That's why a national poll of 1,500 beats a quick survey of your 10 friends — and why "we asked more people" really does mean "trust us more" (as long as the asking was random).
You don't compute a standard error by hand — Sheets does it. Open the SJNY Student Life dataset and try the standard-error formula on stress (column J):
=STDEV(J2:J201)/SQRT(COUNT(J2:J201)) → the standard error of stress ≈ 0.42
You can also watch the Central Limit Theorem happen with two formulas. =RANDBETWEEN draws a random whole number; wrap a batch of draws in =AVERAGE and you've simulated one sample mean:
=AVERAGE(RANDBETWEEN(1,6), RANDBETWEEN(1,6), RANDBETWEEN(1,6), RANDBETWEEN(1,6))
→ the mean of four random dice rolls — one dot in the sampling distribution
Fill that formula down 500 rows and you have 500 sample means. Then graph them with Insert ▸ Chart ▸ Histogram: even though a single die roll is flat (uniform — every face equally likely), the averages pile into a bell. That's the CLT, live, in your own spreadsheet. Add more dice to each average and watch the bell get narrower — you've just demonstrated SE = σ ÷ √n by hand.
Standard error is not the standard deviation — SD describes how spread out people are; SE describes how spread out sample means are, and SE is always smaller because you divide by √n (not n). Bigger n shrinks the standard error, never the other way around. The CLT is about means, not individuals — individual stress scores aren't bell-shaped just because the means are. And a bad sample stays bad: the CLT can't fix a sample that wasn't random or representative. Garbage in, garbage out.
Fifteen quick true/false items with instant explanations. (Different from your Canvas quiz — real practice.)