Distributions and expectation of DRVs
Studying this course? Keep your progress in one place.
Key facts
- A discrete random variable has probabilities that sum to .
- Mode: most likely value. Median: smallest with .
- and .
- , which is never negative.
- Use and any given mean to find unknown probabilities.
Discrete random variables
A table or formula giving for each value, with every probability between and and a total of .
A discrete random variable (DRV) takes separate values, each with a probability. The probability distribution is a table or a function such as for .
Two rules always hold: and .
To find an unknown constant, add all the probabilities, set the total equal to and solve.
Worked example
for . Find and the distribution.
- 1
Sum of probabilities: .
- 2
So and .
- 3
The probabilities are .
for . What is ?
Probabilities, mode and median
Add the probabilities of the values that qualify; use a cumulative row to find the median.
To find the probability of an event, add the probabilities of the values that satisfy it: . A cumulative row helps.
The mode is the value with the greatest probability. The median is the smallest value with .
For , list the values above or use .
| x = 1 | x = 2 | x = 3 | x = 4 | |
|---|---|---|---|---|
| P(X = x) | 0.1 | 0.3 | 0.4 | 0.2 |
| P(X ≤ x) | 0.1 | 0.4 | 0.8 | 1 |
x = 1
- P(X = x):
- 0.1
- P(X ≤ x):
- 0.1
x = 2
- P(X = x):
- 0.3
- P(X ≤ x):
- 0.4
x = 3
- P(X = x):
- 0.4
- P(X ≤ x):
- 0.8
x = 4
- P(X = x):
- 0.2
- P(X ≤ x):
- 1
Worked example
. Find the mode and median.
- 1
Cumulative probabilities: .
- 2
The greatest probability is , at .
- 3
.
Using the same table, what is ?
Expectation
The expectation is the probability-weighted average of the values: a long-run mean.
The expectation (mean) of is .
More generally, : square the value, not the probability. Note in general.
A mean need not be a possible value of : it is a long-run average.
- Mean
- Mean of the square
Worked example
Probabilities on . Find and .
- 1
.
- 2
.
with probabilities . What is ?
Variance and standard deviation
Variance is the mean of the square minus the square of the mean.
The variance measures spread about the mean: .
It equals , but the formula above is faster. The standard deviation is , in the same units as .
Variance is never negative; if you get a negative value, recheck .
- X
- Y
- Variance
- Standard deviation
Worked example
and . Find the variance and standard deviation.
- 1
.
- 2
Standard deviation .
and . What is ?
Finding unknown probabilities
Use plus any given mean: two unknowns need two equations.
With two unknowns and you need two equations: one from and one from the given .
For a function such as , write out each probability, find the unknown constant from the sum, then find , and the variance as before. For : and .
Check each final probability is between and and the total is .
- Probabilities
- Given mean
Worked example
and . Find and .
- 1
Sum: , so .
- 2
Mean: , so .
- 3
Substitute : , so .
- 4
Then .
and . What is ?
Try an exam question
The discrete random variable takes the values with , , and . Given that , find and , and find .
[5 marks]
- [1]Sum of probabilities: .
- [1]Mean: , so .
- [1] and .
- [1].
- [1].
That's the notes covered.
Carry on to the next subtopic.
Try a question
Find the value of .
1 mark, marked against the mark scheme
Find the value of .
1 mark, marked against the mark scheme