SOLUTION: Please help me with this, I am confused what to take null and alternative hypothesis. A drug company is interested in the effectiveness of a new sleeping pill. A random sample of

Algebra ->  Probability-and-statistics -> SOLUTION: Please help me with this, I am confused what to take null and alternative hypothesis. A drug company is interested in the effectiveness of a new sleeping pill. A random sample of       Log On


   



Question 1083194: Please help me with this, I am confused what to take null and alternative hypothesis.
A drug company is interested in the effectiveness of a new sleeping pill. A random sample of 50 people try the new sleeping pill and the number of additional hours of sleep (compared with the nights without any sleeping pill), X, are recorded. The sample mean of additional hours of sleep is 2.2 hours and the sample standard deviation of X is 3 hours.
Test the claim that the new drug increases the number of hours of sleep at least by 2 hours on average at the 5% level of significance.

Answer by rothauserc(4718) About Me  (Show Source):
You can put this solution on YOUR website!
Ho: X = 2
H1: X < 2
:
This is a one-tailed test
:
standard error(SE) = 3/square root(50) = 0.42
:
since we do not know the standard deviation of the population, we use the t-statistic
:
degrees of freedom(df) = 50 -1 = 49
:
t-statistic = (2.2 - 2) / 0.42 = 0.48
:
use the t-tables to find probability(P)
:
P ( X > 0.48) = 0.32 (p-value)
:
since our p-value is > 0.05, we accept the Ho hypothesis