SlideShare une entreprise Scribd logo
1  sur  36
Télécharger pour lire hors ligne
© 2020 Minitab, LLC.
Machine Learning with Binary Logistic Regression
© 2020 Minitab, LLC.
• 25+ years of
experience
• Minitab Trainer
• Statistical Consultant
• Minitab Software
Designer
• Master's in Statistics
Meet the Presenter:
Cheryl Pammer
Senior Advisory Statistician
© 2020 Minitab, LLC.
Learning Objectives
►Use Binary Logistic Regression in a Machine Learning Environment
►Discuss Methods for Model Selection Using:
 P-values
 Area Under the ROC Curve
 Information Criteria
4
© 2020 Minitab, LLC.
Basic Supervised Machine Learning Algorithms
►Continuous Y: Regression, CART Regression Trees
►Categorical Y: Logistic Regression, CART Classification Trees
5
© 2020 Minitab, LLC.
What Has a Machine Learned?
6
Training Data Test Data
?Data is split into a training set and a test set:
►Training (or learn) = creates model
►Test = assesses model performance
© 2020 Minitab, LLC.
Why is Model Testing (Validation) Important?
►Assessing model with the same data used to fit model leads to
overfitting.
►Overfit models do not predict well.
7
© 2020 Minitab, LLC.
Bias-Variance Trade-Off
8
Model with High Bias Model with High Variance
© 2020 Minitab, LLC.
Validation
9
Validation helps find the best balance between too simple (high bias)
and too complex (high variance)
© 2020 Minitab, LLC.
Example
►Hospital system needs to estimate
the probability that a patient will need
to be readmitted within 30 days.
►Administrators use patient data for
the past year to determine the key
drivers of readmission and predict
readmission probability for new
patients.
10
© 2020 Minitab, LLC.
Binary Logistic Regression
Models relationship between
binary response (Y) and multiple
features (X).
11
© 2020 Minitab, LLC.
Binary Logistic Regression
12
Relationship can be expressed as an equation:
Loge[p/(1-p)] = β0 + β1x1 + … + βkxk
Probability (Event) = exp(β0 + β1x1 + … + βkxk)
(1 + exp(β0 + β1x1 + … + βkxk))
© 2020 Minitab, LLC.
Baseline Rate
13
© 2020 Minitab, LLC.
Potential Predictors  Number of Hospital Days
 Number of Lab Procedures
 Number of Procedures
 Number of Medications
 Number of Outpatient Visits
 Number of Emergency Visits
 Number of Diagnoses
 Race
 Gender
 Age
 Admission
 Discharged To
 Diabetes
14
© 2020 Minitab, LLC.
Potential Terms Up To Order 2
15
© 2020 Minitab, LLC.
Stepwise Regression Using P-values
Automatically select regression or logistic regression models by
adding or removing terms, one step at a time:
►Backward Elimination: Start with full model (all terms) and
remove term with the highest p-value until everything left is
significant.
►Forward Selection: Start with an empty model (intercept only) and
add term with lowest p-value until no significant terms remain.
►Stepwise: Start with an empty model (intercept only), add term
with lowest p-value. At each step, add or remove terms based on
p-values.
© 2020 Minitab, LLC.
Validation With a Test Set
Hold out random
X% of data when
fitting model.
17
© 2020 Minitab, LLC.
Receiver Operating Characteristic (ROC) Curve
►Plot of True Positive Rate vs False Positive Rate
►For a random classifier True Positive Rate = False Positive Rate
18
True Yes True No
Model = Yes #TP #FP
Model = No #FN #TN
Sensitivity = TP/(TP + FN)
Specificity = TN/(FP + TN)
© 2020 Minitab, LLC.
Stepwise Model Selection
19
Step Predictors Test
ROC
1 Discharged To 0.5655
2 Discharged To
#Emergency Visits
0.5830
3 Discharged To
#Emergency Visits
#Diagnoses
0.6007
…
8 Final (8 Terms) 0.6021
© 2020 Minitab, LLC.
Visualizing Model Results
20
© 2020 Minitab, LLC.
Visualizing Model Results
21
© 2020 Minitab, LLC.
Predicting the Probability of Readmission
22
© 2020 Minitab, LLC.
Problems With P-Value-Based Variable Selection
►With larger data sets, tests can be
too powerful and almost everything
is significant.
►With many potential terms, some
will be significant by chance.
►Because individual p-values are
dependent on other terms in
model, finding the correct subset of
terms is challenging.
23
?
© 2020 Minitab, LLC.
Model Selection Strategies
►Need criterion to compare models.
 Categorical Y: Area under ROC curve (Test ROC)
 Continuous Y: Test R2
 Information criteria: AIC, BIC
►Given a criterion, need a search strategy.
 Look at all possible models (Best Subsets)
 Stepwise procedures
Many automated model fitting techniques exist. These vary
depending on type of model.
24
© 2020 Minitab, LLC.
Example: Furniture Delivery
►Furniture manufacturer investigates
12 potential key drivers of defects
in setup and delivery process.
►Data represent individual deliveries
over several months.
►Response:
 Yes = Damaged
 No = Not Damaged
25
© 2020 Minitab, LLC.
Information Criteria
►When a model used to represent a population, information is lost.
►Akaike Information Criteria (AIC) and Bayesian Information Criteria
(BIC) estimate relative information loss. Less is better.
26
© 2020 Minitab, LLC.
Information Criteria
Goal: Find a model that is neither underfit nor overfit.
►Assess goodness of fit using likelihood function – discourages
underfitting.
►Penalize overfitting by considering the number of model terms.
27
© 2020 Minitab, LLC.
Properties of AIC and BIC
►BIC will typically choose a model
as small or smaller than AIC
►As sample size grows to infinity
it can be shown that:
 AIC will always choose a
