Parameters of Random Variables
AP StatisticsΒ· 12 min read
1. Expected Value of a Discrete Random Variableβ βββββ± 3 min
Unlike the sample mean of a finite dataset, the expected value of a random variable weights every possible outcome by its corresponding probability, rather than counting each observation equally. It represents the average outcome you would observe if you ran the random process an infinite number of times.
Expected Value
Sum of each possible outcome multiplied by its respective probability of occurring
A fair 6-sided die is rolled once, and X is the value shown on the top face. Calculate the expected value of X.
- 1
List all possible outcomes and their probabilities: each x from 1 to 6 has P(X=x) = 1/6
- 2
- 3
Sum the terms to get E[X] = 21 / 6 = 3.5
Test your understanding of expected value calculation:
A random variable Y takes values 0, 1, 2 with probabilities 0.4, 0.4, 0.2. What is E[Y]?
1.0
1.2
0.8
1.5
Reveal answer
1.0 β00.4 + 10.4 + 20.2 = 0 + 0.4 + 0.4 = 0.8? Wait no, correct feedback: 00.4 + 10.4 + 20.2 = 0.8, correct answer is 0.8
Exam tip:
You do not need to round expected values to whole numbers even if all outcomes are integers; 3.5 for a die roll is a valid result.
2. Variance and Standard Deviation of Random Variablesβ β ββββ± 3 min
Variance measures the spread of possible outcomes around the expected value. It is calculated as the weighted sum of squared deviations from the mean, weighted by the probability of each outcome. Standard deviation is the square root of variance, measured in the same units as the original random variable.
Variance of X
Average squared deviation of outcomes from the expected value
Calculate the variance of the 6-sided die roll random variable X from the previous example, where .
- 1
Compute squared deviation for each outcome: , , , , ,
- 2
- 3
Sum to get Var(X) = 17.5 / 6 β 2.9167, so
3. Parameters of Linear Transformationsβ β ββββ± 3 min
When you apply a linear transformation Y = a + bX to a random variable X, the additive constant a shifts every outcome by the same amount, so it shifts the mean by a but does not change the spread. The scaling factor b multiplies both the mean and the standard deviation, and multiplies variance by .
You earn $2 for every point shown on a die roll, plus a fixed $5 participation bonus. Let Y be your total payout, so Y = 5 + 2X. Find E[Y] and .
- 1
Apply the mean transformation rule:
- 2
Apply the standard deviation rule:
Exam tip:
Always take the absolute value of b when calculating standard deviation, as spread cannot be negative.
4. Parameters for Sums and Differences of Independent Random Variablesβ β β βββ± 3 min
For any two random variables, the mean of their sum or difference is always the sum or difference of their individual means. For independent random variables, the variance of their sum or difference is always the sum of their individual variances β you never subtract variances, even when calculating the difference of two variables.
Roll two independent fair 6-sided dice, let X1 be the first die value, X2 be the second die value. Find the mean and variance of D = X1 - X2, the difference between the two rolls.
- 1
Mean of D:
- 2
Variance of D:
5. Common Pitfalls
Wrong move:
Subtracting variances when calculating the difference of two random variables
Why:
Variance is a squared quantity, so spread never cancels out even for differences
Correct move:
Always add variances for sums and differences of independent random variables
Wrong move:
Multiplying standard deviation by the additive constant a in Y = a + bX
Why:
A uniform shift of all values does not change the spread of the distribution
Correct move:
Only multiply standard deviation by |b|, ignore the additive constant a
Wrong move:
Rounding expected value to the nearest integer for discrete outcomes
Why:
Expected value is a long-run average, not a possible single trial outcome
Correct move:
Retain full decimal precision unless explicitly instructed to round
Wrong move:
Applying variance addition rules for dependent random variables
Why:
The omitted covariance term will produce an incorrect under or overestimate of total variance
Correct move:
Explicitly confirm independence before adding variances in your exam working
Wrong move:
Using equal-count sample mean formula for expected value calculation
Why:
Random variable outcomes have unequal probabilities, so they cannot be averaged equally
Correct move:
Use the weighted sum of outcomes multiplied by their respective probabilities
6. Quick Reference Cheatsheet
Transformation / Combination | Mean Result | Variance Result | Standard Deviation Result |
|---|---|---|---|
Original X | |||
(independent) | |||
(independent) |
When this came up on past exams
AI-estimated based on syllabus patterns β cross-check with official past papers for accuracy. Use only as revision-focus signals.
- 2023 Β· Paper 1
FRQ on transformed payout parameters
- 2021 Β· Paper 2
MCQ on sum of independent variances
- 2019 Β· Paper 1
Justify variance addition rule
What's Next
Mastering these parameter rules is the critical foundation for all subsequent AP Stats probability distribution work. You will apply these exact formulas to derive the standard expected value and variance for named discrete distributions including binomial and geometric, which are tested in nearly every AP exam's multiple choice and free response sections. Later, you will extend these combination rules to large sets of independent random variables to prove the Central Limit Theorem, one of the highest-weighted concepts on the entire AP Stats exam. These rules will also be used directly for inference work when calculating standard errors for confidence intervals.
