SlideShare a Scribd company logo
1 of 6
Logistic Regression
Logistic Regression
• Linear regression :
• Logistic regression
Specify the predictor to include and their term
a type of regression analysis used for predicting the outcome of a
categorical dependent variable (Y)
an approach to model the relationship between a scalar dependent variable
y and one or more explanatory variable denoted X.
Specific model relating the predictors with the outcome .
Introduction
Categorical variable = dividing into classes
Example:
Y
Holding/Selling/Buying a stock
Categorical variable with three categories
each of the stock in the dataset (the observations) as
belonging to one three classes
Classifying a new observation, class is unknown, into one of the classes
based on the values of its predictor variable (Classification)
Can be used in data ( the class is known) to find similarities between
observation within each class in term of the predictor variables
(Profiling)
Introduction
Applications
1. Classifying customers as returning or returning (classification)
2. Finding factors that differentiate between male and female top executives
(profiling)
3. Predicting the approval or disapproval of a loan based on information such
as scores (classification)
Focus: a binary dependent variable having two possible classes
Popular example of binary response outcomes :
success/failure, yes/no, buy/don’t buy, default/don’t default, and
survive/die
Code the values of binary response Y as 0 and 1
Introduction
Steps:
1. Yield Estimates of the probabilities of belonging to each class.
get an estimate of P(Y=1), the probability of belonging to class 1
(which also tells us the probability of belonging to class 0)
2. Use a cutoff value on these probabilities in order to classify each
case in one of the classes.
Example: a cutoff 0.5 ,
case with an estimated probability
P(Y=1) > 0.5 are classified as belonging to class 1
P(Y=1) < 0.5 are classified as belonging to class 0
Logistic Regression Model

More Related Content

What's hot

T18 discriminant analysis
T18 discriminant analysisT18 discriminant analysis
T18 discriminant analysis
kompellark
 
Discriminant analysis basicrelationships
Discriminant analysis basicrelationshipsDiscriminant analysis basicrelationships
Discriminant analysis basicrelationships
divyakalsi89
 
Scaling techniques (unit iv) shradha
Scaling techniques (unit iv)   shradhaScaling techniques (unit iv)   shradha
Scaling techniques (unit iv) shradha
Shilpi Vaishkiyar
 
Measurement and scales
Measurement and scalesMeasurement and scales
Measurement and scales
Karan Khaneja
 
Confirmatory Factor Analysis Presented by Mahfoudh Mgammal
Confirmatory Factor Analysis Presented by Mahfoudh MgammalConfirmatory Factor Analysis Presented by Mahfoudh Mgammal
Confirmatory Factor Analysis Presented by Mahfoudh Mgammal
Dr. Mahfoudh Hussein Mgammal
 

What's hot (19)

Discriminant analysis
Discriminant analysisDiscriminant analysis
Discriminant analysis
 
T18 discriminant analysis
T18 discriminant analysisT18 discriminant analysis
T18 discriminant analysis
 
Scales.pptx
Scales.pptxScales.pptx
Scales.pptx
 
Multivariate Analysis An Overview
Multivariate Analysis An OverviewMultivariate Analysis An Overview
Multivariate Analysis An Overview
 
simple discriminant
simple discriminantsimple discriminant
simple discriminant
 
Discriminant function analysis (DFA)
Discriminant function analysis (DFA)Discriminant function analysis (DFA)
Discriminant function analysis (DFA)
 
Discriminant analysis
Discriminant analysisDiscriminant analysis
Discriminant analysis
 
Discriminant analysis
Discriminant analysisDiscriminant analysis
Discriminant analysis
 
Mr4 ms10
Mr4 ms10Mr4 ms10
Mr4 ms10
 
Chapter 8 by Malhotra
Chapter 8 by MalhotraChapter 8 by Malhotra
Chapter 8 by Malhotra
 
9 case
9 case9 case
9 case
 
Discriminant analysis basicrelationships
Discriminant analysis basicrelationshipsDiscriminant analysis basicrelationships
Discriminant analysis basicrelationships
 
AS Week 7 Observation and Levels of Measurement.
AS Week 7 Observation and Levels of Measurement. AS Week 7 Observation and Levels of Measurement.
AS Week 7 Observation and Levels of Measurement.
 
