Given: x1= 80 , n1=150,
x2= 30, n2=100
Step1: state the hypothesis
H0:
H1:
Step2: Name of the test:
2 sample proportion test
Step 3: test statistic:
Test statistic is calculated as follows:
=3.641
Step 4: P value Using z table : We get a z-score of 3.641. Because this is a two-sided test, it is not enough to just look at the right tail. We also have to look at the equivalent of the left tail, or a -3.641. that is P(Z<-3.641)+P(Z>=3.641)=0.000136+0.000136=0.000272=0.0003
Step 5: conclusion: since P value is less than alpha , null hypothesis is rejected.
Hence,there is enough evidence to claim that there is difference between proportions of people suffer from the disease in two communities.
Comments