The continuous uniform distribution
Studying this course? Keep your progress in one place.
Key facts
- has constant density on and elsewhere.
- Mean (the midpoint); variance .
- The CDF is for , with below and above.
- : probability is the width of a rectangle times its height.
- Model assumption: every value in the interval is equally likely and none outside can occur.
The rectangular density
Every value in is equally likely, so the density is a flat rectangle of area 1.
has density for and otherwise.
The graph is a rectangle of width and height , so the total area is 1. This is the continuous uniform distribution, also called the rectangular distribution. Typical models are waiting times for a regular service and rounding errors.
What is the height of the density for ?
Mean and variance
The mean is the midpoint and the variance is .
The mean is , the midpoint.
For the variance, , so .
The median equals the mean because the density is symmetrical.
- Mean
- Variance
Worked example
. Find and .
- 1
Mean: .
- 2
Width: .
- 3
Variance: .
What is the variance of ?
The cumulative distribution function
It is a straight line from to : .
No probability lies below and all of it lies below . For , So for , and for . The th percentile is .
State all three pieces when you derive the cumulative distribution function.
For , what is the 75th percentile?
Calculating probabilities
Probability is the shaded width times the height .
For , Because is continuous, , so and make no difference. If the interval runs outside , cut it back to the part inside first. Think of probability as area.
Worked example
. Find .
- 1
The density is .
- 2
The required width is .
. Find .
Parameters and modelling
Form equations in and from the mean and variance, and state the equal-likelihood assumption.
If the mean and variance (or a probability) are given, form equations in and .
In context, state the model assumption: every value in the interval is equally likely and none outside can occur.
A measurement recorded to the nearest has rounding error uniform on .
Worked example
with and . Find and .
- 1
Mean: , so .
- 2
Variance: , so .
- 3
Since , .
- 4
Solve and .
has mean 5 and . What is ?
Try an exam question
The continuous random variable . 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