9.39 Sexual harassment online or in person. In the study described in Exercise 9.25, the students were also asked whether or not they were harassed in person and whether or not they were harassed online. Here are the data for the girls:

Harassed online
Harassed in personYesNo
Yes321200
No40441
  1. (a) Analyze these data using the method presented in Chapter 8 for comparing two proportions (p. 512).

  2. (b) Analyze these data using the method presented in this chapter for examining a relationship between two categorical variables in a table.

  3. (c) Use this example to explain the relationship between the chi-square test and the test for comparing two proportions.

  4. (d) The number of girls reported in this exercise is not the same as the number reported for Exercise 9.25. Suggest a possible reason for this difference.