Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Multiple linear regression Help using R creating a linear regression to model how the number of calories in one portion of cereal depends on various
Multiple linear regression
Help using R creating a linear regression to model how the number of calories in one portion of cereal depends on various variables. The data set for the regression isUScerealfrom the packageMASS. To access the data set, load the packageMASSand simply typeUScerealin the console.
you can get the data from:
> library(MASS)
> data = UScereal
Model: calories=0+1protein+2fat+3fibre+4carbo+5sugars+.
help answer 1-3:
- Using thesummaryoutput as well as the diagnostic plots, explain what potential problems with this model are and how they might affect the model (list at least three potential problems and how they might affect the model).
The possible problems are:
- correlation of error terms,
- homoskedasticity,
- outliers,
- high leverage points,
- collinearity.
choose at least 3 of them that potentially become problems in this model.
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