Say if the chi-square goodness of fit, a chi-square test of homogeneity, a chi-square test of independence, or a different test should be used.

a)Is the quality of a car affected by what day it was built? A car manufacturer examines a random sample of the warranty claims filed over the past 2 years to test whether defects are randomly distributed across days of the work week.

b)A medical researcher wants to know if BCL level is related to heart disease. She examines a database of 10,000 people, testing whether the cholestoral level is related to whether a person has heart disease or not.