Definition

The hypothesis test for a contingency table is used to determine if there’s a significant association between two categorical variables

Consider a Contingency Table

DeadAlive
Population 1
Population 2
i.e. and

We want to test . Let , , , and

Uncorrelated Chi-squared Test

The test statistic is defined as

We reject if

Yates’ Corrected Chi-squared Test

The test statistic is defined as

We reject if

Fisher’s Exact Test

The test statistic is defined as where ,

We reject if

Corrected Chi-squared Test

The test statistic is defined as

We reject if

Liddell’s Exact Test

The test statistic is defined as

We reject if

Exact Unconditional Test

The test statistic is defined as where

We reject if

Approximate Unconditional Test

The test statistic is defined as where

We reject if