57.3k views
0 votes
Conduct a test at the a=0.05 level of significance by determining (a) null and alternative hypothesis, (b) the test statistic, (c) the P-value. Assume the samples were obtained independently from a large population using simple random sampling. Test whether p1 > p2. The sample data are x1=117 n1=249 x2=141 n2=312

User Vinny Roe
by
7.6k points

1 Answer

5 votes

Answer:

Since p > alpha, we accept H0, there is no evidence to prove that p1 is greater than p2

Explanation:

Set up hypotheses as


H_0: p1 = p2\\H_a: p1>p2

(Right tailed t test)

Alpha = 0.05

Sample I II Total

X 117 141 248

N 249 312 561

p 0.4700 0.4519 0.4420

p difference = 0.0181

Std dev =
\sqrt{p(1-p)((1)/(n_1) +(1)/(n_2) )}

=0.0427

z statistic = 0.424

p value = 0.33724

Since p > alpha, we accept H0, there is no evidence to prove that p1 is greater than p2

User Damon Baker
by
6.8k points
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.