SlideShare une entreprise Scribd logo
1  sur  11
LOGISTIC REGRESSION
Logistic Regression
 •   Form of regression that allows the prediction of
     discrete variables by a mix of continuous and
     discrete predictors.
 •   Addresses the same questions that discriminant
     function analysis and multiple regression do but
     with no distributional assumptions on the
     predictors (the predictors do not have to be
     normally distributed, linearly related or have
     equal variance in each group)
Types of logistic regression
 BINARY LOGISTIC REGRESSION
 It is used when the dependent variable is
 dichotomous.

MULTINOMIAL LOGISTIC REGRESSION
 It is used when the dependent or outcomes
 variable has more than two categories.
Binary logistic regression expression


BINAR
  Y
        Y = Dependent Variables
        ß˚ = Constant
        ß1 = Coefficient of variable X1
        X1 = Independent Variables
        E = Error Term
Logistic Regression
In logistic regression the outcome variable is binary,
  and the purpose of the analysis is to assess the
  effects of multiple explanatory variables, which
  can be numeric and/or categorical, on the
  outcome variable.
When and Why Binary Logistic
             Regression?
     When the dependent variable is non parametric
      and we don't have homoscedasticity (variance of
      DV and IV not equal).
     Used when the dependent variable has only two
      levels. (Yes/no, male/female, taken/not taken)
     If multivariate normality is suspected.
     If we don’t have linearity.




7
Who uses it in Plain words.
     Binary Logistic Regression can be used in the following
      situations.
       A catalog company wants to increase the proportion of mailings
        that result in sales.
       A doctor wants to accurately diagnose a possibly cancerous tumor.
       A loan officer wants to know whether the next customer is likely
        to default.
     Using the Binary Logistic Regression procedure, the catalog
      company can send mailings to the people who are most likely
      to respond, the doctor can determine whether the tumor is
      more likely to be benign or malignant, and the loan officer can
      assess the risk of extending credit to a particular customer.

8
3. SAMPLE SIZE

 Very small samples have so much sampling errors.
 Very large sample size decreases the chances of
  errors.
 Logistic requires larger sample size than multiple
  regression.
 Hosmer and Lamshow recommended sample size
  greater than 400.
SAMPLE SIZE PER CATEGORY OF THE INDEPENDENT
                  VARIABLE



      The recommended sample size for each group
      is at least 10 observations per estimated
      parameters.
ASSUMPTIONS


     No assumptions about the distributions of the
      predictor variables.
     Predictors do not have to be normally distributed
     Does not have to be linearly related.
     Does not have to have equal variance within each
      group.
     There should be a minimum of 20 cases per
      predictor, with a minimum of 60 total cases.
      These requirements need to be satisfied prior to
      doing statistical analysis with SPSS.

1
1
We will now go to SPSS for
     analysis.
     Analyze  regression  binary logistic
     Algebra 2 = gender + mosaic +
     visualization test and parents education




13

Contenu connexe

Tendances

Regression analysis ppt
Regression analysis pptRegression analysis ppt
Regression analysis ppt
Elkana Rorio
 
Linear regression
Linear regressionLinear regression
Linear regression
Tech_MX
 
Time Series
Time SeriesTime Series
Time Series
yush313
 

Tendances (20)

Pca ppt
Pca pptPca ppt
Pca ppt
 
Decision tree
Decision treeDecision tree
Decision tree
 
Regression analysis ppt
Regression analysis pptRegression analysis ppt
Regression analysis ppt
 
Decision Trees
Decision TreesDecision Trees
Decision Trees
 
7. logistics regression using spss
7. logistics regression using spss7. logistics regression using spss
7. logistics regression using spss
 
Logistic regression
Logistic regressionLogistic regression
Logistic regression
 
Regression
Regression Regression
Regression
 
Logistic regression with SPSS examples
Logistic regression with SPSS examplesLogistic regression with SPSS examples
Logistic regression with SPSS examples
 
Logistic regression
  Logistic regression  Logistic regression
Logistic regression
 
Logistic regression with SPSS
Logistic regression with SPSSLogistic regression with SPSS
Logistic regression with SPSS
 
Linear regression
Linear regressionLinear regression
Linear regression
 
Random forest
Random forestRandom forest
Random forest
 
Principal Component Analysis (PCA) and LDA PPT Slides
Principal Component Analysis (PCA) and LDA PPT SlidesPrincipal Component Analysis (PCA) and LDA PPT Slides
Principal Component Analysis (PCA) and LDA PPT Slides
 
Regression
RegressionRegression
Regression
 
Machine Learning With Logistic Regression
Machine Learning  With Logistic RegressionMachine Learning  With Logistic Regression
Machine Learning With Logistic Regression
 
