Chi-square tests are particularly useful when dealing with categorical data. For example, in epidemiology, this could include data on disease status (e.g., presence or absence of a disease) and exposure status (e.g., exposed or not exposed to a risk factor). The test is suitable for:
1. Examining the relationship between two categorical variables. 2. Testing the independence of variables in a contingency table. 3. Assessing the goodness-of-fit of a model to observed data.