Scaling techniques (unit iv) shradha
Scaling techniques (unit iv)   shradhaScaling techniques (unit iv)   shradha
Scaling techniques (unit iv) shradha
 
Stratification
Stratification Stratification
Stratification
 
6SigmaReferenceMaterials
6SigmaReferenceMaterials6SigmaReferenceMaterials
6SigmaReferenceMaterials
 
Measurement and scales
Measurement and scalesMeasurement and scales
Measurement and scales
 
Confirmatory Factor Analysis Presented by Mahfoudh Mgammal
Confirmatory Factor Analysis Presented by Mahfoudh MgammalConfirmatory Factor Analysis Presented by Mahfoudh Mgammal
Confirmatory Factor Analysis Presented by Mahfoudh Mgammal
 
Factor analysis
Factor analysisFactor analysis
Factor analysis
 

Viewers also liked

Pelaksanaan undang undang di sekolah dalam aspek tanggungjawab berjaga-jaga ...
Pelaksanaan undang undang di sekolah dalam aspek tanggungjawab berjaga-jaga  ...Pelaksanaan undang undang di sekolah dalam aspek tanggungjawab berjaga-jaga  ...
Pelaksanaan undang undang di sekolah dalam aspek tanggungjawab berjaga-jaga ...
norisham
 

Viewers also liked (13)

Logistic regression
Logistic regressionLogistic regression
Logistic regression
 
About the Pranas technologies
About the Pranas technologies About the Pranas technologies
About the Pranas technologies
 
50 k
50 k50 k
50 k
 
Insomnia
InsomniaInsomnia
Insomnia
 
Pranas Technologies Brochure
Pranas Technologies BrochurePranas Technologies Brochure
Pranas Technologies Brochure
 
Present perfect
Present perfectPresent perfect
Present perfect
 
Presentación del Dr. Paul Connett en Puerto Rico 2010
Presentación del Dr. Paul Connett en Puerto Rico 2010Presentación del Dr. Paul Connett en Puerto Rico 2010
Presentación del Dr. Paul Connett en Puerto Rico 2010
 
Body planesdirectionscavities
Body planesdirectionscavitiesBody planesdirectionscavities
Body planesdirectionscavities
 
Pelaksanaan undang undang di sekolah dalam aspek tanggungjawab berjaga-jaga ...
Pelaksanaan undang undang di sekolah dalam aspek tanggungjawab berjaga-jaga  ...Pelaksanaan undang undang di sekolah dalam aspek tanggungjawab berjaga-jaga  ...
Pelaksanaan undang undang di sekolah dalam aspek tanggungjawab berjaga-jaga ...
 
Mobile application development
Mobile application developmentMobile application development
Mobile application development
 
Communication presentation
Communication presentationCommunication presentation
Communication presentation
 
Meet Li Wei (Visual Resume)
Meet Li Wei (Visual Resume)Meet Li Wei (Visual Resume)
Meet Li Wei (Visual Resume)
 
Why Visionary CEOs Never Have Visionary Successors
Why Visionary CEOs Never Have Visionary SuccessorsWhy Visionary CEOs Never Have Visionary Successors
Why Visionary CEOs Never Have Visionary Successors
 

Similar to Logistic regression

Logistic Regression in machine learning.docx
Logistic Regression in machine learning.docxLogistic Regression in machine learning.docx
Logistic Regression in machine learning.docx
AbhaBansal8
 
Multinomial Logistic Regression.pdf
Multinomial Logistic Regression.pdfMultinomial Logistic Regression.pdf
Multinomial Logistic Regression.pdf
AlemAyahu
 
chapter session 2.4 Specifying purpose.pptx
chapter session 2.4 Specifying purpose.pptxchapter session 2.4 Specifying purpose.pptx
chapter session 2.4 Specifying purpose.pptx
etebarkhmichale
 
Module5.slp
Module5.slpModule5.slp
Module5.slp
Gimylin
 
Module5.slp
Module5.slpModule5.slp
Module5.slp
Gimylin
 
Module5.slp
Module5.slpModule5.slp
Module5.slp
Gimylin
 

Similar to Logistic regression (20)

Lecture_16_Hope_to_skills.pptx
Lecture_16_Hope_to_skills.pptxLecture_16_Hope_to_skills.pptx
Lecture_16_Hope_to_skills.pptx
 
