The binomial and normal distributions
IB Math AA · Statistics and Probability
The binomial distribution
$X\sim B(n,p)$ models the number of successes in $n$ trials that are independent, have only two outcomes, and share a constant $p$:
$$P(X=r)=\binom{n}{r}p^{\,r}(1-p)^{\,n-r},\qquad \text{E}(X)=np,\qquad \text{Var}(X)=np(1-p)$$Sampling without replacement from a small population breaks the constant-$p$ condition, so a binomial model is not valid there.
The normal distribution
$X\sim N\!\left(\mu,\sigma^{2}\right)$ is continuous and symmetric about $\mu$. Standardising gives
$$Z=\frac{X-\mu}{\sigma}\sim N(0,1)$$Because the distribution is continuous, $P(X=k)=0$ for every $k$, so $P(X>k)$ and $P(X\ge k)$ are equal — unlike in the binomial case.
Inverse normal, and finding an unknown parameter
If $P(X\lt k)=q$ is given, the inverse normal returns the $z$ with $P(Z\lt z)=q$, and then $k=\mu+z\sigma$. When both $\mu$ and $\sigma$ are unknown, two given probabilities give two $z$-values and hence two simultaneous linear equations:
$$x_1=\mu+z_1\sigma,\qquad x_2=\mu+z_2\sigma$$The probabilities themselves never appear in those equations — only the $z$-values read from them.
Worked example: binomial: a single point and a tail
Given $X\sim B(12;\ 0.35)$. Calculate $P(X=4)$ and $P(X\ge 3)$, then state the expected value and standard deviation of $X$.
Solution
$P(X=4)$ — use the formula, not the cumulative command.
$$P(X=4)=\binom{12}{4}(0.35)^{4}(0.65)^{8}=495\times 0.01500625\times 0.0318644=0.237$$$P(X\ge 3)$ — switch to the complementary event. The calculator only gives the sum from $0$ upward, so
$$P(X\ge 3)=1-P(X\le 2)$$$$P(0)=0.00569,\quad P(1)=0.03675,\quad P(2)=0.10885\;\Longrightarrow\;P(X\le 2)=0.15128$$$$P(X\ge 3)=1-0.15128=0.849$$Expected value and standard deviation.
$$\text{E}(X)=np=12\times 0.35=4.2$$$$\sigma=\sqrt{np(1-p)}=\sqrt{12\times 0.35\times 0.65}=\sqrt{2.73}=1.65$$The easy slip is converting $\ge$ to the complementary event: $P(X\ge 3)=1-P(X\le 2)$, not $1-P(X\le 3)$. Because the variable is discrete, $X\ge 3$ and $X\le 2$ fit together exactly; taking the wrong bound also subtracts $P(X=3)=0.195$, a very large error.
Worked example: normal with two unknown parameters
The random variable $Y$ has a normal distribution with $P(Y<50)=0.2$ and $P(Y<70)=0.9$. Find $\mu$ and $\sigma$.
Solution
Convert the two probabilities to two $z$ values before doing anything else.
$$P(Z<z_1)=0.2\;\Longrightarrow\;z_1=-0.8416$$$$P(Z<z_2)=0.9\;\Longrightarrow\;z_2=1.2816$$The negative sign of $z_1$ is itself a check: $0.2<0.5$ so the value $50$ must lie to the left of the mean.
Two linear equations.
$$50=\mu-0.8416\sigma\qquad(1)$$$$70=\mu+1.2816\sigma\qquad(2)$$Take $(2)-(1)$ to eliminate $\mu$:
$$20=2.1232\sigma\;\Longrightarrow\;\sigma=9.42$$$$\mu=50+0.8416\times 9.42=57.9$$Check backwards. $57.9+1.2816\times 9.42=70.0$ — matches the second piece of data, so there is no arithmetic error.
Sensibility check: $\mu=57.9$ lies between $50$ and $70$ but leans toward $50$, exactly as it should, because $50$ is only $0.84\sigma$ from $\mu$ while $70$ is $1.28\sigma$ away.