SlideShare ist ein Scribd-Unternehmen logo
1 von 9
Why use logistic regression?
• There are many important research topics for which the dependent
variable is "limited."
• For example: voting, morbidity or mortality, and participation data
is not continuous or distributed normally.
• Binary logistic regression is a type of regression analysis where the
dependent variable is a dummy variable: coded 0 (did not vote) or
1(did vote)
Introduction
• Logistic regression estimates the probability of a certain event
occurring.
• It is used in a situation where a researcher is interested to predict the
occurrence of any happenings.
Objective of Logistic Regression
• The objective of logistic regression is to find the best fitting model
to describe the relationship between the dichotomous (binary)
characteristics of interest and a set of independent variables.
Examples of Binary Outcomes
• Should a bank give a person loan or not.
• What determines admittance into a school.
• Which consumers are more likely to buy a new product.
Uses of Logistic Regression
• Prediction of group membership
• It is also provides knowledge of the relationship and strength among
the variables.
• Casual relationship between one or more independent variables and
one binary dependent variables.
• Used to forecast the outcome event.
• Used to predict changes in probabilities.
Assumptions
• The relationship between the dependent and independent variable
may be linear or non-linear.
• The outcome variable must be coded as 0 and 1.
• The independent variable do not need to be metric.
• Independent variable linearly related to the log odds.
• It requires quit large sample size.
Key terms in Logistic Regression
• Dependent variable
– It is binary in nature.
• Independent variable
– Select the different variables that you expect to influence the
dependent variable. May be two or more.
• Hosmer-lemeshow test
– It is commonly used measure of goodness of fit.
• Odd ratio
– It is the ratio of the probability of success to the probability of
failure.
• Logit
– The logit is function which is equal to the log odds of a variable.
If p is a probability that Y=1(occurrence of an event), then p/(1-
p) is corresponding odds. The logit of probability p is given by
𝐿𝑜𝑔𝑖𝑡(𝑝) = log(
𝑝
1−𝑝
)
Predicting the Probability p
𝑍 = 𝑏𝑂 + 𝑏1𝑥1 + 𝑏2𝑥2 + ⋯ ⋯ + 𝑏𝑛𝑥𝑛
𝑏0 is the intercept and 𝑏1 , 𝑏2 are the slopes against independent
variables 𝑥1 , 𝑥2 which need to estimated.
Multiple Logistic Regression
• It applies when there is a single dichotomous outcome and more than one
independent variable.
• In multiple logistic regression, the predictor variables may be of
any data level (categorical, ordinal, or continuous).
• A major use of this technique is to examine a series of predictor
variables to determine those that best predict a certain outcome.
Multinomial logistic regression
• It is sometimes considered an extension of binomial logistic regression to allow
for a dependent variable with more than two categories.
• As with other types of regression, multinomial logistic regression can have
nominal and/or continuous independent variables and can have interactions
between independent variables to predict the dependent variable.
• Example:-
Which Flavor of ice cream will a person choose?
Dependent Variable:
• Vanilla
• Chocolate
• Butterscotch
• Black Current
Independent Variables:
• Gender
• Age
• Occasion
• Happiness
• Etc.

Weitere ähnliche Inhalte

Ähnlich wie PPT_logistic regression.pptx

Probability introduction for non-math people
Probability introduction for non-math peopleProbability introduction for non-math people
Probability introduction for non-math peopleGuangYang92
 
Ch_17_Wooldridge_6e_PPT_Updated.pdf.pdf
Ch_17_Wooldridge_6e_PPT_Updated.pdf.pdfCh_17_Wooldridge_6e_PPT_Updated.pdf.pdf
Ch_17_Wooldridge_6e_PPT_Updated.pdf.pdfROBERTOENRIQUEGARCAA1
 
Factor analysis (fa)
Factor analysis (fa)Factor analysis (fa)
Factor analysis (fa)Rajdeep Raut
 
logisticregression-120102011227-phpapp01.pptx
logisticregression-120102011227-phpapp01.pptxlogisticregression-120102011227-phpapp01.pptx
logisticregression-120102011227-phpapp01.pptxShrutiPanda12
 
Evaluation Research and Problem Analysis CH 14
Evaluation Research and Problem Analysis CH 14Evaluation Research and Problem Analysis CH 14
Evaluation Research and Problem Analysis CH 14pq5jnhdws9
 
