Go to calculators
calcmintly

Chi-square test for 2 × 2 table

Test independence for two-by-two count table without continuity correction.

Add to workspace

Your numbers

Calculations dey happen locally. Results na estimates, no be professional advice.

Di chi-square statistic

—

Chi-square approximation fit no reliable when expected counts small. E no apply Yates correction.

Formula

χ²=N(ad−bc)²/((a+b)(c+d)(a+c)(b+d)); df=1

Test independence for two-by-two count table without continuity correction.

Example wey show the calculation

Count for row 1, column 1
10
Count for row 1, column 2
20
Count for row 2, column 1
30
Count for row 2, column 2
40
Di chi-square statistic
0.793650793651
Di degrees of freedom
1
p-value
0.372998483613
Di smallest expected count
12

Where e fit work and limits

Chi-square approximation fit no reliable when expected counts small. E no apply Yates correction.

We check inputs for missing values and allowed ranges. Result wey pass the finite numeric range no go show. Rounding affect wetin display, while calculation use the model numeric precision.

Check your units and assumptions before you rely on result. Changing label no convert currency or physical unit.

Version of di formula: f41d8fc00392 · Example don get check:

Method

Other tools wey relate to dis