Discrete Random Variables
A discrete random variable takes separate values, each with a probability. Its probability distribution is a table of values and probabilities that add to . From the table you calculate the expectation (the long-run average) and the variance (the spread), which are the two numbers every later distribution is described by.
Probability distributions
For a discrete random variable with values and probabilities :
is also called the mean of . The standard deviation is .
- List every possible value of and find each probability from the situation (a sample space, a tree, or combinations).
- Check the probabilities sum to .
- Compute for the mean, then and subtract for the variance.
A fair die is thrown. If it shows a , the player wins $5; if it shows a or , the player wins $1; otherwise the player wins nothing. Let be the winnings. Find the distribution, and .
Solution
| 0 | 1 | 5 | |
|---|---|---|---|
. . .
| 1 | 2 | 3 | 4 | |
|---|---|---|---|---|
Find , and .
Solution
.
. . .
Two counters are taken without replacement from a bag with 3 red and 2 blue. Let be the number of red counters taken. Find the distribution of and .
Solution
; ; .
.
for . Show this is a valid distribution and find and .
Solution
✓.
. . .
Interpreting expectation
is the average value of over many repetitions, not necessarily a value can take. A game is fair if the expected winnings equal the cost to play.
In the die game above, how much should the player pay per go for the game to be fair?
Solution
dollars.
Variance is , not or . Square the values, weight by the probabilities, then subtract the square of the mean.
Present the distribution as a table with the probabilities as fractions or exact decimals. Keep exact when it feeds into ; rounding to before squaring changes the variance in the third significant figure.
Practice
- takes values with probabilities . Find and .
- A fair coin is tossed 3 times and is the number of heads. Tabulate the distribution and find and .
- for . Find and .
- Two fair dice are thrown and is the larger score (or the common score). Find and .
Answers
- ; .
- Probabilities for ; , .
- ; .
- : ; .