Question: #Use the Rcode below to perform forward, backward, and bi-directional stepwise #regression using the pima data set. Provide a paragraph summarizing the results. #Multiple Logistic

 #Use the Rcode below to perform forward, backward, and bi-directional stepwise

#Use the Rcode below to perform forward, backward, and bi-directional stepwise #regression using the pima data set. Provide a paragraph summarizing the results. #Multiple Logistic Regression in R library(faraway) library(StepReg) logistic = glm(test ~ age + bmi + diastolic + diabetes + glucose + insulin + pregnant + triceps, family=binomial(logit),data=pima) summary(logistic) anova(logistic) y = "test" stepwiselogit(data=pima,y, exclude = NULL, include = NULL, selection = "forward", select = "AIC", sle = 0.15, sls = 0.15) stepwiselogit(data=pima,y, exclude = NULL, include = NULL, selection = "backward", select = "AIC", sle = 0.15, sls = 0.15) stepwiselogit(data=pima,y, exclude = NULL, include = NULL, selection = "bidirection", select = "AIC", sle = 0.15, sls = 0.15)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!