SlideShare a Scribd company logo
1 of 24
Download to read offline
Prediction of Diabetes in PIMA
Indian Women
Submitted By: Group-2
Aditya K/24
R Panneerselvam/16
Shreedhar Mani Tripathi/04
Vivek Dubey/23
Background
• This dataset is originally from the National Institute of Diabetes
and Digestive and Kidney Diseases in the USA.
• The objective of the dataset is to diagnostically predict whether or
not a woman patient has diabetes, based on certain diagnostic
measurements included in the dataset.
The key variables
• Pregnancies
• Glucose
• Blood Pressure
• Skin Thickness
• Insulin
• BMI
• Diabetes Pedigree Function
• Age
• Outcome
Number of times pregnant
Plasma glucose concentration a 2 hours in an
oral glucose tolerance test
Diastolic blood pressure (mm Hg)
Triceps skin fold thickness (mm)
2-Hour serum insulin (mu U/ml)
Body mass index (weight in kg/(height in m^2)
Diabetes pedigree function
Age (years)
Class variable (0 or 1)
Steps
• Data Visualization
• Data Preprocessing: Splitting of data set onto
three parts for training, validation and test.
• Logistic Regression
• Building a Model for diabetes prediction
• Validation of Regression Model
• Testing of Regression Model
• Conclusion
DATA VISUALIZATION
• The number of people by age have been shown in the following graph
DATA VISUALIZATION: Pregnancy
• The following graph shows how many pregnancies a woman
has in the sample data.
DATA VISUALIZATION: Pregnancy
• The maximum number of pregnancies that a woman had was 17 while
the minimum was 0 and the Mean is 3.845 and Median is 3 Pregnancy
per woman.
0
1
3
3.845
6
17
0
2
4
6
8
10
12
14
16
18
Min 1st Qu Median Mean 3rd Qu Max.
No of Pregnency
DATA VISUALIZATION: Glucose
• The maximum Glucose a Pima Indian woman had was 199 mg/dL and
mean Glucose level is 120.9 mg/dL with Median of 117 mg/dL.
99
117 120.9
140.2
199
0
50
100
150
200
250
1st Qu Median Mean 3rd Qu Max.
Glucose
DATA VISUALIZATION: BP
• The maximum BP a Pima Indian woman had was 122mmHg and Mean
BP is 69.11mmHg with Median of 72 mmHg
62
72
69.11
80
122
0
20
40
60
80
100
120
140
1st Qu Median Mean 3rd Qu Max.
Blood Pressure
DATA VISUALIZATION: Skin Thickness
• The maximum Skin thickness a Pima Indian woman had was 99and Mean
Skin thickness is 20.54with Median of 23
23
20.54
32
99
0
20
40
60
80
100
120
Median Mean 3rd Qu Max.
Skin Thickness
DATA VISUALIZATION: Insulin
• The maximum Insulin a Pima Indian woman had was 846 and mean
Insulin is 79.8 with Median of 30.5
30.5
79.8
127.2
846
0
100
200
300
400
500
600
700
800
900
Median Mean 3rd Qu Max.
Insulin
DATA VISUALIZATION: BMI
• The maximum BMI a Pima Indian woman had was 67.1 and mean BMI is
31.99 with Median of 32
27.3
32 31.99
36.6
67.1
0
10
20
30
40
50
60
70
80
1st Qu Median Mean 3rd Qu Max.
BMI
DATA VISUALIZATION: DPF
• The maximum Diabetes Pedigree Function a Pima Indian woman had
was 2.42 and mean Diabetes Pedigree Function is 0.4719 with Median of
0.3725
0.078
0.2437
0.3725
0.4719
0.6262
2.42
0
0.5
1
1.5
2
2.5
3
Min 1st Qu Median Mean 3rd Qu Max.
Diabetes Pedigree Function
DATA VISUALIZATION: Age
• The maximum Age a Pima Indian woman had was 81 years and mean
Age is 33.24 years with Median of 29years
21
24
29
33.24
41
81
0
10
20
30
40
50
60
70
80
90
Min 1st Qu Median Mean 3rd Qu Max.
Age
DATA VISUALIZATION
• Comparison of Mean of Independent variables of Pima Indian Women with and without
Diabetes: From the data it can be visualized that BP level, BMI, Glucose Insulin and Age are
higher for diabetic women as compared to women without diabetes. The findings are on
expected lines
0
20
40
60
80
100
120
140
160
Preg Glucose BP ST Insu. BMI D P F Age
Without Diabetes With Diabetes
Logistic Regression: Prediction of
Diabetes
• DATA PREPROCESSING: SPLITTING OF DATA:
• Before we proceed for the regression, we have divided the
data into three parts
• Training data set contains 70% of the total observations.
• Validation data set contains 20% of the total observations.
• Test data set contains 10% of the total observations
Removal of multicollinearity from the
training data set
• Maximum VIF is 1.6413 for insulin
• The complete data of the vif is shown in the
excel sheet
Removal of unusual observation
• As we can see from the above plot that that the maximum cooks distance = 0.084,
corresponding to the observation 229 in the original data and 385 in the training data set
that wasidentified by using R command “which.max(cooks.distance(dbmodel))”. Therefore,
we need not remove any observation.
• The model is tested using the HL test and was found to be fit.
• Two variables skin thickness and insulin were found to have
high P values. 0.482913 and 0.211439 respectively.
• They were removed one by one ensuring the fitness of model
using HL test after each removal. First insulin was removed
and then skin thickness.
• The model built has all the variables except insulin and the
skin thickness.
• X-squared = 7.3947, df = 8, p-value = 0.4947. therefore model
is significant.
• P=e^[(-8.090 + 0.107*(Pregnancies)+ .0333*
(Glucose)- 0.018 * (Blood
Pressure)+0.087*(BMI)+1.121 * (Diabetes Pedigree
Function) +0.024174*(Age)) ]/(1+e^((=-8.090237 +
0.106572*(Pregnancies)+ .033287 * (Glucose)-
0.018501 * (Blood Pressure)+0.087*(BMI)+1.121 *
(Diabetes Pedigree Function) +0.024174*(Age)) ) )
Validation data
• The (estimate-3*SE) and (estimate+3*SE)
overlap in both training data and testing data.
• X-squared = 4.688, df = 8, p-value = 0.7903
• Therefore the model is validated.
• We have calculated the threshold value in
excel and decided it at 0.3.
Testing data
• The same threshold value is used on the
testing data and the results are almost same
as in validation data. Therefore the model is
also tested.
conclusion
• The variables that are contributing in the prediction of
diabetes in a Pima Indian woman are
1. Number of Pregnancies,
2. Glucose,
3. Blood Pressure,
4. BMI,
5. Diabetes Pedigree function
6. Age.
• Insulin and skin thickness were not contributing in the
prediction of diabetes in Pima Indian women.
• Blood pressure is negatively impacting the model
prediction.

More Related Content

What's hot

Esp8266 NodeMCU
Esp8266 NodeMCUEsp8266 NodeMCU
Esp8266 NodeMCUroadster43
 
Operating System Lab Project
Operating System Lab Project Operating System Lab Project
Operating System Lab Project Abdullah Shion
 
IoT - Data Management Trends, Best Practices, & Use Cases
IoT - Data Management Trends, Best Practices, & Use CasesIoT - Data Management Trends, Best Practices, & Use Cases
IoT - Data Management Trends, Best Practices, & Use CasesCloudera, Inc.
 
Internet of things (io t)
Internet of things (io t)Internet of things (io t)
Internet of things (io t)Biniam Behailu
 
Intel Processors
Intel ProcessorsIntel Processors
Intel Processorshome
 
FINAL REPORT ON ENTERPRISE NETWORK
FINAL REPORT ON ENTERPRISE NETWORKFINAL REPORT ON ENTERPRISE NETWORK
FINAL REPORT ON ENTERPRISE NETWORKKulsumKhan13
 
Plaquette du logiciel ITSM Octopus (Format A4 France)
Plaquette du logiciel ITSM Octopus (Format A4 France) Plaquette du logiciel ITSM Octopus (Format A4 France)
Plaquette du logiciel ITSM Octopus (Format A4 France) Octopus-ITSM
 
Internet of things using Raspberry Pi
Internet of things using Raspberry PiInternet of things using Raspberry Pi
Internet of things using Raspberry PiYash Gajera
 
Humidity & Temperature monitoring using arduino
Humidity & Temperature monitoring using arduinoHumidity & Temperature monitoring using arduino
Humidity & Temperature monitoring using arduinoMuhammadJaved191
 
3.pillars of embedded io t and physical devices
3.pillars of embedded io t and physical devices3.pillars of embedded io t and physical devices
3.pillars of embedded io t and physical devicesRaghavendra Maggavi
 
IoT testing and quality assurance indicthreads
IoT testing and quality assurance indicthreadsIoT testing and quality assurance indicthreads
IoT testing and quality assurance indicthreadsIndicThreads
 
Real-time traffic sign detection and recognition using Raspberry Pi
Real-time traffic sign detection and recognition using Raspberry Pi Real-time traffic sign detection and recognition using Raspberry Pi
Real-time traffic sign detection and recognition using Raspberry Pi IJECEIAES
 
Why IoT needs Fog Computing ?
Why IoT needs Fog Computing ?Why IoT needs Fog Computing ?
Why IoT needs Fog Computing ?Ahmed Banafa
 
IoT with 5G-Network
IoT with 5G-NetworkIoT with 5G-Network
IoT with 5G-NetworkBelal Ashraf
 

What's hot (20)

Esp8266 NodeMCU
Esp8266 NodeMCUEsp8266 NodeMCU
Esp8266 NodeMCU
 
Operating System Lab Project
Operating System Lab Project Operating System Lab Project
Operating System Lab Project
 
IoT - Data Management Trends, Best Practices, & Use Cases
IoT - Data Management Trends, Best Practices, & Use CasesIoT - Data Management Trends, Best Practices, & Use Cases
IoT - Data Management Trends, Best Practices, & Use Cases
 
A survey in privacy and security in Internet of Things IOT
A survey in privacy and security in Internet of Things IOTA survey in privacy and security in Internet of Things IOT
A survey in privacy and security in Internet of Things IOT
 
Internet of things (io t)
Internet of things (io t)Internet of things (io t)
Internet of things (io t)
 
Intel Processors
Intel ProcessorsIntel Processors
Intel Processors
 
FINAL REPORT ON ENTERPRISE NETWORK
FINAL REPORT ON ENTERPRISE NETWORKFINAL REPORT ON ENTERPRISE NETWORK
FINAL REPORT ON ENTERPRISE NETWORK
 
Plaquette du logiciel ITSM Octopus (Format A4 France)
Plaquette du logiciel ITSM Octopus (Format A4 France) Plaquette du logiciel ITSM Octopus (Format A4 France)
Plaquette du logiciel ITSM Octopus (Format A4 France)
 
IoT Networking Part 2
IoT Networking Part 2IoT Networking Part 2
IoT Networking Part 2
 
Internet of things using Raspberry Pi
Internet of things using Raspberry PiInternet of things using Raspberry Pi
Internet of things using Raspberry Pi
 
Humidity & Temperature monitoring using arduino
Humidity & Temperature monitoring using arduinoHumidity & Temperature monitoring using arduino
Humidity & Temperature monitoring using arduino
 
3.pillars of embedded io t and physical devices
3.pillars of embedded io t and physical devices3.pillars of embedded io t and physical devices
3.pillars of embedded io t and physical devices
 
IoT testing and quality assurance indicthreads
IoT testing and quality assurance indicthreadsIoT testing and quality assurance indicthreads
IoT testing and quality assurance indicthreads
 
FOG COMPUTING
FOG COMPUTINGFOG COMPUTING
FOG COMPUTING
 
Real-time traffic sign detection and recognition using Raspberry Pi
Real-time traffic sign detection and recognition using Raspberry Pi Real-time traffic sign detection and recognition using Raspberry Pi
Real-time traffic sign detection and recognition using Raspberry Pi
 
Fog Computing
Fog ComputingFog Computing
Fog Computing
 
Seminar report Of Touchless Touchscreen
Seminar report Of Touchless TouchscreenSeminar report Of Touchless Touchscreen
Seminar report Of Touchless Touchscreen
 
Digital jewellery
Digital jewelleryDigital jewellery
Digital jewellery
 
Why IoT needs Fog Computing ?
Why IoT needs Fog Computing ?Why IoT needs Fog Computing ?
Why IoT needs Fog Computing ?
 
IoT with 5G-Network
IoT with 5G-NetworkIoT with 5G-Network
IoT with 5G-Network
 

Similar to Presentation on project group 2

NFMNT Chapter 7 Obtain Routine Nutrition Screening Data
NFMNT Chapter 7 Obtain Routine Nutrition Screening DataNFMNT Chapter 7 Obtain Routine Nutrition Screening Data
NFMNT Chapter 7 Obtain Routine Nutrition Screening DataKellyGCDET
 
Answering exam questions diabetes
Answering exam questions diabetesAnswering exam questions diabetes
Answering exam questions diabeteskarendbrooks
 
Redustim effect on visceral fat
Redustim effect on visceral fatRedustim effect on visceral fat
Redustim effect on visceral fatCOSMOSOFT SAS
 
mHealth Israel_Irit Hochberg_Rambam Hospital_ Decision Support System for Tre...
mHealth Israel_Irit Hochberg_Rambam Hospital_ Decision Support System for Tre...mHealth Israel_Irit Hochberg_Rambam Hospital_ Decision Support System for Tre...
mHealth Israel_Irit Hochberg_Rambam Hospital_ Decision Support System for Tre...Levi Shapiro
 
AMerfeld-Magellan Project
AMerfeld-Magellan ProjectAMerfeld-Magellan Project
AMerfeld-Magellan ProjectAmber Merfeld
 
رویدادآنلاین
رویدادآنلاینرویدادآنلاین
رویدادآنلاینAlireza Abbasi
 
Stacy A. Brethauer, Bariatric Surgery to Improve Cardiovascular Risk and Outc...
Stacy A. Brethauer, Bariatric Surgery to Improve Cardiovascular Risk and Outc...Stacy A. Brethauer, Bariatric Surgery to Improve Cardiovascular Risk and Outc...
Stacy A. Brethauer, Bariatric Surgery to Improve Cardiovascular Risk and Outc...Cleveland HeartLab, Inc.
 
Blood glucose levels and urinalysis in the three trimesters of pregnancy
Blood glucose levels and urinalysis in the three trimesters of pregnancyBlood glucose levels and urinalysis in the three trimesters of pregnancy
Blood glucose levels and urinalysis in the three trimesters of pregnancyPamelaOdurukwe
 
Intake of Black Vinegar on Anthropometric Measures, Cardiometabolic Profiles,...
Intake of Black Vinegar on Anthropometric Measures, Cardiometabolic Profiles,...Intake of Black Vinegar on Anthropometric Measures, Cardiometabolic Profiles,...
Intake of Black Vinegar on Anthropometric Measures, Cardiometabolic Profiles,...mahendrareddychirra
 
Continuous Glucose Monitoring for Diabetes, Obesity and Metabolism Research i...
Continuous Glucose Monitoring for Diabetes, Obesity and Metabolism Research i...Continuous Glucose Monitoring for Diabetes, Obesity and Metabolism Research i...
Continuous Glucose Monitoring for Diabetes, Obesity and Metabolism Research i...InsideScientific
 
Dr antuna de alaiz antuna-miami talk
Dr antuna de alaiz antuna-miami talkDr antuna de alaiz antuna-miami talk
Dr antuna de alaiz antuna-miami talkclinidiabet
 
11&12 Nutrition & Skin.pdf
11&12  Nutrition & Skin.pdf11&12  Nutrition & Skin.pdf
11&12 Nutrition & Skin.pdfSani191640
 
Inositol and PCOS - Seminar Presentation
Inositol and PCOS - Seminar PresentationInositol and PCOS - Seminar Presentation
Inositol and PCOS - Seminar PresentationWendy Thompson
 
Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)IJERD Editor
 
