Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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)
- 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.
- Examine and describe the QQ plot and residuals vs. fitted plot from the model used on part (a).
- Use the LarkOwl variable to test whether being an early riser affects a student's GPA after controlling for cognition and alcohol consumption.
- 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started