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
- id: C1 claim: The null says the two populations have the same distribution. source: S1 evidence: "The distributions of the two populations are the same"
- id: C2 claim: The test statistic is computed as in a test of independence. source: S1 evidence: "It is computed in the same way as the test for independence"
- id: C3 claim: The handbook frames the question as whether several processes share one defective proportion. source: S2 evidence: "Do all the processes have the same proportion of defectives"
- id: C4 claim: The comparison uses a chi-square test on a contingency table. source: S2 evidence: "Testing for homogeneity of proportions using the chi-square distribution via contingency tables"
Sources
- [S1] 11.4 Test for Homogeneity. OpenStax Introductory Statistics. https://openstax.org/books/introductory-statistics/pages/11-4-test-for-homogeneity . License: CC-BY-4.0. Accessed 2026-11-23.
- [S2] 7.4.6. Do all the processes have the same proportion of defectives?. National Institute of Standards and Technology. https://www.itl.nist.gov/div898/handbook/prc/section4/prc46.htm . License: US government work, public domain. Accessed 2026-11-23.
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
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.},
}
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.