Discrete Uniform Distribution
Definition
Discrete uniform distribution is a symmetric probability distribution wherein a finite number of values are equally likely to be observed; every one of \(n\) values has equal probability of \(1 / n\). A random variable \(X\) that follows this distribution is called a discrete random variable.
The discrete uniform distribution itself is inherently non-parametric. However, it is usually represented by an interval \(\left[a, b \right]\), so that \(a\) and \(b\) become the main parameters of the distribution:
The number of elements in the interval \(\left[a, b \right]\) is \(n = b - a + 1\). The CDF of the discrete uniform distribution is:
for \(\forall x \in \left[a, b \right]\).
Mean and Variance
Recall that the moment-generating function for discrete random variables is:
Then the expected value of the discrete uniform distribution is:
The variance is the central second moment:
Usage
The theoretical model for random sampling is the discrete uniform distribution.