The discrete-uniform probability density function is then given by pX(x)=1N
for all xi, where i=1 to N for the set of N allowed values of X. The discrete-uniform distribution function is FX(x)=∑x≤xipX(x)=iN
The discrete-uniform probability density function, as shown in the following figure, is used when a specific set of discrete values are allowed for a random variable, each with equal probability. In the following example, the allowed values for X are 1, 2, 4, and 8.5. |