Fiveable

📈Intro to Probability for Business Unit 9 Review

QR code for Intro to Probability for Business practice questions

9.3 Two-Sample Test for Proportions

9.3 Two-Sample Test for Proportions

Written by the Fiveable Content Team • Last updated August 2025
Written by the Fiveable Content Team • Last updated August 2025
📈Intro to Probability for Business
Unit & Topic Study Guides

Two-sample proportion tests compare the proportions of two independent groups to determine if there's a significant difference between them. These tests are useful for analyzing binary outcomes in various scenarios, like comparing defective product rates from two factories.

To conduct a two-sample proportion test, you'll need to state hypotheses, calculate the pooled sample proportion, and determine the test statistic. The results help you decide if there's a meaningful difference between the two population proportions, guiding decision-making in business and research contexts.

Two-Sample Test for Proportions

Scenarios for two-sample proportion tests

  • Compares proportions of two independent populations or groups
    • Determines if there is a significant difference between the proportions (defective products from two factories)
  • Response variable is categorical with two levels
    • Binary outcomes (success/failure, yes/no)
  • Samples randomly selected and independent of each other
    • Ensures unbiased representation of the populations
  • Sample sizes large enough to assume normal distribution of sample proportions
    • Allows for the use of z-distribution in hypothesis testing
Scenarios for two-sample proportion tests, 9.16: Hypothesis Test for Difference in Two Population Proportions (3 of 6) - Statistics LibreTexts

Assumptions of two-sample proportion tests

  • Independence within and between samples
    • Random selection from respective populations (simple random sampling)
    • Selection of one sample does not influence the other (no interaction between groups)
  • Large sample sizes for normal distribution of sample proportions
    • Rule of thumb: n1p15n_1p_1 \geq 5, n1(1p1)5n_1(1-p_1) \geq 5, n2p25n_2p_2 \geq 5, n2(1p2)5n_2(1-p_2) \geq 5
      • n1n_1, n2n_2 = sample sizes; p1p_1, p2p_2 = sample proportions
  • Population sizes at least 10 times larger than sample sizes
    • Ensures samples are representative of the populations
Scenarios for two-sample proportion tests, Distribution of Differences in Sample Proportions (4 of 5) | Concepts in Statistics

Conducting two-sample proportion tests

  1. State null and alternative hypotheses

    • H0:p1=p2H_0: p_1 = p_2 (population proportions are equal)
    • Ha:p1p2H_a: p_1 \neq p_2 (two-tailed), p1<p2p_1 < p_2 (left-tailed), p1>p2p_1 > p_2 (right-tailed)
  2. Calculate pooled sample proportion: p^=x1+x2n1+n2\hat{p} = \frac{x_1 + x_2}{n_1 + n_2}

    • x1x_1, x2x_2 = number of successes in each sample
  3. Calculate test statistic: z=(p^1p^2)(p1p2)p^(1p^)(1n1+1n2)z = \frac{(\hat{p}_1 - \hat{p}_2) - (p_1 - p_2)}{\sqrt{\hat{p}(1-\hat{p})(\frac{1}{n_1}+\frac{1}{n_2})}}

  4. Determine p-value using z-score and standard normal distribution

  5. Compare p-value to significance level α\alpha and make decision

    • If pαp \leq \alpha, reject H0H_0; if p>αp > \alpha, fail to reject H0H_0
  6. Interpret results in context of the problem

    • Determine if there is a significant difference between the proportions

Confidence intervals for proportion differences

  • Confidence interval for difference between two population proportions:
    • (p^1p^2)±zα/2p^1(1p^1)n1+p^2(1p^2)n2(\hat{p}_1 - \hat{p}_2) \pm z_{\alpha/2}\sqrt{\frac{\hat{p}_1(1-\hat{p}_1)}{n_1}+\frac{\hat{p}_2(1-\hat{p}_2)}{n_2}}
    • zα/2z_{\alpha/2} = critical value from standard normal distribution
  • Interpretation: (1α)100%(1-\alpha)100\% confident true difference between population proportions falls within interval
  • If interval contains 0, insufficient evidence to conclude significant difference between proportions

Sample size for proportion tests

  • Minimum sample size for each group:
    • n=(zα/2+zβ)2(p^1p^2)2[p^1(1p^1)+p^2(1p^2)]n = \frac{(z_{\alpha/2}+z_\beta)^2}{(\hat{p}_1-\hat{p}_2)^2}[\hat{p}_1(1-\hat{p}_1)+\hat{p}_2(1-\hat{p}_2)]
    • zα/2z_{\alpha/2} = critical value for desired confidence level
    • zβz_\beta = critical value for desired power (1 - Type II error)
    • p^1\hat{p}_1, p^2\hat{p}_2 = anticipated sample proportions
  • Round up calculated sample size to nearest whole number
    • Ensures sufficient data for accurate results
Pep mascot
Upgrade your Fiveable account to print any study guide

Download study guides as beautiful PDFs See example

Print or share PDFs with your students

Always prints our latest, updated content

Mark up and annotate as you study

Click below to go to billing portal → update your plan → choose Yearly → and select "Fiveable Share Plan". Only pay the difference

Plan is open to all students, teachers, parents, etc
Pep mascot
Upgrade your Fiveable account to export vocabulary

Download study guides as beautiful PDFs See example

Print or share PDFs with your students

Always prints our latest, updated content

Mark up and annotate as you study

Plan is open to all students, teachers, parents, etc
report an error
description

screenshots help us find and fix the issue faster (optional)

add screenshot

2,589 studying →