what are two requirements that must be satisfied to perform a chi-square test (such as the test of homogeneity, the goodness-of-fit test, and the test of independence of proportions)?