model that contains the true
model; it won’t leave any
variables out
 BIC will choose exactly the
right model
28
© 2020 Minitab, LLC.
Forward Information Criteria Model Selection
29
Step Predictors BIC Test
ROC
1 Warehouse Time 1348 0.9977
2 + Tech Lead 1290 0.9989
3 + Team Lift 1077 0.9993
4 + Load Type 877 0.9997
5 + Stop Number 810 0.9998
6 + Driver 1122 0.9998
BIC typically results in smaller models unless n is small.
© 2020 Minitab, LLC.
Receiver Operating Characteristic (ROC) Curve
30
Sensitivity = TP/(TP + FN)
Specificity = TN/(FP + TN)
True Yes True No
Model = Yes #TP #FP
Model = No #FN #TN
© 2020 Minitab, LLC.
One Look of the Data…
31
© 2020 Minitab, LLC.
Highly Significant, But…
32
© 2020 Minitab, LLC.
The Real Key Result
33
© 2020 Minitab, LLC.
Take-aways
You have learned to use:
►Binary Logistic Regression in a Machine Learning Environment
►Old and New Methods for Model Selection:
 P-values
 Area Under the ROC Curve
 Information Criteria
Questions?
Cheryl Pammer
cpammer@minitab.com
34
© 2020 Minitab, LLC.
Upcoming Webinars and Virtual Events
• Machine Learning with Classification & Regression Trees
(CART® )
Time: Wednesday 15 July, 12PM AEST (10AM HKT / 2PM NZST)
See all the details and sign up at:
https://info.minitab.com/resources/webinars/webinar-wednesdays
© 2020 Minitab, LLC.
Upcoming Webinars and Virtual Events
• Online/Virtual Training
Minitab is now offering virtual training taught by
Minitab experts – perfect for remote/home workers.
Visit www.minitab.com/training/training for more info.
• Talk to Minitab
Complimentary resources to help you deal quickly with today's challenges and changing environment.
Visit www.minitab.com and click on the Talk to Minitab button and a Minitab representative will be in touch!
© 2020 Minitab, LLC.
Our Approach: More Than Business Analytics… Solutions Analytics
Software
Services
Training
Learn first-hand by attending public or
customized trainings in your facilities
according to your requirements.
Statistical
Consulting
Personalized help with statistical
challenges from collecting the right data
to interpreting analysis more.
Support
Assistance with installation,
implementation, version updates
and license management.
Master statistics and
Minitab anywhere
with online training
Machine learning and
predictive analytics
software
Start, track, manage
and execute
improvement projects
with real-time
dashboards
Powerful statistical
software everyone
can use.
Data Analysis Predictive Modeling Visual Business Tools Project Oversight
Visual tools to
process and product
excellence.
Online Training
Solutions analytics is our integrated approach to providing software and services that enable organizations to make better decisions that drive business excellence.

Contenu connexe

Tendances

Boost Your Data Expertise - What's New in Minitab 19.2020.1
Boost Your Data Expertise -  What's New in Minitab 19.2020.1Boost Your Data Expertise -  What's New in Minitab 19.2020.1
Boost Your Data Expertise - What's New in Minitab 19.2020.1Minitab, LLC
 
Statistical solutions to help you with 5 FDA medical devices stages
Statistical solutions to help you with 5 FDA medical devices stagesStatistical solutions to help you with 5 FDA medical devices stages
Statistical solutions to help you with 5 FDA medical devices stagesMinitab, LLC
 
Powerful Statistical Tools in the Pharmaceutical and Medical Devices Industry...
Powerful Statistical Tools in the Pharmaceutical and Medical Devices Industry...Powerful Statistical Tools in the Pharmaceutical and Medical Devices Industry...
Powerful Statistical Tools in the Pharmaceutical and Medical Devices Industry...Minitab, LLC
 
Minitab Preview Training: Introduction to t-Tests for Manufacturing
Minitab Preview Training: Introduction to t-Tests for ManufacturingMinitab Preview Training: Introduction to t-Tests for Manufacturing
Minitab Preview Training: Introduction to t-Tests for ManufacturingMinitab, LLC
 
Critical Checks for Pharmaceuticals and Healthcare: Validating Your Data Inte...
Critical Checks for Pharmaceuticals and Healthcare: Validating Your Data Inte...Critical Checks for Pharmaceuticals and Healthcare: Validating Your Data Inte...
Critical Checks for Pharmaceuticals and Healthcare: Validating Your Data Inte...Minitab, LLC
 
Using minitab for Superior Quality in Food Manufacturing
Using minitab for Superior Quality in Food ManufacturingUsing minitab for Superior Quality in Food Manufacturing
Using minitab for Superior Quality in Food ManufacturingMinitab, LLC
 
Using Minitab for Superior Quality in Medical Device Manufacturing
Using Minitab for Superior Quality in Medical Device ManufacturingUsing Minitab for Superior Quality in Medical Device Manufacturing
Using Minitab for Superior Quality in Medical Device ManufacturingMinitab, LLC
 
Boost Your Data Expertise with the Latest Release of Minitab Statistical Soft...
Boost Your Data Expertise with the Latest Release of Minitab Statistical Soft...Boost Your Data Expertise with the Latest Release of Minitab Statistical Soft...
Boost Your Data Expertise with the Latest Release of Minitab Statistical Soft...Minitab, LLC
 
The New Toolkit for Continuous Improvement webinar presentation slides
The New Toolkit for Continuous Improvement webinar presentation slidesThe New Toolkit for Continuous Improvement webinar presentation slides
The New Toolkit for Continuous Improvement webinar presentation slidesMinitab, LLC
 
