Educerie · AP · Statistics
AP Statistics 3.10
Constructing a Confidence Interval for the Difference Between Two Population Proportions
How can we determine whether the difference between two groups is statistically significant?
What you will learn
- Know that a two-sample z-interval for a difference between population proportions is the procedure
- Understand that the parameter is p1 minus p2, defined with both populations and an order
- Know that an interval uses the observed counts and does not pool
- Understand how the point estimate, the standard error and the margin of error build the interval
You must be able to
- Name the procedure and define the parameter as a difference
- Verify the conditions for two samples and for an experiment
- Calculate the standard error, the margin of error and the interval
- Interpret the interval naming both populations
- Read the sign of the interval for the direction of the difference
- Explain why an interval does not pool
In the exam. Section I multiple choice: name the procedure for two groups, check the conditions (two independent samples or an experiment), find the standard error or the margin of error, or choose the right interval from computer-style numbers. Section II: Question 3 or Question 4 can ask for a full two-proportion interval, with the procedure, parameters, conditions, interval and interpretation each scored. Skills: identify the method (2.C), calculate (3.E), verify conditions (4.E).
1The procedure and the parameter
You have two groups and one response variable that is categorical with two outcomes. You want to estimate how far apart the two population proportions are. The procedure is a two-sample -interval for a difference between population proportions. Write all of it.
The parameter of interest is the difference . Define it with three pieces: the difference in proportions, the response variable and the populations.
Example 1 (invented). Two towns run recycling schemes. A random sample of 200 households is taken in Town P, and a random sample of 180 in Town Q. Each sample is independent of the other and small compared with its town. In Town P, 96 households recycle weekly. In Town Q, 78 do.
Parameter: = the difference between the proportion of all households in Town P that recycle weekly and the proportion of all households in Town Q that recycle weekly.
State which group is which. The labels and must be defined, so that a positive difference has a clear meaning.
2Verify the conditions
Three conditions apply.
- Randomization. Two independent random samples, or a randomized experiment.
- 10% condition. When sampling without replacement, each sample is at most 10% of its population: and . This is unnecessary for a randomized experiment.
- Normality. The observed number of successes and failures in both samples are all at least 10: , , and .
For an interval, you use the observed counts, since the population proportions are unknown.
Check Example 1.
- Randomization: two independent random samples, one from each town.
- 10%: each town has far more than 2,000 households, so 200 and 180 are each less than 10% of them (the question gives or implies the sizes).
- Normality: Town P has 96 recyclers and non-recyclers. Town Q has 78 recyclers and non-recyclers. All four are at least 10.
3The standard error and the interval
Compute each sample proportion and take the difference:
The standard error of the difference uses the two sample proportions:
The margin of error is the critical value times the standard error. For 95% confidence, :
The interval is the point estimate plus and minus the margin of error:
(The exact differences before rounding give to . Keep three or more decimals during the working.)
Part of the interval is negative and part positive. That is not an error. It means the plausible differences include "Town P is lower", "no difference" and "Town P is higher". Topic 3.11 reads this.
On a calculator, "2-PropZInt" gives the same result. Writing that alone does not show the work. Write the expression with your numbers, and name , , , and the level if you quote it.
4A randomized experiment
The same procedure works for an experiment. The conditions change.
Example 2 (invented). A health app tests reminders. 165 volunteers are randomly assigned to two groups: 80 to receive daily reminders and 85 to receive none. After eight weeks, 64 of the 80 in the reminder group completed the program, and 48 of the 85 in the no-reminder group did.
Procedure: two-sample -interval for a difference between population proportions.
Parameter: = the difference between the proportion of volunteers like these who would complete the program with daily reminders and the proportion who would complete it with no reminders.
Conditions:
- Randomization: the 165 volunteers were randomly assigned to the two treatments.
- 10%: not needed, because the data come from a randomized experiment.
- Normality: , , and are all at least 10.
Calculation at 90% confidence ():
Interpretation: we are 90% confident that the interval from 0.120 to 0.350 captures the difference between the proportion of volunteers like these who would complete the program with reminders and the proportion who would complete it without, with reminders minus no reminders.
This interval is entirely above 0. Topic 3.11 says what that supports. In an experiment with random assignment, a significant difference can be attributed to the treatment. The scope of the conclusion is volunteers like these. They were not randomly sampled from a larger population.
5How to organize the answer
A full interval question is scored on these parts, in order.
- The procedure, named completely.
- The parameter, defined as a difference with both populations.
- The conditions, each checked with numbers.
- The calculation, shown with the formula and the values.
- The interpretation, in context.
6Keeping the groups straight
Most errors in this topic are bookkeeping errors. Three habits prevent them.
- Name the groups once, then keep the order. If group 1 is Town P, then , , are all Town P's. The interval is for , "P minus Q".
- Read the sign. A positive interval means group 1 is higher. A negative one means group 2 is higher.
- Use no pooling here. An interval uses each sample's own in the standard error. Pooling is for a test, where says the proportions are equal (3.13).
Practice questions
30 questions on this note, from easy to hard. Each one you get right lights a star of this topic's constellation.