Step 3 of 6 in Statistics & Probability
Distributions & Random Variables
The standard distributions and when each is the right model. Citation needed
The whole, before the parts
A random variable turns outcomes into numbers, and its distribution says which numbers come up how often — the same idea as a histogram, but for a process instead of a dataset. The subject is a small catalogue of standard distributions, each the inevitable consequence of a story about how the numbers are generated: count the successes in repeated tries and one shape appears; count rare events in a window of time and another does; add up many small independent influences and a third appears no matter what you started with. Modeling is matching the story, not the shape. Citation needed
Terminology and core concepts
-
Random variables
A random variable assigns a number to each outcome in the sample space; it is discrete when its possible values can be listed and continuous when they fill an interval. Citation needed
- What does a random variable map outcomes to?
- numbers Citation needed
- Is "number of heads in 3 flips" discrete or continuous?
- discrete Citation needed
- Is "time until the next bus" discrete or continuous?
- continuous Citation needed
- On the two-flip space, what is X(HT) for X = number of heads?
- 1 Citation needed
-
Distributions: pmf and pdf
A discrete variable's distribution is its probability mass function (pmf), giving P(X = x) for each value; a continuous one has a probability density function (pdf), where probability is the area under the curve over an interval and any single point has probability zero. Citation needed
- What must a pmf's values sum to?
- 1 Citation needed
- What is P(X = x) exactly, for a continuous X?
- 0 Citation needed
- How is P(a < X < b) read off a pdf?
- the area under the curve from a to b Citation needed
- Can a pdf exceed 1 at a point?
- yes — only areas must stay at most 1 Citation needed
- What is the total area under any pdf?
- 1 Citation needed
-
Expectation
The expectation E[X] is the probability-weighted average of a random variable's values — the long-run average over many repetitions — and it is linear: E[aX + bY] = aE[X] + bE[Y] with no independence needed. Citation needed
- What is E[X] for a fair die?
- 3.5 Citation needed
- Must E[X] be a value X can take?
- no Citation needed
- What does linearity give for E[X + Y]?
- E[X] + E[Y], always Citation needed
- A lottery ticket costs $2 and pays $500 with chance 1/1000; expected net?
- −$1.50 Citation needed
- What does the law of large numbers say sample means do?
- approach E[X] as trials grow Citation needed
-
Variance of a random variable
The variance Var(X) = E[(X − E[X])²] measures spread around the expectation, exactly as for data; variances of independent variables add, which is the fact the rest of statistics runs on. Citation needed
- What is Var(X) in words?
- expected squared deviation from the mean Citation needed
- What is Var(aX)?
- a² Var(X) Citation needed
- When does Var(X + Y) = Var(X) + Var(Y)?
- when X and Y are independent Citation needed
- What is the standard deviation of a random variable?
- the square root of its variance Citation needed
- What does adding a constant do to Var(X)?
- nothing Citation needed
-
Bernoulli and binomial
A Bernoulli variable is a single success-or-failure trial with success probability p; the binomial counts successes in n independent such trials, with mean np and variance np(1 − p). Citation needed
- What story generates a binomial variable?
- counting successes in n independent identical trials Citation needed
- What is P(X = k) for a binomial?
- C(n,k) pᵖ(1 − p)ⁿ⁻ᵖ Citation needed
- What is the mean number of sixes in 60 die rolls?
- 10 Citation needed
- Which binomial assumption fails for draws without replacement?
- independence of trials Citation needed
- What is the variance of a single Bernoulli trial?
- p(1 − p) Citation needed
-
Poisson
The Poisson distribution counts events in a fixed window when events are rare, independent, and arrive at a steady average rate λ; its mean and variance are both λ. Citation needed
- What story generates a Poisson count?
- independent rare events at a steady rate Citation needed
- What are the Poisson mean and variance?
- both λ Citation needed
- What is P(X = 0) for a Poisson?
- e⁻λ Citation needed
- When does the binomial become approximately Poisson?
- large n, small p, with np moderate Citation needed
- Calls arrive at 3 per minute; what distributes the count in one minute?
- Poisson with λ = 3 Citation needed
-
Uniform and exponential
The uniform distribution spreads probability evenly over an interval — total ignorance within known bounds — and the exponential gives the waiting time between Poisson events; it is memoryless: having waited changes nothing. Citation needed
- What is the pdf of a uniform on [0, 10]?
- 1/10 on the interval, 0 outside Citation needed
- What is the mean of a uniform on [a, b]?
- (a + b)/2 Citation needed
- What waiting times does the exponential model?
- gaps between Poisson events Citation needed
- What does memoryless mean for a waiting time?
- time already waited does not change what remains Citation needed
- What is the mean wait when events arrive at rate λ?
- 1/λ Citation needed
-
The normal distribution
The normal (Gaussian) distribution is the symmetric bell curve fixed entirely by its mean μ and standard deviation σ; z-scores reduce every normal to the standard one, and the 68–95–99.7 rule gives the areas within one, two, and three σ. Citation needed
- Which two numbers pin down a normal distribution?
- its mean and standard deviation Citation needed
- What fraction of a normal lies within 2σ of the mean?
- about 95% Citation needed
- What are the parameters of the standard normal?
- mean 0, standard deviation 1 Citation needed
- How is any normal converted to the standard one?
- by taking z-scores Citation needed
- Heights are normal with μ = 170, σ = 8; about what share lies above 186?
- about 2.5% Citation needed
-
The central limit theorem
The central limit theorem says the sum — or mean — of many independent variables of comparable size is approximately normal whatever their individual distribution; this is why the bell curve is everywhere, and why averages of n values have standard deviation σ/√n. Citation needed
- What does the CLT say about sums of many independent variables?
- they are approximately normal Citation needed
- Must the summed variables themselves be normal?
- no — that is the point Citation needed
- What is the standard deviation of a mean of n independent values?
- σ/√n Citation needed
- To halve the spread of an average, multiply the sample size by what?
- 4 Citation needed
- Why do measurement errors tend to look normal?
- they sum many small independent influences Citation needed
Problems that prove it
-
A game pays $10 with probability 0.2, $1 with probability 0.5, and nothing otherwise. Find E[X] and Var(X).
Drills: expectation and variance straight from a pmf.
Derivation steps
- E[X] = 10(0.2) + 1(0.5) + 0(0.3) = 2.5.
- E[X²] = 100(0.2) + 1(0.5) + 0 = 20.5.
- Var(X) = E[X²] − (E[X])² = 20.5 − 6.25 = 14.25.
- Standard deviation = √14.25 ≈ 3.77 — the payouts are wildly spread around 2.5.
Citation needed
-
A fair coin is flipped 5 times. Find P(exactly 3 heads).
Drills: the binomial formula with the combination counted honestly.
Derivation steps
- The story is binomial: n = 5 independent trials, p = 1/2.
- C(5,3) = 10 orderings place the 3 heads.
- Each ordering has probability (1/2)³(1/2)² = 1/32.
- P = 10/32 = 5/16 ≈ 0.3125.
Citation needed
-
Test scores are normal with mean 100 and standard deviation 15. What share of scores falls between 85 and 130?
Drills: z-scores plus the 68–95–99.7 rule.
Derivation steps
- z for 85: (85 − 100)/15 = −1. z for 130: (130 − 100)/15 = +2.
- Below −1 lies about 16% (half of the 32% outside ±1σ).
- Above +2 lies about 2.5%.
- Between: 100% − 16% − 2.5% ≈ 81.5%.
Citation needed
-
Buses arrive as a Poisson process at 4 per hour. You have waited 10 minutes. What is the expected further wait?
Drills: the exponential's memorylessness against intuition.
Derivation steps
- Gaps between Poisson events are exponential with rate λ = 4 per hour.
- Mean gap = 1/λ = 15 minutes.
- Memorylessness: the 10 minutes already waited change nothing.
- Expected further wait: still 15 minutes.
Citation needed
Sources
- Joseph Blitzstein and Jessica Hwang, Introduction to Probability — distributions taught by the stories that generate them.
- Sheldon Ross, A First Course in Probability — the standard catalogue with full derivations.
- Larry Wasserman, All of Statistics — the compact reference for every distribution here.
Learning path
Continue through Statistics & Probability in order, using the concepts above to connect this topic to the next.