Does whether or not a person has ears pierced tell us something about whether the person wears contacts, glasses, or neither?
a. Use software to access the student survey data, and carry out a chi-square test for a relationship between the two variables; report the chi-square statistic.
b. Report the P-value, which provides evidence that the variables are related.
c. Which sampled group has a higher proportion wearing glasses: those who do or those who do not have ears pierced?
d. Explain why gender is a possible confounding variable in the relationship between pierced ears and eyewear.
e. Use software to separate data on ears pierced and eyewear for males and females. Report the P-value for females.
f. State whether or not there is evidence that for females, having ears pierced or not is related to eyewear.
g. Report the P-value for males.
h. State whether or not there is evidence that for males, having ears pierced or not is related to eyewear.