Unit 2 · Topic 2.9 · about 20 minutes
AP Statistics 2.9: 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.
Unit 2: 15 to 25% of the multiple-choice section
What you'll be able to do
- Calculate the mean and standard deviation of a discrete random variable.
- Interpret the mean and standard deviation of a discrete random variable in context.
Key vocabulary
| Term | What it means | The exam trap |
|---|---|---|
| Parameter | A number that measures a characteristic of a probability distribution or a population. It has a single, fixed value. | Treating as uncertain, as if the bakery's mean could be anywhere from 0.57 to 2.93 orders, confuses a fixed parameter with an estimate. |
| Expected value | The mean of a discrete random variable, , interpreted as the long-run average outcome. | No single drive-through order has 1.85 drinks: the expected value need not be a value the variable can take, and it is not a prediction for any one trial. |
| Standard deviation | , the typical distance of the values from the mean over the long run. | More possible values does not mean more spread: a count that is 0 or 4 has a standard deviation of 2, while 1, 2 or 3 with probabilities 0.25, 0.5 and 0.25 has about 0.71. |
| Variance | The square of the standard deviation, written or . | Its units are squared, orders squared or dollars squared, which is why you interpret the standard deviation and not the variance. |
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?
Exam strategy for this topic
- Section I, Multiple Choice: 42 questions in 90 minutes.
- Section II, Free Response: 4 questions in 90 minutes.
- A graphing calculator with statistical capabilities is expected on both sections.
Questions students ask
Why isn't the expected value the most likely value?
The most likely value is just the one with the highest probability. The expected value weights every value by its probability, so less likely large values still pull it up. For the pets example the most likely number is 0, while .
Can an expected value be negative?
Yes, when the variable is a gain that is usually a loss. For one raffle ticket the expected net gain is dollars, so over many tickets buyers lose 7.50 dollars per ticket on average, even though no one loses exactly that.
Why do I square the distances from the mean?
Distances above and below the mean would cancel if you added them as they are. Squaring makes every one positive, and the square root at the end brings the units back to those of the variable.
Does a standard deviation of 1.18 orders mean every week is within 1.18 of the mean?
No, it is a typical distance, not a limit. A week with 4 wedding cake orders is 2.25 away from the mean of 1.75, and that happens with probability 0.10.
Is a parameter the same as a statistic?
No. A parameter describes a whole distribution or population and has one fixed value. A statistic is computed from a sample and changes from sample to sample.
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.