Question: Problem 7 In this problem, we want to know whether the students in STAT 3011 sleep more during the weekend than during the week. Zzz.week:


Problem 7 In this problem, we want to know whether the students in STAT 3011 sleep more during the weekend than during the week. Zzz.week: no of hours sleeping per night during the week Zzz.weekend: no of hours sleeping per night during the weekend Let muD denote the difference between the true population mean numbers of hours sleeping per night during the weekend and that during the week (weekend-week) for the students. a. Use any appropriate plot to check whether the normality assumption required for the hypothesis test is met. b. Regardless of your answer to (a), let's suppose that the required assumptions have been met. Test whether the students spent more time sleeping per night during the weekend than during the week. You only need to show your R code and output
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
