In: Statistics and Probability
Med Student Sleep Average (Raw Data, Software
Required):
Here we consider a small study on the sleep habits of med students
and non-med students. The study consists of the hours of sleep per
night obtained from 30 non-med students and 25 med students. The
sample data is given in the table below. Test the claim that, on
average, the mean hours of sleep for all med students is different
from that for non-med students. Test this claim at the 0.05
significance level.
(a) The claim states there is a difference between population means (μ1 − μ2 ≠ 0). What type of test is this? This is a right-tailed test. This is a left-tailed test. This is a two-tailed test. (b) Use software to calculate the test statistic. Do not 'pool' the variance. This means you do not assume equal variances. Round your answer to 2 decimal places. t = (c) Use software to get the P-value of the test statistic. Round to 4 decimal places. P-value = (d) What is the conclusion regarding the null hypothesis? reject H0 fail to reject H0 (e) Choose the appropriate concluding statement. The data supports the claim that, on average, the mean hours of sleep for all med students is different from that for non-med students. There is not enough data to support the claim that, on average, the mean hours of sleep for all med students is different from that for non-med students. We reject the claim that, on average, the mean hours of sleep for all med students is different from that for non-med students. We have proven that, on average, the mean hours of sleep for all med students is different from that for non-med students. |
|
Here we have data:
Non-Med (X1) | Med (x2) |
6.3 | 6 |
8.7 | 8.4 |
5 | 4.6 |
5.1 | 4.7 |
4 | 3.7 |
6.3 | 5.9 |
6.8 | 6.5 |
7.9 | 7.4 |
6.7 | 6.3 |
5.1 | 4.6 |
5.2 | 4.9 |
4.8 | 4.4 |
5.7 | 5.4 |
6.5 | 6.1 |
4.6 | 4.2 |
8 | 7.6 |
3.1 | 2.7 |
6.1 | 5.7 |
4.8 | 4.3 |
5.7 | 5.3 |
7.1 | 6.8 |
7.7 | 7.4 |
5.8 | 5.3 |
5.9 | 5.4 |
7.8 | 7.3 |
6.8 | |
9.4 | |
9.5 | |
7.8 | |
6.3 |
Here we are using excel for calculation:
t-Test: Two-Sample Assuming Unequal Variances | ||
Non-Med (X1) | Med (x2) | |
Mean | 6.350 | 5.636 |
Variance | 2.367 | 1.879 |
Observations | 30 | 25 |
Hypothesized Mean Difference | 0 | |
df | 53 | |
t Stat | 1.82 | |
P(T<=t) two-tail | 0.0746 | |
t Critical two-tail | 2.006 |
a) Two tailed test
b) Test statistics:
t = 1.82
c) P-value = 0.0746
d) Fail to reject H0.
e) There is not enough data to support the claim that, on average, the mean hours of sleep for all med students is different from that for non-med students.