Uniform Distribution

The uniform distribution has a constant probability for all values of a random variable X.

See Also
About Probability Distributions

The uniform probability density function is given by

fX(x)=1b−aa≤x≤b=0otherwise

where the parameters a and b define the range of the uniform distribution. The uniform distribution function is

FX(x)=x−ab−aa≤x≤b.

The mean value and standard deviation of the random variable X for the uniform distribution are given by

μX=a+b2

and

σX=b−a23.

The uniform probability density function, as shown in the figure below, is used when only a range of possible values for a random variable is known.