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".
CS 340 Milestone One Guidelines and Rubric Overview: For this assignment, you will implement the fundamental operations of create, read, update,
Retail Transaction Programming Project Project Requirements: Develop a program to emulate a purchase transaction at a retail store. This
7COM1028 Secure Systems Programming Referral Coursework: Secure
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
CS 340 Final Project Guidelines and Rubric Overview The final project will encompass developing a web service using a software stack and impleme