7. The Pew Research Center's Internet Project offers scholars access to raw data sets from their research.
One of the Pew Research Center's projects was on teenagers and technology. A random sample of American families was selected to complete a questionnaire. For each of their children, between and including the ages of 13 and 15, parents of these families were asked:
Do you know your child's password for any of [his/her] social media accounts?
Responses to this question were received from 493 families. The table below provides a summary of their responses.
| Age (years) | Total |
| Parent know password | 13 | 14 | 15 | |
| Yes | 76 | 75 | 67 | 218 |
| No | 66 | 103 | 106 | 275 |
| Total | 142 | 178 | 173 | 493 |
- A test for significance is to be undertaken to see whether there is an association between whether a parent knows any of their child's social media passwords and the age of the child.
- Clearly state the null and alternative hypotheses.
- Obtain the expected value that is missing from the table below, indicating clearly how it is calculated from the data values given in the table above.
Expected values:
| Age (years) |
| \(\mathbf { 1 3 }\) | \(\mathbf { 1 4 }\) | \(\mathbf { 1 5 }\) |
| Yes | 62.79 | 78.71 | 76.50 |
| No | | 99.29 | 96.50 |
- Obtain the two chi-squared contributions that are missing from the table below.
Chi-squared contributions:
| Age (years) |
| \(\mathbf { 1 3 }\) | \(\mathbf { 1 4 }\) | \(\mathbf { 1 5 }\) |
| Yes | | 0.175 | 1.180 |
| No | 2.203 | | 0.935 |
The following output was obtained from the statistical package that was used to undertake the analysis:
$$\text { Pearson chi-squared } ( 2 ) = 7.409 \quad p \text {-value } = 0.0305$$ - Indicate how the degrees of freedom have been calculated for the chi-squared statistic.
- Interpret the output obtained from the statistical test in terms of the initial hypotheses.
- Comment on the nature of the association observed, based on the contributions to the test statistic calculated in (a).