H0: The two variables are independent.
HA: The two variables are dependent.
T.S.
where expected value,
has (r-1)(c-1) df, where
r = number of rows
c = number of columns
P-value =