The discrete uniform distribution
Studying this course? Keep your progress in one place.
Key facts
- is discrete uniform on when each of the values has probability .
- Probabilities come from counting: and .
- and .
- To find : from the mean, or from the variance.
- For values the mean is and the variance is unchanged.
The discrete uniform distribution
Each of values is equally likely, so every probability is . It is only valid if every outcome is really equally likely.
A discrete random variable has a discrete uniform distribution on when each of the values is equally likely, so for .
Typical models are a fair die (), a fair spinner, or a number drawn at random from a list of equally likely numbers.
The model is only valid if every outcome really is equally likely.
is uniform on . What is ?
Finding probabilities by counting
Count the favourable values and divide by , checking whether the inequality is strict.
Because every value has probability , probabilities are found by counting the favourable values.
Check whether the inequality is strict () or not () before counting.
For example, for is (11, 12, 13, 14), not .
- Y ≤ 10
- Y > 10
Worked example
A spinner is numbered 1 to 8. Find .
- 1
List the favourable values: 6, 7, 8.
- 2
There are 3 of them out of .
is uniform on . What is ?
The mean and variance
The mean is the midpoint and the variance is .
The mean is the midpoint of the values, because the distribution is symmetrical about it. It comes from .
The variance comes from with .
For a fair die, and (3 s.f.), so the standard deviation is . The mean need not be a possible value of .
- Mean
- Variance
Worked example
A spinner is numbered 1 to 8. Find and .
- 1
.
- 2
.
is uniform on . What is ?
Finding n from the mean or variance
Rearrange or for , and check that is a positive integer.
If then , so .
If then , and is the positive root.
Inequalities such as give bounds on ; must be an integer.
Always check that is a positive integer. If it is not, the information given cannot describe a uniform distribution.
- From the mean
- From the variance
Worked example
for a uniform on . Find and .
- 1
.
- 2
.
Worked example
. Find .
- 1
.
- 2
So or ; reject .
for a uniform on . What is ?
Values that do not start at 1
For the shape is the same, shifted by 1, so the mean drops to and the variance is unchanged.
If takes the equally likely values , the shape is the same, shifted by 1.
The mean becomes and the variance is unchanged at .
For a spinner numbered 0 to 9, and . When in doubt, work from first principles with and .
To judge whether lies within one standard deviation of the mean, find and count the values inside.
Values
- Mean
- Variance
Values
- Mean
- Variance (unchanged)
is uniform on . What is ?
Try an exam question
The discrete random variable has a discrete uniform distribution on and . Find and .
[4 marks]
- [1].
- [1].
- [1].
- [1].
That's the notes covered.
Carry on to the next subtopic.
Try a question
Find .
1 mark, marked against the mark scheme
Find .
1 mark, marked against the mark scheme