Companion by Minitab - Seeing the unknown identifying risk and quantifying pr...
Companion by Minitab - Seeing the unknown identifying risk and quantifying pr...Companion by Minitab - Seeing the unknown identifying risk and quantifying pr...
Companion by Minitab - Seeing the unknown identifying risk and quantifying pr...Minitab, LLC
 
Presentation: Ad-Click Prediction, A Data-Intensive Problem
Presentation: Ad-Click Prediction, A Data-Intensive ProblemPresentation: Ad-Click Prediction, A Data-Intensive Problem
Presentation: Ad-Click Prediction, A Data-Intensive ProblemArzam Muzaffar Kotriwala
 

Tendances (11)

Boost Your Data Expertise - What's New in Minitab 19.2020.1
Boost Your Data Expertise -  What's New in Minitab 19.2020.1Boost Your Data Expertise -  What's New in Minitab 19.2020.1
Boost Your Data Expertise - What's New in Minitab 19.2020.1
 
Statistical solutions to help you with 5 FDA medical devices stages
Statistical solutions to help you with 5 FDA medical devices stagesStatistical solutions to help you with 5 FDA medical devices stages
Statistical solutions to help you with 5 FDA medical devices stages
 
Powerful Statistical Tools in the Pharmaceutical and Medical Devices Industry...
Powerful Statistical Tools in the Pharmaceutical and Medical Devices Industry...Powerful Statistical Tools in the Pharmaceutical and Medical Devices Industry...
Powerful Statistical Tools in the Pharmaceutical and Medical Devices Industry...
 
Minitab Preview Training: Introduction to t-Tests for Manufacturing
Minitab Preview Training: Introduction to t-Tests for ManufacturingMinitab Preview Training: Introduction to t-Tests for Manufacturing
Minitab Preview Training: Introduction to t-Tests for Manufacturing
 
Critical Checks for Pharmaceuticals and Healthcare: Validating Your Data Inte...
Critical Checks for Pharmaceuticals and Healthcare: Validating Your Data Inte...Critical Checks for Pharmaceuticals and Healthcare: Validating Your Data Inte...
Critical Checks for Pharmaceuticals and Healthcare: Validating Your Data Inte...
 
Using minitab for Superior Quality in Food Manufacturing
Using minitab for Superior Quality in Food ManufacturingUsing minitab for Superior Quality in Food Manufacturing
Using minitab for Superior Quality in Food Manufacturing
 
Using Minitab for Superior Quality in Medical Device Manufacturing
Using Minitab for Superior Quality in Medical Device ManufacturingUsing Minitab for Superior Quality in Medical Device Manufacturing
Using Minitab for Superior Quality in Medical Device Manufacturing
 
Boost Your Data Expertise with the Latest Release of Minitab Statistical Soft...
Boost Your Data Expertise with the Latest Release of Minitab Statistical Soft...Boost Your Data Expertise with the Latest Release of Minitab Statistical Soft...
Boost Your Data Expertise with the Latest Release of Minitab Statistical Soft...
 
The New Toolkit for Continuous Improvement webinar presentation slides
The New Toolkit for Continuous Improvement webinar presentation slidesThe New Toolkit for Continuous Improvement webinar presentation slides
The New Toolkit for Continuous Improvement webinar presentation slides
 
Companion by Minitab - Seeing the unknown identifying risk and quantifying pr...
Companion by Minitab - Seeing the unknown identifying risk and quantifying pr...Companion by Minitab - Seeing the unknown identifying risk and quantifying pr...
Companion by Minitab - Seeing the unknown identifying risk and quantifying pr...
 
Presentation: Ad-Click Prediction, A Data-Intensive Problem
Presentation: Ad-Click Prediction, A Data-Intensive ProblemPresentation: Ad-Click Prediction, A Data-Intensive Problem
Presentation: Ad-Click Prediction, A Data-Intensive Problem
 

Similaire à Machine Learning with Binary Logistic Regression - APAC

Gaining a Competitive Advantage using Analytics to Optimize your Digital Mark...
Gaining a Competitive Advantage using Analytics to Optimize your Digital Mark...Gaining a Competitive Advantage using Analytics to Optimize your Digital Mark...
Gaining a Competitive Advantage using Analytics to Optimize your Digital Mark...Abbie Wong
 
Machinelearning: The next step in manufacturing performance
Machinelearning: The next step in manufacturing performance Machinelearning: The next step in manufacturing performance
Machinelearning: The next step in manufacturing performance Blackberry&Cross
 
Developing Web-scale Machine Learning at LinkedIn - From Soup to Nuts
Developing Web-scale Machine Learning at LinkedIn - From Soup to NutsDeveloping Web-scale Machine Learning at LinkedIn - From Soup to Nuts
Developing Web-scale Machine Learning at LinkedIn - From Soup to NutsKun Liu
 
New Priorities for ABM: Benchmarks and Best Practices for 2021
New Priorities for ABM: Benchmarks and Best Practices for 2021New Priorities for ABM: Benchmarks and Best Practices for 2021
New Priorities for ABM: Benchmarks and Best Practices for 2021Demandbase
 
Wooing the Best Bank Deposit Customers
Wooing the Best Bank Deposit CustomersWooing the Best Bank Deposit Customers
Wooing the Best Bank Deposit CustomersLucinda Linde
 
Minitab webinar presentation See the unknown with monte carlo simulation
Minitab webinar presentation See the unknown with monte carlo simulationMinitab webinar presentation See the unknown with monte carlo simulation
Minitab webinar presentation See the unknown with monte carlo simulationMinitab, LLC
 
