Answered step by step
Verified Expert Solution
Link Copied!

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+.

Please help on these 2 numbers:

  1. Identify three largest outliers (in absolute value) of this model.
  2. Remove the three largest outliers (in absolute value) of this model and run the same multiple linear regression. Using thesummaryoutput as well as the diagnostic plots, explain how the removal of the three largest outliers improves the model (list at least four improvements).

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

An Introduction to Analysis

Authors: William R. Wade

4th edition

132296381, 978-0132296380

More Books

Students also viewed these Mathematics questions