The null and alternative hypotheses for a hypothesis test of the difference in two population means are: Alternative Hypothesis: p1 > p2 Null Hypothesis: Hi = uz Notice that the alternative hypothesis is a one-tailed test. Suppose proportions_ztest method from statsmodels is used to perform the test and the output is (3.25, 0.o43).
What is the P-value for this hypothesis test?
A. 0.00215
B. 0.0043
C. 3.25
D. -3.25

Respuesta :

Answer:

B. 0.0043

Step-by-step explanation:

The null and alternative hypothesis of this one-tailed test are:

[tex]H_0: p_1-p_2=0\\\\H_a:p_1-p_2> 0[/tex]

The output of proportions_ztest method from statsmodels is a size-2 vector with the value of the test statistic and the P-value.

Then, if the output is (3.25, 0.0043), the P-value for this one-tailed test is 0.0043.