In: Statistics and Probability
Authors in the New England Journal of Medicine investigated a possible link between Zika virus and microcephaly (or other fetus developmental abnormalities) and researchers collected the following data from Rio de Janeiro state in Brazil (data from March 2016):
Baby with microcephaly |
Baby without microcephaly |
Row totals |
|
Pregnant mum with Zika |
12 |
30 |
42 |
Pregnant mum w/o Zika |
0 |
16 |
16 |
Column totals: |
12 |
46 |
58 |
Test for independence between maternal Zika virus infection and a baby’s microcephaly. Report here the test you are using, the p-value you get, and the conclusion you come to
Ho: Maternal Zika virus infection and a baby’s microcephaly are independent.
Ha: Maternal Zika virus infection and a baby’s microcephaly are not independent.
For this analysis, let the significance level be 0.05. Using sample data, we will conduct a chi-square test for independence.
Applying the chi-square test for independence to sample data, we compute the degrees of freedom, the expected frequency counts, and the chi-square test statistic. Based on the chi-square statistic and the degrees of freedom, we determine the P-value.
DF = (r - 1) * (c - 1) = (2 - 1) * (2 - 1) = 1 (r and c denotes the row and column).
Expected frequencies are,
Er,c = (nr * nc) / n
E1,1 = (42 * 12) / 58 = 8.689655
E1,2 = (42 * 46) / 58 = 33.31034
E2,1 = (16 * 12) / 58 = 3.310345
E2,2 = (16 * 46) / 58 = 12.68966
Chi-square test statistic,
Χ2 = Σ [ (Or,c -
Er,c)2 / Er,c ]
Χ2 = (12 - 8.689655)2/8.689655 + (30 -
33.31034)2/33.31034 + (0 -
3.310345)2/3.310345 + (16 -
12.68966)2/12.68966
= 5.764
P-value = P(Χ2 > 5.764, df = 1) = 0.0164
Since p-value is less than 0.05 significance level, we reject null hypothesis H0 and conclude that there is significant evidence that Maternal Zika virus infection and a baby’s microcephaly are not independent.