Socio-economic correlates with the prevalence and onset of diabetes in South ...
Socio-economic correlates with the prevalence and onset of diabetes in South ...Socio-economic correlates with the prevalence and onset of diabetes in South ...
Socio-economic correlates with the prevalence and onset of diabetes in South ...D'namic Matsebula
 

Similar to Presentation on project group 2 (20)

NFMNT Chapter 7 Obtain Routine Nutrition Screening Data
NFMNT Chapter 7 Obtain Routine Nutrition Screening DataNFMNT Chapter 7 Obtain Routine Nutrition Screening Data
NFMNT Chapter 7 Obtain Routine Nutrition Screening Data
 
Answering exam questions diabetes
Answering exam questions diabetesAnswering exam questions diabetes
Answering exam questions diabetes
 
Redustim effect on visceral fat
Redustim effect on visceral fatRedustim effect on visceral fat
Redustim effect on visceral fat
 
mHealth Israel_Irit Hochberg_Rambam Hospital_ Decision Support System for Tre...
mHealth Israel_Irit Hochberg_Rambam Hospital_ Decision Support System for Tre...mHealth Israel_Irit Hochberg_Rambam Hospital_ Decision Support System for Tre...
mHealth Israel_Irit Hochberg_Rambam Hospital_ Decision Support System for Tre...
 
