The Normal Distribution

Continuous Random Variables

Recall that in AS Maths you learned about discrete random variables and their probability distributions. For example, we saw that the number of heads resulting from ten coin tosses was a binomially distributed variable where each toss had a probability of success of . That is to say, if we let X be the number of heads in ten coin tosses then . X is a discrete random variable because it can only take on certain values and nothing in between. On the other hand, a continuous random variable can take on any value. Examples include weight and height – although these are often rounded when measured. Unlike a discrete random variable, the probability of a continuous random variable being an exact value is 0. We saw that the probability of tossing 4 heads out of 10, i.e. , was 0.2051. However, the probability that a person has a weight of exactly 70kg is impossible – instead, for continuous variables, we specify a range to capture the exact weight and make the probability non-zero. For any given population, it is possible to collect the weights of everyone, record the frequency of weights occurring in all given intervals, and plot them in a histogram against relative frequency density. The total area of the bars of such a histogram will equate to 1. Narrowing the interval widths will smooth out the histogram until a probability density function is obtained where the interval widths are infinitely small. The area beneath a probability density function is equal to 1.

The Normal Distribution

Weight and height are examples of random variables that are normally distributed. This means that their probability density functions are bell-shaped – they have a smooth peak, they tail off in both directions and they are symmetrical. It can be shown that the probability density function is given by where is the mean and is the variance. Recall that the variance is a measure of spread away from the mean, and if is the variance, then is the standard deviation. If a random variable is normally distributed with mean and variance , then we write . For a normally distributed variable, around 68% of the data lies within 1 standard deviation of the mean, 95% within 2 standard deviations and almost 100% of the data within 3 standard deviations:

Facts about the probability density function for a normally distributed variable:

• For a normal distribution mean = median = mode and they all occur where the probability density function has its peak. The mode (or infinitely small interval that contains it) occurs with highest probability, i.e at the peak. Since the probability density function is symmetrical, the mean will be in the middle, as will the median, and so they all occur in the same place.
• The standard deviation determines how wide the probability density function is. A narrow probability density function has a small standard deviation – values remain close to the mean, whereas a wide probability density function has a large standard deviation and the spread of the data is vast.
• Recall that the points of inflection of a curve are the points where the curve changes from convex to concave or vice versa. The probability density function for a normal distribution has inflection points when as can be seen from the first figure.

We mentioned earlier that for , the probability density function cannot be used to calculate a probability for a single value of but it can be used to find probabilities of certain ranges, i.e. the area beneath the curve between two X-values. There is a function on your calculator that calculates these probabilities using the normal cumulative distribution function – see Example 1. Conversely, given a probability, there is also a function on your calculator to find the X-values that correspond to those probabilities using the inverse normal distribution – see Example 2.

The Standard Normal Distribution

The standard normal distribution is the normal distribution that has mean 0 and variance 1. We often call a random variable with a standard normal distribution and so . Probabilities for the standard normal distribution only are included in the Edexcel Formula Booklet (where is written as ) but they can also be calculated on your calculator as in Examples 1 and 2.

Any normal distribution can be converted to a standard normal distribution using the coding formula . This is useful for finding missing statistical values such as , or both where the table in the Edexcel Formula Booklet must be used – see Example 3. Recall that when we learned about coding in AS Maths, the mean of the coded variable would be and the standard deviation would be .

Approximating Binomial Distributions

We met the discrete binomial distribution in AS Maths and we saw above that histograms plotted against relative frequency density for discrete variables become probability density functions when the interval widths become infinitely small. In a similar way, the probabilities of a binomially distributed random variable begin to resemble a normal probability density function for large and must be large enough to smooth out the probabilities and must be approximately a half so that the curve is symmetrical.

It can be difficult to calculate binomial probabilities when is large – for instance, the Edexcel Formula Booklet doesn’t give binomial probabilities for . In these cases, it is desirable to use a normal approximation where we can set and . Note that since a binomial distribution is discrete and a normal distribution is continuous, a continuity correction is required – see Example 4.

Hypothesis Testing

