Skip to study

CHAPTER 11 · STATISTICS & PROBABILITY

Probability distributions

Progress stays on this device

papers AA HL chapter & section analysis

Your chapter

Model uncertainty and infer distribution parameters from probabilities and moments.

Read all chapter notes

11.1

Axiomatic probability

Probabilities are non-negative and the probability of the full sample space is 1. Add probabilities for disjoint alternatives. For overlapping events, subtract their intersection once. Complements and Venn regions help translate statements into equations.

Conditional probability restricts the sample space: P(A|B)=P(A∩B)P(B)\displaystyle \frac{P\left(A \cap B\right)}{P\left(B\right)} when P(B)>0\displaystyle P\left(B\right) > 0. Independence means knowing one event does not change the other’s probability; it is different from mutual exclusion. Use conditional branch probabilities for sampling without replacement.

A tree organizes disjoint paths. Multiply along a path and add appropriate complete paths. Bayes’ theorem reverses a conditional probability using the total probability of the observed event; with several source groups, include every source in the denominator.

P(A∪B)=P(A)+P(B)−P(A∩B)\displaystyle P\left(A \cup B\right) = P\left(A\right) + P\left(B\right) - P\left(A \cap B\right). P(A|B)=P(A∩B)P(B)\displaystyle \frac{P\left(A \cap B\right)}{P\left(B\right)}. P(Ai\displaystyle A_{i}|E)=P(Ai)P\displaystyle P\left(A_{i}\right) P(E|Ai\displaystyle A_{i})/∑P(Aj)P\displaystyle \sum P\left(A_{j}\right) P(E|Aj\displaystyle A_{j}).

Watch out: In Bayes’ theorem, the denominator is the total probability of the evidence, not only one route to it.

Worked example

A screening model has P(D)=0.3\displaystyle P\left(D\right) = 0.3, P(+|D)=0.8 and P(+|D′\displaystyle D^{\prime})=0.1. Find P(D|+) exactly.

  1. P(+)=0.3×0.8+0.7×0.1=0.31\displaystyle 0.3 \times 0.8 + 0.7 \times 0.1 = 0.31.
  2. P(D∩+)=0.24, so P(D|+)=0.240.31=2431\displaystyle \frac{0.24}{0.31} = \frac{24}{31}.

11.2

Probability distributions

A discrete probability distribution lists every possible value and its probability. Each probability lies in [0, 1]\displaystyle \left[0,\,1\right] and all probabilities sum to 1. The expected value is a probability-weighted average, not necessarily a possible observed outcome.

Find the second moment E(X2)\displaystyle E \left(X^{2}\right) using squared outcomes, then use Var⁡(X)=E(X2)−[E(X)]2\displaystyle \operatorname{Var}\left(X\right) = E \left(X^{2}\right) - \left[E \left(X\right)\right]^{2}. Variance is non-negative and has squared units. Transforming X to aX+b\displaystyle aX + b changes its expectation linearly and its variance by a2\displaystyle a^{2}.

Expected gains are long-run averages. Subtract a fixed entry cost from the reward expectation to obtain expected net gain. For independent variables, variances of sums add; a covariance term is needed when independence cannot be assumed.

E(X)=∑xp(x)\displaystyle E \left(X\right) = \sum xp \left(x\right). Var⁡(X)=∑x2p(x)−[E(X)]2\displaystyle \operatorname{Var}\left(X\right) = \sum x^{2} p \left(x\right) - \left[E \left(X\right)\right]^{2}. E(aX+b)=aE(X)+b\displaystyle E \left(aX + b\right) = aE \left(X\right) + b; Var⁡(aX+b)=a2Var⁡(X)\displaystyle \operatorname{Var}\left(aX + b\right) = a^{2} \operatorname{Var}\left(X\right).

Watch out: Square the outcomes in E(X2)\displaystyle E \left(X^{2}\right); do not square their probabilities.

Worked example

X takes values −1,1,3 with probabilities 14\displaystyle \frac{1}{4},12\displaystyle \frac{1}{2},14\displaystyle \frac{1}{4}. Find E(X) and Var⁡(X)\displaystyle \operatorname{Var}\left(X\right), in that order.

  1. E(X)=−14+12+34=1\displaystyle E \left(X\right) = \frac{-1}{4} + \frac{1}{2} + \frac{3}{4} = 1.
  2. E(X2)=14+12+94=3\displaystyle E \left(X^{2}\right) = \frac{1}{4} + \frac{1}{2} + \frac{9}{4} = 3, so variance is 3−12=2\displaystyle 3 - 1^{2} = 2.

11.3

Continuous random variables

A probability density is non-negative and has total integral 1 over its support. The density can exceed 1: probabilities are areas, not heights. A continuous variable has probability 0 of taking any one exact value, so strict and inclusive interval endpoints give the same probability.

The cumulative distribution F(x)=P(X≤x)\displaystyle F\left(x\right) = P\left(X \le x\right) is the density integrated from the lower support boundary to x. It is non-decreasing, lies in [0, 1]\displaystyle \left[0,\,1\right] and equals 0 or 1 beyond the support. A median m satisfies F(m)=12\displaystyle F\left(m\right) = \frac{1}{2} when the distribution has a unique median.

For moments, integrate xf(x) and x2f(x)\displaystyle x^{2} f\left(x\right), then subtract the squared mean⁡\displaystyle \operatorname{mean} from the second moment. Write the support and split integrals for piecewise densities. Quantiles solve F(q)=p\displaystyle F\left(q\right) = p and must satisfy the domain restrictions of the density.