AMerfeld-Magellan Project
AMerfeld-Magellan ProjectAMerfeld-Magellan Project
AMerfeld-Magellan Project
 
رویدادآنلاین
رویدادآنلاینرویدادآنلاین
رویدادآنلاین
 
Bassant
BassantBassant
Bassant
 
Stacy A. Brethauer, Bariatric Surgery to Improve Cardiovascular Risk and Outc...
Stacy A. Brethauer, Bariatric Surgery to Improve Cardiovascular Risk and Outc...Stacy A. Brethauer, Bariatric Surgery to Improve Cardiovascular Risk and Outc...
Stacy A. Brethauer, Bariatric Surgery to Improve Cardiovascular Risk and Outc...
 
Blood glucose levels and urinalysis in the three trimesters of pregnancy
Blood glucose levels and urinalysis in the three trimesters of pregnancyBlood glucose levels and urinalysis in the three trimesters of pregnancy
Blood glucose levels and urinalysis in the three trimesters of pregnancy
 
Intake of Black Vinegar on Anthropometric Measures, Cardiometabolic Profiles,...
Intake of Black Vinegar on Anthropometric Measures, Cardiometabolic Profiles,...Intake of Black Vinegar on Anthropometric Measures, Cardiometabolic Profiles,...
Intake of Black Vinegar on Anthropometric Measures, Cardiometabolic Profiles,...
 
