Chi-squared test

Chi-squared test
ConceptProbability and Statistics

Statistical test for categorical data and contingency tables

1.60Rare
No. 210564Kosmora

Rare

Chi-squared test

  • Probability and Statistics

A chi-squared test, also called a chi-square or χ2 test, is a statistical hypothesis test used to analyze contingency tables, particularly when sample sizes are large. It commonly examines whether two categorical variables are independent. Pearson's chi-squared test compares expected and observed frequencies across categories. The test statistic follows, or increasingly approximates, a chi-squared distribution under the null hypothesis. Fisher's exact test is used instead for contingency tables with smaller samples.

Type
Statistical hypothesis test
Main use
Testing independence of two categorical variables
Small-sample alternative
Fisher's exact test
Sources and credits

Sources and credits

Article
Chi-squared test (English Wikipedia)
Wikidata
Q1071004
Text
Card text is adapted from the English Wikipedia article by an automated summary. Wikipedia content is available under CC BY-SA 4.0; see the article history for its contributors. CC BY-SA 4.0 · Article history and contributors
Illustration
By Mikael Häggström. Public domain · File page on Wikimedia Commons
Mikael Häggström, File:Chi-square distributionCDF.png
Modifications: Resized and converted to WebP
Popularity
466 median daily views (Wikimedia Pageviews API (all-access, user agent))

Kosmora is not affiliated with or endorsed by the Wikimedia Foundation.