Statistics/Distributions/Discrete Uniform

From Wikibooks, open books for an open world
< Statistics‎ | Distributions
Jump to navigation Jump to search

Discrete Uniform Distribution[edit | edit source]

The discrete uniform distribution (not to be confused with the continuous uniform distribution) is where the probability of equally spaced possible values is equal. Mathematically this means that the probability density function is identical for a finite set of evenly spaced points. An example of would be rolling a fair 6-sided die. In this case there are six, equally like probabilities.

One common normalization is to restrict the possible values to be integers and the spacing between possibilities to be 1. In this setup, the only two parameters of the function are the minimum value (a), the maximum value (b). (Some even normalize it more, setting a=1.) Let n=b-a+1 be the number of possibilities. The probability density function is then

Mean[edit | edit source]

Let . The mean (notated as ) can then be derived as follows:

Remember that in

Variance[edit | edit source]

The variance () can be derived:

Remember that in