00:01
To test the claim that the percentages are equal, you will use a chi -square goodness -of -fit test.
00:07
The null hypothesis is that the observed frequencies in each category, which is accidental deaths, homicides, and suicides, do not differ significantly from the expected frequencies based on the distribution of firearm deaths for people aged 1 to 18 years.
00:23
The expected frequencies for each category would be the following.
00:32
Accidental would be 0 .74 times 68 plus 27 plus 5, which is 74.
00:50
Homicides, which would be 0 .16 times 68 plus 27 plus 5, which would be 16.
01:11
And suicides, which would be 10.
01:23
The degrees of freedom for the chi -square test are k minus 1, where k is the number of categories, so that would be 3 minus 1 or 2.
01:38
And using a chi -square calculator or software, we can calculate the chi -square statistic.
01:45
It's the sum of the observed minus expected squared divided by the expected...