In AS Maths we learned how to apply hypothesis testing for binomial probabilities. These concepts are extended in A2 Maths where we conduct hypothesis tests for correlation between two variables and we also learn how to conduct hypothesis tests on a sample from a normal distribution.

If a random variable X is normally distributed such that , then the mean of any sample taken from the population is also normally distributed with the same mean but with a scaled standard deviation, that is , where given the observed values in the sample and is the size of the sample. This is a result that follows from finding the variance of a transformed variable:

See more on this. It is possible to perform hypothesis tests on the mean of a sample to make inferences on the population mean or find critical regions for a sample mean – see Example 5.

Examples

A random variable X is normally distributed with mean 10 and standard deviation 3, that is .

a) Without a calculator, calculate:
i)
ii)
iii)
iv)
v)

b) With a calculator, calculate:
i)
ii)
iii)
iv)

a)
i) . As seen in the notes above, the probability of a continuous random variable being an exact number is always zero.
ii) . Since the mean is 10, and normal distributions are symmetric about the mean, the probability of being less than 10 (as well as greater than 10, in fact) is a half.
iii) . We saw in the notes that 68% of the data lies within one standard deviation of the mean. This means that 68% of the data lies between X=7 and X=13. Half of this, that is 16%, is above 13. Note that also since so it does not matter if you include equality or not.
iv) . Similarly to part iii), 95% of the data lies between two standard deviations of the mean. This means that 95% of the data lies between X=4 and X=16. Half of this, that is 2.5%, is above 16. Hence, 97.5% of the data lies below 16. Again, it does not matter if the inequality includes 16 or not.
v) . The probability that X is between 13 and 16 can be found by subtracting the probability that X is less than 13 from the probability that X is less than 16. The probability that X is less than 13 is .

b) There are a number of ways to answer these questions. We shall use the CLASSWIZ Casio calculator (what is this calculator?). Press MENU and 7 to select probability distribution functions and then 2 for the normal cumulative distribution (normal CD) function.
i) Enter a value of 12.4 for the lower limit, 13.6 for the upper limit, 3 for the standard deviation and 10 for the mean. Pressing enter gives to 4 significant figures.
ii) Again, there are a number of ways to answer this question but we will use the CLASSWIZ Casio normal cumulative distribution function this time with a lower limit of 0 and an upper limit of 11.5 (press ‘=’ to get back to the normal CD function). This gives us to 4 decimal places. We add 0.5 since we know that and so to 4 decimal places.
iii) We answer this one by choosing a lower bound of 8.7 and a very large upper bound say . This works since we know that most of the data is within 3 standard deviations of the mean. It follows that to 3 decimal places.
iv) The simplest way to answer this question is to do . That is, to 3 decimal places.

Press MENU and 1 to go back to arithmetic mode.

The birth weight of babies in the US can be modelled with the normal distribution where measurements are given in pounds (lbs).

a) Find the value of the weight given that .
b) Find the interquartile range of birth weights.
c) Given that 60% of birth weights are above lbs, find the value of .
d) Find the value of such that .

For these questions we use the inverse normal distribution function on the CLASSWIZ calculator. Similarly for the normal CD function, we press MENU then 7, but this time we press 3 for the inverse normal function.
a) Enter 0.75 for the area, 1.25 for standard deviation and 7.5 for the mean. This gives a value of to 3 decimal places.
b) Press ‘=’ to get back to the inverse normal function and this time enter 0.25 for the area. This gives a lower quartile value of 6.657 to 3 decimal places. Press MENU and 1 to get back to arithmetic mode. The interquartile range is 8.343-6.657=1.686 to 3 decimal places.
c) If 60% of birth weights are above , then 40% are below. Using the inverse normal function with an area of 0.4 gives to 3 decimal places.
d) We find that to 3 decimal places using the normal CD function as in Example 1. It follows that . Using the inverse normal function this gives to 3 decimal places.

a) Intelligence Quota (IQ) can be modelled as a normally distributed random variable . Find the minimum IQ of a person who is considered, according to IQ, to be in the top 10% intelligent people.

