Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Fit a linear regression model to the Boston housing price data using medv as outcome variable and all the rest of variables as predictors. 1.
Fit a linear regression model to the Boston housing price data using medv as outcome variable and all the rest of variables as predictors. 1. Find the covariate which has the smallest p-value. Print the covariate name. 2. What is the 99% confidence inverval for this variable? (Hint, for the smallest p-value, there is only one variable which has the smallest p- value) 3. Is there any collinearity issue with the model? Library (MASS) head (Boston) ### Code here, 1, print variable name. 2. find 95% CI for that variable
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered 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