Datascience101presentation4
Datascience101presentation4Datascience101presentation4
Datascience101presentation4Salford Systems
 
Machine Learning driven Quantum Optimization for Marketing
Machine Learning driven Quantum Optimization for MarketingMachine Learning driven Quantum Optimization for Marketing
Machine Learning driven Quantum Optimization for MarketingDeep Learning Italia
 
Big Data LDN 2017: Advanced Analytics Applied to Marketing Attribution
Big Data LDN 2017: Advanced Analytics Applied to Marketing AttributionBig Data LDN 2017: Advanced Analytics Applied to Marketing Attribution
Big Data LDN 2017: Advanced Analytics Applied to Marketing AttributionMatt Stubbs
 
Using machine learning to optimize marketing ROI at Honest Company by Roozbeh...
Using machine learning to optimize marketing ROI at Honest Company by Roozbeh...Using machine learning to optimize marketing ROI at Honest Company by Roozbeh...
Using machine learning to optimize marketing ROI at Honest Company by Roozbeh...Data Con LA
 
Credit risk with neural networks bankruptcy prediction machine learning
Credit risk with neural networks bankruptcy prediction machine learningCredit risk with neural networks bankruptcy prediction machine learning
Credit risk with neural networks bankruptcy prediction machine learningArmando Vieira
 
Modern tool kit for process excellence, gracias a Minitab Inc.
Modern tool kit for process excellence, gracias a Minitab Inc.Modern tool kit for process excellence, gracias a Minitab Inc.
Modern tool kit for process excellence, gracias a Minitab Inc.Blackberry&Cross
 
MIS637_Final_Project_Rahul_Bhatia
MIS637_Final_Project_Rahul_BhatiaMIS637_Final_Project_Rahul_Bhatia
MIS637_Final_Project_Rahul_BhatiaRahul Bhatia
 
Customer choice probabilities
Customer choice probabilitiesCustomer choice probabilities
Customer choice probabilitiesAllan D. Butler
 
Overview and Importance of Data Quality for Machine Learning Tasks
Overview and Importance of Data Quality for Machine Learning TasksOverview and Importance of Data Quality for Machine Learning Tasks
Overview and Importance of Data Quality for Machine Learning TasksHima Patel
 
Synthetic VIX Data Generation Using ML Techniques
Synthetic VIX Data Generation Using ML TechniquesSynthetic VIX Data Generation Using ML Techniques
Synthetic VIX Data Generation Using ML TechniquesQuantUniversity
 
Deepak-Computational Advertising-The LinkedIn Way
Deepak-Computational Advertising-The LinkedIn WayDeepak-Computational Advertising-The LinkedIn Way
Deepak-Computational Advertising-The LinkedIn Wayyingfeng
 
Production model lifecycle management 2016 09
Production model lifecycle management 2016 09Production model lifecycle management 2016 09
Production model lifecycle management 2016 09Greg Makowski
 
Improve regression test effectiveness with defect detection percentage (ddp)
Improve regression test effectiveness with defect detection percentage (ddp)Improve regression test effectiveness with defect detection percentage (ddp)
Improve regression test effectiveness with defect detection percentage (ddp)Tasktop
 

Similaire à Machine Learning with Binary Logistic Regression - APAC (20)

Gaining a Competitive Advantage using Analytics to Optimize your Digital Mark...
Gaining a Competitive Advantage using Analytics to Optimize your Digital Mark...Gaining a Competitive Advantage using Analytics to Optimize your Digital Mark...
Gaining a Competitive Advantage using Analytics to Optimize your Digital Mark...
 
Machinelearning: The next step in manufacturing performance
Machinelearning: The next step in manufacturing performance Machinelearning: The next step in manufacturing performance
Machinelearning: The next step in manufacturing performance
 
Developing Web-scale Machine Learning at LinkedIn - From Soup to Nuts
Developing Web-scale Machine Learning at LinkedIn - From Soup to NutsDeveloping Web-scale Machine Learning at LinkedIn - From Soup to Nuts
Developing Web-scale Machine Learning at LinkedIn - From Soup to Nuts
 
New Priorities for ABM: Benchmarks and Best Practices for 2021
New Priorities for ABM: Benchmarks and Best Practices for 2021New Priorities for ABM: Benchmarks and Best Practices for 2021
New Priorities for ABM: Benchmarks and Best Practices for 2021
 
Wooing the Best Bank Deposit Customers
Wooing the Best Bank Deposit CustomersWooing the Best Bank Deposit Customers
Wooing the Best Bank Deposit Customers
 
Minitab webinar presentation See the unknown with monte carlo simulation
Minitab webinar presentation See the unknown with monte carlo simulationMinitab webinar presentation See the unknown with monte carlo simulation
Minitab webinar presentation See the unknown with monte carlo simulation
 
Datascience101presentation4
Datascience101presentation4Datascience101presentation4
Datascience101presentation4
 
Machine Learning driven Quantum Optimization for Marketing
Machine Learning driven Quantum Optimization for MarketingMachine Learning driven Quantum Optimization for Marketing
Machine Learning driven Quantum Optimization for Marketing
 
Big Data LDN 2017: Advanced Analytics Applied to Marketing Attribution
Big Data LDN 2017: Advanced Analytics Applied to Marketing AttributionBig Data LDN 2017: Advanced Analytics Applied to Marketing Attribution
Big Data LDN 2017: Advanced Analytics Applied to Marketing Attribution
 
Using machine learning to optimize marketing ROI at Honest Company by Roozbeh...
Using machine learning to optimize marketing ROI at Honest Company by Roozbeh...Using machine learning to optimize marketing ROI at Honest Company by Roozbeh...
Using machine learning to optimize marketing ROI at Honest Company by Roozbeh...
 