Lasso and ridge regression
Lasso and ridge regressionLasso and ridge regression
Lasso and ridge regression
 
Time Series
Time SeriesTime Series
Time Series
 
Categorical data analysis
Categorical data analysisCategorical data analysis
Categorical data analysis
 
Cluster analysis
Cluster analysisCluster analysis
Cluster analysis
 
Multivariate analysis
Multivariate analysisMultivariate analysis
Multivariate analysis
 

Similaire à Logistic regression

Discriminant Analysis.pptx
Discriminant Analysis.pptxDiscriminant Analysis.pptx
Discriminant Analysis.pptx
GedaSheko
 
Module5.slp
Module5.slpModule5.slp
Module5.slp
Gimylin
 
Module5.slp
Module5.slpModule5.slp
Module5.slp
Gimylin
 
Module5.slp
Module5.slpModule5.slp
Module5.slp
Gimylin
 
Quantitative Data Analysis: Hypothesis Testing
Quantitative Data Analysis: Hypothesis TestingQuantitative Data Analysis: Hypothesis Testing
Quantitative Data Analysis: Hypothesis Testing
Murni Mohd Yusof
 

Similaire à Logistic regression (20)

logisticregression-120102011227-phpapp01.pptx
logisticregression-120102011227-phpapp01.pptxlogisticregression-120102011227-phpapp01.pptx
logisticregression-120102011227-phpapp01.pptx
 
Log reg pdf.pdf
Log reg pdf.pdfLog reg pdf.pdf
Log reg pdf.pdf
 
Discriminant Analysis.pptx
Discriminant Analysis.pptxDiscriminant Analysis.pptx
Discriminant Analysis.pptx
 
Regression analysis made easy
Regression analysis made easyRegression analysis made easy
Regression analysis made easy
 
Discriminant analysis.pptx
Discriminant analysis.pptxDiscriminant analysis.pptx
Discriminant analysis.pptx
 
Logistic regression sage
Logistic regression sageLogistic regression sage
Logistic regression sage
 
Multivariate Variate Techniques
Multivariate Variate TechniquesMultivariate Variate Techniques
Multivariate Variate Techniques
 
Discriment analysis
Discriment analysisDiscriment analysis
Discriment analysis
 
USE OF PLS COMPONENTS TO IMPROVE CLASSIFICATION ON BUSINESS DECISION MAKING
USE OF PLS COMPONENTS TO IMPROVE CLASSIFICATION ON BUSINESS DECISION MAKINGUSE OF PLS COMPONENTS TO IMPROVE CLASSIFICATION ON BUSINESS DECISION MAKING
USE OF PLS COMPONENTS TO IMPROVE CLASSIFICATION ON BUSINESS DECISION MAKING
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
 
Module5.slp
Module5.slpModule5.slp
Module5.slp
 
linear model multiple predictors.pdf
linear model multiple predictors.pdflinear model multiple predictors.pdf
linear model multiple predictors.pdf
 
Module5.slp
Module5.slpModule5.slp
Module5.slp
 
Module5.slp
Module5.slpModule5.slp
Module5.slp
 
Data-Analysis.pptx
Data-Analysis.pptxData-Analysis.pptx
Data-Analysis.pptx
 
Mba2216 week 11 data analysis part 03 appendix
Mba2216 week 11 data analysis part 03 appendixMba2216 week 11 data analysis part 03 appendix
Mba2216 week 11 data analysis part 03 appendix
 
Logistic-Regression-Webinar.pdf
Logistic-Regression-Webinar.pdfLogistic-Regression-Webinar.pdf
Logistic-Regression-Webinar.pdf
 
Discriminant analysis-Business Intelligence tool
Discriminant analysis-Business Intelligence toolDiscriminant analysis-Business Intelligence tool
Discriminant analysis-Business Intelligence tool
 
Kofi nyanteng spss associative data analysis
Kofi nyanteng spss associative data analysisKofi nyanteng spss associative data analysis
Kofi nyanteng spss associative data analysis
 
Quantitative Data Analysis: Hypothesis Testing
Quantitative Data Analysis: Hypothesis TestingQuantitative Data Analysis: Hypothesis Testing
Quantitative Data Analysis: Hypothesis Testing
 

Plus de saba khan

Training_Self Assessment Report
Training_Self Assessment ReportTraining_Self Assessment Report
Training_Self Assessment Report
saba khan
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
saba khan
 
Factor analysis
Factor analysisFactor analysis
Factor analysis
saba khan
 
Correspondence analysis final
Correspondence analysis finalCorrespondence analysis final
Correspondence analysis final
saba khan
 
Conjoint ppt final one
Conjoint ppt final oneConjoint ppt final one
Conjoint ppt final one
saba khan
 

Plus de saba khan (6)

