The chi-square test of independence
Answer: A test of independence asks whether two factors are independent. The procedure is always right-tailed.
What the test asks
A test of independence determines whether two factors are independent or not.
The test of independence is always right-tailed.
Classifications and contingency tables
Items are classified according to two or more criteria.
Decide whether these criteria act independently of one another.
When that condition holds, the two classifications are independent.
See also
Claims
- id: C1 claim: A test of independence determines whether two factors are independent or not. source: S1 evidence: "A test of independence determines whether two factors are independent or not"
- id: C2 claim: The test of independence is always right-tailed. source: S1 evidence: "The test of independence is always right-tailed"
- id: C3 claim: When items are classified by two or more criteria, one question is whether those criteria act independently. source: S2 evidence: "decide whether these criteria act independently of one another"
- id: C4 claim: That condition implies independence of the two classifications. source: S2 evidence: "This condition implies independence of the two classifications"
Sources
- [S1] 11.4 Test of Independence. OpenStax Introductory Business Statistics. https://openstax.org/books/introductory-business-statistics/pages/11-4-test-of-independence . License: CC-BY-4.0. Accessed 2026-11-23.
- [S2] 7.4.5. How can we compare the results of classifying according to several categories?. National Institute of Standards and Technology. https://www.itl.nist.gov/div898/handbook/prc/section4/prc45.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 Business Statistics, 11.4 Test of Independence; National Institute of Standards and Technology, 7.4.5. How can we compare the results of classifying according to several categories?. CC-BY-4.0 (https://creativecommons.org/licenses/by/4.0/). OpenStax Introductory Business 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 Business Statistics, 11.4 Test of Independence; National Institute of Standards and Technology, 7.4.5. How can we compare the results of classifying according to several categories?. CC-BY-4.0 (https://creativecommons.org/licenses/by/4.0/). OpenStax Introductory Business 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 of independence." iinventedlight Library, iil:note:a86nxecv, version of 2026-11-23. https://iinventedlight.com/library/notes/test-of-independence/. License: CC-BY-4.0.
@misc{iil_note_a86nxecv,
author = {{iinventedlight}},
title = {{The chi-square test of independence}},
howpublished = {iinventedlight Library},
year = {2026},
date = {2026-11-23},
url = {https://iinventedlight.com/library/notes/test-of-independence/},
note = {Permanent ID iil:note:a86nxecv. 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-of-independence.md.