Credit risk with neural networks bankruptcy prediction machine learning
Credit risk with neural networks bankruptcy prediction machine learningCredit risk with neural networks bankruptcy prediction machine learning
Credit risk with neural networks bankruptcy prediction machine learning
 
CNMES15 - Estimation con COSMIC - Alain Abran
CNMES15 - Estimation con COSMIC - Alain AbranCNMES15 - Estimation con COSMIC - Alain Abran
CNMES15 - Estimation con COSMIC - Alain Abran
 
Modern tool kit for process excellence, gracias a Minitab Inc.
Modern tool kit for process excellence, gracias a Minitab Inc.Modern tool kit for process excellence, gracias a Minitab Inc.
Modern tool kit for process excellence, gracias a Minitab Inc.
 
MIS637_Final_Project_Rahul_Bhatia
MIS637_Final_Project_Rahul_BhatiaMIS637_Final_Project_Rahul_Bhatia
MIS637_Final_Project_Rahul_Bhatia
 
Customer choice probabilities
Customer choice probabilitiesCustomer choice probabilities
Customer choice probabilities
 
Overview and Importance of Data Quality for Machine Learning Tasks
Overview and Importance of Data Quality for Machine Learning TasksOverview and Importance of Data Quality for Machine Learning Tasks
Overview and Importance of Data Quality for Machine Learning Tasks
 
Synthetic VIX Data Generation Using ML Techniques
Synthetic VIX Data Generation Using ML TechniquesSynthetic VIX Data Generation Using ML Techniques
Synthetic VIX Data Generation Using ML Techniques
 
Deepak-Computational Advertising-The LinkedIn Way
Deepak-Computational Advertising-The LinkedIn WayDeepak-Computational Advertising-The LinkedIn Way
Deepak-Computational Advertising-The LinkedIn Way
 
Production model lifecycle management 2016 09
Production model lifecycle management 2016 09Production model lifecycle management 2016 09
Production model lifecycle management 2016 09
 
Improve regression test effectiveness with defect detection percentage (ddp)
Improve regression test effectiveness with defect detection percentage (ddp)Improve regression test effectiveness with defect detection percentage (ddp)
Improve regression test effectiveness with defect detection percentage (ddp)
 

Plus de Minitab, LLC

L'art de la visualisation pour une meilleure compréhension des données
L'art de la visualisation pour une meilleure compréhension des donnéesL'art de la visualisation pour une meilleure compréhension des données
L'art de la visualisation pour une meilleure compréhension des donnéesMinitab, LLC
 
Pilotez le développement de vos produits et de vos procédés avec Minitab et M...
Pilotez le développement de vos produits et de vos procédés avec Minitab et M...Pilotez le développement de vos produits et de vos procédés avec Minitab et M...
Pilotez le développement de vos produits et de vos procédés avec Minitab et M...Minitab, LLC
 
Introducing Graph Builder: Visualizations Built to Move You Forward
Introducing Graph Builder: Visualizations Built to Move You ForwardIntroducing Graph Builder: Visualizations Built to Move You Forward
Introducing Graph Builder: Visualizations Built to Move You ForwardMinitab, LLC
 
Les solutions Minitab pour développer vos produits selon les réglementations ...
Les solutions Minitab pour développer vos produits selon les réglementations ...Les solutions Minitab pour développer vos produits selon les réglementations ...
Les solutions Minitab pour développer vos produits selon les réglementations ...Minitab, LLC
 
Concrétisez votre transformation digitale avec Minitab et Minitab Connect
Concrétisez votre transformation digitale avec Minitab et Minitab ConnectConcrétisez votre transformation digitale avec Minitab et Minitab Connect
Concrétisez votre transformation digitale avec Minitab et Minitab ConnectMinitab, LLC
 
En route vers l'excellence avec les solutions Minitab
En route vers l'excellence avec les solutions MinitabEn route vers l'excellence avec les solutions Minitab
En route vers l'excellence avec les solutions MinitabMinitab, LLC
 
Meet Minitab Engage Your End-to-End Improvement Solution From Idea Generation...
Meet Minitab Engage Your End-to-End Improvement Solution From Idea Generation...Meet Minitab Engage Your End-to-End Improvement Solution From Idea Generation...
Meet Minitab Engage Your End-to-End Improvement Solution From Idea Generation...Minitab, LLC
 
La puissance du machine learning et des algorithmes cart au service des métiers
La puissance du machine learning et des algorithmes cart au service des métiersLa puissance du machine learning et des algorithmes cart au service des métiers
La puissance du machine learning et des algorithmes cart au service des métiersMinitab, LLC
 
Strukturierte problemloesung mit datenunterstuetzung
Strukturierte problemloesung mit datenunterstuetzungStrukturierte problemloesung mit datenunterstuetzung
Strukturierte problemloesung mit datenunterstuetzungMinitab, LLC
 
Visualizaciones que crean impacto: Vea las novedades de Minitab Statistical ...
Visualizaciones que crean impacto:  Vea las novedades de Minitab Statistical ...Visualizaciones que crean impacto:  Vea las novedades de Minitab Statistical ...
Visualizaciones que crean impacto: Vea las novedades de Minitab Statistical ...Minitab, LLC
 
Einführung in den Minitab Workspace_Visuelle Toolkit zur Verbesserung Ihrer A...
Einführung in den Minitab Workspace_Visuelle Toolkit zur Verbesserung Ihrer A...Einführung in den Minitab Workspace_Visuelle Toolkit zur Verbesserung Ihrer A...
Einführung in den Minitab Workspace_Visuelle Toolkit zur Verbesserung Ihrer A...Minitab, LLC
 