Continuous Glucose Monitoring for Diabetes, Obesity and Metabolism Research i...
Continuous Glucose Monitoring for Diabetes, Obesity and Metabolism Research i...Continuous Glucose Monitoring for Diabetes, Obesity and Metabolism Research i...
Continuous Glucose Monitoring for Diabetes, Obesity and Metabolism Research i...
 
OBESITY.pptx
OBESITY.pptxOBESITY.pptx
OBESITY.pptx
 
Dr antuna de alaiz antuna-miami talk
Dr antuna de alaiz antuna-miami talkDr antuna de alaiz antuna-miami talk
Dr antuna de alaiz antuna-miami talk
 
11&12 Nutrition & Skin.pdf
11&12  Nutrition & Skin.pdf11&12  Nutrition & Skin.pdf
11&12 Nutrition & Skin.pdf
 
Inositol and PCOS - Seminar Presentation
Inositol and PCOS - Seminar PresentationInositol and PCOS - Seminar Presentation
Inositol and PCOS - Seminar Presentation
 
Assessment of Body Composition by Bioelectrical Impedance Analysis in Type 2 ...
Assessment of Body Composition by Bioelectrical Impedance Analysis in Type 2 ...Assessment of Body Composition by Bioelectrical Impedance Analysis in Type 2 ...
Assessment of Body Composition by Bioelectrical Impedance Analysis in Type 2 ...
 
