Question: what is the difference between a chi square test of homogeneity and independence?
Answer: both use the same testing statistics. However they are different from each other. Test for independence is concerned with whether one attribute is independent of the other and involves a single sample from the population. On the other hand, test of homogeneity tests whether different samples come from same population.