Two-Sample Test for Proportions: Fresh Take

  • Complete a two-sample [latex]z[/latex]-test for proportions from hypotheses to conclusions.
  • Recognize when a one-sample [latex]z[/latex]-test or a two-sample [latex]z[/latex]-test is needed to answer a research question.

A one-sample test of proportions tests a claim about a population proportion. A two-sample test of proportions tests a claim about two population proportions. When testing a claim that compares two populations, you must also check that the two populations are independent.

Let’s see if we can distinguish between these situations.

Comparing two proportions is common. If two estimated proportions are different, it may be due to a difference in the populations or it may be due to chance. A hypothesis test can help determine if a difference in the estimated proportions reflects a difference in the population proportions. Let’s begin by stating null and alternative hypotheses.

two-sample [latex]z[/latex]-test of proportions

  1. Calculate a test statistic.
  2. Calculate a P-value.
  3. Write a conclusion in context (e.g., we do/do not have convincing evidence…).


[Trouble viewing? Click to open in a new tab.]

Two types of medication for hives are being tested to determine if there is a difference in the proportions of adult patient reactions.

  • Twenty out of a random sample of [latex]200[/latex] adults given medication A still had hives [latex]30[/latex] minutes after taking the medication.
  • Twelve out of another random sample of [latex]200[/latex] adults given medication B still had hives [latex]30[/latex] minutes after taking the medication.

Test at a [latex]1\%[/latex] level of significance.