Sugar Control in ICU
Sugar Control in ICUSugar Control in ICU
Sugar Control in ICU
 
Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)
 
Obesity surgery
Obesity surgeryObesity surgery
Obesity surgery
 
Socio-economic correlates with the prevalence and onset of diabetes in South ...
Socio-economic correlates with the prevalence and onset of diabetes in South ...Socio-economic correlates with the prevalence and onset of diabetes in South ...
Socio-economic correlates with the prevalence and onset of diabetes in South ...
 

Recently uploaded

8447779800, Low rate Call girls in Tughlakabad Delhi NCR
8447779800, Low rate Call girls in Tughlakabad Delhi NCR8447779800, Low rate Call girls in Tughlakabad Delhi NCR
8447779800, Low rate Call girls in Tughlakabad Delhi NCRashishs7044
 
8447779800, Low rate Call girls in Kotla Mubarakpur Delhi NCR
8447779800, Low rate Call girls in Kotla Mubarakpur Delhi NCR8447779800, Low rate Call girls in Kotla Mubarakpur Delhi NCR
8447779800, Low rate Call girls in Kotla Mubarakpur Delhi NCRashishs7044
 
Contemporary Economic Issues Facing the Filipino Entrepreneur (1).pptx
Contemporary Economic Issues Facing the Filipino Entrepreneur (1).pptxContemporary Economic Issues Facing the Filipino Entrepreneur (1).pptx
Contemporary Economic Issues Facing the Filipino Entrepreneur (1).pptxMarkAnthonyAurellano
 
Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...
Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...
Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...lizamodels9
 
Investment in The Coconut Industry by Nancy Cheruiyot
Investment in The Coconut Industry by Nancy CheruiyotInvestment in The Coconut Industry by Nancy Cheruiyot
Investment in The Coconut Industry by Nancy Cheruiyotictsugar
 
NewBase 19 April 2024 Energy News issue - 1717 by Khaled Al Awadi.pdf
NewBase  19 April  2024  Energy News issue - 1717 by Khaled Al Awadi.pdfNewBase  19 April  2024  Energy News issue - 1717 by Khaled Al Awadi.pdf
NewBase 19 April 2024 Energy News issue - 1717 by Khaled Al Awadi.pdfKhaled Al Awadi
 
Future Of Sample Report 2024 | Redacted Version
Future Of Sample Report 2024 | Redacted VersionFuture Of Sample Report 2024 | Redacted Version
Future Of Sample Report 2024 | Redacted VersionMintel Group
 
BEST Call Girls In Old Faridabad ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Old Faridabad ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,BEST Call Girls In Old Faridabad ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Old Faridabad ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,noida100girls
 
Call Girls in DELHI Cantt, ( Call Me )-8377877756-Female Escort- In Delhi / Ncr
Call Girls in DELHI Cantt, ( Call Me )-8377877756-Female Escort- In Delhi / NcrCall Girls in DELHI Cantt, ( Call Me )-8377877756-Female Escort- In Delhi / Ncr
Call Girls in DELHI Cantt, ( Call Me )-8377877756-Female Escort- In Delhi / Ncrdollysharma2066
 
2024 Numerator Consumer Study of Cannabis Usage
2024 Numerator Consumer Study of Cannabis Usage2024 Numerator Consumer Study of Cannabis Usage
2024 Numerator Consumer Study of Cannabis UsageNeil Kimberley
 
8447779800, Low rate Call girls in Saket Delhi NCR
8447779800, Low rate Call girls in Saket Delhi NCR8447779800, Low rate Call girls in Saket Delhi NCR
8447779800, Low rate Call girls in Saket Delhi NCRashishs7044
 
