Skip to content

Applied Mathematics · Ch 6 — Probability Distribution

Quick Recapitulation

6.9

Quick Recapitulation

This chapter introduced random variables and the main probability distributions used in applied statistics. Its key ideas and formulae are gathered below.

Random variables and probability distributions

  1. A random variable XX is a real-valued function whose domain is the sample space of a random experiment. More than one random variable can be defined on the same sample space.
  2. A discrete random variable takes distinct, countable values, while a continuous random variable is obtained by measurement and can take any value between two given values.
  3. A probability distribution table lists every possible value of XX together with its probability; because these values exhaust the sample space, the probabilities always satisfy

∑i=1npi=1.\sum_{i=1}^{n} p_i = 1.

Expectation and variance

  1. For XX taking values x1,x2,…,xnx_1,x_2,\dots,x_n with probabilities p1,p2,…,pnp_1,p_2,\dots,p_n, the mathematical expectation (the weighted average of the values) is

E(X)=∑i=1nxipi.E(X)=\sum_{i=1}^{n} x_i p_i.

The mean expectation is a parameter, not a statistic.

5. The variance measures how much XX varies about its mean μ=E(X)\mu=E(X):

Var⁡(X)=∑i=1nxi2pi−(∑i=1nxipi)2=E(X2)−[E(X)]2,E(X2)=∑i=1nxi2pi.\operatorname{Var}(X)=\sum_{i=1}^{n}x_i^2 p_i-\left(\sum_{i=1}^{n}x_i p_i\right)^2=E(X^2)-[E(X)]^2,\qquad E(X^2)=\sum_{i=1}^{n}x_i^2 p_i.

The standard deviation is σ=Var⁡(X)\sigma=\sqrt{\operatorname{Var}(X)}.

Bernoulli trials and the binomial distribution

  1. A collection of trials is a set of Bernoulli trials if the number of trials is finite, the trials are independent, each trial has exactly two outcomes (success and failure), and the probability of success stays the same in every trial.
  2. The probability of rr successes in nn Bernoulli trials is

P(r successes)=nCr prq n−r,P(r\text{ successes})={}^{n}C_{r}\,p^{r}q^{\,n-r},

where pp is the probability of success, qq that of failure, p+q=1p+q=1, and r=0,1,2,…,nr=0,1,2,\dots,n. This is the (r+1)(r+1)th term in the binomial expansion of (q+p)n(q+p)^{n}, and the distribution is denoted B(n,p)B(n,p).

8. For a binomial distribution, Mean=np\text{Mean}=np, Var⁡=npq\operatorname{Var}=npq and Standard Deviation=npq\text{Standard Deviation}=\sqrt{npq}.

Poisson distribution

  1. If the discrete random variable XX counts the number of occurrences of an event over a period of time and follows a Poisson distribution, then

P(X=k)=e−λλkk!,k=0,1,2,…,P(X=k)=\dfrac{e^{-\lambda}\lambda^{k}}{k!},\qquad k=0,1,2,\dots,

where e=2.71828…e=2.71828\dots is Euler's number and λ=E(X)=Var⁡(X)\lambda=E(X)=\operatorname{Var}(X) is a positive real number.

Normal distribution

  1. A continuous random variable XX is defined through its probability density function (PDF). XX follows a normal (Gaussian) distribution with constant parameters μ=E(X)\mu=E(X) and Var⁡(X)=σ2\operatorname{Var}(X)=\sigma^{2}, written X∼N(μ,σ2)X\sim N(\mu,\sigma^{2}), with density

f(x)=1σ2π e−(x−μ)22σ2,−∞<x<∞,f(x)=\dfrac{1}{\sigma\sqrt{2\pi}}\,e^{-\frac{(x-\mu)^{2}}{2\sigma^{2}}},\qquad -\infty<x<\infty,

where μ\mu is the mean and σ\sigma the standard deviation.

11. Key features of a normal distribution: the mean, median and mode coincide; the bell-shaped curve has a single peak (it is unimodal); it is symmetric about x=μx=\mu, so half the values fall below the mean and half above; the total area under the curve is 11; and it is completely described by the two values μ\mu and σ\sigma.

Standard normal distribution, Z-score and Z-test

  1. When μ=0\mu=0 and σ=1\sigma=1 the distribution is the standard normal distribution. Any normal value is converted to a Z-score by

Z=x−μσ,Z=\dfrac{x-\mu}{\sigma},

which is positive when the data point lies above the mean and negative when it lies below. …