∫f(x) dx\displaystyle \int f\left(x\right)\,\mathrm{d}x=1 over the support. P(a<X<b)=F(b)−F(a)\displaystyle P\left(a < X < b\right) = F\left(b\right) - F\left(a\right). E(X)=∫xf(x) dx\displaystyle E \left(X\right) = \int xf \left(x\right)\,\mathrm{d}x; Var⁡(X)=∫x2f(x) dx−[E(X)]2\displaystyle \operatorname{Var}\left(X\right) = \int x^{2} f\left(x\right)\,\mathrm{d}x - \left[E \left(X\right)\right]^{2}.

Watch out: A density value f(x)\displaystyle f\left(x\right) is not P(X=x)\displaystyle P\left(X = x\right); use an integral for probability.

Worked example

A density is f(x)=kx\displaystyle f\left(x\right) = kx for 0≤x≤2\displaystyle 0 \le x \le 2 and zero elsewhere. Find k and E(X), in that order.

  1. Normalization gives k[x22]\displaystyle k \left[\frac{x^{2}}{2}\right] from 0 to 2=2k=1\displaystyle 2 = 2 k = 1, so k=12\displaystyle k = \frac{1}{2}.
  2. E(X)=∫02x22 dx=[x36]\displaystyle E \left(X\right) = \int_{0}^{2}\frac{x^{2}}{2}\,\mathrm{d}x = \left[\frac{x^{3}}{6}\right] from 0 to 2=43\displaystyle 2 = \frac{4}{3}.

11.4

The binomial distribution

Use a binomial model when there is a fixed number n of independent trials, each with two outcomes and the same success probability p. Explain why these assumptions are reasonable in context; sampling without replacement from a small population is generally not binomial.

The probability of exactly k successes combines the number of placements of those successes with the probability of one arrangement. Inclusive tails require careful boundaries: P(X≥k)=1−P(X≤k−1)\displaystyle P\left(X \ge k\right) = 1 - P\left(X \le k - 1\right). Conditional binomial questions require dividing by the probability of the given event.

The mean⁡\displaystyle \operatorname{mean} is np and the variance is np(1−p)\displaystyle np \left(1 - p\right), so these two moments can identify unknown parameters when the solution gives an integer n and 0≤p≤1\displaystyle 0 \le p \le 1. In a threshold search for a number of trials, solve the inequality, then check the neighbouring integers.

X~B(n, p)\displaystyle B \left(n,\,p\right): P(X=k)=C(n, k)p\displaystyle P\left(X = k\right) = C\left(n,\,k\right) pᵏ(1−p)n−k\displaystyle \left(1 - p\right)^{n - k}; E(X)=np\displaystyle E \left(X\right) = np; Var⁡(X)=np(1−p)\displaystyle \operatorname{Var}\left(X\right) = np \left(1 - p\right).

Watch out: At least k includes k itself. The complementary lower-tail cutoff is k−1\displaystyle k - 1.

Worked example

X~B(8, 0.25)\displaystyle B \left(8,\,0.25\right). Find P(X=2)\displaystyle P\left(X = 2\right). Give your answer to 4 decimal places.

  1. Use P(X=2)=C(8, 2)(0.25)2(0.75)6\displaystyle P\left(X = 2\right) = C\left(8,\,2\right)\left(0.25\right)^{2}\left(0.75\right)^{6}.
  2. There are 28 arrangements of the two successes; evaluate the expression without intermediate rounding.

11.5

The normal distribution

The notation X~N(μ, σ2)\displaystyle N \left(\mu,\,\sigma^{2}\right) gives the variance as its second parameter. The bell-shaped density is symmetric about its mean⁡\displaystyle \operatorname{mean}, with total area 1. Standardise using Z=X−μσ\displaystyle Z = \frac{X - \mu}{\sigma}; use a positive standard deviation.

CDF calculations find an area from a boundary; inverse normal finds a boundary from an area. Check whether an inverse-normal entry expects a left-tail area. For unknown parameters, convert two probabilities to standard-normal quantiles and solve the resulting equations in μ\displaystyle \mu and σ\displaystyle \sigma.

A central interval symmetric about μ\displaystyle \mu leaves equal probabilities in its two tails. The normal IQR is (z0\displaystyle z_{0}.₇₅−z0\displaystyle -z_{0}.₂₅)σ\displaystyle \sigma. A count of independent observations meeting a fixed normal threshold can then be modelled with a binomial distribution.

Z=X−μσ\displaystyle Z = \frac{X - \mu}{\sigma}. P(a<X<b)\displaystyle P\left(a < X < b\right)=Φ(b−μσ)\displaystyle \left(\frac{b - \mu}{\sigma}\right)−Φ(a−μσ)\displaystyle \left(\frac{a - \mu}{\sigma}\right). A p-quantile is μ+σ\displaystyle \mu + \sigmaΦ⁻¹(p).

Watch out: Do not enter the variance as the standard deviation, and do not confuse a right-tail area with the left-tail area used for inverse normal.

Worked example

X~N(70, 16)\displaystyle N \left(70,\,16\right). Find P(X<76)\displaystyle P\left(X < 76\right). Give your answer to 4 decimal places.

  1. The standard deviation is 16=4\displaystyle \sqrt{16} = 4.
  2. The standardised boundary is 76−704=1.5\displaystyle \frac{76 - 70}{4} = 1.5, so the probability is Φ(1.5).