The story
When you have no reason to favour any outcome over another, you give them all the same probability. With possible values, each one gets probability , and the PMF is a flat row of equal bars.
The mean sits exactly in the middle at , and the variance is , which grows with the width of the range. For a standard die (, ) that gives a mean of 3.5, a value the die can never actually show, and a variance of .
Formulas
Support
PMF
CDF
Expectation
Variance
Parameters
| Parameter | What it controls |
|---|---|
| The smallest possible value (inclusive). Keep it no larger than . | |
| The largest possible value (inclusive). Together with it fixes the number of outcomes, , and so the probability of each. |
Where it shows up
- The score on a single roll of a fair die.
- A random index chosen to pick an element from a list.
- The last digit of a randomly chosen phone number.
- Assigning participants at random to one of several equally sized groups.
Try this
- Set and to build a die. Press Draw 100 a few times and notice how uneven the histogram looks; then press Draw 1000 and watch it flatten out.
- Keeping the die, switch to Sample means with . The histogram of averages forms a triangle peaking at 3.5, exactly like the familiar totals of two dice. Raise to 10 and it rounds into a bell.
- Set and and shade the interval from 5 to 9. With 21 equally likely values, the shaded probability is : in a flat distribution, probability is simply a matter of counting.
Related distributions
- The Bernoulli with is the Discrete Uniform on .
- It is the whole-number counterpart of the continuous Uniform on ; as the grid of values gets finer, the two behave alike.
- Averages of many independent draws are approximately Normal by the Central Limit Theorem, even though a single draw is completely flat.