There is strong evidence of a relationship between gender and color preference. Use software to access the student survey data and carry out a chi-square test for a relationship; refer to the observed and expected counts, along with the size of the terms of the chi-square statistic, in order to answer the following:
a. Explain why there are 7 degrees of freedom in the chi-square test.
b. Which two colors in particular contribute to making the chi-square statistic large because these colors are preferred significantly more often by males than by females?
c. Which two colors in particular contribute to making the chi-square statistic large because these colors are preferred significantly more often by females than by males?