SlideShare una empresa de Scribd logo
1 de 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.

Más contenido relacionado

Similar a 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
 

Similar a 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
 

Último

Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxPooja Bhuva
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the ClassroomPooky Knightsmith
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Jisc
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxJisc
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfDr Vijay Vishwakarma
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structuredhanjurrannsibayan2
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Pooja Bhuva
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 

Último (20)

Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 

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.