Question: Question 7 (20 pts) For this problem use the SleepStudy data set that is part of the Lock5withR package. See page 63-64 for descriptions of

Question 7 (20 pts) For this problem use the SleepStudy data set that is part of the Lock5withR package. See page 63-64 for descriptions of the variables:https://cran.r-project.org/web/packages/Lock5withR/Lock5withR.pdf. Alternatively, you can use help(SleepStudy)

  1. State and test a hypothesis about the impact of having an early class on a student's happiness after controlling for depression, anxiety and stress.
  2. Examine and describe the QQ plot and residuals vs. fitted plot from the model used on part (a).

  1. Use the LarkOwl variable to test whether being an early riser affects a student's GPA after controlling for cognition and alcohol consumption.

  1. Use the above model to predict the GPA of an early riser with exactly average cognition and drinks 8 drinks a week.

One variable not accounted for in this model is the number of hours students spent studying. Do you think the above prediction would be accurate for a student who studies much more than the average student? Explain

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!