b) A particular brand of battery has a life modelled as a normal distribution with mean hours and standard deviation hours. Given that 15% of batteries last fewer than 35 hours and 5% last longer than 52 hours, find the values of and .

a) We can use the ‘Percentage Points of the Normal Distribution’ table from the Edexcel Formula Booklet for this example. According to this table, the probability of exceeding a z-value of 1.2816 is 10%. Since this table is for a standard normally distributed variable, we need to convert back to the distribution given. The variables are related by the equation and so the corresponding x-value satisfies and so . The top 10% most intelligent people, according to IQ, have an IQ of over 119.224.

b) We again use the ‘Percentage Points of the Normal Distribution’ table from the Edexcel Formula Booklet for this example. The table shows that 95% of the data will exceed a z-value of 1.6449 and 15% of the data will exceed 1.0364. The latter suggests that 15% will be below -1.0364 using the symmetry of the standard normal distribution around 0. This leads to the following simultaneous equations and . These give which can be solved to give to 2 decimal places. It follows that to 2 decimal places – see more on simultaneous equations.

The probability of getting an even number when rolling a biased dice is 0.524. The number of times an even number is rolled, , when the dice is rolled 150 times. is binomially distributed such that .
a) Explain why using normal distribution to approximate is appropriate and state the values of and for this approximation.
b) Use this normal distribution to estimate:
i) the probability that the number of times an even number is rolled is less than 90,
ii) the probability that the number of times an odd number is rolled is between 60 and 80 inclusively.

a) An approximation with a normal distribution is appropriate since is large and is close to a half. In this case and to 1 decimal place. The approximating distribution is .
b) For these questions we must apply a continuity correction.
i) . This is because, for a discrete variable, less than 90 implies any value that is 89 or less – for a continuous variable, this includes anything up to 89.5. to 3 decimal places, using the normal CD function on the calculator.
ii) . This is because, for a continuous variable, we must include 0.5 above and below the range given for the discrete variable. to 3 decimal places, again using the normal CD function on the calculator.

1. A company claims that the bags of sugar that they sell weigh 1kg. The amount of sugar in a bag follows the normal distribution with mean 1kg and standard deviation 15g. A sample of 20 bags of sugar is taken to test a suspicion that the bags are under weight. The mean amount of sugar in this sample is 0.974kg. Perform a hypothesis test at the 1% significance level to test whether or not there is evidence to suggest the company is underfilling the bags.
2. A coffee machine makes cups of coffee that follow a normal distribution with mean 200ml and standard deviation 10ml. After a part in the machine is replaced, the owner of the machine wants to see if the mean pour has changed from 200ml. A sample of 10 coffees is taken and found to have a mean of 211.4ml. Find the critical region for this test, at the 5% significance level, stating your hypotheses clearly and comment on the findings of the sample.
1. You should have noticed that we should change 1kg to 1000g to start. The null hypothesis and alternate hypothesis are and respectively, since we are testing to see if the sample has a mean less than 1000 (see more on hypothesis testing). If we let be the mount of sugar in a bag, then . It follows that the mean of a sample of size 20, , follows the normal distribution , that is . In this case, to 4 decimal places. 0.0104 is slightly bigger than 0.01 and so, at the 1% significance level, there is insufficient evidence to reject the null. In other words, the probability of a sample having this mean value is just high enough to support the claim that the mean value of the population is 1000.
2. We perform a two-tailed test in this example as we are testing to see if the mean value has changed either way. Hence, and . Let be the distribution for the coffees poured from the machine. The mean of the sample size 10, , is normally distributed such that or . The standard normal distribution can be used to find the critical region but it is simpler to do this using the inverse normal function on the calculator. Splitting the 5% in each tail, we find that the value of such that is . By symmetry of the normal distribution it follows that the critical region is or . Since the sample mean is 211.4, it falls within the critical region and there is sufficient evidence to reject the null hypothesis at the 5% significance level. In other words, the new part in the machine may have changed the mean value of coffee pours.