The whole distribution
In the last lesson you found single binomial probabilities. Now we build the whole distribution: every value k = 0, 1, ..., n with its probability. With it you can answer any question about X, draw its histogram and find its centre.
Let's start with the light bulb problem from the curriculum.
Expected value of a binomial distribution
If a player makes 70% of free throws and shoots 10, you would expect about 7 makes. In general:
E(X) = np
Why? Each trial adds 1 success with probability p and 0 with probability q, so each trial contributes an expected p successes. Over n trials that adds up to np. (You could also prove it from Σ k·C(n, k)pᵏqⁿ⁻ᵏ with some algebra.)
For the bulbs, E(X) = 4 × 0.005 = 0.02 defective bulbs per package: in 1000 packages, expect about 20 defective bulbs.
Spread
The standard deviation measures how far values typically fall from the mean. For a binomial distribution it is
σ = √(npq).
You will compute standard deviations of data and of the normal distribution in Continuous Distributions and the Normal Distribution; for now, use it as a ruler: most of the probability lies between np − 2σ and np + 2σ.
Hands-on activityPaper-clip spinner: B(5, 0.25)
You need: a paper clip, a pencil, paper with a circle divided into 4 equal sectors (one sector shaded), and a calculator.
- Put the pencil tip through the paper clip at the centre of the circle and flick the clip. Landing in the shaded sector is a success (p = 0.25).
- Spin 5 times and record X = number of successes. Repeat for 40 sets of 5 spins.
- Use the formula to make the theoretical table for B(5, 0.25): P(0) ≈ 0.237, P(1) ≈ 0.396, P(2) ≈ 0.264, P(3) ≈ 0.088, P(4) ≈ 0.015, P(5) ≈ 0.001.
- Draw both histograms (relative frequency and probability) on the same axes.
- Find the mean of your 40 values of X and compare with np = 1.25.
What to look for: both histograms should be skewed right with mode 1. Your mean should be roughly between 0.9 and 1.6. If your spinner sticks or the sectors are uneven, the results may drift; that is a good discussion about whether the model's conditions really hold.