BackInferences from Two Populations: Hypothesis Testing and Confidence Intervals for Two Proportions
Study Guide - Smart Notes
Tailored notes based on your materials, expanded with key definitions, examples, and context.
Inferences from Two Populations
Introduction
This study guide covers statistical methods for making inferences about two populations, focusing on hypothesis testing and confidence intervals for the difference between two population proportions. These concepts are essential for comparing groups in experimental and observational studies.
Sampling Methods
Independent vs. Dependent Sampling
Understanding the type of sampling is crucial for selecting the correct statistical test.
Independent Sampling: Individuals selected for one sample do not influence the selection in the other sample.
Dependent Sampling (Matched-Pairs): Selection in one sample is used to determine selection in the other, often matching individuals against themselves or similar subjects.
Example: Comparing pass rates between students in traditional and lab-based math courses (independent samples), or comparing prices of identical products at two retailers (matched-pairs).
Comparing Two Population Proportions
Formulating Hypotheses
When comparing proportions, we define:
p1: Proportion in population 1
p2: Proportion in population 2
Sample proportions are calculated as:
Hypotheses can be:
Type | Null Hypothesis | Alternative Hypothesis |
|---|---|---|
Two-Tailed | ||
Left-Tailed | ||
Right-Tailed |
Sampling Distribution of the Difference Between Two Proportions
The difference is approximately normally distributed if:
Each sample size is no more than 5% of the population size
Mean:
Standard deviation:
Pooled Estimate
When the null hypothesis is , the pooled estimate is:
Test Statistic for Comparing Two Proportions
The standardized test statistic is:
Hypothesis Testing Algorithm for Two Proportions
Steps
State Hypotheses: Choose null and alternative hypotheses based on the research question.
Select Significance Level (): Common choices are 0.05 or 0.01.
Compute Test Statistic: Use the formula above.
Classical Approach: Compare the test statistic to the critical value from the standard normal table.
P-Value Approach: Calculate the p-value and compare to .
State Conclusion: Reject or fail to reject the null hypothesis based on the comparison.
Decision Rules
Test Type | Decision Rule |
|---|---|
Two-Tailed | If or , reject |
Left-Tailed | If , reject |
Right-Tailed | If , reject |
Example: Comparing Proportions of A's on Two Exams
Midterm 1: , ()
Midterm 2: , ()
Observed difference:
Use two-proportion z-test to determine if the difference is statistically significant.
Example: Clinical Trial of Nasonex
Group 1 (Nasonex): , ()
Group 2 (Placebo): , ()
Pooled estimate:
Test statistic:
Critical value for (right-tailed):
Since , reject ; sufficient evidence that Nasonex users have a higher rate of headaches.
P-value: 0.002 < 0.05, also leads to rejection of .
Constructing Confidence Intervals for the Difference Between Two Proportions
Requirements
Samples are independent and randomly selected.
and
Sample sizes are no more than 5% of the population size.
Confidence Interval Formula
For a confidence interval:
Lower bound:
Upper bound:
Example: Gallup Poll on Moral Values
Sample 1 (2022): , ()
Sample 2 (2002): , ()
90% confidence interval for is (0.077, 0.141)
Interpretation: We are 90% confident that the difference in proportions is between 0.077 and 0.141. Since the interval does not contain 0, there is evidence of a real difference.
Margin of Error and Sample Size Determination
Margin of Error Formula
Sample Size for Desired Margin of Error
To achieve a margin of error for a confidence interval:
If prior estimates and are available:
If no prior estimates:
Example: Political Scientist Estimating Trust in State Government
Desired margin of error:
Confidence level: 95% ()
Prior estimates: ,
Required sample size:
If no prior estimates:
Summary Table: Key Formulas
Concept | Formula |
|---|---|
Sample Proportion | |
Pooled Proportion | |
Test Statistic | |
Confidence Interval | |
Margin of Error | |
Sample Size (with prior estimates) | |
Sample Size (no prior estimates) |
Additional info:
These methods are covered in Chapter 11: Inference on Two Population Parameters.
All examples and formulas are applicable for large sample sizes and independent samples.