Uniform Distribution
Context: FIT1058_MOC, FIT2086_MOC Β· equal probability to every outcome in a bounded range Β· models fairness or pure ignorance Β· the simplest named parametric family β discrete on , continuous on
Quick Revision
- π― Objective: every outcome in the range equally likely β discrete ; continuous on .
- π¦ Core Components: both give β variance differs: discrete vs continuous .
- β‘ Key Constraint: models genuine fairness or pure ignorance (maximally uninformative); the discrete and continuous variance formulas are not interchangeable.
π Core
1. The Discrete Distribution
- Definition β : for , else 0.
- Count β integers in .
- Generalised support β for any finite , β the set need not be contiguous.
2. Moments
- Mean β (midpoint, by symmetry) β need not be an integer.
- Variance β .
- Check β = fair die: , .
- Alternative parameterisation β on written : , , (the case).
3. Two Motivations
- Fairness β die, coin (genuine symmetry).
- Ignorance β only the range known βΉ assume nothing more.
4. Continuous Uniform (FIT2086)
- Density β with
- Parameters read geometrically β sets the start, the width; height , so a narrow interval has density (a density is not a probability β Random Variables and Probability Distributions (FIT2086)).
- Mean β β the midpoint, as in the discrete case.
- Variance β β no , unlike the discrete formula.
- Probabilities are length ratios β for : integrating a constant density just measures a sub-interval.
- cdf derivation β β linear in , from at to at .
- βFraction of the way alongβ shortcut β any bound expressed as a weighted midpoint reads off instantly: is halfway βΉ ; is three-quarters along βΉ . No integration required.
- Outside the support the probability is exactly β for with : (since ) and (the interval ends where the support starts) β check the support before computing anything.
Key identities:
βοΈ Core Decision Matrix
| Case | ||
|---|---|---|
| discrete | 0.5 | |
| discrete | 3.5 | |
| discrete general | ||
| continuous |
When It Flips: uniform over a sample space = Equally Likely Outcomes; is a fair Bernoulli Trial. It is the natural prior when the distribution's shape is entirely unknown. Reach for the continuous form when the variable is measured rather than counted (weight, waiting time, position).
π Exam Execution Trace & Applied Exercises
Manual Execution Trace
:
| Step / State | Quantity | Value |
|---|---|---|
| 0 (Init) | 6 | |
| 1 | ||
| 2 | 3.5 | |
| 3 |
Applied Exercise 1 β fair die events (discrete)
Problem: = face shown by a fair six-sided die. (i) ; (ii) .
Key move: under a uniform pmf every event probability collapses to favourable count .
Applied Exercise 2 β car weight (continuous)
Problem: weight of a randomly selected car kg. Find (i) , (ii) , (iii) .
Final Extracted Output: kg, , . Key move: the integral of a constant density is a length ratio β no antiderivative work needed.
Applied Exercise 3 β deriving from the definition (Studio 2)
Problem: . Derive by integration rather than quoting .
Final Extracted Output: , consistent with at . Key move: the constant pulls outside the integral, leaving the elementary β the same trick works for if the question wants from scratch.
Applied Exercise 4 β two dice by linearity (Studio 2)
Problem: = one roll of a fair six-sided die, = an independent second roll. Give and .
Final Extracted Output: and . Key move: is linearity β it needs no independence at all; independence would only be required for (see Expectations and Covariance (FIT2086)).
β οΈ Common Mistakes
- π‘ Count is , not β inclusive endpoints; the uniform is the maximally non-committal choice given only the range.
- π‘ Discrete variance formula on a continuous uniform β counts lattice points and is meaningless on an interval, where applies.
- π‘ Continuous density can exceed 1 β has ; only the area under it is a probability.
- π‘ Computing a probability for a region outside β and are zero, not small; students reflexively apply the length ratio and produce a negative or answer. Sketch the support first.
- π‘ Assuming any bounded variable is uniform β daily temperature and adult heights are bounded but centre-heavy β normal. Uniform requires genuine symmetry (fair die/coin) or deliberate ignorance. Selection drill β Parametric Probability Distributions.
π§ Active Recall
Give the pmf, mean, and variance of and verify on a fair die.
- Hint: Inclusive count.
Answer
- Short answer: ; ; ; die β .
- Why: Symmetry β mean at the midpoint.
What two situations call for a uniform distribution?
- Hint: Fairness or ignorance.
Answer
- Short answer: Known symmetry (die/coin), or modelling ignorance (only the range known).
- Why: Non-committal β assumes nothing beyond .
How do the discrete and continuous uniform differ in density, variance, and how probabilities are computed?
- Hint: Lattice points vs interval length.
Answer
- Short answer: discrete puts mass on each of integers, ; continuous spreads density across the interval, . Both share .
- Why: Count ratio vs length ratio β discretely counts favourable integers over ; continuously is the sub-intervalβs share of the width, and exactly.