Answered step by step
Verified Expert Solution
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 scripts, abbreviated outputs and
answersexplanations to the questions.
In this problem we will perform multiple regression on the Boston housing data. The
data contains records with variables. The variable medv is the response variable.
To assess the data use
libraryMASS
dataBoston
a First perform a multiple regression with all the variables, what can you say about
the significance of the variables based on only the pvalues. Next use the "step"
function to perform backward selection using the AIC criteria and the BIC
criteria then compare the results. By default the step function in 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
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