Empirical Probability
& Expected Value
Build probability distributions from real data and compute the long-run average outcome, \( E(X) \).
What is a Random Variable?
A random variable \( X \) assigns a number to each outcome of a random process. The set of all possible outcomes is the sample space.
Each value of \( X \) has a probability of occurring. When we estimate those probabilities from collected data, we call them empirical probabilities.
Empirical vs. Theoretical
Empirical probability comes from observed frequencies in actual data:
Theoretical probability comes from a known model (like a fair die where each face has probability \( \tfrac{1}{6} \)). When no model exists, we collect data and build the distribution empirically.
From Data to Distribution
Suppose we survey 100 households and record the number of TV sets in each:
Building the Distribution Table
Divide each frequency by the total (100) to get the probability for each value of \( X \):
| \( x \) (TVs) | Frequency | \( P(X=x) \) |
|---|---|---|
| 0 | 10 | 0.10 |
| 1 | 30 | 0.30 |
| 2 | 40 | 0.40 |
| 3 | 15 | 0.15 |
| 4 | 5 | 0.05 |
Rules of a Valid Distribution
The Expected Value \( E(X) \)
The expected value is the long-run average value of \( X \) over many repetitions. It is a weighted average of the outcomes:
Multiply each value by its probability, then add them all up. The result need not be a value \( X \) can actually take.
Computing \( E(X) \): TV Sets
Using our distribution, multiply each \( x \) by its \( P(X=x) \):
On average, a household has 1.75 TV sets. Even though no household owns 1.75 TVs, this is the mean of the distribution.
Scaling to a Population
Once you know \( E(X) \), you can predict totals. For \( n \) independent trials, the expected total is:
For 100 randomly selected households, the expected number of TV sets is:
\( E(X) \) is Not the Mode
It's easy to confuse the expected value with the most common outcome. They are different ideas:
How to Apply It
Worked Example: Cars per Family
A survey of 50 families recorded the number of cars owned. Build the distribution and find \( E(X) \).
| \( x \) | Freq | \( P(x) \) |
|---|---|---|
| 0 | 5 | 0.10 |
| 1 | 20 | 0.40 |
| 2 | 20 | 0.40 |
| 3 | 5 | 0.10 |
Worked Example: Game Winnings
A carnival game pays out based on a spinner. Let \( X = \) the dollar payout. Find the expected payout per play.
| Payout \( x \) | \( P(x) \) |
|---|---|
| \(\$0\) | 0.50 |
| \(\$2\) | 0.30 |
| \(\$5\) | 0.15 |
| \(\$10\) | 0.05 |
Worked Example: Predicting Totals
Using the cars-per-family distribution where \( E(X) = 1.5 \), how many cars would you expect across 200 families?
This works because expectation is additive: the expected total over many families is just the per-family average times the number of families.
Common Mistakes
Quick Summary
| Step | Formula / Action |
|---|---|
| Empirical probability | \( P(x) = \dfrac{\text{freq}}{\text{total}} \) |
| Validity check | \( \sum P(x) = 1 \) |
| Expected value | \( E(X) = \sum x\,P(x) \) |
| Population total | \( n \cdot E(X) \) |
Question 1 of 5
For a valid probability distribution, the sum of all \( P(X=x) \) must equal:
Question 2 of 5
A spinner gives \( X \) with \( P(1)=0.5,\ P(2)=0.3,\ P(3)=0.2 \). What is \( E(X) \)?
Question 3 of 5
A survey of 20 people: 8 own 0 pets, 6 own 1, 4 own 2, 2 own 3. What is \( P(X=2) \)?
Question 4 of 5
If \( E(X) = 1.75 \) TV sets per household, how many sets are expected in 400 households?
Question 5 of 5
A game pays \( P(\$0)=0.6,\ P(\$5)=0.4 \). It costs \(\$3\) to play. On average, the player: