Answered step by step
Verified Expert Solution
Link Copied!
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)

image text in transcribed

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 conclusions

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

Intelligent Information And Database Systems Asian Conference Aciids 2012 Kaohsiung Taiwan March 2012 Proceedings Part 2 Lnai 7197

Authors: Jeng-Shyang Pan ,Shyi-Ming Chen ,Ngoc-Thanh Nguyen

2012th Edition

3642284892, 978-3642284892

More Books

Students explore these related Databases questions

Question

What is NoInformation rate?

Answered: 3 weeks ago

Question

What is topology? Explain with examples

Answered: 3 weeks ago