Test if two categorical variables are independent in a bivariate population represented by the sample.