Many real-world random processes follow well-studied distributions. Recognising which one fits lets you compute probabilities without reinventing the maths.
The common ones
| Distribution | Models | Example |
|---|---|---|
| Bernoulli | A single yes/no trial | One coin flip |
| Binomial | Number of successes in n trials | # heads in 10 flips |
| Poisson | Count of rare events in an interval | Calls per hour |
| Uniform | All values equally likely | A fair die |
| Normal | Bell-shaped, symmetric (next chapter) | Heights |
from scipy import statsstats.binom.pmf(7, n=10, p=0.5) # P(exactly 7 heads in 10 flips)stats.poisson.pmf(3, mu=2) # P(exactly 3 events, rate 2)
Key takeaways
- 01Common distributions model common random processes.
- 02Binomial = successes in n yes/no trials; Poisson = rare event counts; uniform = all equally likely.
- 03Recognising the family gives ready formulas for probabilities and moments.
- 04scipy.stats computes distribution probabilities directly.
