Films · AP® Biology exam preparation
Press play to start at .
What Chance Looks Like
From the film
- Chi-square asks how often chance alone would put counts this far from the null: less than 1 time in 20 (above the critical value), reject the null; more often, fail to reject it.
- 37 of 60 flies on the humid side gives χ² = 3.27, below the 1-df critical value of 3.84, so you fail to reject the null.
- Failing to reject is not proof: the flies may still prefer humid air, but 60 flies are not enough to rule out chance.
- The same 61.7% share in 120 flies doubles χ² to 6.53, past 3.84, so you reject the null (0.01 < p < 0.05).
- Chi-square takes counts, never percentages, because percentages throw away the sample size.
Read the transcript of “What Chance Looks Like”
Film transcript: What Chance Looks Like
Tap a sentence to play from there.
- 0:02 Sixty fruit flies, one tube.
- 0:05 Humid air at one end, dry air at the other.
- 0:09 37 flies ended on the humid side.
- 0:13 Is that a preference, or just chance?
- 0:16 Even when nothing is going on, counts usually come out a bit lopsided.
- 0:21 So the question is how lopsided chance usually makes them.
- 0:26 The students released the flies in the middle and counted each fly once, at the end.
- 0:31 Start with the dull explanation.
- 0:34 The flies have no preference, and any gap between the sides is due to chance.
- 0:40 That is the null hypothesis.
- 0:43 The null gives you exact counts to test against.
- 0:47 With no preference, half the flies should end up on each side.
- 0:51 Notice what the null is not.
- 0:54 It is not your hunch that flies like humid air.
- 0:58 A hunch gives no counts to test, so it cannot be the null.
- 1:02 So what does chance alone look like?
- 1:05 Let a computer release 60 flies, again and again, each fly picking a side at random.
- 1:12 Most runs land near 30.
- 1:15 But splits as lopsided as this one, in either direction, turn up in more than one run in twenty.
- 1:22 Chi-square turns that gap into one number.
- 1:25 For each side, square the gap, so too many and too few both count.
- 1:30 Then divide by the expected count.
- 1:33 Add the terms, and you have chi-square.
- 1:37 Then find the degrees of freedom, the number of categories minus one.
- 1:42 With two sides, read the table for one degree of freedom.
- 1:46 Now lay chi-square on a ruler.
- 1:49 The gold line is the table's critical value, at a p value of 0.05.
- 1:56 Chance alone passes it about one time in twenty.
- 1:59 This chi-square slides to 3.27, and stops short of the line.
- 2:05 So you fail to reject the null.
- 2:08 Chance is still a good enough explanation.
- 2:11 Here is the whole idea.
- 2:14 Ask how often chance alone would put counts this far from the null.
- 2:19 Less than one time in twenty, and you reject the null.
- 2:23 More often, and you fail to reject it.
- 2:26 But fail to reject is not proof.
- 2:29 The flies may well prefer humid air.
- 2:33 Sixty flies are just not enough to rule out chance.
- 2:36 So the students try again with 120 new flies.
- 2:41 The same share, 74 of them, end on the humid side.
- 2:46 Same verdict, or a different one?
- 2:53 A different one. Each gap is twice as big, and so is each expected count.
- 3:01 Chi-square doubles, to 6.53.
- 3:04 That passes the line, so you reject the null.
- 3:07 The share never changed.
- 3:10 Only the number of flies did.
- 3:13 That is why chi-square takes counts, never percentages.
- 3:17 Percentages throw away the sample size.
- 3:21 Same share, different verdict.
- 3:24 Failing to reject never meant no preference.
- 3:27 It meant not enough evidence yet.
The chi-square test: the same idea, other levels
A level is a place to start, not a rank. If this loses you, the rung below teaches the same idea, told more simply.
College, the core · the level you chose
Probability, Crosses and the Chi-Square Test
Is Mendel's 556-seed miss chance? Chi-square past 7.81 happens 5% of the time.
Genetics and Molecular Biology · about 34 min in all, films included · film 3:24 · 3 practice questions
High school · the level you chose
The Chi-Square Test · this lesson
Test counts against a null: 400 corn kernels, root tips and 60 flies.
AP® Biology exam preparation · about 25 min in all, films included · film 3:34
Play the ladder · 3 films, about 11 min, from high school to college core. Each film waits for you to press play.
Next door
- Inheritance of traits: Where the White Was Hiding · 3:17 Counting offspring and comparing them with a predicted Mendel ratio is the classic use of the test.
- Hardy-Weinberg: Why Dominant Does Not Mean Common · 3:30 Observed genotype counts can be tested against the p squared, 2pq and q squared prediction.
- Gene interaction: Two Whites Make Purple · 3:04 · College: the core An odd offspring ratio hints that one gene hides another, and the test asks whether chance alone could explain it.
- Linked genes: Genes That Travel Together · 3:40 Offspring counts that miss the expected ratio can show that two genes sit close together on a chromosome.
More films from this lesson
Continue in the lesson: The Chi-Square Test →
Free, with captions and a transcript. The lesson has the full text, the questions and the sources.
How this film was made. Narration: an AI narrator voice (Kokoro, af_heart) reading narration written from this lesson's text. Animation: AI-generated in code (Manim) by Claude, a schematic with no drawn molecular structures. Captions come from the narration script. See something wrong? Report it.