The uniform distribution is a continuous Probability distribution with constant Probability over an interval. For an interval , the Probability density function of a uniform Random variable is
It is also possible to define a discrete uniform distribution over possible outcomes as a simple probability mass function:
The discrete version is a simple mathematical description of a set of possibilities that are all equally likely to happen. For example, a fair coin toss is a discrete uniform distribution with , while a fair -sided die is, unsurprisingly, the same but with outcomes.
The continuous version is often used as a placeholder distribution when lacking information. For instance, if the main error on a measurement is due to tool precision constraints (absolute error ), a uniform distribution is used to model what possible values the measured variable could take in the interval.
Moments#
The raw and central Moment-generating function are
The moments are:
- Raw
0.
- (mean)
- Central
0.
- (Variance)
- Coefficients
0. (skewness, it is symmetrical around the mean)
- (kurtosis)
Properties#
It is normalized by .