Comparing Several Proportions: Chi-Square Logic, Expected Counts, and Limits of the Overall Test

Several proportions are a contingency-table problem

When a categorical outcome is observed in several groups, arrange the counts in a table. A chi-square test of homogeneity asks whether the outcome distribution is the same across independently sampled groups.


In a common table representation, the same calculation is described as a test of independence; the sampling story clarifies the language, not the arithmetic.

Expected counts come from the null model

Under a common-proportion null, each group is assigned the pooled outcome proportion. Equivalently, an expected cell count is its row total multiplied by its column total divided by the grand total. The chi-square statistic sums squared observed-minus-expected differences scaled by the expected counts.

Interpret the whole test honestly

An overall result assesses compatibility with a common distribution. It does not automatically identify which groups differ, in which direction, how large each difference is in a practically useful scale, or whether group membership caused the outcome. Follow-up comparisons should match a stated question and account for multiplicity when many are explored.

Check conditions

Observations should be appropriately independent for the design, categories should be mutually exclusive, and expected-count adequacy should be assessed for the intended approximation. Sparse tables may call for a different exact or resampling approach. These are model conditions, not boxes checked by sample size alone.

Investigators record whether a participant completed a program (yes or no) in each of four independently sampled outreach groups. Which test is suited to assess whether completion proportions differ across groups?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

Mark Yourself Question

  1. Grab a piece of paper and try this problem yourself.
  2. When you're done, check the "I have answered this question" box below.
  3. View the solution and report whether you got it right or wrong.

For one table cell, observed count O is 27 and expected count E is 20. What is this cell's contribution to the Pearson chi-square statistic?

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

A two-row by two-column table has row total 50 for group A, column total 36 for success, and grand total 120. Under the null of equal success proportions, what is the expected success count for group A?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors