Confidence Intervals for Differences in Population Means (College Board AP® Statistics): Revision Note
Two-sample t-interval for difference in population means
What is a confidence interval for the difference between two population means?
A confidence interval for the difference between two population means is
a symmetric range of values centered about the difference in sample means
designed to capture the actual value of the difference between two population means
Different samples generate different confidence intervals
e.g. a difference in sample means of 5 may have a confidence interval of (4.5, 5.5)
How do I calculate a confidence interval for the difference between two population means?
The confidence interval for the difference between two population means is given by
Where:
The difference between the two sample means is calculated from the samples or is given to you
The critical value is the relevant t-value
The critical value, , depends on the confidence level and the degrees of freedom
The degrees of freedom are found by technology (a calculator)
With the t-table, a conservative choice is the smaller of and
The standard error, , estimates the standard deviation of the sampling distribution of
Examiner Tips and Tricks
The general formula for confidence intervals (including a table of standard errors) is given in the exam: .
You will need to apply it appropriately using the difference between the sample means and the standard error of the difference of the sample means.
What are conditions for a confidence interval for a difference in population means?
When calculating a two-sample t-interval, check that
the data come from two independent random samples (or from random assignment of two treatments in an experiment)
if sampling without replacement, each sample size is at most 10% of its population size, and
This is not needed when treatments are randomly assigned in an experiment
the sampling distribution of each sample mean is approximately normal
For each sample, this is true if any one of these holds:
the population is approximately normal
the sample size is large,
the sample data show no strong skewness and no outliers
What is the margin of error?
The margin of error is the half-width of the confidence interval
The confidence interval is
The total width of a confidence interval is
You may be given an interval and asked to calculate its margin of error
or another value, such as
This involves forming and solving an equation
Examiner Tips and Tricks
You need to know that the width of a confidence interval increases as the confidence level increases, whereas it decreases as the sample sizes increase.
How do I interpret a confidence interval for a difference in population means?
You must conclude calculations of a confidence interval by referring to the context
Start by saying 'we can be C% confident that the interval from [lower limit] to [upper limit]...'
using the limits from the confidence interval
then end with it capturing the difference between the population means in context
e.g. 'captures the actual difference between the population means of the time taken by students from each school to run 100 m'
If both limits are negative, there is convincing evidence that , i.e.
If both limits are positive, there is convincing evidence that
If the interval contains zero, see below
How do I use confidence intervals to justify a claim about a population mean difference?
If a difference in population means is claimed to be a specific value, check whether that value lies in your confidence interval
If it does, the claimed value is a plausible value for
The interval does not give evidence against the claim, but it does not prove that the claim is true
If it does not, the interval gives convincing evidence that is different from the claimed value
Look out for confidence intervals for differences that contain zero
This means is a plausible value
So there is not convincing evidence of a difference between the population means
It does not show that
Worked Example
Two independent farmers each claim to grow the longest eggplants. A random sample of 18 eggplants from the thousands grown at each farm is measured. The lengths of the eggplants on both farms are normally distributed. Those from farm A have a mean length of 8.1 inches with a standard deviation of 0.36 inches and the eggplants from farm B have a mean length of 7.9 inches with a standard deviation of 0.28 inches.
(a) Find the 95% confidence interval for .
(b) Is there convincing statistical evidence that the mean lengths of eggplants from the two farms are different?
Answer:
(a)
State the type of interval being used and verify the conditions for the interval
The correct inference procedure is a two-sample t-interval with a 95% confidence level
The independence condition is satisfied, as
the samples are taken from different farms so they are independent
the samples of 18 eggplants were selected at random
each sample size, 18, is at most 10% of the thousands of eggplants grown at each farm
The lengths at both farms are normally distributed
The population standard deviations are unknown, so the sample standard deviations are used and a t-interval is appropriate
Define the population parameters
Let be the mean length of all eggplants from farm A
Let be the mean length of all eggplants from farm B
List the number of data items in the samples, , the sample mean, , and the sample standard deviation,
Using the t-table, find the critical value, , using df = 18-1=17 and a confidence level of 95%
Remember that a confidence level of 95% is 5% in both tails combined, so use 2.5% for a single tail in the table (the row 'Confidence level C' at the bottom of the t-tables helps)
Using the formula from the formula sheet, , calculate the confidence interval
State the confidence interval
With the calculator's , the interval is about
It is slightly narrower and the conclusion doesn't change
Explain the confidence interval in the context of the question
We can be 95% confident that the interval from -0.027 inches to 0.427 inches captures the actual value of the difference between the population means , of the lengths of eggplants from the two farms
(b)
Since 0 lies in this interval, 0 is a plausible value for , so the data do not provide convincing statistical evidence that the mean lengths of eggplants from the two farms differ
Unlock more, it's free!
Was this revision note helpful?
Build on this topic