Machine Learning (Classification Models)
Machine Learning (Classification Models)Machine Learning (Classification Models)
Machine Learning (Classification Models)
 
Logistic Regression in machine learning.docx
Logistic Regression in machine learning.docxLogistic Regression in machine learning.docx
Logistic Regression in machine learning.docx
 
Discriminant analysis.pptx
Discriminant analysis.pptxDiscriminant analysis.pptx
Discriminant analysis.pptx
 
7. logistics regression using spss
7. logistics regression using spss7. logistics regression using spss
7. logistics regression using spss
 
Ekonometrika
EkonometrikaEkonometrika
Ekonometrika
 
CHAPTER 11 LOGISTIC REGRESSION.pptx
CHAPTER 11 LOGISTIC REGRESSION.pptxCHAPTER 11 LOGISTIC REGRESSION.pptx
CHAPTER 11 LOGISTIC REGRESSION.pptx
 
Multinomial Logistic Regression.pdf
Multinomial Logistic Regression.pdfMultinomial Logistic Regression.pdf
Multinomial Logistic Regression.pdf
 
Adlt673 session 5_2017
Adlt673 session 5_2017Adlt673 session 5_2017
Adlt673 session 5_2017
 
chapter session 2.4 Specifying purpose.pptx
chapter session 2.4 Specifying purpose.pptxchapter session 2.4 Specifying purpose.pptx
chapter session 2.4 Specifying purpose.pptx
 
Module5.slp
Module5.slpModule5.slp
Module5.slp
 
Module5.slp
Module5.slpModule5.slp
Module5.slp
 
Module5.slp
Module5.slpModule5.slp
Module5.slp
 
Log reg pdf.pdf
Log reg pdf.pdfLog reg pdf.pdf
Log reg pdf.pdf
 
diiscriminant analysis1.pptx
diiscriminant analysis1.pptxdiiscriminant analysis1.pptx
diiscriminant analysis1.pptx
 
Chemistry Lab Manual
Chemistry Lab ManualChemistry Lab Manual
Chemistry Lab Manual
 
Logistical Regression.pptx
Logistical Regression.pptxLogistical Regression.pptx
Logistical Regression.pptx
 
Discriminant analysis-Business Intelligence tool
Discriminant analysis-Business Intelligence toolDiscriminant analysis-Business Intelligence tool
Discriminant analysis-Business Intelligence tool
 
fraenkel4_ppt_ch03.ppt
fraenkel4_ppt_ch03.pptfraenkel4_ppt_ch03.ppt
fraenkel4_ppt_ch03.ppt
 
variables and hypothe.ppt
variables and hypothe.pptvariables and hypothe.ppt
variables and hypothe.ppt
 

Recently uploaded

Recently uploaded (20)

Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 

Logistic regression

  • 2. Logistic Regression • Linear regression : • Logistic regression Specify the predictor to include and their term a type of regression analysis used for predicting the outcome of a categorical dependent variable (Y) an approach to model the relationship between a scalar dependent variable y and one or more explanatory variable denoted X. Specific model relating the predictors with the outcome .
  • 3. Introduction Categorical variable = dividing into classes Example: Y Holding/Selling/Buying a stock Categorical variable with three categories each of the stock in the dataset (the observations) as belonging to one three classes Classifying a new observation, class is unknown, into one of the classes based on the values of its predictor variable (Classification) Can be used in data ( the class is known) to find similarities between observation within each class in term of the predictor variables (Profiling)
  • 4. Introduction Applications 1. Classifying customers as returning or returning (classification) 2. Finding factors that differentiate between male and female top executives (profiling) 3. Predicting the approval or disapproval of a loan based on information such as scores (classification) Focus: a binary dependent variable having two possible classes Popular example of binary response outcomes : success/failure, yes/no, buy/don’t buy, default/don’t default, and survive/die Code the values of binary response Y as 0 and 1
  • 5. Introduction Steps: 1. Yield Estimates of the probabilities of belonging to each class. get an estimate of P(Y=1), the probability of belonging to class 1 (which also tells us the probability of belonging to class 0) 2. Use a cutoff value on these probabilities in order to classify each case in one of the classes. Example: a cutoff 0.5 , case with an estimated probability P(Y=1) > 0.5 are classified as belonging to class 1 P(Y=1) < 0.5 are classified as belonging to class 0