Call Us 📲8800102216📞 Call Girls In DLF City Gurgaon
Call Us 📲8800102216📞 Call Girls In DLF City GurgaonCall Us 📲8800102216📞 Call Girls In DLF City Gurgaon
Call Us 📲8800102216📞 Call Girls In DLF City Gurgaoncallgirls2057
 
BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,noida100girls
 
Marketing Management Business Plan_My Sweet Creations
Marketing Management Business Plan_My Sweet CreationsMarketing Management Business Plan_My Sweet Creations
Marketing Management Business Plan_My Sweet Creationsnakalysalcedo61
 
Lean: From Theory to Practice — One City’s (and Library’s) Lean Story… Abridged
Lean: From Theory to Practice — One City’s (and Library’s) Lean Story… AbridgedLean: From Theory to Practice — One City’s (and Library’s) Lean Story… Abridged
Lean: From Theory to Practice — One City’s (and Library’s) Lean Story… AbridgedKaiNexus
 
Annual General Meeting Presentation Slides
Annual General Meeting Presentation SlidesAnnual General Meeting Presentation Slides
Annual General Meeting Presentation SlidesKeppelCorporation
 
Youth Involvement in an Innovative Coconut Value Chain by Mwalimu Menza
Youth Involvement in an Innovative Coconut Value Chain by Mwalimu MenzaYouth Involvement in an Innovative Coconut Value Chain by Mwalimu Menza
Youth Involvement in an Innovative Coconut Value Chain by Mwalimu Menzaictsugar
 
Islamabad Escorts | Call 03274100048 | Escort Service in Islamabad
Islamabad Escorts | Call 03274100048 | Escort Service in IslamabadIslamabad Escorts | Call 03274100048 | Escort Service in Islamabad
Islamabad Escorts | Call 03274100048 | Escort Service in IslamabadAyesha Khan
 
Global Scenario On Sustainable and Resilient Coconut Industry by Dr. Jelfina...
Global Scenario On Sustainable  and Resilient Coconut Industry by Dr. Jelfina...Global Scenario On Sustainable  and Resilient Coconut Industry by Dr. Jelfina...
Global Scenario On Sustainable and Resilient Coconut Industry by Dr. Jelfina...ictsugar
 

Recently uploaded (20)

8447779800, Low rate Call girls in Tughlakabad Delhi NCR
8447779800, Low rate Call girls in Tughlakabad Delhi NCR8447779800, Low rate Call girls in Tughlakabad Delhi NCR
8447779800, Low rate Call girls in Tughlakabad Delhi NCR
 
8447779800, Low rate Call girls in Kotla Mubarakpur Delhi NCR
8447779800, Low rate Call girls in Kotla Mubarakpur Delhi NCR8447779800, Low rate Call girls in Kotla Mubarakpur Delhi NCR
8447779800, Low rate Call girls in Kotla Mubarakpur Delhi NCR
 
Contemporary Economic Issues Facing the Filipino Entrepreneur (1).pptx
Contemporary Economic Issues Facing the Filipino Entrepreneur (1).pptxContemporary Economic Issues Facing the Filipino Entrepreneur (1).pptx
Contemporary Economic Issues Facing the Filipino Entrepreneur (1).pptx
 
Corporate Profile 47Billion Information Technology
Corporate Profile 47Billion Information TechnologyCorporate Profile 47Billion Information Technology
Corporate Profile 47Billion Information Technology
 
Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...
Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...
Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...
 
Investment in The Coconut Industry by Nancy Cheruiyot
Investment in The Coconut Industry by Nancy CheruiyotInvestment in The Coconut Industry by Nancy Cheruiyot
Investment in The Coconut Industry by Nancy Cheruiyot
 
NewBase 19 April 2024 Energy News issue - 1717 by Khaled Al Awadi.pdf
NewBase  19 April  2024  Energy News issue - 1717 by Khaled Al Awadi.pdfNewBase  19 April  2024  Energy News issue - 1717 by Khaled Al Awadi.pdf
NewBase 19 April 2024 Energy News issue - 1717 by Khaled Al Awadi.pdf
 
Future Of Sample Report 2024 | Redacted Version
Future Of Sample Report 2024 | Redacted VersionFuture Of Sample Report 2024 | Redacted Version
Future Of Sample Report 2024 | Redacted Version
 
BEST Call Girls In Old Faridabad ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Old Faridabad ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,BEST Call Girls In Old Faridabad ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Old Faridabad ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
 
Call Girls in DELHI Cantt, ( Call Me )-8377877756-Female Escort- In Delhi / Ncr
Call Girls in DELHI Cantt, ( Call Me )-8377877756-Female Escort- In Delhi / NcrCall Girls in DELHI Cantt, ( Call Me )-8377877756-Female Escort- In Delhi / Ncr
Call Girls in DELHI Cantt, ( Call Me )-8377877756-Female Escort- In Delhi / Ncr
 
