Notice that the alternative hypothesis is a two-tailed test. Suppose ttest_ind method from scipy module is used to perform the test and the output is (-1.99, 0.0512). What is the P-value for this hypothesis test

Respuesta :

Answer:

The p-value of the test is 0.0512.

Step-by-step explanation:

The p-value of a test is well-defined as per the probability, [under the null hypothesis (H₀)], of attaining a result equivalent to or more extreme than what was the truly observed value of the test statistic.

In this case the output of the t-test_ind method from scipy module is provided as follows:

Output = (-1.99, 0.0512)

The first value within the parentheses is the test statistic value.

So the test statistic value is, -1.99.

And the second value within the parentheses is the p-value of the test.

So the p-value of the test is 0.0512.

Q&A Education