Field Observations FDFDAFDSA FDAFDSAFD 🍴
Field Observations FDFDAFDSA FDAFDSAFD 🍴Field Observations FDFDAFDSA FDAFDSAFD 🍴
Field Observations FDFDAFDSA FDAFDSAFD 🍴pq5jnhdws9
 
Research 101: Inferential Quantitative Analysis
Research 101: Inferential Quantitative AnalysisResearch 101: Inferential Quantitative Analysis
Research 101: Inferential Quantitative AnalysisHarold Gamero
 
Logistics Regression Using Python.pptx
Logistics Regression Using Python.pptxLogistics Regression Using Python.pptx
Logistics Regression Using Python.pptxSharmilaMore5
 
Correlational research
Correlational research Correlational research
Correlational research Self employed
 
Adstat upload 1
Adstat upload 1Adstat upload 1
Adstat upload 1Tim Arroyo
 
factor analysis (basics) for research .ppt
factor analysis (basics) for research .pptfactor analysis (basics) for research .ppt
factor analysis (basics) for research .pptMsHumaJaved
 
Dependence Techniques
Dependence Techniques Dependence Techniques
Dependence Techniques Hasnain Khan
 
Logistic-regression.pptx
Logistic-regression.pptxLogistic-regression.pptx
Logistic-regression.pptxsherinjoyson
 
Quantitative Data Analysis: Hypothesis Testing
Quantitative Data Analysis: Hypothesis TestingQuantitative Data Analysis: Hypothesis Testing
Quantitative Data Analysis: Hypothesis TestingMurni Mohd Yusof
 
Factor Analysis Prakash Poddar
Factor Analysis Prakash PoddarFactor Analysis Prakash Poddar
Factor Analysis Prakash PoddarPrakashsirg1990
 

Ähnlich wie PPT_logistic regression.pptx (20)

Probability introduction for non-math people
Probability introduction for non-math peopleProbability introduction for non-math people
Probability introduction for non-math people
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
 
PA_EPGDM_2_2023.pptx
PA_EPGDM_2_2023.pptxPA_EPGDM_2_2023.pptx
PA_EPGDM_2_2023.pptx
 
Ch_17_Wooldridge_6e_PPT_Updated.pdf.pdf
Ch_17_Wooldridge_6e_PPT_Updated.pdf.pdfCh_17_Wooldridge_6e_PPT_Updated.pdf.pdf
Ch_17_Wooldridge_6e_PPT_Updated.pdf.pdf
 
Factor analysis (fa)
Factor analysis (fa)Factor analysis (fa)
Factor analysis (fa)
 
Discriment analysis
Discriment analysisDiscriment analysis
Discriment analysis
 
logisticregression-120102011227-phpapp01.pptx
logisticregression-120102011227-phpapp01.pptxlogisticregression-120102011227-phpapp01.pptx
logisticregression-120102011227-phpapp01.pptx
 
Evaluation Research and Problem Analysis CH 14
Evaluation Research and Problem Analysis CH 14Evaluation Research and Problem Analysis CH 14
Evaluation Research and Problem Analysis CH 14
 
Field Observations FDFDAFDSA FDAFDSAFD 🍴
Field Observations FDFDAFDSA FDAFDSAFD 🍴Field Observations FDFDAFDSA FDAFDSAFD 🍴
Field Observations FDFDAFDSA FDAFDSAFD 🍴
 
Research 101: Inferential Quantitative Analysis
Research 101: Inferential Quantitative AnalysisResearch 101: Inferential Quantitative Analysis
Research 101: Inferential Quantitative Analysis
 
Logistics Regression Using Python.pptx
Logistics Regression Using Python.pptxLogistics Regression Using Python.pptx
Logistics Regression Using Python.pptx
 
QCI WORKSHOP- Factor analysis-
QCI WORKSHOP- Factor analysis-QCI WORKSHOP- Factor analysis-
QCI WORKSHOP- Factor analysis-
 
Correlational research
Correlational research Correlational research
Correlational research
 
Adstat upload 1
Adstat upload 1Adstat upload 1
Adstat upload 1
 
factor analysis (basics) for research .ppt
factor analysis (basics) for research .pptfactor analysis (basics) for research .ppt
factor analysis (basics) for research .ppt
 
