Uniform Distribution
A uniform distribution, sometimes also known as a rectangular distribution, is a distribution that has constant probability.

The probability density function and cumulative distribution function for a continuous uniform distribution on the interval
are
These can be written in terms of the Heaviside step function
as
the latter of which simplifies to the expected
for
.
The continuous distribution is implemented as UniformDistribution[a, b].
For a continuous uniform distribution, the characteristic function is
![phi(t)=2/((b-a)t)sin[1/2(b-a)t]e^(i(a+b)t/2).](https://mathworld.wolfram.com/images/equations/UniformDistribution/NumberedEquation1.gif) |
(5)
|
If
and
, the characteristic function simplifies to
The moment-generating function is
and
The moment-generating function is not differentiable at zero, but the moments can be calculated by differentiating and then taking
. The raw moments are given analytically by
The first few are therefore given explicitly by
The central moments are given analytically by
The first few are therefore given explicitly by
The mean, variance, skewness, and kurtosis excess are therefore
REFERENCES:
Beyer, W. H. CRC Standard Mathematical Tables, 28th ed. Boca Raton, FL: CRC Press, pp. 531 and 533, 1987.