Chi-square tests for homogeneity and association

Agent Smith

Full Member
Joined
Oct 18, 2023
Messages
322
How do we know a chi-square test is for homogeneity or association (dependence/independence)?

In my lessons, it says that a chi-square test for homogeneity is done with [imath]2[/imath] samples while a chi-square test for association is done with [imath]1[/imath] sample.

Example questions:
1. Test for association: A sample of 500 people are taken and the number of left-handed and right-handed men and women are counted.
2. Test for homogeneity. Two samples, one of trucks and the other of sedans are taken and we count how many of each colored (blue, green, red) vehicle (sedans & trucks) are there.

How do I tell the difference between the two?
 
Top