2024 Numerator Consumer Study of Cannabis Usage
2024 Numerator Consumer Study of Cannabis Usage2024 Numerator Consumer Study of Cannabis Usage
2024 Numerator Consumer Study of Cannabis Usage
 
8447779800, Low rate Call girls in Saket Delhi NCR
8447779800, Low rate Call girls in Saket Delhi NCR8447779800, Low rate Call girls in Saket Delhi NCR
8447779800, Low rate Call girls in Saket Delhi NCR
 
Call Us 📲8800102216📞 Call Girls In DLF City Gurgaon
Call Us 📲8800102216📞 Call Girls In DLF City GurgaonCall Us 📲8800102216📞 Call Girls In DLF City Gurgaon
Call Us 📲8800102216📞 Call Girls In DLF City Gurgaon
 
BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
 
Marketing Management Business Plan_My Sweet Creations
Marketing Management Business Plan_My Sweet CreationsMarketing Management Business Plan_My Sweet Creations
Marketing Management Business Plan_My Sweet Creations
 
Lean: From Theory to Practice — One City’s (and Library’s) Lean Story… Abridged
Lean: From Theory to Practice — One City’s (and Library’s) Lean Story… AbridgedLean: From Theory to Practice — One City’s (and Library’s) Lean Story… Abridged
Lean: From Theory to Practice — One City’s (and Library’s) Lean Story… Abridged
 
Annual General Meeting Presentation Slides
Annual General Meeting Presentation SlidesAnnual General Meeting Presentation Slides
Annual General Meeting Presentation Slides
 
Youth Involvement in an Innovative Coconut Value Chain by Mwalimu Menza
Youth Involvement in an Innovative Coconut Value Chain by Mwalimu MenzaYouth Involvement in an Innovative Coconut Value Chain by Mwalimu Menza
Youth Involvement in an Innovative Coconut Value Chain by Mwalimu Menza
 
Islamabad Escorts | Call 03274100048 | Escort Service in Islamabad
Islamabad Escorts | Call 03274100048 | Escort Service in IslamabadIslamabad Escorts | Call 03274100048 | Escort Service in Islamabad
Islamabad Escorts | Call 03274100048 | Escort Service in Islamabad
 
Global Scenario On Sustainable and Resilient Coconut Industry by Dr. Jelfina...
Global Scenario On Sustainable  and Resilient Coconut Industry by Dr. Jelfina...Global Scenario On Sustainable  and Resilient Coconut Industry by Dr. Jelfina...
Global Scenario On Sustainable and Resilient Coconut Industry by Dr. Jelfina...
 