Discover Minitab Workspace - The Ultimate Visual Toolkit to Elevate Your Work...
Discover Minitab Workspace - The Ultimate Visual Toolkit to Elevate Your Work...Discover Minitab Workspace - The Ultimate Visual Toolkit to Elevate Your Work...
Discover Minitab Workspace - The Ultimate Visual Toolkit to Elevate Your Work...Minitab, LLC
 
Melhore seu conhecimento sobre analise de dados com a versao mais recente do ...
Melhore seu conhecimento sobre analise de dados com a versao mais recente do ...Melhore seu conhecimento sobre analise de dados com a versao mais recente do ...
Melhore seu conhecimento sobre analise de dados com a versao mais recente do ...Minitab, LLC
 
Pilotez, structurez et cartographiez vos processus avec minitab workspace
Pilotez, structurez et cartographiez vos processus avec minitab workspacePilotez, structurez et cartographiez vos processus avec minitab workspace
Pilotez, structurez et cartographiez vos processus avec minitab workspaceMinitab, LLC
 
Praesentation - Identifizieren und eliminieren sie ihre analytischen schwachp...
Praesentation - Identifizieren und eliminieren sie ihre analytischen schwachp...Praesentation - Identifizieren und eliminieren sie ihre analytischen schwachp...
Praesentation - Identifizieren und eliminieren sie ihre analytischen schwachp...Minitab, LLC
 
Nouveautes Minitab-Integration Python, Arbres de decision, Validation de mode...
Nouveautes Minitab-Integration Python, Arbres de decision, Validation de mode...Nouveautes Minitab-Integration Python, Arbres de decision, Validation de mode...
Nouveautes Minitab-Integration Python, Arbres de decision, Validation de mode...Minitab, LLC
 
Real Life Lessons From an Operational Excellence Expert
Real Life Lessons From an Operational Excellence ExpertReal Life Lessons From an Operational Excellence Expert
Real Life Lessons From an Operational Excellence ExpertMinitab, LLC
 

Plus de Minitab, LLC (17)

L'art de la visualisation pour une meilleure compréhension des données
L'art de la visualisation pour une meilleure compréhension des donnéesL'art de la visualisation pour une meilleure compréhension des données
L'art de la visualisation pour une meilleure compréhension des données
 
Pilotez le développement de vos produits et de vos procédés avec Minitab et M...
Pilotez le développement de vos produits et de vos procédés avec Minitab et M...Pilotez le développement de vos produits et de vos procédés avec Minitab et M...
Pilotez le développement de vos produits et de vos procédés avec Minitab et M...
 
Introducing Graph Builder: Visualizations Built to Move You Forward
Introducing Graph Builder: Visualizations Built to Move You ForwardIntroducing Graph Builder: Visualizations Built to Move You Forward
Introducing Graph Builder: Visualizations Built to Move You Forward
 
Les solutions Minitab pour développer vos produits selon les réglementations ...
Les solutions Minitab pour développer vos produits selon les réglementations ...Les solutions Minitab pour développer vos produits selon les réglementations ...
Les solutions Minitab pour développer vos produits selon les réglementations ...
 
Concrétisez votre transformation digitale avec Minitab et Minitab Connect
Concrétisez votre transformation digitale avec Minitab et Minitab ConnectConcrétisez votre transformation digitale avec Minitab et Minitab Connect
Concrétisez votre transformation digitale avec Minitab et Minitab Connect
 
En route vers l'excellence avec les solutions Minitab
En route vers l'excellence avec les solutions MinitabEn route vers l'excellence avec les solutions Minitab
En route vers l'excellence avec les solutions Minitab
 
Meet Minitab Engage Your End-to-End Improvement Solution From Idea Generation...
Meet Minitab Engage Your End-to-End Improvement Solution From Idea Generation...Meet Minitab Engage Your End-to-End Improvement Solution From Idea Generation...
Meet Minitab Engage Your End-to-End Improvement Solution From Idea Generation...
 
La puissance du machine learning et des algorithmes cart au service des métiers
La puissance du machine learning et des algorithmes cart au service des métiersLa puissance du machine learning et des algorithmes cart au service des métiers
La puissance du machine learning et des algorithmes cart au service des métiers
 
Strukturierte problemloesung mit datenunterstuetzung
Strukturierte problemloesung mit datenunterstuetzungStrukturierte problemloesung mit datenunterstuetzung
Strukturierte problemloesung mit datenunterstuetzung
 
Visualizaciones que crean impacto: Vea las novedades de Minitab Statistical ...
Visualizaciones que crean impacto:  Vea las novedades de Minitab Statistical ...Visualizaciones que crean impacto:  Vea las novedades de Minitab Statistical ...
Visualizaciones que crean impacto: Vea las novedades de Minitab Statistical ...
 
Einführung in den Minitab Workspace_Visuelle Toolkit zur Verbesserung Ihrer A...
Einführung in den Minitab Workspace_Visuelle Toolkit zur Verbesserung Ihrer A...Einführung in den Minitab Workspace_Visuelle Toolkit zur Verbesserung Ihrer A...
Einführung in den Minitab Workspace_Visuelle Toolkit zur Verbesserung Ihrer A...
 
Discover Minitab Workspace - The Ultimate Visual Toolkit to Elevate Your Work...
Discover Minitab Workspace - The Ultimate Visual Toolkit to Elevate Your Work...Discover Minitab Workspace - The Ultimate Visual Toolkit to Elevate Your Work...
Discover Minitab Workspace - The Ultimate Visual Toolkit to Elevate Your Work...
 
