logo Hurry, Grab up to 30% discount on the entire course
Order Now logo
572 Times Downloaded

Ask This Question To Be Solved By Our ExpertsGet A+ Grade Solution Guaranteed

expert
StatAnalytica ExpertBusiness
(5/5)

514 Answers

Hire Me
expert
Bill BattershillPhilosophy
(5/5)

873 Answers

Hire Me
expert
William DewarrEngineering
(5/5)

651 Answers

Hire Me
expert
Kathleen HaslamResume writing
(4/5)

930 Answers

Hire Me
R Programming
(5/5)

Build a logistic regression model, and use all given independent variables to predict the probability

INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS

In "T2DRecords.csv" data above, five independent variables are used to predict the probability that a patient has type 2 diabetes. The independents are:

 

BodyWeight: Each patient's body weight reported in the survey.

GymVisits: Each patient's number of visits to gyms every week. 

State: In which state each patient is current residing in. The assumption is certain local diet may increase the risk of getting type 2 diabetes.

SurgarIntake: The average amount of sugar each patient takes every week.

ChLevel: Each patient's cholesterol level measured in this survey.

The dependent variable in this data set is T2D with 1 indicating a patient has type 2 diabetes and 0 indicating a patient does not have type 2 diabetes.

 

Questions:

1. Build a logistic regression model, and use all given independent variables to predict the probability that a patient has type 2 diabetes. In your assignment submission, please make a screen capture of your analysis results. Please indicate which independent variables are significant, and the practical implications if they are significant. 

 

2. Build a decision tree model, and use all given independent variables to predict the probability that a patient has type 2 diabetes. In your assignment submission, please make a screen capture of your analysis results. Also, create a decision tree diagram to visualize your analysis. 

Please save the screenshot of the analysis results and your interpretations of the results into a Word document, and name it as "MyAssignment2".

 

 

(5/5)
Attachments:

Expert's Answer

572 Times Downloaded

Related Questions

. The fundamental operations of create, read, update, and delete (CRUD) in either Python or Java

CS 340 Milestone One Guidelines and Rubric  Overview: For this assignment, you will implement the fundamental operations of create, read, update,

. Develop a program to emulate a purchase transaction at a retail store. This  program will have two classes, a LineItem class and a Transaction class

Retail Transaction Programming Project  Project Requirements:  Develop a program to emulate a purchase transaction at a retail store. This

. The following program contains five errors. Identify the errors and fix them

7COM1028   Secure Systems Programming   Referral Coursework: Secure

. Accepts the following from a user: Item Name Item Quantity Item Price Allows the user to create a file to store the sales receipt contents

Create a GUI program that:Accepts the following from a user:Item NameItem QuantityItem PriceAllows the user to create a file to store the sales receip

. The final project will encompass developing a web service using a software stack and implementing an industry-standard interface. Regardless of whether you choose to pursue application development goals as a pure developer or as a software engineer

CS 340 Final Project Guidelines and Rubric  Overview The final project will encompass developing a web service using a software stack and impleme