Continuous uniform distribution
The continuous uniform distribution gives every value in an interval [a, b] the same density.
- lower and upper ends of the interval ()
- a value in the interval
When to use
When every value in a range is equally likely: a random arrival time within a known window, rounding error, random numbers used in simulation. Probabilities are proportional to interval length.
How to interpret
- for inside the interval.
- The quantile is .
Common mistakes
- Dividing by 12 without squaring the width in the variance.
- Using the continuous uniform for a die (that is the discrete uniform on 1–6).
Example
A bus arrives at a uniformly random time in the next 20 minutes. ; the 90th percentile is 18 minutes; mean 10 minutes, SD minutes.