Presentation on project group 2

  • 1. Prediction of Diabetes in PIMA Indian Women Submitted By: Group-2 Aditya K/24 R Panneerselvam/16 Shreedhar Mani Tripathi/04 Vivek Dubey/23
  • 2. Background • This dataset is originally from the National Institute of Diabetes and Digestive and Kidney Diseases in the USA. • The objective of the dataset is to diagnostically predict whether or not a woman patient has diabetes, based on certain diagnostic measurements included in the dataset.
  • 3. The key variables • Pregnancies • Glucose • Blood Pressure • Skin Thickness • Insulin • BMI • Diabetes Pedigree Function • Age • Outcome Number of times pregnant Plasma glucose concentration a 2 hours in an oral glucose tolerance test Diastolic blood pressure (mm Hg) Triceps skin fold thickness (mm) 2-Hour serum insulin (mu U/ml) Body mass index (weight in kg/(height in m^2) Diabetes pedigree function Age (years) Class variable (0 or 1)
  • 4. Steps • Data Visualization • Data Preprocessing: Splitting of data set onto three parts for training, validation and test. • Logistic Regression • Building a Model for diabetes prediction • Validation of Regression Model • Testing of Regression Model • Conclusion
  • 5. DATA VISUALIZATION • The number of people by age have been shown in the following graph
  • 6. DATA VISUALIZATION: Pregnancy • The following graph shows how many pregnancies a woman has in the sample data.
  • 7. DATA VISUALIZATION: Pregnancy • The maximum number of pregnancies that a woman had was 17 while the minimum was 0 and the Mean is 3.845 and Median is 3 Pregnancy per woman. 0 1 3 3.845 6 17 0 2 4 6 8 10 12 14 16 18 Min 1st Qu Median Mean 3rd Qu Max. No of Pregnency
  • 8. DATA VISUALIZATION: Glucose • The maximum Glucose a Pima Indian woman had was 199 mg/dL and mean Glucose level is 120.9 mg/dL with Median of 117 mg/dL. 99 117 120.9 140.2 199 0 50 100 150 200 250 1st Qu Median Mean 3rd Qu Max. Glucose
  • 9. DATA VISUALIZATION: BP • The maximum BP a Pima Indian woman had was 122mmHg and Mean BP is 69.11mmHg with Median of 72 mmHg 62 72 69.11 80 122 0 20 40 60 80 100 120 140 1st Qu Median Mean 3rd Qu Max. Blood Pressure
  • 10. DATA VISUALIZATION: Skin Thickness • The maximum Skin thickness a Pima Indian woman had was 99and Mean Skin thickness is 20.54with Median of 23 23 20.54 32 99 0 20 40 60 80 100 120 Median Mean 3rd Qu Max. Skin Thickness
  • 11. DATA VISUALIZATION: Insulin • The maximum Insulin a Pima Indian woman had was 846 and mean Insulin is 79.8 with Median of 30.5 30.5 79.8 127.2 846 0 100 200 300 400 500 600 700 800 900 Median Mean 3rd Qu Max. Insulin
  • 12. DATA VISUALIZATION: BMI • The maximum BMI a Pima Indian woman had was 67.1 and mean BMI is 31.99 with Median of 32 27.3 32 31.99 36.6 67.1 0 10 20 30 40 50 60 70 80 1st Qu Median Mean 3rd Qu Max. BMI
  • 13. DATA VISUALIZATION: DPF • The maximum Diabetes Pedigree Function a Pima Indian woman had was 2.42 and mean Diabetes Pedigree Function is 0.4719 with Median of 0.3725 0.078 0.2437 0.3725 0.4719 0.6262 2.42 0 0.5 1 1.5 2 2.5 3 Min 1st Qu Median Mean 3rd Qu Max. Diabetes Pedigree Function
  • 14. DATA VISUALIZATION: Age • The maximum Age a Pima Indian woman had was 81 years and mean Age is 33.24 years with Median of 29years 21 24 29 33.24 41 81 0 10 20 30 40 50 60 70 80 90 Min 1st Qu Median Mean 3rd Qu Max. Age
  • 15. DATA VISUALIZATION • Comparison of Mean of Independent variables of Pima Indian Women with and without Diabetes: From the data it can be visualized that BP level, BMI, Glucose Insulin and Age are higher for diabetic women as compared to women without diabetes. The findings are on expected lines 0 20 40 60 80 100 120 140 160 Preg Glucose BP ST Insu. BMI D P F Age Without Diabetes With Diabetes
  • 16. Logistic Regression: Prediction of Diabetes • DATA PREPROCESSING: SPLITTING OF DATA: • Before we proceed for the regression, we have divided the data into three parts • Training data set contains 70% of the total observations. • Validation data set contains 20% of the total observations. • Test data set contains 10% of the total observations
  • 17. Removal of multicollinearity from the training data set • Maximum VIF is 1.6413 for insulin • The complete data of the vif is shown in the excel sheet
  • 18. Removal of unusual observation • As we can see from the above plot that that the maximum cooks distance = 0.084, corresponding to the observation 229 in the original data and 385 in the training data set that wasidentified by using R command “which.max(cooks.distance(dbmodel))”. Therefore, we need not remove any observation.
  • 19. • The model is tested using the HL test and was found to be fit. • Two variables skin thickness and insulin were found to have high P values. 0.482913 and 0.211439 respectively. • They were removed one by one ensuring the fitness of model using HL test after each removal. First insulin was removed and then skin thickness. • The model built has all the variables except insulin and the skin thickness. • X-squared = 7.3947, df = 8, p-value = 0.4947. therefore model is significant.
  • 20.
  • 21. • P=e^[(-8.090 + 0.107*(Pregnancies)+ .0333* (Glucose)- 0.018 * (Blood Pressure)+0.087*(BMI)+1.121 * (Diabetes Pedigree Function) +0.024174*(Age)) ]/(1+e^((=-8.090237 + 0.106572*(Pregnancies)+ .033287 * (Glucose)- 0.018501 * (Blood Pressure)+0.087*(BMI)+1.121 * (Diabetes Pedigree Function) +0.024174*(Age)) ) )
  • 22. Validation data • The (estimate-3*SE) and (estimate+3*SE) overlap in both training data and testing data. • X-squared = 4.688, df = 8, p-value = 0.7903 • Therefore the model is validated. • We have calculated the threshold value in excel and decided it at 0.3.
  • 23. Testing data • The same threshold value is used on the testing data and the results are almost same as in validation data. Therefore the model is also tested.
  • 24. conclusion • The variables that are contributing in the prediction of diabetes in a Pima Indian woman are 1. Number of Pregnancies, 2. Glucose, 3. Blood Pressure, 4. BMI, 5. Diabetes Pedigree function 6. Age. • Insulin and skin thickness were not contributing in the prediction of diabetes in Pima Indian women. • Blood pressure is negatively impacting the model prediction.