Fiveable
Fiveable

Chi-square test for independence

Definition

The chi-square test for independence is a statistical test used to determine if there is a relationship between two categorical variables. It assesses whether the observed frequencies in each category are significantly different from what would be expected if the variables were independent.

Analogy

Imagine you have two friends, Alice and Bob, who claim that their favorite ice cream flavors are independent of their favorite toppings. To test this, you gather data on their preferences and use the chi-square test for independence to see if there is any relationship between their choices.

Related terms

Null hypothesis: A statement that assumes there is no relationship or difference between variables.

Degrees of freedom: The number of categories minus one in a chi-square test.

Contingency table: A table that displays the frequencies or proportions of observations for two categorical variables.

"Chi-square test for independence" appears in:



© 2024 Fiveable Inc. All rights reserved.

AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.


© 2024 Fiveable Inc. All rights reserved.

AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.