Films · AP® Biology exam preparation

What Chance Looks Like

Film 1 of 2 in the lesson The Chi-Square Test · High school · 3:34

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.

  1. 0:02 Sixty fruit flies, one tube.
  2. 0:05 Humid air at one end, dry air at the other.
  3. 0:09 37 flies ended on the humid side.
  4. 0:13 Is that a preference, or just chance?
  5. 0:16 Even when nothing is going on, counts usually come out a bit lopsided.
  6. 0:21 So the question is how lopsided chance usually makes them.
  7. 0:26 The students released the flies in the middle and counted each fly once, at the end.
  8. 0:31 Start with the dull explanation.
  9. 0:34 The flies have no preference, and any gap between the sides is due to chance.
  10. 0:40 That is the null hypothesis.
  11. 0:43 The null gives you exact counts to test against.
  12. 0:47 With no preference, half the flies should end up on each side.
  13. 0:51 Notice what the null is not.
  14. 0:54 It is not your hunch that flies like humid air.
  15. 0:58 A hunch gives no counts to test, so it cannot be the null.
  16. 1:02 So what does chance alone look like?
  17. 1:05 Let a computer release 60 flies, again and again, each fly picking a side at random.
  18. 1:12 Most runs land near 30.
  19. 1:15 But splits as lopsided as this one, in either direction, turn up in more than one run in twenty.
  20. 1:22 Chi-square turns that gap into one number.
  21. 1:25 For each side, square the gap, so too many and too few both count.
  22. 1:30 Then divide by the expected count.
  23. 1:33 Add the terms, and you have chi-square.
  24. 1:37 Then find the degrees of freedom, the number of categories minus one.
  25. 1:42 With two sides, read the table for one degree of freedom.
  26. 1:46 Now lay chi-square on a ruler.
  27. 1:49 The gold line is the table's critical value, at a p value of 0.05.
  28. 1:56 Chance alone passes it about one time in twenty.
  29. 1:59 This chi-square slides to 3.27, and stops short of the line.
  30. 2:05 So you fail to reject the null.
  31. 2:08 Chance is still a good enough explanation.
  32. 2:11 Here is the whole idea.
  33. 2:14 Ask how often chance alone would put counts this far from the null.
  34. 2:19 Less than one time in twenty, and you reject the null.
  35. 2:23 More often, and you fail to reject it.
  36. 2:26 But fail to reject is not proof.
  37. 2:29 The flies may well prefer humid air.
  38. 2:33 Sixty flies are just not enough to rule out chance.
  39. 2:36 So the students try again with 120 new flies.
  40. 2:41 The same share, 74 of them, end on the humid side.
  41. 2:46 Same verdict, or a different one?
  42. 2:53 A different one. Each gap is twice as big, and so is each expected count.
  43. 3:01 Chi-square doubles, to 6.53.
  44. 3:04 That passes the line, so you reject the null.
  45. 3:07 The share never changed.
  46. 3:10 Only the number of flies did.
  47. 3:13 That is why chi-square takes counts, never percentages.
  48. 3:17 Percentages throw away the sample size.
  49. 3:21 Same share, different verdict.
  50. 3:24 Failing to reject never meant no preference.
  51. 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.

  1. College, the core

    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

  2. High school

    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

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.