How to use the Chi-Square Test for analyzing data