The null and alternative hypotheses for a hypothesis test of the difference in two population means are: Null Hypothesis:mu 1 equals mu 2 Alternative Hypothesis: mu 1 is less than mu 2 Notice that the alternative hypothesis is a one-tailed test. Suppose ttest_ind method from scipy module is used to perform the test and the output is (3.25, 0.0043). What is the P-value for this hypothesis test

Respuesta :

Answer:

the P-value for this hypothesis test is 0.00215

Step-by-step explanation:

Given that;

Null Hypothesis: mu1 = mu2

Alternative Hypothesis: mu1 <  mu2

Notice that the alternative hypothesis is a one-tailed test

Now, when when a one-tailed alternative hypothesis is used, To obtain a one-tailed alternative probability value i.e p-value, we divide the result by two (2).

so, given output ( z=3.25, p[tex]_{value}[/tex]=0.0043)

since its one-tailed test

P-value for this hypothesis test = 0.0043 / 2 = 0.00215

Therefore, the P-value for this hypothesis test is 0.00215