Methods · Hypothesis testing · Categorical data analysis

Chi Square Test

The chi-square test of independence compares observed and expected frequencies in a contingency table to test whether two categorical variables are associated.

카이제곱 독립성 검정은 분할표의 관측빈도와 기대빈도를 비교하여 두 범주형 변수가 서로 연관되어 있는지를 검정하는 방법이다.

How do I test whether two categorical variables are related?

두 범주형 변수 사이에 관련이 있는지 어떻게 검정하나요?

The chi-square test of independence tests whether two categorical variables are associated by comparing observed cell counts with the counts expected if they were independent. It fits when each observation falls into exactly one cell of a cross-tabulation and expected counts are large enough.

When to use Chi Square Test

When to use something else

Assumptions and requirements

What the analysis reports

How to report it

A chi-square test of independence showed a significant association between [variable 1] and [variable 2], χ²([df], N = [n]) = [value], p = [value], Cramér's V = [value].

Related methods

Run Chi Square Test on Quorant

Data you need
a table (CSV or Excel) with a grouping variable
Price
150 credits for one analysis up to 10,000 rows (complexity level 1); larger or wider data costs more. Optional methodologist review: 900 credits.
Checking
Python results are cross-checked against R reference outputs in every deployment
Before you pay
A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.

Method ID Q11004 · Reviewed 2026-10-25