Answered step by step
Verified Expert Solution
Link Copied!
Question
1 Approved Answer

Please upload a pdf file that includes the R scripts, abbreviated outputs and answers / explanations to the questions. In this problem we will perform

Please upload a pdf file that includes the R scripts, abbreviated outputs and
answers/explanations to the questions.
In this problem we will perform multiple regression on the Boston housing data. The
data contains 506 records with 14 variables. The variable medv is the response variable.
To assess the data use
library(MASS)
data(Boston)
(a) First perform a multiple regression with all the variables, what can you say about
the significance of the variables based on only the p-values. Next use the "step"
function to perform backward selection using (1) the AIC criteria and (2) the BIC
criteria then compare the results. (By default the step function in R performs
variable selection based on AIC criteria. Read the documentation to find out how
to do the selection using BIC criteria. )
(b) Now make a histogram of the response variable (use hist()) to see if it is skewed.
Using medv
image text in transcribed

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

Inductive Databases And Constraint Based Data Mining

Authors: Saso Dzeroski ,Bart Goethals ,Pance Panov

2010th Edition

1489982175, 978-1489982179

More Books

Students explore these related Databases questions