Training_Self Assessment Report
Training_Self Assessment ReportTraining_Self Assessment Report
Training_Self Assessment Report
 
Sem
SemSem
Sem
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
 
Factor analysis
Factor analysisFactor analysis
Factor analysis
 
Correspondence analysis final
Correspondence analysis finalCorrespondence analysis final
Correspondence analysis final
 
Conjoint ppt final one
Conjoint ppt final oneConjoint ppt final one
Conjoint ppt final one
 

Dernier

!~+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUD...
!~+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUD...!~+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUD...
!~+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUD...
DUBAI (+971)581248768 BUY ABORTION PILLS IN ABU dhabi...Qatar
 
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
daisycvs
 
Mifepristone Available in Muscat +918761049707^^ €€ Buy Abortion Pills in Oman
Mifepristone Available in Muscat +918761049707^^ €€ Buy Abortion Pills in OmanMifepristone Available in Muscat +918761049707^^ €€ Buy Abortion Pills in Oman
Mifepristone Available in Muscat +918761049707^^ €€ Buy Abortion Pills in Oman
instagramfab782445
 
Structuring and Writing DRL Mckinsey (1).pdf
Structuring and Writing DRL Mckinsey (1).pdfStructuring and Writing DRL Mckinsey (1).pdf
Structuring and Writing DRL Mckinsey (1).pdf
laloo_007
 

Dernier (20)

Paradip CALL GIRL❤7091819311❤CALL GIRLS IN ESCORT SERVICE WE ARE PROVIDING
Paradip CALL GIRL❤7091819311❤CALL GIRLS IN ESCORT SERVICE WE ARE PROVIDINGParadip CALL GIRL❤7091819311❤CALL GIRLS IN ESCORT SERVICE WE ARE PROVIDING
Paradip CALL GIRL❤7091819311❤CALL GIRLS IN ESCORT SERVICE WE ARE PROVIDING
 
!~+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUD...
!~+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUD...!~+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUD...
!~+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUD...
 
Falcon Invoice Discounting: The best investment platform in india for investors
Falcon Invoice Discounting: The best investment platform in india for investorsFalcon Invoice Discounting: The best investment platform in india for investors
Falcon Invoice Discounting: The best investment platform in india for investors
 
Famous Olympic Siblings from the 21st Century
Famous Olympic Siblings from the 21st CenturyFamous Olympic Siblings from the 21st Century
Famous Olympic Siblings from the 21st Century
 
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
 
Escorts in Nungambakkam Phone 8250092165 Enjoy 24/7 Escort Service Enjoy Your...
Escorts in Nungambakkam Phone 8250092165 Enjoy 24/7 Escort Service Enjoy Your...Escorts in Nungambakkam Phone 8250092165 Enjoy 24/7 Escort Service Enjoy Your...
Escorts in Nungambakkam Phone 8250092165 Enjoy 24/7 Escort Service Enjoy Your...
 
Getting Real with AI - Columbus DAW - May 2024 - Nick Woo from AlignAI
Getting Real with AI - Columbus DAW - May 2024 - Nick Woo from AlignAIGetting Real with AI - Columbus DAW - May 2024 - Nick Woo from AlignAI
Getting Real with AI - Columbus DAW - May 2024 - Nick Woo from AlignAI
 
Putting the SPARK into Virtual Training.pptx
Putting the SPARK into Virtual Training.pptxPutting the SPARK into Virtual Training.pptx
Putting the SPARK into Virtual Training.pptx
 
Phases of Negotiation .pptx
 Phases of Negotiation .pptx Phases of Negotiation .pptx
Phases of Negotiation .pptx
 
joint cost.pptx COST ACCOUNTING Sixteenth Edition ...
joint cost.pptx  COST ACCOUNTING  Sixteenth Edition                          ...joint cost.pptx  COST ACCOUNTING  Sixteenth Edition                          ...
joint cost.pptx COST ACCOUNTING Sixteenth Edition ...
 
Falcon Invoice Discounting: Aviate Your Cash Flow Challenges
Falcon Invoice Discounting: Aviate Your Cash Flow ChallengesFalcon Invoice Discounting: Aviate Your Cash Flow Challenges
Falcon Invoice Discounting: Aviate Your Cash Flow Challenges
 
TVB_The Vietnam Believer Newsletter_May 6th, 2024_ENVol. 006.pdf
TVB_The Vietnam Believer Newsletter_May 6th, 2024_ENVol. 006.pdfTVB_The Vietnam Believer Newsletter_May 6th, 2024_ENVol. 006.pdf
TVB_The Vietnam Believer Newsletter_May 6th, 2024_ENVol. 006.pdf
 
