11 Probability distributions
In statistics, a probability distribution gives the possibility of each possible outcome of a random experiment or event. It provides a systematic way to understand and quantify the probabilities of different occurrences.
Probability, as a measure of uncertainty, helps us analyse various phenomena. For instance, when rolling a die, the possible outcomes and their likelihoods are described by a probability distribution. Such distributions apply to any random experiment where outcomes are uncertain or unpredictable.
In this chapter, we explore the definition, functions, formulas, and types of probability distributions.
11.1 Probability distribution
In simple terms, a probability distribution is a way to represent all possible outcomes of a random variable, along with their corresponding probabilities. To understand this better, let us consider a random experiment of tossing an unbiased coin three times. Let \(X\) be the random variable defined as the number of heads that appear in these tosses. The possible outcomes for \(X\) are 0 heads, 1 head, 2 heads, and 3 heads, forming the range \(\{0,1,2,3\}\) of the random variable \(X\). However, these outcomes are not equally likely. The total number of possible outcomes when tossing the coin three times is 8, as shown in Table 11.1.
| On tossing thrice | No. of heads (\(X\)) |
|---|---|
| HHH | 3 |
| HHT | 2 |
| HTH | 2 |
| THH | 2 |
| HTT | 1 |
| THT | 1 |
| TTH | 1 |
| TTT | 0 |
\(P(X = x)\) = \(\dfrac{\text{Number of times } X \text{ takes value } x}{8}\)
\(P(X = 3)\) = 1/8; \(P(X = 2)\) = 3/8; \(P(X = 1)\) = 3/8; \(P(X = 0)\) = 1/8
Table 11.2 below shows the probability distribution of the number of heads that appear on tossing a coin 3 times.
| \(X\) | \(p(x)\) |
|---|---|
| 0 | 1/8 |
| 1 | 3/8 |
| 2 | 3/8 |
| 3 | 1/8 |
This is an example of discrete probability distribution as \(X\) takes only discrete values. If \(X\) takes continuous values, it is termed as continuous probability distribution.
11.2 Expected value of a random variable
Expected value is the probability-weighted average of a random variable. It need not be a possible individual outcome. The expected value of a random variable is the long-run average value of repetitions of the same experiment it represents. For example, the expected value in rolling a six-sided die is 3.5, because each face (1 through 6) has an equal chance of 1/6, and when you multiply each number by its probability and sum them up like 1/6 + 2/6 + 3/6 + 4/6 + 5/6 + 6/6, then you get 21/6, which is 3.5. It’s the average you’d see over countless rolls, even though you can’t roll a 3.5!
The expected value of a random variable \(X\) is denoted as \(E(X)\).
The formula for calculating the Expected Value of random variable where there are multiple probabilities is given for discrete and continuous in Equation 11.1 and Equation 11.2.
Discrete case
\[E(X) = \sum_{x} x\, p(x) \tag{11.1}\]
Continuous case
\[E(X) = \int_{- \infty}^{\infty}{x f(x)\,dx};- \infty \leq x \leq \infty \tag{11.2}\]
Here \(f(x)\) is the probability density. Integrating over the whole real line also covers variables with a restricted range, since their density is zero outside that range. A finite expected value requires \(E(|X|)<\infty\).
Example 11.1 Find the expected value of \(X\) of tossing a single unfair die.
| x | 1.0 | 2.0 | 3.0 | 4.0 | 5.0 | 6.0 |
| p(x) | 0.1 | 0.1 | 0.1 | 0.1 | 0.1 | 0.5 |
Solution
| xp(x) | 0.1 | 0.2 | 0.3 | 0.4 | 0.5 | 3 |
Using Equation 11.1, \(E(X)\) = \(\sum_{x} x\, p(x)\) = 0.1+0.2+0.3+0.4+0.5+3 = 4.5
Exercise 11.1 Find \(E(X)\) in the following case.
| x | 1.0 | 2.0 | 3.0 | 4.0 | 5.0 | 6.0 |
| p(x) | 0.1 | 0.1 | 0.1 | 0.1 | 0.1 | 0.5 |
11.3 Variance and cumulative probability
For a random variable with finite second moment, variance is
\[\operatorname{Var}(X)=E[(X-E(X))^2]=E(X^2)-[E(X)]^2.\]
For discrete variables, \(E[g(X)]=\sum_xg(x)p(x)\); for a variable with density, \(E[g(X)]=\int g(x)f(x)\,dx\), when these expectations exist. If \(Y=a+bX\), then \(E(Y)=a+bE(X)\) and \(\operatorname{Var}(Y)=b^2\operatorname{Var}(X)\). Expectations of sums add whenever the expectations exist. Variances add for independent variables with finite variances; without independence, covariance terms must be included.
The cumulative distribution function, \(F(x)=P(X\leq x)\), applies to discrete and continuous distributions. It is nondecreasing, approaches zero to the far left and one to the far right, and satisfies \(P(a<X\leq b)=F(b)-F(a)\). For the three-toss example, \(F(1)=P(X=0)+P(X=1)=1/2\). Later, the standard normal table gives values of this cumulative function.
11.4 Discrete probability distributions
A discrete probability distribution represents the probabilities of outcomes of a discrete random variable, which takes on a countable number of distinct values. For example, the number of heads when flipping a coin three times or the number of defective items in a batch are described by discrete distributions. Each possible outcome is assigned a specific probability, and the sum of these probabilities is always 1.
We have seen that a probability distribution lists all possible outcomes of a random variable along with their corresponding probabilities, often represented as a table. However, it is often more convenient to express the distribution as an equation. With such an equation, the probability corresponding to any given value of \(x\) can be calculated directly. Depending on the situation, various discrete probability distributions are used to model different scenarios. In this chapter, we will focus on the following discrete distributions.
Bernoulli distribution
Binomial distribution
Poisson distribution
Probability mass function
When a probability function is used to describe a discrete probability distribution, it is referred to as a probability mass function (commonly abbreviated as p.m.f). A probability mass function assigns a probability to each specific outcome of a discrete random variable. It is expressed as: \(p(x) = P(X = x)\). Here, \(X\) is the discrete random variable, and \(p(x)\) represents the probability of \(X\) taking the specific value \(x\). The function ensures that all probabilities are non-negative and sum to 1 across all possible outcomes of \(X\).
Properties of p.m.f
The probability of each outcome is always non-negative. For a discrete random variable \(X\) and its p.m.f, \(p(x) \geq 0 \quad \text{for all } x\)
The sum of the probabilities over all possible values of the random variable equals 1. That is:\(\sum_{x \in S} p(x) = 1\). where \(S\) is the sample space of (\(X\)), representing all possible values.
The p.m.f gives the exact probability for each specific value of the discrete random variable. For a value \(x\), \(P(X = x) = p(x)\)
If a value \(x\) is not in the sample space \(S\), its probability is zero: \(p(x) = 0 \quad \text{for } x \notin S\)
The p.m.f assigns positive probability only at its support values and is zero elsewhere. It does not apply to continuous ranges or non-discrete variables.
11.4.1 Bernoulli distribution
A Bernoulli distribution is a discrete probability distribution that applies to a random experiment with exactly two possible outcomes, commonly referred to as “success” and “failure.” For example, tossing a coin results in two outcomes, which the experimenter can label as success and failure based on their context. Success might be defined as getting a head and failure as getting a tail. The definition of success and failure is flexible and can be tailored by the experimenter to suit the specific scenario under study.
The probability mass function of the distribution is
\[p(x) = p^x (1 - p)^{1 - x}; \quad x = 0, 1 \tag{11.3}\]
in Equation 11.3 \(X\) takes only two values, 0 and 1. Here \(p\) is the probability of success and \(1-p\) is the probability of failure.
A parameter of a distribution is a fixed value that describes a key characteristic of the distribution. The parameter of a Bernoulli distribution is \(p\), which represents the probability of success in a single trial
The expected value for a random variable, \(X\), from a Bernoulli distribution is: E(\(X\)) = \(p\) and the variance of a Bernoulli random variable is: var(\(X\)) = \(p(1 - p)\).
Example 11.2 Find the probability assuming Bernoulli distribution of a biased coin where probability of success (getting head) \(p\) = 0.4
Solution
Let \(X\) be the random variable which takes value 0 on getting tail (failure) and takes value 1 on getting head (success). So using the Equation 11.3
\(P(X = 0) = (0.4)^0 (1-0.4)^1 = 0.6\)
\(P(X = 1) = (0.4)^1 (1-0.4)^0 =0.4\)
the distribution can be shown as below:
| \(x\) | \(p(x)\) |
|---|---|
| 0 | 0.6 |
| 1 | 0.4 |
A Bernoulli trial is one of the simplest experiments you can conduct in probability and statistics. It’s an experiment where you can have one of two possible outcomes. For example, “Yes” and “No” or “Heads” and “Tails.”
11.4.2 Binomial distribution
Binomial distribution can be thought of as simply the probability of a success or failure outcome in an experiment or survey that is repeated multiple times; i.e. a Binomial distribution happens, when a Bernoulli trial is repeated \(n\) number of times. Each Bernoulli trial has two outcomes, but the binomial count has \(n+1\) possible values, from 0 to \(n\). For example, if you toss a coin 5 times and count the number of heads, that count, \(X\), follows a binomial distribution with \(n = 5\). In short, a single coin toss is a Bernoulli trial, but repeating it several times (more than once) turns it into a binomial experiment.
Binomial distributions must also meet the following three criteria:
The number of observations or trials (\(n\)) is fixed.
Each observation or trial is independent
The probability of success(\(p\)) is exactly the same from one trial to another
The probability mass function of the distribution is
\[p(x) = \binom{n}{x} p^x q^{n-x} = \frac{n!}{x!(n-x)!} p^x q^{n-x}; \quad x = 0, 1, 2, \ldots, n \tag{11.4}\]
where
\(n\)= number of trials
\(x\)= number of success desired
\(p\)= probability of getting a success in one trial
\(q\) = \(1-p\) = probability of getting a failure in one trial
In a binomial distribution, the parameters are \(n\), the number of independent trials, and \(p\), the probability of success in a single trial. If X follows a binomial distribution we denote \(X \sim \text{Bin}(n, p)\). The mean of \(X\) is given by \(E(X) = np\), while the variance is \(\text{Var}(X) = npq\), where\(q = 1 - p\). For \(n>0\) and \(0<p<1\), \(np>npq\). At \(p=0\) or \(p=1\), the binomial distribution is degenerate and has variance zero. In all cases the variance is no greater than the mean.
Example 11.3 A coin is tossed 10 times. What is the probability of getting exactly 6 heads?
Solution
here, \(n = 10; x = 6; p = \frac{1}{2}; q = 1-p = \frac{1}{2}\)
We have to find \(P(X=6)\); using the Equation 11.4
\(P(X=6)=\binom{10}{6}\left( \frac{1}{2} \right)^{6}\left( \frac{1}{2} \right)^{10 - 6} = 210 \times \left( \frac{1}{2} \right)^{10} = 0.2051\)
11.4.3 Fitting of binomial distribution
In practice, we often have a set of observed frequencies obtained from an experiment and we wish to know whether a binomial distribution provides a good description of the data. Fitting a distribution means finding a theoretical distribution that closely matches the observed data, so that we can compare the observed frequencies with the expected (theoretical) frequencies.
To fit a binomial distribution to an observed frequency distribution, we follow these steps:
Determine the number of trials \(n\) from the nature of the experiment.
Estimate the probability of success \(p\) from the data. Since the mean of a binomial distribution is \(np\), we equate it to the observed mean and obtain \(p = \dfrac{\overline{x}}{n}\), where \(\overline{x}\) is the mean number of successes. Then \(q = 1 - p\).
Compute the expected probability \(p(x)\) for each value of \(x\) using Equation 11.4.
Multiply each probability by the total frequency \(N\) to obtain the expected frequency, that is, expected frequency = \(N \times p(x)\).
Example 11.4 In a study on the survival of mango seedlings after transplanting, 100 groups of 5 seedlings each were transplanted. The number of seedlings surviving in each group was recorded as given below. Fit a binomial distribution to the data.
| Number surviving (\(x\)) | Number of groups |
| 0 | 3 |
| 1 | 16 |
| 2 | 32 |
| 3 | 28 |
| 4 | 17 |
| 5 | 4 |
Solution
Here the number of trials is \(n = 5\) and the total frequency is \(N = 100\).
Mean number of surviving seedlings,
\[ \begin{aligned} \overline{x} &= \frac{\sum f x}{N}\\ &= \frac{\begin{gathered}(0 \times 3) + (1 \times 16)\\ + (2 \times 32) + (3 \times 28) + (4 \times 17) + (5 \times 4)\end{gathered}}{100}\\ &= \frac{252}{100}\\ &= 2.52 \end{aligned} \]
The probability of success is estimated as \(p = \dfrac{\overline{x}}{n} = \dfrac{2.52}{5} = 0.504\), so \(q = 1 - 0.504 = 0.496\).
The expected frequency for each value of \(x\) is obtained from \(N \times \binom{5}{x} p^x q^{5-x}\), as shown in Table 11.5.
| \(x\) | Observed frequency | Expected frequency |
|---|---|---|
| 0 | 3 | 3.0 |
| 1 | 16 | 15.3 |
| 2 | 32 | 31.0 |
| 3 | 28 | 31.5 |
| 4 | 17 | 16.0 |
| 5 | 4 | 3.3 |
| Total | 100 | 100.0 |
The expected frequencies are descriptively close to the observed frequencies. A formal goodness-of-fit test, with appropriate grouping and adjustment for the estimated parameter, can be used to assess the fit. In the chi-square procedure developed in the small-sample-tests chapter, the usual degrees of freedom are \(k-1-m\), where \(k\) is the number of retained categories and \(m\) is the number of fitted parameters. Here \(m=1\) because \(p\) is estimated and the five trials per group are fixed by the experiment. Pool categories when necessary for adequate expected frequencies; visual closeness alone is not a test.
11.4.4 Sampling without replacement
The binomial model assumes independent trials with a constant success probability. Suppose a finite lot contains \(N\) seeds, of which \(K\) are diseased, and \(n\) seeds are selected by SRSWOR. The number of diseased seeds follows a hypergeometric distribution:
\[P(X=x)=\frac{\binom Kx\binom{N-K}{n-x}}{\binom Nn}.\]
Here \(\max(0,n-N+K)\leq x\leq\min(n,K)\). Its mean is \(nK/N\) and its variance is \(n(K/N)(1-K/N)(N-n)/(N-1)\) for \(N>1\). The finite-population factor reflects dependence without replacement. When the sampling fraction is small, a binomial model with \(p=K/N\) may approximate it. The combinations used in the previous chapter give this same probability by counting favourable samples.
11.4.5 Poisson distribution
Siméon Denis Poisson (1781–1840) presented this probability law in his 1837 work on the probability of judicial decisions. (Poisson 1837) The distribution models counts in a specified interval or region. Events need not be rare over the whole interval; a high Poisson mean is possible. Its suitability depends on the event-rate and independence assumptions below, rather than on a story about a particular game.
Other applications and examples where Poisson distribution is used
Pest incidence
Birth defects and genetic mutations
Rare diseases
Car accidents
Traffic flow and ideal gap distance
Number of typing errors on a page
Foreign particles found in a standard-sized food sample
Weed occurrences in equal-area quadrats under a suitable random spatial model
Failure of a machine in one month
A common Poisson-process model assumes a constant event rate, independent counts in disjoint intervals, and negligible probability of multiple events in a sufficiently short interval. For a rate \(r\) per unit time and an interval of length \(t\), the mean count is \(\lambda=rt\). Spatial counts require analogous conditions. Aggregated pests may be overdispersed, so pest counts do not automatically follow a Poisson model.
A random variable \(X\) is said to follow a Poisson distribution if it assumes non-negative integer values and its probability mass function is given by:
\[p(x) = \frac{e^{- \lambda}.\lambda^{x}}{x!}; \quad x = 0, 1, 2, \ldots \tag{11.5}\]
where
\(e\) = base of the natural logarithm, a constant approximately equal to 2.71828.
\(\lambda>0\) : Average number of events occurring in a given time interval or region in the Poisson distribution
The parameter of Poisson distribution is \(λ\). If X follows a Poisson distribution we denote \(X \sim \text{poisson}(\lambda)\). The mean and the variance of the Poisson distribution are both equal to \(\lambda\)
Example 11.5 The average number of homes sold by a Realty company is 2 homes per day. Assuming a Poisson distribution, what is the probability that exactly 3 homes will be sold tomorrow?
Solution
here \(\lambda = 2\); since 2 homes are sold per day, on average. \(x = 3\); since we want to find the probability that 3 homes will be sold tomorrow. Using Equation 11.5.
\(P(X=3)= \ \frac{{2.71828}^{- 2}{\ \times \ 2}^{3}}{3!}= 0.180\)
Exercise 11.2 If the random variable \(X\) follows a Poisson distribution with mean 3.4, find \(P(X = 6)\).
Exercise 11.3 The number of industrial injuries per working week in a particular factory is known to follow a Poisson distribution with mean 0.5. Find the probability that in a particular week there will be: (a) less than 2 accidents (b) more than 2 accidents.
Exercise 11.4 A company knows from past experience that 3% of the bulbs they produce are defective. Assuming a Poisson distribution, find the probability of getting the following in a sample of 100 bulbs. (a) no defective (b) 1 defective.
11.4.6 Poisson approximation to the binomial
If \(X\sim\text{Bin}(n,p)\), a Poisson distribution with \(\lambda=np\) can approximate its probabilities when \(n\) is large and \(p\) is small. This is an approximation, not an exact change of distribution. For the bulb exercise, independent defects with probability 0.03 give an exact binomial model with \(n=100\); the requested Poisson approximation uses \(\lambda=3\).
11.4.7 Fitting of Poisson distribution
Fitting a Poisson distribution to an observed frequency distribution allows us to check whether the Poisson distribution provides a good description of the data, which is especially useful when we are dealing with rare events such as pest counts or defects.
To fit a Poisson distribution to an observed frequency distribution, we follow these steps:
Estimate the parameter \(\lambda\) from the data. Since the mean of a Poisson distribution is \(\lambda\), we take \(\lambda = \overline{x}\), the observed mean.
Compute the expected probability \(p(x)\) for each value of \(x\) using Equation 11.5.
Multiply each probability by the total frequency \(N\) to obtain the expected frequency, that is, expected frequency = \(N \times p(x)\).
Example 11.6 In a survey on the incidence of diamondback moth larvae, 100 cabbage plants were examined and the number of larvae per plant was recorded as given below. Fit a Poisson distribution to the data.
| Number of Larvae (\(x\)) | Number of Plants |
| 0 | 37 |
| 1 | 37 |
| 2 | 18 |
| 3 | 6 |
| 4 or more | 2 |
Solution
The total frequency is \(N=100\). The final class is open-ended, so the exact sample mean cannot be recovered from the grouped table. For this illustration, approximate both observations in “4 or more” by 4. The resulting approximate mean is
\[ \begin{aligned} \lambda &= \overline{x}\\ &= \frac{\sum f x}{N}\\ &= \frac{\begin{gathered}(0 \times 37) + (1 \times 37)\\ + (2 \times 18) + (3 \times 6) + (4 \times 2)\end{gathered}}{100}\\ &= \frac{99}{100}\\ &= 0.99 \end{aligned} \]
The expected frequency for each value of \(x\) is obtained from \(N \times \dfrac{e^{-\lambda} \lambda^x}{x!}\), as shown in Table 11.7. The frequency for the class “4 or more” is obtained by subtracting the sum of the other expected frequencies from the total, \(N\).
| \(x\) | Observed frequency | Expected frequency |
|---|---|---|
| 0 | 37 | 37.2 |
| 1 | 37 | 36.8 |
| 2 | 18 | 18.2 |
| 3 | 6 | 6.0 |
| 4 or more | 2 | 1.8 |
| Total | 100 | 100.0 |
The expected frequencies are descriptively close to the observed frequencies. This is an approximate fit because the open-ended class was represented by 4; formal testing also requires appropriate expected counts and parameter-estimation degrees of freedom.
11.5 Continuous probability distributions
If the random variable X is continuous, the corresponding probability distribution is termed as continuous probability distribution. There are several continuous distributions. Our discussion is limited to only Normal distribution.
Probability density function
When a mathematical function is used to describe a continuous probability distribution, it is referred to as a probability density function (commonly abbreviated as p.d.f). It describes how values of a continuous random variable are distributed. It gives the relative likelihood of a variable taking a particular value within a given range. The area under the pdf curve over an interval represents the probability that the variable falls within that range. However, unlike pmf for discrete variables, the pdf itself does not give the probability of a single value but rather the density of possible values.
A density satisfies \(f(x)\geq0\) and \(\int_{-\infty}^{\infty}f(x)\,dx=1\). For \(a<b\),
\[P(a<X\leq b)=\int_a^bf(x)\,dx.\]
For a variable with a density, \(P(X=x)=0\) at every individual value. The density can exceed 1; it is an area, not a height, that gives a probability.
11.5.1 Normal distribution
The name “normal distribution” comes from its historical use in describing many natural and social phenomena that appeared to follow a similar symmetric, bell-shaped pattern. The term “normal” was popularized by Karl Pearson in the early 20th century, though the distribution itself was first studied by Abraham de Moivre and later formalized by Carl Friedrich Gauss.
The distribution was initially called the Gaussian distribution, as Gauss used it to model errors in astronomical observations. However, statisticians and scientists noticed that this pattern frequently appeared in various real-world data, such as heights, IQ scores, and measurement errors. Because it was so common, it became known as the normal distribution, implying that it represents a “normal” or typical way data is distributed in many natural processes.
It is characterized by its symmetric, bell-shaped curve, where the mean, median, and mode are equal. Defined by two parameters, the mean (\(\mu\)) and standard deviation (\(\sigma\)). Its significance lies in the Central Limit Theorem, which states that a suitably standardised sum of independent, identically distributed variables with finite positive variance approaches the standard normal distribution, making it widely applicable in statistical inference. The normal distribution is defined by the following probability density function.
\[f\left( x \right) = \frac{1}{\sigma\sqrt{2\pi}}e^{- \frac{{(x - \mu)}^{2}}{2\sigma^{2}}}; \quad -\infty < x < +\infty \tag{11.6}\]
where \(-\infty<\mu<\infty\) is the population mean and \(\sigma^2>0\) is the variance, \(e = 2.718\)
Parameters of Normal distribution
As with any probability distribution, the parameters of the normal distribution define its shape and probabilities entirely. The normal distribution has two parameters, mean (\(\mu\)) and standard deviation (\(\sigma\)). The normal distribution does not have just one form. Instead, the shape changes based on the parameter values.
Standard deviation:
The standard deviation is a measure of variability. It defines the width of the normal distribution. It determines how far away from the mean the values tend to fall. It represents the typical distance between the observations and the average.
When you have normally distributed data, the standard deviation can be used to determine the proportion of the values that fall within a specified number of standard deviations from the mean. For example, in a normal distribution, 68% of the observation falls within \(\mu\pm \sigma\). This property is called as Area Property.
The parameters of normal distribution are \(\mu\) and \(\sigma\). If a random variable \(X\) follows the normal distribution, then we write \(X\sim\text{N}(\mu,\sigma^2)\). In particular, the normal distribution with \(\mu = 0\) and \(\sigma^2 =1\) is called the standard normal distribution, and is denoted as \(X\sim\text{N}(0,1)\)
Properties of Normal distribution
- The normal distribution is the most frequently used among all probability laws. The normal distribution can be found in many practical problems. If you plot density \(f(x)\) against \(x\) the graph will be bell shaped always.
- The Normal Distribution has mean = median = mode. Mean, median and mode are located at the center of the curve.
- Normal distribution is symmetric about the center, 50% of values less than the mean and 50% greater than the mean
- Area Property
The area property of the normal distribution shows how data is spread around the mean. As we move further from the mean, more values are included within the range. For example, about 68% of the data falls within one standard deviation of the mean. The area increases as we expand the range to two or three standard deviations, covering 95% and 99.7% of the data, respectively. See Table 11.8 for detailed information on the area property of the normal distribution.
| Area | \(\%\) of value contained |
|---|---|
| \(\mu \pm 0.6745\sigma\) | 50 |
| \(\mu \pm \sigma\) | 68.26 |
| \(\mu \pm 1.96\sigma\) | 95 |
| \(\mu \pm 2\sigma\) | 95.44 |
| \(\mu \pm 2.58\sigma\) | 99 |
| \(\mu \pm 3\sigma\) | 99.73 |
In short, a normal distribution is bell-shaped, symmetric, and has the property that the mean, median, and mode are all equal. It also has the area property. Other important properties of the normal distribution are listed below:
Defined by two parameters: The normal distribution is fully defined by its mean (\(\mu\)) and standard deviation (\(\sigma\)), where \(\mu\) determines the center and \(\sigma\) determines the spread or width of the curve.
Total area under the curve: The total area under the normal distribution curve is equal to 1, representing the total probability of all possible outcomes.
Asymptotic: The tails of the normal distribution approach, but never actually touch, the horizontal x-axis. This means the probability of extreme values is never exactly zero, but it becomes infinitesimally small.
Skewness and Kurtosis: A normal distribution has skewness 0 and kurtosis 3 (excess kurtosis 0). It provides the reference for the terms mesokurtic, leptokurtic and platykurtic; kurtosis should not be interpreted as peak height alone.
Linear combination: A linear combination of independent normal variables is also normally distributed. This property is crucial in statistical analysis and is a key reason for the widespread use of the normal distribution.
Central Limit Theorem: For independent, identically distributed observations with a finite mean and finite, positive variance, the standardized sample mean approaches a standard normal distribution as sample size increases. A fixed threshold such as 30 does not guarantee an adequate approximation; skewness and heavy tails can require much larger samples.
Moments: All odd-order central moments are zero in a normal distribution.
Dispersion: Quartile deviation is \(QD\approx0.67449\sigma\), and mean absolute deviation about the mean is \(\sigma\sqrt{2/\pi}\approx0.79788\sigma\). The familiar values \(2\sigma/3\) and \(4\sigma/5\) are rough approximations.
11.5.2 Standard normal distribution
The standard normal distribution is a special case of the normal distribution where the mean is 0 and the standard deviation is 1. This distribution is also known as the Z-distribution. In the standard normal distribution, a value is referred to as a standard score or Z-score. The Z-score indicates how many standard deviations a data point is from the mean.
A normal distribution can be converted to a standard normal distribution, which provides several advantages:
- Simplifies calculations: With a mean of 0 and standard deviation of 1, performing statistical calculations becomes more straightforward.
- Universal comparison: Converting to a standard normal distribution allows comparison between different normal distributions on a common scale, regardless of their original means and standard deviations.
- Z-scores: The conversion enables the calculation of Z-scores, which measure the relative position of a data point in terms of standard deviations from the mean.
- Consistent analysis: It allows the use of standard normal distribution tables, making probability calculations more accessible and consistent across different datasets.
To convert a normal variate to a Standard Score (“z-score”)
First subtract the mean,
Then divide by the Standard Deviation
And doing that is called “Standardizing”.
When a normal variate \(X \sim N(\mu, \sigma^2)\) is converted to a standard normal variate, it follows the transformation:
\[z = \frac{X - \mu}{\sigma} \tag{11.7}\]
Here, \(X\) is a normal variate with mean \(\mu\) and variance \(\sigma^2\), and \(z\) is the corresponding standard normal variate. This transformation converts \(X\) into a standard normal distribution \(z \sim N(0, 1)\), where the mean is 0 and the standard deviation is 1.
Example 11.7 A survey of daily travel time (\(X\)) had these results (in minutes): 26, 33, 65, 28, 34, 55, 25, 44, 50, 36, 26, 37, 43, 62, 35, 38, 45, 32, 28, 34. Convert it into standard scores (Z-score).
Solution
Treating these 20 observations as the complete descriptive dataset, the mean is 38.8 minutes and the standard deviation using divisor 20 is 11.4 minutes. Use these values to standardise each observation. Descriptive standardisation does not establish normality or justify normal tail probabilities.
| \(X\) | \(X-\mu\) | \[z = \frac{X - \mu}{\sigma}\] |
|---|---|---|
| 26 | -12.8 | -1.12 |
| 33 | -5.8 | -0.51 |
| 65 | 26.2 | 2.30 |
| 28 | -10.8 | -0.95 |
| 34 | -4.8 | -0.42 |
| 55 | 16.2 | 1.42 |
| 25 | -13.8 | -1.21 |
| 44 | 5.2 | 0.46 |
| 50 | 11.2 | 0.98 |
| 36 | -2.8 | -0.25 |
| 26 | -12.8 | -1.12 |
| 37 | -1.8 | -0.16 |
| 43 | 4.2 | 0.37 |
| 62 | 23.2 | 2.04 |
| 35 | -3.8 | -0.33 |
| 38 | -0.8 | -0.07 |
| 45 | 6.2 | 0.54 |
| 32 | -6.8 | -0.60 |
| 28 | -10.8 | -0.95 |
| 34 | -4.8 | -0.42 |
Example 11.8 What is the z-score of a value of 27, given a set mean of 24, and a standard deviation of 2?
Solution
To find the z-score we need to divide the difference between the value, 27, and the mean, 24, by the standard deviation of the set, 2. \(z = \frac{27 - 24}{2} = \frac{3}{2} = 1.5\). This indicates that 27 is +1.5 standard deviations above the mean.
11.5.3 Z-score table
A Z-score table (or standard normal distribution table) shows the cumulative probability for a standard normal distribution, corresponding to different Z-scores. It provides the probability that a standard normal variable will be less than or equal to a given value. A model Z score table or standard normal table is given in Table C.1 in Appendix C.
Procedure to use a Z-Score Table is given below:
Calculate the Z-score:
First, calculate the Z-score using the formula Equation 11.7Find the Z-score in the table:
Once you have the Z-score, locate its value in the Z-score Table C.1. The table typically lists Z-scores in two parts: the first two digits (the ones and tenths place) are listed on the left, and the second decimal place is listed at the top. For example, for a Z-score of 1.23, find 1.2 on the left side and 0.03 across the top, and the value at the intersection is the cumulative probability.Interpret the table value:
The value from the Z-table represents the cumulative probability (area under the curve) to the left of the Z-score. For example A Z-score of 1.23 corresponds to a cumulative probability of about 0.8907, which means there is an 89.07% chance that a value from the distribution is less than or equal to 1.23 standard deviations above the mean.Use the table for finding areas:
To find the probability that a value lies above a certain Z-score, subtract the table value from 1. For example, if the Z-score is 1.23, the probability of a value being greater than 1.23 is: \(P(z > 1.23) = 1 - 0.8907 = 0.1093\). So, there is a 10.93% chance the value is above 1.23 standard deviations.For ranges of Z-scores:
If you’re looking for the probability that a value falls between two Z-scores, find the cumulative probabilities for both Z-scores and subtract the smaller from the larger. For example, for Z-scores of 1.23 and 0.5. From the table the cumulative probability for 1.23 is 0.8907. The cumulative probability for 0.5 is 0.6915. The probability that \(X\) lies between 0.5 and 1.23 is:\(P(0.5 < z < 1.23) = 0.8907 - 0.6915 = 0.1992\). By following these steps, you can use the Z-score table to find cumulative probabilities and interpret standard normal distribution data.
Example 11.9 Yields of mango trees in an orchard are normally distributed with a mean of 70 kg and a standard deviation of 12 kg. What is the probable percentage of mango trees with yield more than 85 kg?
Solution
Let \(X\) be the yield of a mango tree. It is given that \(X \sim N(70, 12^2)\). We need to find \(P(X > 85)\). This can be standardized to \(P\left(z > \frac{85 - 70}{12}\right)\) = \(P(z > 1.25)\). Now \(P(z > 1.25) = 1 - P(z \leq 1.25)\). From the table \(P(z \leq 1.25) = 0.8944\), so the probability is \(1 - 0.8944 = 0.1056\). Hence the percentage of trees with yield above 85 kg = \(10.56\%\).
Example 11.10 The heights of coconut trees, H metres, are Normally distributed with a mean of 14.5 and a variance of 7. Determine the probability that the height of a randomly chosen tree will be less than 12 metres.
Solution
Let H be the height of the tree. It is given that \(H \sim N(14.5,7)\). We need to find \(P(H < 12)\). Which can be standardized to \(P(z < \frac{12 - 14.5}{\sqrt{7}})\)= \(P(z < -0.9449)\). Since normal distribution is symmetric, \(P(z < -0.9449)=P(z > 0.9449)\). \(P(z > 0.9449)= 1-P(z \leq 0.9449)\). From the table \(P(z \leq 0.94) =0.8264\) so the two-decimal table approximation is \(1-0.8264=0.1736\). Using the unrounded z-score gives approximately 0.1724.
11.5.4 Normal approximation to a binomial count
For \(X\sim\text{Bin}(n,p)\) with both \(np\) and \(n(1-p)\) sufficiently large, the count may be approximated by a normal variable with mean \(np\) and variance \(np(1-p)\). A useful introductory guideline is at least 10 expected successes and 10 expected failures. Since a count is discrete, a continuity correction improves many such approximations: for example, approximate \(P(X\leq k)\) by the normal probability below \(k+0.5\), and \(P(X=k)\) by the area between \(k-0.5\) and \(k+0.5\).
For example, if \(X\sim\text{Bin}(100,0.5)\), then \(P(X\leq55)\) is approximately \(\Phi((55.5-50)/5)=\Phi(1.10)=0.8643\). The exact binomial probability is approximately 0.8644. Exact binomial calculations are preferable when the approximation is doubtful. The uncorrected large-sample proportion tests in the later chapter use the same normal-approximation principle.
11.6 Chapter Summary
Fill in the blanks
Answers are given at the end of the chapter.
The probability function of a discrete random variable is called a probability __________ function.
The sum of all probabilities in a discrete distribution is __________.
The long-run average value of a random variable is its __________ value.
A single trial with outcomes coded 0 and 1 follows a __________ distribution.
The number of successes in a fixed number of independent Bernoulli trials with constant success probability follows a __________ distribution.
The mean of a binomial distribution with parameters \(n\) and \(p\) is __________.
The variance of a binomial distribution is __________.
In a Poisson distribution, the mean is equal to the __________.
A Poisson random variable takes non-negative __________ values.
A continuous distribution is described by a probability __________ function.
For a continuous random variable, probability over an interval is the __________ under its density curve.
The total area under a probability density curve is __________.
The normal distribution is symmetric about its __________.
The mean of the standard normal distribution is __________.
The variance of the standard normal distribution is __________.
Short-answer questions
Define a probability distribution.
Explain the difference between discrete and continuous probability distributions.
Define the expected value of a random variable.
Explain the expected value of a discrete random variable.
Explain the expected value of a continuous random variable.
What is a probability mass function?
State the properties of a probability mass function.
Define the Bernoulli distribution and give an example.
State the probability mass function of the Bernoulli distribution.
What are the mean and variance of a Bernoulli distribution?
What is a Bernoulli trial?
Define the binomial distribution.
State the conditions required for a binomial distribution.
Explain the parameters of a binomial distribution.
State the probability mass function of the binomial distribution.
What are the mean and variance of a binomial distribution?
Explain how a binomial distribution is fitted to observed data.
What is the Poisson distribution?
State the applications of the Poisson distribution.
State the probability mass function of the Poisson distribution.
What is the parameter of the Poisson distribution?
State the mean and variance of the Poisson distribution.
Explain how a Poisson distribution is fitted to observed data.
Distinguish between probability mass function and probability density function.
Define the normal distribution.
State the parameters of a normal distribution.
Explain the main properties of the normal distribution.
Explain the area property of the normal distribution.
What is the standard normal distribution?
What is a Z-score?
Explain the procedure for standardizing a normal variable.
What information is provided by a Z-score table?
Explain how to use a Z-score table to find the probability above a given Z-score.
Explain how to find the probability between two Z-scores.
State the relationship between the normal distribution and the Central Limit Theorem.
Numerical and conceptual questions
Answers are given at the end of the chapter.
A coin is tossed three times and \(X\) denotes the number of heads. Construct the probability distribution of \(X\).
Using the distribution in question 1, calculate the expected number of heads in three independent tosses of an unbiased coin.
Find the expected value of \(X\) for an unfair die using the probabilities given in the chapter.
A biased coin has probability of success \(p=0.4\). Obtain the Bernoulli probability distribution.
A coin is tossed 10 times. Find the probability of obtaining exactly 6 heads.
For a binomial distribution with \(n=10\) and \(p=0.4\), find the probability of obtaining exactly 4 successes.
Explain whether the following experiment satisfies the conditions of a binomial distribution: a coin is tossed 10 times and the number of heads is recorded.
In a binomial distribution, \(n=20\) and \(p=0.3\). Find the mean and variance.
In a study involving 100 groups of 5 mango seedlings, the observed numbers of surviving seedlings are \(3,16,32,28,17,4\) for \(x=0,1,2,3,4,5\), respectively. Fit a binomial distribution.
A Poisson random variable has mean \(3.4\). Find \(P(X=6)\).
The average number of homes sold by a company is 2 per day. Assuming a Poisson distribution, find the probability that exactly 3 homes are sold tomorrow.
The number of industrial injuries per week follows a Poisson distribution with mean \(0.5\). Find the probability of less than 2 accidents.
For the same Poisson distribution with mean \(0.5\), find the probability of more than 2 accidents.
A company knows that 3% of its bulbs are defective. Assuming a Poisson distribution, find the probability of obtaining no defective bulbs in a sample of 100 bulbs.
For the same problem, find the probability of obtaining exactly 1 defective bulb.
In a survey of 100 cabbage plants, the number of diamondback moth larvae per plant was recorded. Fit a Poisson distribution to the observed data given in the chapter.
State whether the following is a discrete or continuous probability distribution: number of defective plants in a field.
State whether the following is a discrete or continuous probability distribution: height of a plant.
A random variable follows \(N(70,12^2)\). Find the Z-score corresponding to \(X=85\).
A random variable has mean 24 and standard deviation 2. Find the Z-score corresponding to \(X=27\).
Tree yields in a mango orchard are normally distributed with mean 70 kg and standard deviation 12 kg. Find the probability that a tree produces more than 85 kg.
Heights of coconut trees are normally distributed with mean 14.5 m and variance 7. Find the probability that a randomly selected tree has height less than 12 m.
A normal distribution has mean 50 and standard deviation 10. Find the proportion of observations between 40 and 60.
A normal distribution has mean 100 and standard deviation 15. Find the Z-score for an observation of 130.
Explain the meaning of a Z-score of \(-1.5\).
Important formulae
Probability mass function for equally likely elementary outcomes:
\[ P(X=x)=\frac{\text{Number of outcomes giving }X=x}{\text{Total number of elementary outcomes}} \]
Expected value of a discrete random variable:
\[ E(X)=\sum_x xp(x) \]
Expected value of a continuous random variable:
\[ E(X)=\int_{-\infty}^{\infty}xf(x)\,dx \]
Probability mass function:
\[ p(x)=P(X=x) \]
Bernoulli probability mass function:
\[ p(x)=p^x(1-p)^{1-x},\quad x=0,1 \]
Bernoulli mean:
\[ E(X)=p \]
Bernoulli variance:
\[ Var(X)=p(1-p) \]
Binomial probability mass function:
\[ p(x)=\binom{n}{x}p^xq^{n-x},\quad x=0,1,2,\ldots,n \]
Combination form of binomial probability:
\[ p(x)=\frac{n!}{x!(n-x)!}p^xq^{n-x} \]
Probability of failure in binomial distribution:
\[ q=1-p \]
Binomial mean:
\[ E(X)=np \]
Binomial variance:
\[ Var(X)=npq \]
Estimation of binomial probability of success:
\[ p=\frac{\bar{x}}{n} \]
Expected frequency in fitting a binomial distribution:
\[ \text{Expected frequency}=N\times p(x) \]
Poisson probability mass function:
\[ p(x)=\frac{e^{-\lambda}\lambda^x}{x!},\quad x=0,1,2,\ldots \]
Poisson mean:
\[ E(X)=\lambda \]
Poisson variance:
\[ Var(X)=\lambda \]
Estimation of Poisson parameter:
\[ \lambda=\bar{x} \]
Expected frequency in fitting a Poisson distribution:
\[ \text{Expected frequency}=N\times p(x) \]
Normal probability density function:
\[ f(x)=\frac{1}{\sigma\sqrt{2\pi}}e^{-\frac{(x-\mu)^2}{2\sigma^2}},\quad -\infty<x<+\infty \]
Standard normal transformation:
\[ z=\frac{X-\mu}{\sigma} \]
Normal distribution notation:
\[ X\sim N(\mu,\sigma^2) \]
Standard normal distribution notation:
\[ X\sim N(0,1) \]
Quartile deviation for a normal distribution:
\[ Q.D.\approx0.67449\sigma \]
Mean deviation for a normal distribution:
\[ M.D.=\sigma\sqrt{2/\pi}\approx0.79788\sigma \]
Quick revision
- Probability distribution → gives possible values of a random variable and their probabilities.
- Discrete probability distribution → random variable takes countable values.
- Continuous probability distribution → random variable takes continuous values.
- Expected value → long-run average value of a random variable.
- Probability mass function → used for discrete random variables.
- Probability density function → used for continuous random variables.
- For a p.m.f., \(p(x)\geq0\).
- For a p.m.f., \(\sum p(x)=1\).
- Bernoulli distribution → exactly two possible outcomes, success and failure.
- Bernoulli parameter → \(p\), the probability of success.
- Bernoulli mean → \(p\).
- Bernoulli variance → \(p(1-p)\).
- Binomial distribution → repeated Bernoulli trials.
- Binomial requirements → fixed number of trials, independent trials, and constant probability of success.
- Binomial parameters → \(n\) and \(p\).
- Binomial failure probability → \(q=1-p\).
- Binomial mean → \(np\).
- Binomial variance → \(npq\).
- In fitting a binomial distribution, \(p=\frac{\bar{x}}{n}\).
- Expected frequency → \(N\times p(x)\).
- Poisson distribution → models counts under appropriate rate and independence assumptions; it also approximates rare binomial successes.
- Poisson parameter → \(\lambda\).
- Poisson mean → \(\lambda\).
- Poisson variance → \(\lambda\).
- In fitting a Poisson distribution, \(\lambda=\bar{x}\).
- Normal distribution → continuous, bell-shaped and symmetric.
- Normal distribution parameters → \(\mu\) and \(\sigma\).
- Mean = median = mode in a normal distribution.
- Normal distribution is symmetric about its mean.
- Total area under the normal curve → 1.
- Standard normal distribution → mean 0 and standard deviation 1.
- Z-score → number of standard deviations an observation is from the mean.
- Standardization → subtract the mean and divide by the standard deviation.
- About 68.26% of observations lie within \(\mu\pm\sigma\).
- About 95% of observations lie within \(\mu\pm1.96\sigma\).
- About 95.44% of observations lie within \(\mu\pm2\sigma\).
- About 99% of observations lie within \(\mu\pm2.58\sigma\).
- About 99.73% of observations lie within \(\mu\pm3\sigma\).
- Normal distribution has skewness 0.
- Normal distribution has kurtosis 3.
- All odd-order central moments are zero for the normal distribution.
- The total area under the normal curve represents total probability.
- The tails of the normal distribution are asymptotic to the horizontal axis.
- A linear combination of independent normal variables is also normally distributed.
- The Central Limit Theorem is closely associated with the normal distribution.
- Z-table gives cumulative probability to the left of a specified Z-score.
- Probability above a Z-score is obtained by subtracting the cumulative probability from 1.
- Probability between two Z-scores is obtained by subtracting the smaller cumulative probability from the larger one.
Answers to fill in the blanks
1. Mass 2. One 3. Expected 4. Bernoulli 5. Binomial 6. \(np\) 7. \(np(1-p)\) 8. Variance 9. Integer 10. Density 11. Area 12. One 13. Mean 14. Zero 15. One
Solutions to numerical and conceptual questions
For 3 tosses of an unbiased coin, \(X\in\{0,1,2,3\}\) with \(P(X=0)=\frac{1}{8}\), \(P(X=1)=\frac{3}{8}\), \(P(X=2)=\frac{3}{8}\), \(P(X=3)=\frac{1}{8}\).
Using Equation 11.1, \(E(X)=0(1/8)+1(3/8)+2(3/8)+3(1/8)=1.5\).
Using Equation 11.1 for the unfair die example in the chapter, \(E(X)=0.1+0.2+0.3+0.4+0.5+3=4.5\).
Using Equation 11.3 with \(p=0.4\), \(q=0.6\): \(P(X=0)=(0.4)^0(0.6)^1=0.6\) and \(P(X=1)=(0.4)^1(0.6)^0=0.4\).
Using Equation 11.4 with \(n=10\), \(x=6\), \(p=q=\frac{1}{2}\), \(P(X=6)=\binom{10}{6}\left(\frac{1}{2}\right)^{10}=0.2051\).
Using Equation 11.4 with \(n=10\), \(p=0.4\), \(q=0.6\), \(x=4\), \(P(X=4)=\binom{10}{4}(0.4)^4(0.6)^6\approx0.2508\).
Yes; the number of trials is fixed at 10, each trial is independent, each trial has two outcomes, and the probability of success remains constant, so the number of heads follows a binomial distribution.
Using the binomial mean and variance with \(n=20\), \(p=0.3\), \(q=0.7\): \(E(X)=np=6\) and \(Var(X)=npq=4.2\).
The observed mean is \(\bar{x}=\frac{252}{100}=2.52\), so \(p=\frac{\bar{x}}{n}=\frac{2.52}{5}=0.504\) and \(q=0.496\). Using Equation 11.4, the expected frequencies \(N\binom{5}{x}p^xq^{5-x}\) are 3.0, 15.3, 31.0, 31.5, 16.0, 3.3, closely matching the observed frequencies.
Using Equation 11.5 with \(\lambda=3.4\), \(x=6\), \(P(X=6)=\frac{e^{-3.4}(3.4)^6}{6!}\approx0.0716\).
Using Equation 11.5 with \(\lambda=2\), \(x=3\), \(P(X=3)=\frac{e^{-2}(2)^3}{3!}\approx0.180\).
Using Equation 11.5 with \(\lambda=0.5\), \(P(X<2)=P(X=0)+P(X=1)=e^{-0.5}(1+0.5)\approx0.9098\).
From question 12, \(P(X\leq2)=e^{-0.5}\left(1+0.5+\frac{0.5^2}{2!}\right)\approx0.9856\), so \(P(X>2)=1-0.9856=0.0144\).
With \(\lambda=np=100(0.03)=3\), using Equation 11.5, \(P(X=0)=e^{-3}\approx0.0498\).
Using \(\lambda=3\) from question 14, \(P(X=1)=3e^{-3}\approx0.1494\).
Approximating each observation in the “4 or more” category by 4 gives \(\hat\lambda\approx99/100=0.99\). Using Equation 11.5, the expected frequencies \(N\frac{e^{-\lambda}\lambda^x}{x!}\) are 37.2, 36.8, 18.2, 6.0, 1.8, closely matching the observed frequencies.
The number of defective plants is countable, so it is a discrete probability distribution.
Plant height can take any value within a range, so it is a continuous probability distribution.
Using Equation 11.7, \(z=\frac{85-70}{12}=1.25\).
Using Equation 11.7, \(z=\frac{27-24}{2}=1.5\).
Using Equation 11.7, \(z=\frac{85-70}{12}=1.25\); from the Z-table \(P(z\leq1.25)=0.8944\), so \(P(z>1.25)=1-0.8944=0.1056\), or 10.56%.
Using Equation 11.7, \(z=(12-14.5)/\sqrt7\approx-0.9449\). The probability is approximately 0.1724. Rounding \(z\) first to \(-0.94\) and using a two-decimal Z-table gives the less precise approximation 0.1736.
Using Equation 11.7, \(z=\frac{40-50}{10}=-1\) and \(z=\frac{60-50}{10}=1\); approximately 68.26% of observations lie within one standard deviation of the mean, so \(P(40<X<60)\approx0.6826\).
Using Equation 11.7, \(z=\frac{130-100}{15}=2\).
A Z-score of \(-1.5\) means the observation lies 1.5 standard deviations below the mean.
De Moivre’s Final Prediction
Abraham de Moivre, a French mathematician exiled to England, spent his life uncovering the hidden patterns of probability. Among his greatest contributions was the normal distribution, the elegant bell-shaped curve that governs everything from human traits to measurement errors. A frequently repeated anecdote claims that he predicted his death by extrapolating an increase in his sleeping time. This should be treated as an anecdote, not as a verified scientific prediction. He died on November 27, 1754. Though eerie, his work on probability lived on, later refined by Gauss and Laplace, shaping the foundation of modern statistics and providing methods for describing uncertainty mathematically.
“To understand God’s thoughts, we must study statistics, for these are the measure of His purpose.”
- Florence Nightingale