Factor analysis
Factor analysisFactor analysis
Factor analysis
 
Dependence Techniques
Dependence Techniques Dependence Techniques
Dependence Techniques
 
Logistic-regression.pptx
Logistic-regression.pptxLogistic-regression.pptx
Logistic-regression.pptx
 
Quantitative Data Analysis: Hypothesis Testing
Quantitative Data Analysis: Hypothesis TestingQuantitative Data Analysis: Hypothesis Testing
Quantitative Data Analysis: Hypothesis Testing
 
Factor Analysis Prakash Poddar
Factor Analysis Prakash PoddarFactor Analysis Prakash Poddar
Factor Analysis Prakash Poddar
 

Kürzlich hochgeladen

Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfVanessa Camilleri
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptxMusic 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptxleah joy valeriano
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfPatidar M
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfTechSoup
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...Postal Advocate Inc.
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfJemuel Francisco
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4JOYLYNSAMANIEGO
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management systemChristalin Nelson
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSJoshuaGantuangco2
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptxmary850239
 
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...JojoEDelaCruz
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxHumphrey A Beña
 

Kürzlich hochgeladen (20)

Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdf
 
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptxLEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptxMusic 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdf
 
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptxYOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
 
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptxFINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management system
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx
 
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
 

PPT_logistic regression.pptx

  • 1. Why use logistic regression? • There are many important research topics for which the dependent variable is "limited." • For example: voting, morbidity or mortality, and participation data is not continuous or distributed normally. • Binary logistic regression is a type of regression analysis where the dependent variable is a dummy variable: coded 0 (did not vote) or 1(did vote)
  • 2. Introduction • Logistic regression estimates the probability of a certain event occurring. • It is used in a situation where a researcher is interested to predict the occurrence of any happenings. Objective of Logistic Regression • The objective of logistic regression is to find the best fitting model to describe the relationship between the dichotomous (binary) characteristics of interest and a set of independent variables. Examples of Binary Outcomes • Should a bank give a person loan or not. • What determines admittance into a school. • Which consumers are more likely to buy a new product.
  • 3. Uses of Logistic Regression • Prediction of group membership • It is also provides knowledge of the relationship and strength among the variables. • Casual relationship between one or more independent variables and one binary dependent variables. • Used to forecast the outcome event. • Used to predict changes in probabilities.
  • 4. Assumptions • The relationship between the dependent and independent variable may be linear or non-linear. • The outcome variable must be coded as 0 and 1. • The independent variable do not need to be metric. • Independent variable linearly related to the log odds. • It requires quit large sample size.
  • 5. Key terms in Logistic Regression • Dependent variable – It is binary in nature. • Independent variable – Select the different variables that you expect to influence the dependent variable. May be two or more. • Hosmer-lemeshow test – It is commonly used measure of goodness of fit. • Odd ratio – It is the ratio of the probability of success to the probability of failure.
  • 6. • Logit – The logit is function which is equal to the log odds of a variable. If p is a probability that Y=1(occurrence of an event), then p/(1- p) is corresponding odds. The logit of probability p is given by 𝐿𝑜𝑔𝑖𝑡(𝑝) = log( 𝑝 1−𝑝 ) Predicting the Probability p 𝑍 = 𝑏𝑂 + 𝑏1𝑥1 + 𝑏2𝑥2 + ⋯ ⋯ + 𝑏𝑛𝑥𝑛 𝑏0 is the intercept and 𝑏1 , 𝑏2 are the slopes against independent variables 𝑥1 , 𝑥2 which need to estimated.
  • 7. Multiple Logistic Regression • It applies when there is a single dichotomous outcome and more than one independent variable. • In multiple logistic regression, the predictor variables may be of any data level (categorical, ordinal, or continuous). • A major use of this technique is to examine a series of predictor variables to determine those that best predict a certain outcome.
  • 8. Multinomial logistic regression • It is sometimes considered an extension of binomial logistic regression to allow for a dependent variable with more than two categories. • As with other types of regression, multinomial logistic regression can have nominal and/or continuous independent variables and can have interactions between independent variables to predict the dependent variable. • Example:- Which Flavor of ice cream will a person choose? Dependent Variable: • Vanilla • Chocolate • Butterscotch • Black Current
  • 9. Independent Variables: • Gender • Age • Occasion • Happiness • Etc.