Figure 3.14: A chi-square test is used to determine the probability that the difference between observed and expected values is due to chance.