Arti Languages Pre Seed Teaser Deck 2024.pdf
Arti Languages Pre Seed Teaser Deck 2024.pdfArti Languages Pre Seed Teaser Deck 2024.pdf
Arti Languages Pre Seed Teaser Deck 2024.pdf
 
Falcon Invoice Discounting: Tailored Financial Wings
Falcon Invoice Discounting: Tailored Financial WingsFalcon Invoice Discounting: Tailored Financial Wings
Falcon Invoice Discounting: Tailored Financial Wings
 
HomeRoots Pitch Deck | Investor Insights | April 2024
HomeRoots Pitch Deck | Investor Insights | April 2024HomeRoots Pitch Deck | Investor Insights | April 2024
HomeRoots Pitch Deck | Investor Insights | April 2024
 
Mifepristone Available in Muscat +918761049707^^ €€ Buy Abortion Pills in Oman
Mifepristone Available in Muscat +918761049707^^ €€ Buy Abortion Pills in OmanMifepristone Available in Muscat +918761049707^^ €€ Buy Abortion Pills in Oman
Mifepristone Available in Muscat +918761049707^^ €€ Buy Abortion Pills in Oman
 
Structuring and Writing DRL Mckinsey (1).pdf
Structuring and Writing DRL Mckinsey (1).pdfStructuring and Writing DRL Mckinsey (1).pdf
Structuring and Writing DRL Mckinsey (1).pdf
 
Organizational Transformation Lead with Culture
Organizational Transformation Lead with CultureOrganizational Transformation Lead with Culture
Organizational Transformation Lead with Culture
 
Over the Top (OTT) Market Size & Growth Outlook 2024-2030
Over the Top (OTT) Market Size & Growth Outlook 2024-2030Over the Top (OTT) Market Size & Growth Outlook 2024-2030
Over the Top (OTT) Market Size & Growth Outlook 2024-2030
 
Call 7737669865 Vadodara Call Girls Service at your Door Step Available All Time
Call 7737669865 Vadodara Call Girls Service at your Door Step Available All TimeCall 7737669865 Vadodara Call Girls Service at your Door Step Available All Time
Call 7737669865 Vadodara Call Girls Service at your Door Step Available All Time
 

Logistic regression

  • 2. Logistic Regression • Form of regression that allows the prediction of discrete variables by a mix of continuous and discrete predictors. • Addresses the same questions that discriminant function analysis and multiple regression do but with no distributional assumptions on the predictors (the predictors do not have to be normally distributed, linearly related or have equal variance in each group)
  • 3. Types of logistic regression  BINARY LOGISTIC REGRESSION It is used when the dependent variable is dichotomous. MULTINOMIAL LOGISTIC REGRESSION It is used when the dependent or outcomes variable has more than two categories.
  • 4. Binary logistic regression expression BINAR Y Y = Dependent Variables ß˚ = Constant ß1 = Coefficient of variable X1 X1 = Independent Variables E = Error Term
  • 5. Logistic Regression In logistic regression the outcome variable is binary, and the purpose of the analysis is to assess the effects of multiple explanatory variables, which can be numeric and/or categorical, on the outcome variable.
  • 6. When and Why Binary Logistic Regression?  When the dependent variable is non parametric and we don't have homoscedasticity (variance of DV and IV not equal).  Used when the dependent variable has only two levels. (Yes/no, male/female, taken/not taken)  If multivariate normality is suspected.  If we don’t have linearity. 7
  • 7. Who uses it in Plain words.  Binary Logistic Regression can be used in the following situations.  A catalog company wants to increase the proportion of mailings that result in sales.  A doctor wants to accurately diagnose a possibly cancerous tumor.  A loan officer wants to know whether the next customer is likely to default.  Using the Binary Logistic Regression procedure, the catalog company can send mailings to the people who are most likely to respond, the doctor can determine whether the tumor is more likely to be benign or malignant, and the loan officer can assess the risk of extending credit to a particular customer. 8
  • 8. 3. SAMPLE SIZE  Very small samples have so much sampling errors.  Very large sample size decreases the chances of errors.  Logistic requires larger sample size than multiple regression.  Hosmer and Lamshow recommended sample size greater than 400.
  • 9. SAMPLE SIZE PER CATEGORY OF THE INDEPENDENT VARIABLE  The recommended sample size for each group is at least 10 observations per estimated parameters.
  • 10. ASSUMPTIONS  No assumptions about the distributions of the predictor variables.  Predictors do not have to be normally distributed  Does not have to be linearly related.  Does not have to have equal variance within each group.  There should be a minimum of 20 cases per predictor, with a minimum of 60 total cases. These requirements need to be satisfied prior to doing statistical analysis with SPSS. 1 1
  • 11. We will now go to SPSS for analysis. Analyze  regression  binary logistic Algebra 2 = gender + mosaic + visualization test and parents education 13