AP Statistics · Unit 2 · Probability, Random Variables and Probability Distributions
2.9 Parameters of random variables
Calculate and interpret the mean and standard deviation of a discrete random variable, and find the mean of a sum or difference.
1/5The mean of a random variable is a weighted average
- The mean of a random variable is a weighted average
- The mean is the balance point of the distribution
- Standard deviation measures typical distance from the mean
- Good interpretations name the variable, the units, and the context
- Means add when random variables are added or subtracted
- Check your recall
- Practice: 10 questions
Part 1 of 5: The mean of a random variable is a weighted average
Suppose a store records how many items each customer buys. After thousands of customers, the average count settles near a fixed value. That long-run average is the center of the distribution.
The mean of a discrete random variable is written . Multiply each possible value by its probability, then add the results.
In symbols, , where is the th value and is its probability. Values with higher probability pull the mean toward them. The mean is also called the expected value.
Key term
mean of a discrete random variable
The mean of a discrete random variable is the sum of each possible value multiplied by its probability, written .
Part 2 of 5: The mean is the balance point of the distribution
Now apply the formula to a distribution. The number of items a customer buys has four possible values.
Worked example
Calculate the mean of a distribution
- Write the formula: .
- Multiply each value by its probability: , , , .
- Add the products: .
Answer: items
On the histogram, the mean marks the balance point. Think of each bar as a weight on a beam. The tall bar on the left pulls the mean toward 1, below the middle of the values.

Quick check
One question on the part you just read
Easy
Show answer and explanation
Answer: A · Worked explanation
Part 3 of 5: Standard deviation measures typical distance from the mean
Two distributions can share a mean and still differ in spread. The standard deviation of a discrete random variable, , measures how far values typically fall from .
- Subtract from each value, then square the difference.
- Multiply each squared difference by its probability.
- Add these products.
- Take the square root of the sum.
In symbols, . The sum under the root is the variance, the average squared distance from the mean. A small standard deviation means values cluster near the mean. A large one means they are spread widely.
Worked example
Calculate the standard deviation
- Write the formula: .
- First two terms: and .
- Last two terms: and .
- Add the terms: .
- Take the square root: .
Answer: items
Key term
standard deviation of a discrete random variable
The standard deviation of a discrete random variable is the square root of its probability-weighted mean squared distance from , written .
Part 4 of 5: Good interpretations name the variable, the units, and the context
A number alone earns little credit. The meaning matters, so connect each parameter to the situation.
Interpret the mean as a long-run average. For the store, means that over many customers, the number of items bought averages about 2.15 per customer.
Interpret the standard deviation as a typical distance. Here, means the number of items bought typically differs from 2.15 by about 1.06 items.

Quick check
One question on the part you just read
Easy
Show answer and explanation
Answer: B · Worked explanation
Part 5 of 5: Means add when random variables are added or subtracted
Often one quantity is built from two others, such as a total or a gap. Let and be random variables. The mean of their sum is the sum of their means. The mean of their difference is the difference of their means.
Worked example
Find the mean of a total and a difference
- Use the sum rule: .
- Use the difference rule: .
Answer: The mean total is 57 minutes. The mean difference is 7 minutes.
These rules hold even if and are not independent random variables. Independence means that knowing one gives no information about the other.
Key term
independent random variables
Independent random variables are variables for which knowing the value of one does not change the probabilities for the other.
Check your recall[12 marks]
5 written questions. Answer each one in your head or on paper, then open the mark scheme.
- 1.Calculate[2 marks]
Calculate the mean of a random variable that takes the values 0, 1, and 2 with probabilities 0.5, 0.3, and 0.2.
Show mark schemeHide mark scheme
Model answer
.
- 1 mark for multiplying each value by its probability and adding
- 1 mark for obtaining
- 2.Calculate[3 marks]
Calculate the standard deviation of a random variable with values 0, 1, and 2, probabilities 0.5, 0.3, and 0.2, and mean 0.7.
Show mark schemeHide mark scheme
Model answer
The variance is . Then .
- 1 mark for squaring each distance from the mean and weighting it by its probability
- 1 mark for adding to get 0.61
- 1 mark for taking the square root to get
- 3.Interpret[2 marks]
Interpret the mean when is the number of broken eggs in a carton.
Show mark schemeHide mark scheme
Model answer
Over many cartons, the number of broken eggs per carton averages about 0.7.
- 1 mark for referring to many cartons or the long run
- 1 mark for stating that the average number of broken eggs per carton is about 0.7
- 4.Determine[3 marks]
Determine the mean total time and the mean difference, home minus school, when the mean walk to school is 18 minutes and the mean walk home is 22 minutes.
Show mark schemeHide mark scheme
Model answer
The mean total is minutes. The mean difference is minutes.
- 1 mark for adding the means to get 40
- 1 mark for subtracting the means to get 4
- 1 mark for giving the unit of minutes
- 5.Explain[2 marks]
Explain why adding two standard deviations does not give the standard deviation of a sum of independent random variables.
Show mark schemeHide mark scheme
Model answer
For independent variables, variances add, not standard deviations. The standard deviation of the sum is the square root of the total variance.
- 1 mark for stating that variances add for independent random variables
- 1 mark for stating that the standard deviation is the square root of the total variance

Practice this topic
10 quick-fire multiple-choice questions, easy to hard. Tap an answer to see if you're right and the worked explanation. (The written questions with mark schemes are under “Check your recall” above.)
0 right0 of 10 answered
Includes the 2 quick checks in the note above.
EasyFind[1 mark]
Show answer and explanation
Answer: D · Worked explanation
MediumCalculate[2 marks]
Show answer and explanation
Answer: C · Worked explanation
MediumInterpret[2 marks]
Show answer and explanation
Answer: C · Worked explanation
MediumCompare[2 marks]
Show answer and explanation
Answer: A · Worked explanation
MediumFind[1 mark]
Show answer and explanation
Answer: D · Worked explanation
HardCalculate[2 marks]
Show answer and explanation
Answer: B · Worked explanation
HardDetermine[2 marks]
Show answer and explanation
Answer: B · Worked explanation
HardDetermine[2 marks]
Show answer and explanation
Answer: B · Worked explanation