134k views
0 votes
The director of research and development is testing a new medicine. She wants to know if there is evidence at the 0.02 level that the medicine relieves pain in more than 384 seconds. For a sample of 41 patients, the mean time in which the medicine relieved pain was 387 seconds. Assume the population standard deviation is 23. Find the P-value of the test statistic.

User Pozs
by
7.2k points

1 Answer

3 votes

Answer:

The p-value of the test statistic is 0.2019.

Explanation:

Test if there is evidence at the 0.02 level that the medicine relieves pain in more than 384 seconds.

At the null hypothesis, we test if it relieves pain in at most 384 seconds, that is:


H_0: \mu \leq 384

At the alternative hypothesis, we test if it relieves pain in more than 384 seconds, that is:


H_1: \mu > 384

The test statistic is:


z = (X - \mu)/((\sigma)/(√(n)))

In which X is the sample mean,
\mu is the value tested at the null hypothesis,
\sigma is the standard deviation and n is the size of the sample.

384 is tested at the null hypothesis:

This means that
\mu = 384

For a sample of 41 patients, the mean time in which the medicine relieved pain was 387 seconds. Assume the population standard deviation is 23.

This means that
n = 41, X = 387, \sigma = 23

Value of the test statistic:


z = (X - \mu)/((\sigma)/(√(n)))


z = (387 - 384)/((23)/(√(41)))


z = 0.835

P-value of the test:

The p-value of the test is the probability of finding a sample mean above 387, which is 1 subtracted by the p-value of z = 0.835.

Looking at the z-table, z = 0.835 has a p-value of 0.7981.

1 - 0.7981 = 0.2019

The p-value of the test statistic is 0.2019.

User Dpoetzsch
by
7.8k points