According to a survey, 7 out of 100 children have food allergies. We want to test the claim that more than 4% of children have food allergies, using a significance level 0.05
Solution :
This is the right tailed test .
The null and alternative hypothesis is
H0 : p =0.04
Ha : p >0.04
= x / n = 7/100=0.07
P0 = 0.04
1 - P0 = 1-0.04=0.96
Test statistic = z
= - P0 / [P0 * (1 - P0 ) / n]
= 0.07-0.06/ [(0.04*0.96) /100 ]
Z= 0.51
P(z >0.51 ) = 1 - P(z < 0.51) = 1-0.695=0.305
P-value = 0.305
= 0.05
P-value >
do not Reject the null hypothesis .
There is no sufficient evidence to suggest that
Get Answers For Free
Most questions answered within 1 hours.