Melhore seu conhecimento sobre analise de dados com a versao mais recente do ...
Melhore seu conhecimento sobre analise de dados com a versao mais recente do ...Melhore seu conhecimento sobre analise de dados com a versao mais recente do ...
Melhore seu conhecimento sobre analise de dados com a versao mais recente do ...
 
Pilotez, structurez et cartographiez vos processus avec minitab workspace
Pilotez, structurez et cartographiez vos processus avec minitab workspacePilotez, structurez et cartographiez vos processus avec minitab workspace
Pilotez, structurez et cartographiez vos processus avec minitab workspace
 
Praesentation - Identifizieren und eliminieren sie ihre analytischen schwachp...
Praesentation - Identifizieren und eliminieren sie ihre analytischen schwachp...Praesentation - Identifizieren und eliminieren sie ihre analytischen schwachp...
Praesentation - Identifizieren und eliminieren sie ihre analytischen schwachp...
 
Nouveautes Minitab-Integration Python, Arbres de decision, Validation de mode...
Nouveautes Minitab-Integration Python, Arbres de decision, Validation de mode...Nouveautes Minitab-Integration Python, Arbres de decision, Validation de mode...
Nouveautes Minitab-Integration Python, Arbres de decision, Validation de mode...
 
Real Life Lessons From an Operational Excellence Expert
Real Life Lessons From an Operational Excellence ExpertReal Life Lessons From an Operational Excellence Expert
Real Life Lessons From an Operational Excellence Expert
 

Dernier

VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnAmarnathKambale
 
%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in sowetomasabamasaba
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...masabamasaba
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...Shane Coughlan
 
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...Health
 
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyviewmasabamasaba
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech studentsHimanshiGarg82
 
WSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsArshad QA
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrandmasabamasaba
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park masabamasaba
 
Harnessing ChatGPT - Elevating Productivity in Today's Agile Environment
Harnessing ChatGPT  - Elevating Productivity in Today's Agile EnvironmentHarnessing ChatGPT  - Elevating Productivity in Today's Agile Environment
Harnessing ChatGPT - Elevating Productivity in Today's Agile EnvironmentVictorSzoltysek
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension AidPhilip Schwarz
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️Delhi Call girls
 
tonesoftg
tonesoftgtonesoftg
tonesoftglanshi9
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisamasabamasaba
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...masabamasaba
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...SelfMade bd
 

Dernier (20)

VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students
 
WSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go Platformless
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
 
Harnessing ChatGPT - Elevating Productivity in Today's Agile Environment
Harnessing ChatGPT  - Elevating Productivity in Today's Agile EnvironmentHarnessing ChatGPT  - Elevating Productivity in Today's Agile Environment
Harnessing ChatGPT - Elevating Productivity in Today's Agile Environment
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
tonesoftg
tonesoftgtonesoftg
tonesoftg
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
 

