Inference rests on one idea: a statistic varies from sample to sample in a predictable way. If we know how p^ or xˉ would vary when the population value is known, we can judge whether an observed result is surprising, and estimate the unknown value with a margin of error. This lesson builds that idea, starting from the normal model that describes many of these distributions.
Normal distributions
A normal distributionN(μ,σ) is symmetric, single-peaked and bell-shaped, with mean μ and standard deviation σ. The empirical rule says that about 68%, 95% and 99.7% of the values lie within 1, 2 and 3 standard deviations of the mean.
Heights N(165,6) in cm: about 95% lie between 153 and 177
For other areas, standardize with z=σx−μ and use the calculator or the table: the area to the left of z is the proportion of values below x. To find a value from a percentile, find the z with that area to its left, then x=μ+zσ. Always show the distribution, the boundary and the direction, for example "N(165,6), P(X>175)".
Sampling distributions
A sampling distribution is the distribution of the values a statistic takes in all possible samples of the same size from the same population. A statistic is an unbiased estimator if the centre of its sampling distribution equals the parameter. Its variability is measured by the standard deviation of the sampling distribution, and it decreases as the sample size increases.
The sample proportion \hat p
For random samples of size n from a population with proportion of successes p:
Feature
Value
Condition
Centre
\mu_{\hat p}=p
always: \hat p is unbiased
Spread
\sigma_{\hat p}=\sqrt{\dfrac{p(1-p)}{n}}
10\% condition: n\le0.1N
Shape
approximately normal
large counts: np\ge10 and n(1-p)\ge10
The sample mean \bar x
For random samples of size n from a population with mean \mu and standard deviation \sigma:
\mu_{\bar x}=\mu,\qquad \sigma_{\bar x}=\frac{\sigma}{\sqrt n}\ \ (\text{if }n\le0.1N).
If the population is normal, so is the distribution of \bar x. Otherwise, the central limit theorem says that for a large sample, usually n\ge30, the distribution of \bar x is approximately normal whatever the shape of the population.
Similar exercises
Exercise 1
Scores on a test are approximately normal with mean 70 and standard deviation 8. Between which two scores do about the middle 68\% of the scores lie?
What you need and how to start
What you need:68\% lie within one standard deviation of the mean.
Show solution
By the empirical rule, about 68\% of the values lie within one standard deviation of the mean.
The boundaries are 70-8=62 and 70+8=78.
So about the middle 68\% of the scores lie between 62 and 78.
Answer. Between 62 and 78.
Exercise 2
For the same test, find the proportion of students who score below 60.
What you need and how to start
What you need:z=\dfrac{60-70}{8}, then the area to the left.
Show solution
The scores are approximately N(70,8), and we need P(X<60). Standardizing, z=\dfrac{60-70}{8}=-1.25.
The area to the left of z=-1.25 is P(Z<-1.25)\approx0.1056.
So about 10.56\% of the students score below 60.
Answer. About 0.1056.
Exercise 3
In a population, 30\% of people prefer tea. For random samples of 210 people, find the mean and standard deviation of \hat p, and check whether its distribution is approximately normal.
What you need and how to start
What you need:\sigma_{\hat p}=\sqrt{\dfrac{p(1-p)}{n}}; large counts np and n(1-p).
Show solution
The centre is \mu_{\hat p}=p=0.3, and the spread is \sigma_{\hat p}=\sqrt{\dfrac{0.3(0.7)}{210}}=\sqrt{0.001}\approx0.0316, assuming the population has more than 2100 people.
The large counts are 210(0.3)=63 and 210(0.7)=147, both at least 10, so the distribution of \hat p is approximately normal.
So \hat p has mean 0.3 and standard deviation about 0.0316, and is approximately normal.
Answer.0.3; 0.0316; approximately normal.
Exercise 4
How must the sample size change to halve the standard deviation of \bar x?
What you need and how to start
What you need:\sigma_{\bar x}=\dfrac{\sigma}{\sqrt n}.
Show solution
The standard deviation of \bar x is \dfrac{\sigma}{\sqrt n}, which is inversely proportional to \sqrt n.
To halve it, \sqrt n must double, so n must be multiplied by 4.
So the sample size must be quadrupled.
Answer. Multiply n by 4.
Exercise 5
A statistic has a sampling distribution centred well above the parameter, with a very small spread. Is it biased? Is it a good estimator?
What you need and how to start
What you need: bias is about the centre; variability is about the spread.
Show solution
The centre of the sampling distribution is not equal to the parameter, so the statistic is biased.
Its low variability means its values are consistently close to each other, but they are consistently too high. A small spread does not fix the bias.
So the statistic is biased with low variability, and it is not a good estimator.
Answer. Biased; not a good estimator.
Applied exercises
Exercise 6
A machine fills bottles with an amount that is approximately normal with mean 500 ml and standard deviation 4 ml. What proportion of bottles contain between 495 and 505 ml?
What you need and how to start
What you need:z=\pm1.25.
Show solution
Standardizing the boundaries, z=\dfrac{495-500}{4}=-1.25 and z=\dfrac{505-500}{4}=1.25.
The area between them is P(-1.25<Z<1.25)=1-2(0.1056)\approx0.7887.
So about 78.87\% of bottles contain between 495 and 505 ml.
Answer. About 0.7887.
Exercise 7
In an election, 52\% of voters support candidate A. A poll takes a random sample of 400 voters. Find the probability that the poll shows less than 50\% support for A.
What you need and how to start
What you need:\sigma_{\hat p}=\sqrt{\dfrac{0.52(0.48)}{400}}.
Show solution
The centre is 0.52 and the spread is \sigma_{\hat p}=\sqrt{\dfrac{0.52(0.48)}{400}}\approx0.02498; the 10\% condition holds for a large electorate.
The large counts are 400(0.52)=208 and 400(0.48)=192, so \hat p is approximately normal.
Then z=\dfrac{0.50-0.52}{0.02498}\approx-0.80 and P(\hat p<0.50)\approx0.2117.
So there is about a 21\% chance that the poll wrongly suggests A is behind.
Answer. About 0.2117.
Exercise 8
The weights of parcels at a post office are skewed right with mean 3.2 kg and standard deviation 1.5 kg. Find the probability that a random sample of 50 parcels has a mean weight above 3.5 kg, and explain why a normal model can be used.
What you need and how to start
What you need: the central limit theorem with n=50.
Show solution
The centre is \mu_{\bar x}=3.2 and the spread is \sigma_{\bar x}=\dfrac{1.5}{\sqrt{50}}\approx0.2121 kg.
Although individual weights are skewed, n=50\ge30, so by the central limit theorem \bar x is approximately normal.
Then z=\dfrac{3.5-3.2}{0.2121}\approx1.414 and P(\bar x>3.5)\approx0.0786.
So the probability is about 0.0786.
Answer. About 0.0786.
Exercise 9 Challenge
How large a random sample is needed so that the standard deviation of \hat p is at most 0.02, whatever the value of p?
What you need and how to start
What you need:p(1-p) is largest when p=0.5.
Show solution
The product p(1-p) is at most 0.25, reached at p=0.5, so \sigma_{\hat p}\le\sqrt{\dfrac{0.25}{n}} for every p.
We need \sqrt{\dfrac{0.25}{n}}\le0.02, that is \dfrac{0.25}{n}\le0.0004, so n\ge625.
So a sample of at least 625 is needed.
Answer.n\ge625.
Mini test
Marked like the Vietnamese graduation exam: Part I 0.25 points per question; Part II up to 1 point per question (1, 2, 3, 4 correct statements give 0.1, 0.25, 0.5, 1 point); Part III 0.5 points per question.
Part I. Multiple choice
Question 1. In a normal distribution, about 99.7\% of the values lie within how many standard deviations of the mean?
Answer: D.
The empirical rule: 68, 95, 99.7.
Question 2. A population has \sigma=10. For random samples of size 25, the standard deviation of \bar x is
Answer: A.
\dfrac{10}{\sqrt{25}}=2.
Question 3. For the sampling distribution of \hat p to be approximately normal, we check that
Answer: B.
The large counts condition.
Question 4. Increasing the sample size
Answer: C.
The spread decreases as n increases.
Part II. True or false
Question 1. A population has mean 40 and standard deviation 9. Random samples of size 81 are taken. Decide whether each statement is true or false.
a) The mean of \bar x is 40.
b) The standard deviation of \bar x is 1.
c) The distribution of \bar x is approximately normal.
d) The individual values must be normal.
Answer: a) True; b) True; c) True; d) False.
The central limit theorem applies to \bar x, not to individuals.
Part III. Short answer
Question 1. A test has mean 100 and standard deviation 15. Find the z-score of 130.
Answer: 2.
\dfrac{130-100}{15}=2.
Question 2. About what percent of a normal distribution lies within one standard deviation of the mean?
Answer: 68.
The empirical rule.
Show answers and explanations
Part I, question 1: D. The empirical rule: 68, 95, 99.7.
Part I, question 2: A. \dfrac{10}{\sqrt{25}}=2.
Part I, question 3: B. The large counts condition.
Part I, question 4: C. The spread decreases as n increases.
Part II, question 1: a) True; b) True; c) True; d) False. The central limit theorem applies to \bar x, not to individuals.
Part III, question 1: 2. \dfrac{130-100}{15}=2.
Part III, question 2: 68. The empirical rule.
Solutions and answers
Try each exercise on your own first, then check here.
Exercise 1.
By the empirical rule, about 68\% of the values lie within one standard deviation of the mean.
The boundaries are 70-8=62 and 70+8=78.
So about the middle 68\% of the scores lie between 62 and 78.
Answer. Between 62 and 78.
Exercise 2.
The scores are approximately N(70,8), and we need P(X<60). Standardizing, z=\dfrac{60-70}{8}=-1.25.
The area to the left of z=-1.25 is P(Z<-1.25)\approx0.1056.
So about 10.56\% of the students score below 60.
Answer. About 0.1056.
Exercise 3.
The centre is \mu_{\hat p}=p=0.3, and the spread is \sigma_{\hat p}=\sqrt{\dfrac{0.3(0.7)}{210}}=\sqrt{0.001}\approx0.0316, assuming the population has more than 2100 people.
The large counts are 210(0.3)=63 and 210(0.7)=147, both at least 10, so the distribution of \hat p is approximately normal.
So \hat p has mean 0.3 and standard deviation about 0.0316, and is approximately normal.
Answer.0.3; 0.0316; approximately normal.
Exercise 4.
The standard deviation of \bar x is \dfrac{\sigma}{\sqrt n}, which is inversely proportional to \sqrt n.
To halve it, \sqrt n must double, so n must be multiplied by 4.
So the sample size must be quadrupled.
Answer. Multiply n by 4.
Exercise 5.
The centre of the sampling distribution is not equal to the parameter, so the statistic is biased.
Its low variability means its values are consistently close to each other, but they are consistently too high. A small spread does not fix the bias.
So the statistic is biased with low variability, and it is not a good estimator.
Answer. Biased; not a good estimator.
Exercise 6.
Standardizing the boundaries, z=\dfrac{495-500}{4}=-1.25 and z=\dfrac{505-500}{4}=1.25.
The area between them is P(-1.25<Z<1.25)=1-2(0.1056)\approx0.7887.
So about 78.87\% of bottles contain between 495 and 505 ml.
Answer. About 0.7887.
Exercise 7.
The centre is 0.52 and the spread is \sigma_{\hat p}=\sqrt{\dfrac{0.52(0.48)}{400}}\approx0.02498; the 10\% condition holds for a large electorate.
The large counts are 400(0.52)=208 and 400(0.48)=192, so \hat p is approximately normal.
Then z=\dfrac{0.50-0.52}{0.02498}\approx-0.80 and P(\hat p<0.50)\approx0.2117.
So there is about a 21\% chance that the poll wrongly suggests A is behind.
Answer. About 0.2117.
Exercise 8.
The centre is \mu_{\bar x}=3.2 and the spread is \sigma_{\bar x}=\dfrac{1.5}{\sqrt{50}}\approx0.2121 kg.
Although individual weights are skewed, n=50\ge30, so by the central limit theorem \bar x is approximately normal.
Then z=\dfrac{3.5-3.2}{0.2121}\approx1.414 and P(\bar x>3.5)\approx0.0786.
So the probability is about 0.0786.
Answer. About 0.0786.
Exercise 9.
The product p(1-p) is at most 0.25, reached at p=0.5, so \sigma_{\hat p}\le\sqrt{\dfrac{0.25}{n}} for every p.
We need \sqrt{\dfrac{0.25}{n}}\le0.02, that is \dfrac{0.25}{n}\le0.0004, so n\ge625.
So a sample of at least 625 is needed.
Answer.n\ge625.
Mini test: answers
Part I, question 1: D. The empirical rule: 68, 95, 99.7.
Part I, question 2: A. \dfrac{10}{\sqrt{25}}=2.
Part I, question 3: B. The large counts condition.
Part I, question 4: C. The spread decreases as n increases.
Part II, question 1: a) True; b) True; c) True; d) False. The central limit theorem applies to \bar x, not to individuals.