Unit 2 · Topic 2.9 · about 20 minutes
Parameters of Random Variables
Calculate the mean and standard deviation of a discrete random variable from its distribution, and interpret both as long-run statements in context.
Predict first
At a coffee shop's drive-through, the number of drinks X in an order is 1 with probability 0.50, 2 with probability 0.25, 3 with probability 0.15 and 4 with probability 0.10. Over many orders, what is the average number of drinks per order?
Parameters of a distribution
A probability distribution has a center and a spread, just as a data set does. A number that measures a characteristic of a probability distribution, or of a population, is a parameter. A parameter is a single, fixed value: the distribution of X has exactly one mean and one standard deviation. That is the difference from a statistic, which changes from sample to sample, as in 1.2 Variables.
The mean, or expected value
The expected value of a discrete random variable X, also called its mean, is written or . Multiply each possible value by its probability and add:
The expected value is the long-run average of X. If you could watch thousands of drive-through orders, the mean number of drinks per order would settle near 1.85. It is not the value you should expect on any one order, and it does not have to be a value X can take.
The standard deviation
The standard deviation of X, written or , measures how far the values of X typically fall from the mean over the long run:
Square each value's distance from the mean, weight it by the value's probability, add, and take the square root. The quantity under the square root is the variance, written or . The variance is in squared units (orders squared, dollars squared), which is why the standard deviation is the number you interpret.
Worked exampleWedding cakes at a bakery
A bakery tracks X, the number of wedding cake orders it receives in a week. From years of records, X is 0 with probability 0.15, 1 with probability 0.30, 2 with probability 0.30, 3 with probability 0.15 and 4 with probability 0.10. Find and interpret the mean and the standard deviation of X.
Check that it is a distribution. .
Mean. .
Variance. Weight each squared distance from 1.75 by its probability, as in the table below: .
Standard deviation. orders.
Interpret both in context. Over many weeks, this bakery averages 1.75 wedding cake orders per week. The number of orders in a week typically differs from that mean of 1.75 by about 1.18 orders.
orders and orders, both describing this bakery's weeks over the long run.
| 0 | 0.15 | 0 | 0.459375 |
|---|---|---|---|
| 1 | 0.30 | 0.30 | 0.16875 |
| 2 | 0.30 | 0.60 | 0.01875 |
| 3 | 0.15 | 0.45 | 0.234375 |
| 4 | 0.10 | 0.40 | 0.50625 |
| Sum | 1 |
Distribution of weekly wedding cake orders
The mean, 1.75, is the balance point of the bars. It falls between two possible values, since no week has 1.75 orders.
Expected value and money
Raffles and insurance companies both run on expected value. A school raffle sells 1,000 tickets for 10 dollars each, with one prize of 2,000 dollars and five prizes of 100 dollars. Let X be one ticket's net gain, the prize minus the 10 dollars paid. X is 1,990 with probability 0.001, 90 with probability 0.005 and with probability 0.994, so
Over many tickets, buyers lose an average of 7.50 dollars per ticket, and that is the money the raffle raises. Any one buyer either loses 10 dollars or wins a prize; nobody loses exactly 7.50.
Check your understanding
Let X be the number of pets in a randomly chosen household in a town, with , , , and . Find .
Let X be the number of pets in a randomly chosen household in a town, with , , , and . Then . Which is the best interpretation of ?
For Driver A, the number of late deliveries X in a day is 0 or 4, each with probability 0.5. For Driver B, the number Y is 1 with probability 0.25, 2 with probability 0.5 and 3 with probability 0.25. Which statement is true?
A bakery counts its wedding cake orders each week. The number of orders in a week, X, has and . Which is the best interpretation of the standard deviation?
A carnival game costs 2 dollars to play. You roll a fair die, and if it shows a 6 you win 10 dollars; otherwise you win nothing. Let X be your net gain on one play, so X is 8 with probability and with probability . Which statement is correct?
Course alignment, for teachers
AP Statistics topic 2.9, Unit 2: Probability, Random Variables, and Probability Distributions.
- Skill 3.B: Calculate summary statistics, relative positions of points within a distribution, and predicted responses.
- Skill 4.D: Interpret statistical calculations and results to assess meaning or a claim.