Uniform distribution (discrete)
From Wikipedia, the free encyclopedia
Probability mass function n=5 where n=b-a+1 |
|
Cumulative distribution function |
|
Parameters | |
---|---|
Support | |
Probability mass function (pmf) | |
Cumulative distribution function (cdf) | |
Mean | |
Median | |
Mode | N/A |
Variance | |
Skewness | |
Excess kurtosis | |
Entropy | |
Moment-generating function (mgf) | |
Characteristic function |
In probability theory and statistics, the discrete uniform distribution is a discrete probability distribution that can be characterized by saying that all values of a finite set of possible values are equally probable.
If a random variable has any of n possible values that are equally probable, then it has a discrete uniform distribution. The probability of any outcome ki is 1 / n. A simple example of the discrete uniform distribution is throwing a fair die. The possible values of k are 1, 2, 3, 4, 5, 6; and each time the die is thrown, the probability of a given score is 1/6.
In case the values of a random variable with a discrete uniform distribution are real, it is possible to express the cumulative distribution function in terms of the degenerate distribution; thus
where the Heaviside step function H(x − x0) is the CDF of the degenerate distribution centered at x0. This assumes that consistent conventions are used at the transition points.
See rencontres numbers for an account of the probability distribution of the number of fixed points of a uniformly distributed random permutation.