Conducting a Chi-square test