Answered step by step
Verified Expert Solution
Question
1 Approved Answer
plz use R to help me! You will need to use R. First install the package mlbench install.packages (mibench} then call in the library library(mibench)
plz use R to help me!
You will need to use R. First install the package mlbench install.packages ("mibench"} then call in the library library(mibench) You will use the dataset "Boston Housing" Load the data: data(Boston Housing) use the question mark to see the description ? Boston Housing a) Build a linear regression model to fit all variables as predictors and "medy" as the response variable. Report the coefficients and p-values. State your conclusions. b) Use forward selection procedure to build a regression model. State the final estimated model. c) Use backward selection procedure to build a regression model. State the final estimated model. d) Fit "medy" as response and only age as predictor in a nonparametric regression model. Plot the graph of the data points and the estimated regression curve. e) Create a dummy (0 or 1) variable/column that corresponds to medv> 30. That is, your variable should be 1 if the medv of that tract is larger than 30 and 0 otherwise. Fit a logistic regression with this dummy variable as the response variable and use all predictors. Report the estimated coefficients and p-values for each of them. State your conclusions. You will need to use R. First install the package mlbench install.packages ("mibench"} then call in the library library(mibench) You will use the dataset "Boston Housing" Load the data: data(Boston Housing) use the question mark to see the description ? Boston Housing a) Build a linear regression model to fit all variables as predictors and "medy" as the response variable. Report the coefficients and p-values. State your conclusions. b) Use forward selection procedure to build a regression model. State the final estimated model. c) Use backward selection procedure to build a regression model. State the final estimated model. d) Fit "medy" as response and only age as predictor in a nonparametric regression model. Plot the graph of the data points and the estimated regression curve. e) Create a dummy (0 or 1) variable/column that corresponds to medv> 30. That is, your variable should be 1 if the medv of that tract is larger than 30 and 0 otherwise. Fit a logistic regression with this dummy variable as the response variable and use all predictors. Report the estimated coefficients and p-values for each of them. State your conclusionsStep 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