Step-by-step explanation:
1.
the null hypothesis:
H0: u = 8 hours ( new Yorkers sleep for 8 hours)
The alternate hypothesis;
H1: u ≠ 8 hours ( new Yorkers sleep less than 8 hours)
b.
test statistic
t = (barX - u)/s/√n
= 7.73-8/0.77/√25
= -1.7532
degree of freedom = n-1
= 25-1 = 24
c.
p(value)
= p(t < -1.7532)
= 0.046
obviously we can see that the p value is less than 0.05 alpha level so we reject the null hypothesis.
d
The data gives strong evidence that new Yorkers sleep less than 8 hours on average every night.
e.
at 90% level of confidence
we have
7.73-0.26334, 7.73+0.26334
= 7.466, 7.993
please check attachment
thank you!