Equal probability for finite outcomes
A discrete uniform distribution assigns equal probability to each value in a finite range. The probability mass function is for . The expected value is , and the variance is , where . Common examples include rolling a fair die, selecting a random card from a deck, or generating a random number from a finite range.
CDF rises uniformly in equal steps
| Aspect | Formula or statement | Note or example |
|---|---|---|
| ParametersThe two endpoints that fix the distribution, as the parameters section explains. | , the minimum, and , the maximum; values | and are integers with |
| SupportEvery whole number from to , set out with the PMF and its support. | finite, equally spaced integers | |
| PMFThe probability of each single value, from the PMF section. | every value carries the same probability mass | |
| CDFThe probability of a value up to , from the CDF section. | a step function jumping by at each integer | |
| Expected valueThe balance point of the values, derived in the expected value section. | the midpoint of the range; not always a value the variable can take | |
| VarianceHow widely the values spread around the midpoint, worked out in variance and standard deviation. | grows quadratically with the width of the range | |
| Mode and medianNo value is more likely than another, and the middle sits at the midpoint, as mode and median shows. | every value is a mode; , an interval when is even | the distribution is fully symmetric and flat |
| Canonical exampleThe fair die the page keeps returning to; variance and standard deviation finishes its numbers. | a fair six-sided die: , , | , , |