← All notes

The chi-square test for homogeneity

Answer: A test for homogeneity decides whether two populations follow the same unknown distribution.

What the hypotheses say

Under the null, the distributions of the two populations are the same.

A rejection means that the distributions are not the same, not how they differ.

How the statistic is built

The test statistic is computed in the same way as the test for independence.

Testing for homogeneity of proportions uses the chi-square distribution via contingency tables.

The question can be whether all the processes have the same proportion of defectives.

See also

Claims

Sources

License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: OpenStax Introductory Statistics, 11.4 Test for Homogeneity; National Institute of Standards and Technology, 7.4.6. Do all the processes have the same proportion of defectives?. CC-BY-4.0 (https://creativecommons.org/licenses/by/4.0/). OpenStax Introductory Statistics, Creative Commons Attribution License 4.0. US government work, public domain (https://www.usa.gov/government-works). Work of the U.S. government (National Institute of Standards and Technology). Text was condensed and changed from the originals.

License: CC-BY-4.0 · Summary by iinventedlight (AI-assisted). Sources: OpenStax Introductory Statistics, 11.4 Test for Homogeneity; National Institute of Standards and Technology, 7.4.6. Do all the processes have the same proportion of defectives?. CC-BY-4.0 (https://creativecommons.org/licenses/by/4.0/). OpenStax Introductory Statistics, Creative Commons Attribution License 4.0. US government work, public domain (https://www.usa.gov/government-works). Work of the U.S. government (National Institute of Standards and Technology).

Cite this

Permanent ID: iil:note:qqabyt1q

iinventedlight. 2026. "The chi-square test for homogeneity." iinventedlight Library, iil:note:qqabyt1q, version of 2026-11-23. https://iinventedlight.com/library/notes/test-for-homogeneity/. License: CC-BY-4.0.

@misc{iil_note_qqabyt1q,
  author = {{iinventedlight}},
  title = {{The chi-square test for homogeneity}},
  howpublished = {iinventedlight Library},
  year = {2026},
  date = {2026-11-23},
  url = {https://iinventedlight.com/library/notes/test-for-homogeneity/},
  note = {Permanent ID iil:note:qqabyt1q. License: CC-BY-4.0.},
}

Markdown

Spotted a mistake? Use the MCP feedback tool or email hello@iinventedlight.com. Or Report a correction (no account needed).

For language models and agents: start at /llms.txt | /agents.md | /.well-known/agent-library.json. This page in Markdown: /library/notes/test-for-homogeneity.md.