Machine Learning with Binary Logistic Regression - APAC

  • 1. © 2020 Minitab, LLC. Machine Learning with Binary Logistic Regression
  • 2. © 2020 Minitab, LLC. • 25+ years of experience • Minitab Trainer • Statistical Consultant • Minitab Software Designer • Master's in Statistics Meet the Presenter: Cheryl Pammer Senior Advisory Statistician
  • 3. © 2020 Minitab, LLC. Learning Objectives ►Use Binary Logistic Regression in a Machine Learning Environment ►Discuss Methods for Model Selection Using:  P-values  Area Under the ROC Curve  Information Criteria 4
  • 4. © 2020 Minitab, LLC. Basic Supervised Machine Learning Algorithms ►Continuous Y: Regression, CART Regression Trees ►Categorical Y: Logistic Regression, CART Classification Trees 5
  • 5. © 2020 Minitab, LLC. What Has a Machine Learned? 6 Training Data Test Data ?Data is split into a training set and a test set: ►Training (or learn) = creates model ►Test = assesses model performance
  • 6. © 2020 Minitab, LLC. Why is Model Testing (Validation) Important? ►Assessing model with the same data used to fit model leads to overfitting. ►Overfit models do not predict well. 7
  • 7. © 2020 Minitab, LLC. Bias-Variance Trade-Off 8 Model with High Bias Model with High Variance
  • 8. © 2020 Minitab, LLC. Validation 9 Validation helps find the best balance between too simple (high bias) and too complex (high variance)
  • 9. © 2020 Minitab, LLC. Example ►Hospital system needs to estimate the probability that a patient will need to be readmitted within 30 days. ►Administrators use patient data for the past year to determine the key drivers of readmission and predict readmission probability for new patients. 10
  • 10. © 2020 Minitab, LLC. Binary Logistic Regression Models relationship between binary response (Y) and multiple features (X). 11
  • 11. © 2020 Minitab, LLC. Binary Logistic Regression 12 Relationship can be expressed as an equation: Loge[p/(1-p)] = β0 + β1x1 + … + βkxk Probability (Event) = exp(β0 + β1x1 + … + βkxk) (1 + exp(β0 + β1x1 + … + βkxk))
  • 12. © 2020 Minitab, LLC. Baseline Rate 13
  • 13. © 2020 Minitab, LLC. Potential Predictors  Number of Hospital Days  Number of Lab Procedures  Number of Procedures  Number of Medications  Number of Outpatient Visits  Number of Emergency Visits  Number of Diagnoses  Race  Gender  Age  Admission  Discharged To  Diabetes 14
  • 14. © 2020 Minitab, LLC. Potential Terms Up To Order 2 15
  • 15. © 2020 Minitab, LLC. Stepwise Regression Using P-values Automatically select regression or logistic regression models by adding or removing terms, one step at a time: ►Backward Elimination: Start with full model (all terms) and remove term with the highest p-value until everything left is significant. ►Forward Selection: Start with an empty model (intercept only) and add term with lowest p-value until no significant terms remain. ►Stepwise: Start with an empty model (intercept only), add term with lowest p-value. At each step, add or remove terms based on p-values.
  • 16. © 2020 Minitab, LLC. Validation With a Test Set Hold out random X% of data when fitting model. 17
  • 17. © 2020 Minitab, LLC. Receiver Operating Characteristic (ROC) Curve ►Plot of True Positive Rate vs False Positive Rate ►For a random classifier True Positive Rate = False Positive Rate 18 True Yes True No Model = Yes #TP #FP Model = No #FN #TN Sensitivity = TP/(TP + FN) Specificity = TN/(FP + TN)
  • 18. © 2020 Minitab, LLC. Stepwise Model Selection 19 Step Predictors Test ROC 1 Discharged To 0.5655 2 Discharged To #Emergency Visits 0.5830 3 Discharged To #Emergency Visits #Diagnoses 0.6007 … 8 Final (8 Terms) 0.6021
  • 19. © 2020 Minitab, LLC. Visualizing Model Results 20
  • 20. © 2020 Minitab, LLC. Visualizing Model Results 21
  • 21. © 2020 Minitab, LLC. Predicting the Probability of Readmission 22
  • 22. © 2020 Minitab, LLC. Problems With P-Value-Based Variable Selection ►With larger data sets, tests can be too powerful and almost everything is significant. ►With many potential terms, some will be significant by chance. ►Because individual p-values are dependent on other terms in model, finding the correct subset of terms is challenging. 23 ?
  • 23. © 2020 Minitab, LLC. Model Selection Strategies ►Need criterion to compare models.  Categorical Y: Area under ROC curve (Test ROC)  Continuous Y: Test R2  Information criteria: AIC, BIC ►Given a criterion, need a search strategy.  Look at all possible models (Best Subsets)  Stepwise procedures Many automated model fitting techniques exist. These vary depending on type of model. 24
  • 24. © 2020 Minitab, LLC. Example: Furniture Delivery ►Furniture manufacturer investigates 12 potential key drivers of defects in setup and delivery process. ►Data represent individual deliveries over several months. ►Response:  Yes = Damaged  No = Not Damaged 25
  • 25. © 2020 Minitab, LLC. Information Criteria ►When a model used to represent a population, information is lost. ►Akaike Information Criteria (AIC) and Bayesian Information Criteria (BIC) estimate relative information loss. Less is better. 26
  • 26. © 2020 Minitab, LLC. Information Criteria Goal: Find a model that is neither underfit nor overfit. ►Assess goodness of fit using likelihood function – discourages underfitting. ►Penalize overfitting by considering the number of model terms. 27
  • 27. © 2020 Minitab, LLC. Properties of AIC and BIC ►BIC will typically choose a model as small or smaller than AIC ►As sample size grows to infinity it can be shown that:  AIC will always choose a model that contains the true model; it won’t leave any variables out  BIC will choose exactly the right model 28
  • 28. © 2020 Minitab, LLC. Forward Information Criteria Model Selection 29 Step Predictors BIC Test ROC 1 Warehouse Time 1348 0.9977 2 + Tech Lead 1290 0.9989 3 + Team Lift 1077 0.9993 4 + Load Type 877 0.9997 5 + Stop Number 810 0.9998 6 + Driver 1122 0.9998 BIC typically results in smaller models unless n is small.
  • 29. © 2020 Minitab, LLC. Receiver Operating Characteristic (ROC) Curve 30 Sensitivity = TP/(TP + FN) Specificity = TN/(FP + TN) True Yes True No Model = Yes #TP #FP Model = No #FN #TN
  • 30. © 2020 Minitab, LLC. One Look of the Data… 31
  • 31. © 2020 Minitab, LLC. Highly Significant, But… 32
  • 32. © 2020 Minitab, LLC. The Real Key Result 33
  • 33. © 2020 Minitab, LLC. Take-aways You have learned to use: ►Binary Logistic Regression in a Machine Learning Environment ►Old and New Methods for Model Selection:  P-values  Area Under the ROC Curve  Information Criteria Questions? Cheryl Pammer cpammer@minitab.com 34
  • 34. © 2020 Minitab, LLC. Upcoming Webinars and Virtual Events • Machine Learning with Classification & Regression Trees (CART® ) Time: Wednesday 15 July, 12PM AEST (10AM HKT / 2PM NZST) See all the details and sign up at: https://info.minitab.com/resources/webinars/webinar-wednesdays
  • 35. © 2020 Minitab, LLC. Upcoming Webinars and Virtual Events • Online/Virtual Training Minitab is now offering virtual training taught by Minitab experts – perfect for remote/home workers. Visit www.minitab.com/training/training for more info. • Talk to Minitab Complimentary resources to help you deal quickly with today's challenges and changing environment. Visit www.minitab.com and click on the Talk to Minitab button and a Minitab representative will be in touch!
  • 36. © 2020 Minitab, LLC. Our Approach: More Than Business Analytics… Solutions Analytics Software Services Training Learn first-hand by attending public or customized trainings in your facilities according to your requirements. Statistical Consulting Personalized help with statistical challenges from collecting the right data to interpreting analysis more. Support Assistance with installation, implementation, version updates and license management. Master statistics and Minitab anywhere with online training Machine learning and predictive analytics software Start, track, manage and execute improvement projects with real-time dashboards Powerful statistical software everyone can use. Data Analysis Predictive Modeling Visual Business Tools Project Oversight Visual tools to process and product excellence. Online Training Solutions analytics is our integrated approach to providing software and services that enable organizations to make better decisions that drive business excellence.