Consider the hypothesis test below. H0:p1p20 Ha:p1p2>0

The following results are for independent samples taken from the two populations.

Sample 1n1=100p1=0.28

Sample 2n2=300p2=0.16

Use pooled estimator of p.

a) what is the p-value?

b) with α=0.05 what is your hypothesis testing conclusion?

Answer:

The null and alternative hypothesis,

H0:p1p20 Ha:p1p2>0

The singnificance level, 𝛼=0.05

Sample 1:

The sample proportion, p1=0.28

The sample size, n1=100

Sample 2:

The sample proportion, p2=0.16

The sample size, n2=300

The pooled estimator of the population proportion can be calculated as,

p=p1n1+p2n2n1+n2 =(0.28×100)+(0.16×300)100+300 =28+48400 p=0.19

(a) The test statistic can be calcualted as,

z=p1p2p(1p)×(1n1+1n2) =0.280.160.19(10.19)(1100+1300) =0.120.0453 z2.649

The p-value can be obtained as,

p-value=P(z>2.649)=1P(z<2.649)=10.995963480.0040

(b)

Decision rule: Reject the null hypothesis, if p-value<α

As the p-value is less than the significance level of 0.05, we reject the null hypothesis.

Decision: Reject the null hypothesis

Conclusion: With α=0.05, the hypothesis test conclude the difference between the population proportions is greater than 0

adbhutah
adbhutah

adbhutah.com

Articles: 1281