A chi-square test for homogeneity applies to:
◦
data from a single random sample where two variables are recorded on each sample.
◦
data from samples from two or more populations where each sample is classified by values of a single categorical variable.
◦
data from a single random sample where three or more variables are recorded on each sample.
◦
data from samples from two or more populations where each sample is classified by values of two categorical variables.