Probability — Chance & Counting
Independent events & the binomial distribution
continues from lesson 2 — values defined earlier in the course stay live here
ELI5: when events don't affect each other (independent), multiply their probabilities — two coin flips both heads is ½ · ½ = ¼. Repeat a yes/no trial n times and the binomial formula gives the chance of exactly k successes: C(n, k)·pᵏ·(1−p)ⁿ⁻ᵏ.
= two independent flips, both heads
✓ pass one in four
= exactly 5 heads in 10 flips ≈ 0.246
✓ pass the most likely single count — but still under 25%
Real-world hook: the binomial models quality control (defects per batch), A/B tests (conversions), and epidemiology (cases per exposed group).
Try it yourself: what is the probability of exactly 2 heads in 3 flips? (C(3, 2)·0.5²·0.5¹.)
= ✏️ Your turn: compute P(exactly 2 heads in 3 flips) = C(3, 2)·(0.5)³. (It works out to 3/8.)
✓ pass green when it matches the binomial probability
Where next: Statistics turns probability around — from "what will the data do?" to "what does the data we collected tell us?"