Expected value (mean) of a random variable
Understanding Expected Value (Mean) of a Random Variable
In AP Statistics, the expected value, often denoted as E(X) or μ (mu), represents the long-run average outcome of a random variable X. It's not necessarily a value that X can actually take in a single trial, but rather the average we would expect if we repeated the random process many, many times. The concept is central to understanding probability distributions and making predictions in the face of uncertainty.
Calculating Expected Value for Discrete Random Variables
For a discrete random variable X, which can only take on a countable number of distinct values, the expected value is calculated by summing the product of each possible value of the variable and its corresponding probability. The formula is:
- E(X) = Σ [x_i * P(X = x_i)]
Where:
- x_i represents each distinct value the random variable X can take.
- P(X = x_i) is the probability that the random variable X takes on the value x_i.
- Σ (sigma) indicates summation over all possible values of x_i.
Example: Consider a game where you roll a fair six-sided die. If you roll a 6, you win $10. If you roll a 1, you win $5. For any other roll, you lose $3. Let X be the amount of money you win (or lose, which is negative win). The possible values for X are $10, $5, and -$3. The probabilities are:
- P(X = 10) = 1/6 (rolling a 6)
- P(X = 5) = 1/6 (rolling a 1)
- P(X = -3) = 4/6 (rolling a 2, 3, 4, or 5)
E(X) = (10 * 1/6) + (5 * 1/6) + (-3 * 4/6)
E(X) = 10/6 + 5/6 - 12/6 = 3/6 = $0.50
This means that, on average, you would expect to win $0.50 per game if you played many times.
Expected Value for Continuous Random Variables
For a continuous random variable, which can take any value within a given range, the expected value is calculated using an integral instead of a summation. While the AP Statistics curriculum primarily focuses on discrete cases for direct calculation, it's important to understand the conceptual difference. For continuous variables, the formula involves integrating the product of x and its probability density function (PDF), f(x), over the entire range of possible values:
- E(X) = ∫ [x * f(x) dx]
This is a calculus-based concept, but the interpretation remains the same: the long-run average.
Properties of Expected Value
The expected value has several important properties that are useful for manipulating random variables:
- Expected Value of a Constant: E(c) = c, where c is a constant.
- Expected Value of a Constant Times a Random Variable: E(cX) = cE(X).
- Expected Value of a Sum/Difference of Random Variables: E(X ± Y) = E(X) ± E(Y). This property holds true regardless of whether X and Y are independent. This is a crucial distinction from variance.
- Expected Value of a Linear Transformation: E(a + bX) = a + bE(X), where a and b are constants.
These properties allow us to calculate the expected value of complex combinations of random variables without needing to derive the full probability distribution for the combined variable.
Practice questions
What does the expected value of a discrete random variable represent?
Calculate the expected value for a discrete random variable X with the following probability distribution: P(X=1) = 0.2, P(X=2) = 0.5, P(X=3) = 0.3.
If E(X) = 5 and E(Y) = 8, what is E(X + Y)?
A random variable X has an expected value of E(X) = 10. What is the expected value of the linear transformation 3X - 5?
Related topics
Free AP4U account — unlimited practice, AI grader, and progress tracking.
Canonical: https://apforu.com/ap/statistics/unit-4-probability-random-variables-and-probability-distributions/expected-value-mean-of-a-random-variable