SlideShare a Scribd company logo
1 of 19
LOGISTIC
REGRESSION
By Dr Zahid Khan
Senior Lecturer King
Faisal University,KSA
1
What is logistic regression?
Logit for short, a specialized form of regression
used when the dependent variable is dichotomous and categorical while
the independent variable(s) could be any type.

• Dependent variable is binary (yes/no, Male/Female ) outcome.
• Independent variables are continuous interval
• Examples:
• Relation of weight and BP to 10 year risk of death

• Relation of CD4 count to 1 year risk of AIDS diagnosis
2
Logistic Regression
• Form of regression that allows the prediction of discrete
variables by a mix of continuous and discrete/nominal
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)
• Does not assume a linear relationship between DV and
IV
3
Why we use
logistic ?
No assumptions about the distributions of the predictor variables.
Predictors do not have to be normally distributed
Does not have to be linearly related.
When equal variances , covariance doesn't exist across the groups.
Predictor variables is not parametric and there is no
homoscedasticity. E.g variance of dependent and independent
variables are not equal.
4
DECISION PROCESS

Stage 1:
Objectives Of logistic regression
 Identify the independent variable that impact in

the dependent variable

 Establishing classification system based on the
logistic model for determining the group
membership
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.
Linear Regression

Independent Variable

Dependent Variable

7
Logistic Regression

Independent Variable

Dependent Variable

8
Binary logistic regression expression

BINARY

Y = Dependent Variables
ß˚ = Constant
ß1 = Coefficient of variable X1
X1 = Independent Variables
E = Error Term
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.
Estimation of logistic regression model
assessing overall fit
Logistic relationship describe earlier in both estimating the logistic
model and establishing the relationship between the dependent
and independent variables.
Result is a unique transformation of dependent variables which
impacts not only the estimation process but also the resulting
coefficients of independent variables.
Transforming the dependent
variable
S-shaped
Range (0-1)
Description of the data
The data used to conduct logistic regression is from a survey of 30
homeowners conducted by an electricity company about an offer of roof
solar panels with a 50% subsidy from the state government as part of the
state’s environmental policy.
The variables are:
•IVs: household income measured in units of a thousand dollars
age of householder
monthly mortgage
size of family household
•DV: whether the householder would take or decline the offer.
offer was coded as 1 and decline the offer was coded
as 0.

Take the
WHAT IS THE RESEARCH QUESTION?
To determine whether household income and monthly
mortgage will predict taking or declining the solar panel
offer

Independent Variables: household income and monthly
mortgage
Dependent Variables: Take the offer or decline the offer
Two hypotheses to be tested
• There are two hypotheses to test in relation to the overall fit of the
model:
H0: The model is a good fitting model
H1: The model is not a good fitting model (i.e. the predictors have a
significant effect)
How to perform logistic regression in spss
1)
2)
3)
4)

Click Analyze
Select Regression
Select Binary Logistic
Select the dependent variable, the one which is a grouping
variable (0 and 1) and place it into the Dependent Box, in this
case, take or decline offer
5) Enter the predictors (IVs) that you want to test into the
Covariates Box. In this case, Household Income and Monthly
Mortgage
6) Leave Enter as the default method
Continuation of SPSS Steps
•7) If there is any categorical IV, click on Categorical button and enter it.
There is none in this case.
•8) In the Options button, select Classification Plots, Hosmer-Lemeshow
goodness-of-fit, Casewise Listing of residuals. Retain default entries for
probability of stepwise, classification cutoff, and maximum iterations
•9) Continue, then, OK
Any Questions !!!

•

Thank You

20

More Related Content

What's hot

Logistic regression with SPSS examples
Logistic regression with SPSS examplesLogistic regression with SPSS examples
Logistic regression with SPSS examplesGaurav Kamboj
 
Multinomial Logistic Regression Analysis
Multinomial Logistic Regression AnalysisMultinomial Logistic Regression Analysis
Multinomial Logistic Regression AnalysisHARISH Kumar H R
 
Logistic regression
Logistic regressionLogistic regression
Logistic regressionsaba khan
 
Multivariate analysis - Multiple regression analysis
Multivariate analysis -  Multiple regression analysisMultivariate analysis -  Multiple regression analysis
Multivariate analysis - Multiple regression analysisRaihanathusSahdhiyya
 
Multiple Regression and Logistic Regression
Multiple Regression and Logistic RegressionMultiple Regression and Logistic Regression
Multiple Regression and Logistic RegressionKaushik Rajan
 
Multiple linear regression
Multiple linear regressionMultiple linear regression
Multiple linear regressionJames Neill
 
7. logistics regression using spss
7. logistics regression using spss7. logistics regression using spss
7. logistics regression using spssDr Nisha Arora
 
Logistic Regression.ppt
Logistic Regression.pptLogistic Regression.ppt
Logistic Regression.ppthabtamu biazin
 
discriminant analysis
discriminant analysisdiscriminant analysis
discriminant analysiskrishnadk
 
Multiple regression presentation
Multiple regression presentationMultiple regression presentation
Multiple regression presentationCarlo Magno
 
Linear regression
Linear regressionLinear regression
Linear regressionSreerajVA
 
Factor analysis
Factor analysis Factor analysis
Factor analysis Nima
 
multiple regression
multiple regressionmultiple regression
multiple regressionPriya Sharma
 
Ml3 logistic regression-and_classification_error_metrics
Ml3 logistic regression-and_classification_error_metricsMl3 logistic regression-and_classification_error_metrics
Ml3 logistic regression-and_classification_error_metricsankit_ppt
 
Chapter8
Chapter8Chapter8
Chapter8Vu Vo
 

What's hot (20)

Logistic regression with SPSS examples
Logistic regression with SPSS examplesLogistic regression with SPSS examples
Logistic regression with SPSS examples
 
Multinomial Logistic Regression Analysis
Multinomial Logistic Regression AnalysisMultinomial Logistic Regression Analysis
Multinomial Logistic Regression Analysis
 
Binary Logistic Regression
Binary Logistic RegressionBinary Logistic Regression
Binary Logistic Regression
 
Logistic regression
Logistic regressionLogistic regression
Logistic regression
 
Multiple regression
Multiple regressionMultiple regression
Multiple regression
 
Multivariate analysis - Multiple regression analysis
Multivariate analysis -  Multiple regression analysisMultivariate analysis -  Multiple regression analysis
Multivariate analysis - Multiple regression analysis
 
Multiple Regression and Logistic Regression
Multiple Regression and Logistic RegressionMultiple Regression and Logistic Regression
Multiple Regression and Logistic Regression
 
Logistic regression
  Logistic regression  Logistic regression
Logistic regression
 
Multiple linear regression
Multiple linear regressionMultiple linear regression
Multiple linear regression
 
7. logistics regression using spss
7. logistics regression using spss7. logistics regression using spss
7. logistics regression using spss
 
Logistic Regression.ppt
Logistic Regression.pptLogistic Regression.ppt
Logistic Regression.ppt
 
discriminant analysis
discriminant analysisdiscriminant analysis
discriminant analysis
 
Multiple regression presentation
Multiple regression presentationMultiple regression presentation
Multiple regression presentation
 
Linear regression
Linear regressionLinear regression
Linear regression
 
Factor analysis
Factor analysis Factor analysis
Factor analysis
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
 
multiple regression
multiple regressionmultiple regression
multiple regression
 
Simple linear regression
Simple linear regressionSimple linear regression
Simple linear regression
 
Ml3 logistic regression-and_classification_error_metrics
Ml3 logistic regression-and_classification_error_metricsMl3 logistic regression-and_classification_error_metrics
Ml3 logistic regression-and_classification_error_metrics
 
Chapter8
Chapter8Chapter8
Chapter8
 

Similar to Logistic regression

logisticregression-120102011227-phpapp01.pptx
logisticregression-120102011227-phpapp01.pptxlogisticregression-120102011227-phpapp01.pptx
logisticregression-120102011227-phpapp01.pptxShrutiPanda12
 
Module5.slp
Module5.slpModule5.slp
Module5.slpGimylin
 
Module5.slp
Module5.slpModule5.slp
Module5.slpGimylin
 
Module5.slp
Module5.slpModule5.slp
Module5.slpGimylin
 
Regression analysis made easy
Regression analysis made easyRegression analysis made easy
Regression analysis made easyWeam Banjar
 
STATISTICAL REGRESSION MODELS
STATISTICAL REGRESSION MODELSSTATISTICAL REGRESSION MODELS
STATISTICAL REGRESSION MODELSAneesa K Ayoob
 
Introduction to Limited Dependent variable
Introduction to Limited Dependent variableIntroduction to Limited Dependent variable
Introduction to Limited Dependent variableAshok Dsouza
 
A presentation for Multiple linear regression.ppt
A presentation for Multiple linear regression.pptA presentation for Multiple linear regression.ppt
A presentation for Multiple linear regression.pptvigia41
 
Logit and Probit and Tobit model: Basic Introduction
Logit and Probit  and Tobit model: Basic IntroductionLogit and Probit  and Tobit model: Basic Introduction
Logit and Probit and Tobit model: Basic IntroductionRabeesh Verma
 
PPT_logistic regression.pptx
PPT_logistic regression.pptxPPT_logistic regression.pptx
PPT_logistic regression.pptxCoePHNNITR
 
A Topic on REGRESSION Analysis conducted pptx
A Topic on REGRESSION Analysis conducted pptxA Topic on REGRESSION Analysis conducted pptx
A Topic on REGRESSION Analysis conducted pptxzeusrex4815162342
 
Dependence Techniques
Dependence Techniques Dependence Techniques
Dependence Techniques Hasnain Khan
 
2.2 Logit and Probit.pptx
2.2 Logit and Probit.pptx2.2 Logit and Probit.pptx
2.2 Logit and Probit.pptxRahul Borate
 
Research method ch09 statistical methods 3 estimation np
Research method ch09 statistical methods 3 estimation npResearch method ch09 statistical methods 3 estimation np
Research method ch09 statistical methods 3 estimation npnaranbatn
 

Similar to Logistic regression (20)

Log reg pdf.pdf
Log reg pdf.pdfLog reg pdf.pdf
Log reg pdf.pdf
 
logisticregression-120102011227-phpapp01.pptx
logisticregression-120102011227-phpapp01.pptxlogisticregression-120102011227-phpapp01.pptx
logisticregression-120102011227-phpapp01.pptx
 
Module5.slp
Module5.slpModule5.slp
Module5.slp
 
Module5.slp
Module5.slpModule5.slp
Module5.slp
 
Module5.slp
Module5.slpModule5.slp
Module5.slp
 
Correlation & Regression.pptx
Correlation & Regression.pptxCorrelation & Regression.pptx
Correlation & Regression.pptx
 
Regression analysis made easy
Regression analysis made easyRegression analysis made easy
Regression analysis made easy
 
STATISTICAL REGRESSION MODELS
STATISTICAL REGRESSION MODELSSTATISTICAL REGRESSION MODELS
STATISTICAL REGRESSION MODELS
 
Introduction to Limited Dependent variable
Introduction to Limited Dependent variableIntroduction to Limited Dependent variable
Introduction to Limited Dependent variable
 
Logistic regression sage
Logistic regression sageLogistic regression sage
Logistic regression sage
 
A presentation for Multiple linear regression.ppt
A presentation for Multiple linear regression.pptA presentation for Multiple linear regression.ppt
A presentation for Multiple linear regression.ppt
 
Logit and Probit and Tobit model: Basic Introduction
Logit and Probit  and Tobit model: Basic IntroductionLogit and Probit  and Tobit model: Basic Introduction
Logit and Probit and Tobit model: Basic Introduction
 
PPT_logistic regression.pptx
PPT_logistic regression.pptxPPT_logistic regression.pptx
PPT_logistic regression.pptx
 
A Topic on REGRESSION Analysis conducted pptx
A Topic on REGRESSION Analysis conducted pptxA Topic on REGRESSION Analysis conducted pptx
A Topic on REGRESSION Analysis conducted pptx
 
Regression
RegressionRegression
Regression
 
Econometrics chapter 8
Econometrics chapter 8Econometrics chapter 8
Econometrics chapter 8
 
Multicollinearity PPT
Multicollinearity PPTMulticollinearity PPT
Multicollinearity PPT
 
Dependence Techniques
Dependence Techniques Dependence Techniques
Dependence Techniques
 
2.2 Logit and Probit.pptx
2.2 Logit and Probit.pptx2.2 Logit and Probit.pptx
2.2 Logit and Probit.pptx
 
Research method ch09 statistical methods 3 estimation np
Research method ch09 statistical methods 3 estimation npResearch method ch09 statistical methods 3 estimation np
Research method ch09 statistical methods 3 estimation np
 

More from DrZahid Khan

Snakebite spiderbiteguidelinessa sa-health08(1)
Snakebite spiderbiteguidelinessa sa-health08(1)Snakebite spiderbiteguidelinessa sa-health08(1)
Snakebite spiderbiteguidelinessa sa-health08(1)DrZahid Khan
 
Lastminutemrcp1revision 140622171105-phpapp02
Lastminutemrcp1revision 140622171105-phpapp02Lastminutemrcp1revision 140622171105-phpapp02
Lastminutemrcp1revision 140622171105-phpapp02DrZahid Khan
 
94570764 diagnostic-procedures-in-ophthalmology-full-colour1-140426073515-php...
94570764 diagnostic-procedures-in-ophthalmology-full-colour1-140426073515-php...94570764 diagnostic-procedures-in-ophthalmology-full-colour1-140426073515-php...
94570764 diagnostic-procedures-in-ophthalmology-full-colour1-140426073515-php...DrZahid Khan
 
3 elzohry mrcp questions - pass medicine 2013
3  elzohry mrcp questions - pass medicine 20133  elzohry mrcp questions - pass medicine 2013
3 elzohry mrcp questions - pass medicine 2013DrZahid Khan
 
Pass medicine MRCP 2013
Pass medicine  MRCP 2013Pass medicine  MRCP 2013
Pass medicine MRCP 2013DrZahid Khan
 
Davis s pocket clinical drug reference
Davis s pocket clinical drug referenceDavis s pocket clinical drug reference
Davis s pocket clinical drug referenceDrZahid Khan
 
Descrptive statistics
Descrptive statisticsDescrptive statistics
Descrptive statisticsDrZahid Khan
 
Measures of dispersion
Measures of dispersionMeasures of dispersion
Measures of dispersionDrZahid Khan
 
Burden of disease and determinants of health
Burden of disease and determinants of healthBurden of disease and determinants of health
Burden of disease and determinants of healthDrZahid Khan
 
05 confidence interval & probability statements
05 confidence interval & probability statements05 confidence interval & probability statements
05 confidence interval & probability statementsDrZahid Khan
 
Population & sample lecture 04
Population & sample lecture 04Population & sample lecture 04
Population & sample lecture 04DrZahid Khan
 
Data Display and Summary
Data Display and SummaryData Display and Summary
Data Display and SummaryDrZahid Khan
 
Hypothesis testing and p values 06
Hypothesis testing and p values  06Hypothesis testing and p values  06
Hypothesis testing and p values 06DrZahid Khan
 
Manikins examination for Medical students
Manikins examination for Medical studentsManikins examination for Medical students
Manikins examination for Medical studentsDrZahid Khan
 
Occupational Lung Diseases
Occupational Lung DiseasesOccupational Lung Diseases
Occupational Lung DiseasesDrZahid Khan
 
Hypothesis testing and p values 06
Hypothesis testing and p values  06Hypothesis testing and p values  06
Hypothesis testing and p values 06DrZahid Khan
 
Introduction to occupational diseases
Introduction to occupational diseasesIntroduction to occupational diseases
Introduction to occupational diseasesDrZahid Khan
 
Occupational heat stress and occupational health services
Occupational heat stress and occupational health servicesOccupational heat stress and occupational health services
Occupational heat stress and occupational health servicesDrZahid Khan
 

More from DrZahid Khan (20)

Snakebite spiderbiteguidelinessa sa-health08(1)
Snakebite spiderbiteguidelinessa sa-health08(1)Snakebite spiderbiteguidelinessa sa-health08(1)
Snakebite spiderbiteguidelinessa sa-health08(1)
 
Lastminutemrcp1revision 140622171105-phpapp02
Lastminutemrcp1revision 140622171105-phpapp02Lastminutemrcp1revision 140622171105-phpapp02
Lastminutemrcp1revision 140622171105-phpapp02
 
94570764 diagnostic-procedures-in-ophthalmology-full-colour1-140426073515-php...
94570764 diagnostic-procedures-in-ophthalmology-full-colour1-140426073515-php...94570764 diagnostic-procedures-in-ophthalmology-full-colour1-140426073515-php...
94570764 diagnostic-procedures-in-ophthalmology-full-colour1-140426073515-php...
 
3 elzohry mrcp questions - pass medicine 2013
3  elzohry mrcp questions - pass medicine 20133  elzohry mrcp questions - pass medicine 2013
3 elzohry mrcp questions - pass medicine 2013
 
Pass medicine MRCP 2013
Pass medicine  MRCP 2013Pass medicine  MRCP 2013
Pass medicine MRCP 2013
 
3 clinical skills
3 clinical skills3 clinical skills
3 clinical skills
 
Davis s pocket clinical drug reference
Davis s pocket clinical drug referenceDavis s pocket clinical drug reference
Davis s pocket clinical drug reference
 
Descrptive statistics
Descrptive statisticsDescrptive statistics
Descrptive statistics
 
Measures of dispersion
Measures of dispersionMeasures of dispersion
Measures of dispersion
 
Burden of disease and determinants of health
Burden of disease and determinants of healthBurden of disease and determinants of health
Burden of disease and determinants of health
 
05 confidence interval & probability statements
05 confidence interval & probability statements05 confidence interval & probability statements
05 confidence interval & probability statements
 
Population & sample lecture 04
Population & sample lecture 04Population & sample lecture 04
Population & sample lecture 04
 
Data Display and Summary
Data Display and SummaryData Display and Summary
Data Display and Summary
 
Hypothesis testing and p values 06
Hypothesis testing and p values  06Hypothesis testing and p values  06
Hypothesis testing and p values 06
 
Amc material
Amc materialAmc material
Amc material
 
Manikins examination for Medical students
Manikins examination for Medical studentsManikins examination for Medical students
Manikins examination for Medical students
 
Occupational Lung Diseases
Occupational Lung DiseasesOccupational Lung Diseases
Occupational Lung Diseases
 
Hypothesis testing and p values 06
Hypothesis testing and p values  06Hypothesis testing and p values  06
Hypothesis testing and p values 06
 
Introduction to occupational diseases
Introduction to occupational diseasesIntroduction to occupational diseases
Introduction to occupational diseases
 
Occupational heat stress and occupational health services
Occupational heat stress and occupational health servicesOccupational heat stress and occupational health services
Occupational heat stress and occupational health services
 

Recently uploaded

Pondicherry Call Girls Book Now 9630942363 Top Class Pondicherry Escort Servi...
Pondicherry Call Girls Book Now 9630942363 Top Class Pondicherry Escort Servi...Pondicherry Call Girls Book Now 9630942363 Top Class Pondicherry Escort Servi...
Pondicherry Call Girls Book Now 9630942363 Top Class Pondicherry Escort Servi...GENUINE ESCORT AGENCY
 
Call Girls Madurai Just Call 9630942363 Top Class Call Girl Service Available
Call Girls Madurai Just Call 9630942363 Top Class Call Girl Service AvailableCall Girls Madurai Just Call 9630942363 Top Class Call Girl Service Available
Call Girls Madurai Just Call 9630942363 Top Class Call Girl Service AvailableGENUINE ESCORT AGENCY
 
Call Girls Service Jaipur {8445551418} ❤️VVIP BHAWNA Call Girl in Jaipur Raja...
Call Girls Service Jaipur {8445551418} ❤️VVIP BHAWNA Call Girl in Jaipur Raja...Call Girls Service Jaipur {8445551418} ❤️VVIP BHAWNA Call Girl in Jaipur Raja...
Call Girls Service Jaipur {8445551418} ❤️VVIP BHAWNA Call Girl in Jaipur Raja...parulsinha
 
Andheri East ) Call Girls in Mumbai Phone No 9004268417 Elite Escort Service ...
Andheri East ) Call Girls in Mumbai Phone No 9004268417 Elite Escort Service ...Andheri East ) Call Girls in Mumbai Phone No 9004268417 Elite Escort Service ...
Andheri East ) Call Girls in Mumbai Phone No 9004268417 Elite Escort Service ...Anamika Rawat
 
Independent Call Girls Service Mohali Sector 116 | 6367187148 | Call Girl Ser...
Independent Call Girls Service Mohali Sector 116 | 6367187148 | Call Girl Ser...Independent Call Girls Service Mohali Sector 116 | 6367187148 | Call Girl Ser...
Independent Call Girls Service Mohali Sector 116 | 6367187148 | Call Girl Ser...karishmasinghjnh
 
Premium Bangalore Call Girls Jigani Dail 6378878445 Escort Service For Hot Ma...
Premium Bangalore Call Girls Jigani Dail 6378878445 Escort Service For Hot Ma...Premium Bangalore Call Girls Jigani Dail 6378878445 Escort Service For Hot Ma...
Premium Bangalore Call Girls Jigani Dail 6378878445 Escort Service For Hot Ma...tanya dube
 
Call Girls Jaipur Just Call 9521753030 Top Class Call Girl Service Available
Call Girls Jaipur Just Call 9521753030 Top Class Call Girl Service AvailableCall Girls Jaipur Just Call 9521753030 Top Class Call Girl Service Available
Call Girls Jaipur Just Call 9521753030 Top Class Call Girl Service AvailableJanvi Singh
 
💕SONAM KUMAR💕Premium Call Girls Jaipur ↘️9257276172 ↙️One Night Stand With Lo...
💕SONAM KUMAR💕Premium Call Girls Jaipur ↘️9257276172 ↙️One Night Stand With Lo...💕SONAM KUMAR💕Premium Call Girls Jaipur ↘️9257276172 ↙️One Night Stand With Lo...
💕SONAM KUMAR💕Premium Call Girls Jaipur ↘️9257276172 ↙️One Night Stand With Lo...khalifaescort01
 
Call Girl In Pune 👉 Just CALL ME: 9352988975 💋 Call Out Call Both With High p...
Call Girl In Pune 👉 Just CALL ME: 9352988975 💋 Call Out Call Both With High p...Call Girl In Pune 👉 Just CALL ME: 9352988975 💋 Call Out Call Both With High p...
Call Girl In Pune 👉 Just CALL ME: 9352988975 💋 Call Out Call Both With High p...chetankumar9855
 
Call Girls in Delhi Triveni Complex Escort Service(🔝))/WhatsApp 97111⇛47426
Call Girls in Delhi Triveni Complex Escort Service(🔝))/WhatsApp 97111⇛47426Call Girls in Delhi Triveni Complex Escort Service(🔝))/WhatsApp 97111⇛47426
Call Girls in Delhi Triveni Complex Escort Service(🔝))/WhatsApp 97111⇛47426jennyeacort
 
Call Girls Ahmedabad Just Call 9630942363 Top Class Call Girl Service Available
Call Girls Ahmedabad Just Call 9630942363 Top Class Call Girl Service AvailableCall Girls Ahmedabad Just Call 9630942363 Top Class Call Girl Service Available
Call Girls Ahmedabad Just Call 9630942363 Top Class Call Girl Service AvailableGENUINE ESCORT AGENCY
 
Top Quality Call Girl Service Kalyanpur 6378878445 Available Call Girls Any Time
Top Quality Call Girl Service Kalyanpur 6378878445 Available Call Girls Any TimeTop Quality Call Girl Service Kalyanpur 6378878445 Available Call Girls Any Time
Top Quality Call Girl Service Kalyanpur 6378878445 Available Call Girls Any TimeCall Girls Delhi
 
Night 7k to 12k Navi Mumbai Call Girl Photo 👉 BOOK NOW 9833363713 👈 ♀️ night ...
Night 7k to 12k Navi Mumbai Call Girl Photo 👉 BOOK NOW 9833363713 👈 ♀️ night ...Night 7k to 12k Navi Mumbai Call Girl Photo 👉 BOOK NOW 9833363713 👈 ♀️ night ...
Night 7k to 12k Navi Mumbai Call Girl Photo 👉 BOOK NOW 9833363713 👈 ♀️ night ...aartirawatdelhi
 
Coimbatore Call Girls in Thudiyalur : 7427069034 High Profile Model Escorts |...
Coimbatore Call Girls in Thudiyalur : 7427069034 High Profile Model Escorts |...Coimbatore Call Girls in Thudiyalur : 7427069034 High Profile Model Escorts |...
Coimbatore Call Girls in Thudiyalur : 7427069034 High Profile Model Escorts |...chennailover
 
Call Girls Kolkata Kalikapur 💯Call Us 🔝 8005736733 🔝 💃 Top Class Call Girl Se...
Call Girls Kolkata Kalikapur 💯Call Us 🔝 8005736733 🔝 💃 Top Class Call Girl Se...Call Girls Kolkata Kalikapur 💯Call Us 🔝 8005736733 🔝 💃 Top Class Call Girl Se...
Call Girls Kolkata Kalikapur 💯Call Us 🔝 8005736733 🔝 💃 Top Class Call Girl Se...Namrata Singh
 
Models Call Girls In Hyderabad 9630942363 Hyderabad Call Girl & Hyderabad Esc...
Models Call Girls In Hyderabad 9630942363 Hyderabad Call Girl & Hyderabad Esc...Models Call Girls In Hyderabad 9630942363 Hyderabad Call Girl & Hyderabad Esc...
Models Call Girls In Hyderabad 9630942363 Hyderabad Call Girl & Hyderabad Esc...GENUINE ESCORT AGENCY
 
Trichy Call Girls Book Now 9630942363 Top Class Trichy Escort Service Available
Trichy Call Girls Book Now 9630942363 Top Class Trichy Escort Service AvailableTrichy Call Girls Book Now 9630942363 Top Class Trichy Escort Service Available
Trichy Call Girls Book Now 9630942363 Top Class Trichy Escort Service AvailableGENUINE ESCORT AGENCY
 
Night 7k to 12k Chennai City Center Call Girls 👉👉 7427069034⭐⭐ 100% Genuine E...
Night 7k to 12k Chennai City Center Call Girls 👉👉 7427069034⭐⭐ 100% Genuine E...Night 7k to 12k Chennai City Center Call Girls 👉👉 7427069034⭐⭐ 100% Genuine E...
Night 7k to 12k Chennai City Center Call Girls 👉👉 7427069034⭐⭐ 100% Genuine E...hotbabesbook
 
Call Girls Rishikesh Just Call 8250077686 Top Class Call Girl Service Available
Call Girls Rishikesh Just Call 8250077686 Top Class Call Girl Service AvailableCall Girls Rishikesh Just Call 8250077686 Top Class Call Girl Service Available
Call Girls Rishikesh Just Call 8250077686 Top Class Call Girl Service AvailableDipal Arora
 

Recently uploaded (20)

Pondicherry Call Girls Book Now 9630942363 Top Class Pondicherry Escort Servi...
Pondicherry Call Girls Book Now 9630942363 Top Class Pondicherry Escort Servi...Pondicherry Call Girls Book Now 9630942363 Top Class Pondicherry Escort Servi...
Pondicherry Call Girls Book Now 9630942363 Top Class Pondicherry Escort Servi...
 
Call Girls Madurai Just Call 9630942363 Top Class Call Girl Service Available
Call Girls Madurai Just Call 9630942363 Top Class Call Girl Service AvailableCall Girls Madurai Just Call 9630942363 Top Class Call Girl Service Available
Call Girls Madurai Just Call 9630942363 Top Class Call Girl Service Available
 
Call Girls Service Jaipur {8445551418} ❤️VVIP BHAWNA Call Girl in Jaipur Raja...
Call Girls Service Jaipur {8445551418} ❤️VVIP BHAWNA Call Girl in Jaipur Raja...Call Girls Service Jaipur {8445551418} ❤️VVIP BHAWNA Call Girl in Jaipur Raja...
Call Girls Service Jaipur {8445551418} ❤️VVIP BHAWNA Call Girl in Jaipur Raja...
 
Andheri East ) Call Girls in Mumbai Phone No 9004268417 Elite Escort Service ...
Andheri East ) Call Girls in Mumbai Phone No 9004268417 Elite Escort Service ...Andheri East ) Call Girls in Mumbai Phone No 9004268417 Elite Escort Service ...
Andheri East ) Call Girls in Mumbai Phone No 9004268417 Elite Escort Service ...
 
Independent Call Girls Service Mohali Sector 116 | 6367187148 | Call Girl Ser...
Independent Call Girls Service Mohali Sector 116 | 6367187148 | Call Girl Ser...Independent Call Girls Service Mohali Sector 116 | 6367187148 | Call Girl Ser...
Independent Call Girls Service Mohali Sector 116 | 6367187148 | Call Girl Ser...
 
Premium Bangalore Call Girls Jigani Dail 6378878445 Escort Service For Hot Ma...
Premium Bangalore Call Girls Jigani Dail 6378878445 Escort Service For Hot Ma...Premium Bangalore Call Girls Jigani Dail 6378878445 Escort Service For Hot Ma...
Premium Bangalore Call Girls Jigani Dail 6378878445 Escort Service For Hot Ma...
 
Call Girls Jaipur Just Call 9521753030 Top Class Call Girl Service Available
Call Girls Jaipur Just Call 9521753030 Top Class Call Girl Service AvailableCall Girls Jaipur Just Call 9521753030 Top Class Call Girl Service Available
Call Girls Jaipur Just Call 9521753030 Top Class Call Girl Service Available
 
💕SONAM KUMAR💕Premium Call Girls Jaipur ↘️9257276172 ↙️One Night Stand With Lo...
💕SONAM KUMAR💕Premium Call Girls Jaipur ↘️9257276172 ↙️One Night Stand With Lo...💕SONAM KUMAR💕Premium Call Girls Jaipur ↘️9257276172 ↙️One Night Stand With Lo...
💕SONAM KUMAR💕Premium Call Girls Jaipur ↘️9257276172 ↙️One Night Stand With Lo...
 
🌹Attapur⬅️ Vip Call Girls Hyderabad 📱9352852248 Book Well Trand Call Girls In...
🌹Attapur⬅️ Vip Call Girls Hyderabad 📱9352852248 Book Well Trand Call Girls In...🌹Attapur⬅️ Vip Call Girls Hyderabad 📱9352852248 Book Well Trand Call Girls In...
🌹Attapur⬅️ Vip Call Girls Hyderabad 📱9352852248 Book Well Trand Call Girls In...
 
Call Girl In Pune 👉 Just CALL ME: 9352988975 💋 Call Out Call Both With High p...
Call Girl In Pune 👉 Just CALL ME: 9352988975 💋 Call Out Call Both With High p...Call Girl In Pune 👉 Just CALL ME: 9352988975 💋 Call Out Call Both With High p...
Call Girl In Pune 👉 Just CALL ME: 9352988975 💋 Call Out Call Both With High p...
 
Call Girls in Delhi Triveni Complex Escort Service(🔝))/WhatsApp 97111⇛47426
Call Girls in Delhi Triveni Complex Escort Service(🔝))/WhatsApp 97111⇛47426Call Girls in Delhi Triveni Complex Escort Service(🔝))/WhatsApp 97111⇛47426
Call Girls in Delhi Triveni Complex Escort Service(🔝))/WhatsApp 97111⇛47426
 
Call Girls Ahmedabad Just Call 9630942363 Top Class Call Girl Service Available
Call Girls Ahmedabad Just Call 9630942363 Top Class Call Girl Service AvailableCall Girls Ahmedabad Just Call 9630942363 Top Class Call Girl Service Available
Call Girls Ahmedabad Just Call 9630942363 Top Class Call Girl Service Available
 
Top Quality Call Girl Service Kalyanpur 6378878445 Available Call Girls Any Time
Top Quality Call Girl Service Kalyanpur 6378878445 Available Call Girls Any TimeTop Quality Call Girl Service Kalyanpur 6378878445 Available Call Girls Any Time
Top Quality Call Girl Service Kalyanpur 6378878445 Available Call Girls Any Time
 
Night 7k to 12k Navi Mumbai Call Girl Photo 👉 BOOK NOW 9833363713 👈 ♀️ night ...
Night 7k to 12k Navi Mumbai Call Girl Photo 👉 BOOK NOW 9833363713 👈 ♀️ night ...Night 7k to 12k Navi Mumbai Call Girl Photo 👉 BOOK NOW 9833363713 👈 ♀️ night ...
Night 7k to 12k Navi Mumbai Call Girl Photo 👉 BOOK NOW 9833363713 👈 ♀️ night ...
 
Coimbatore Call Girls in Thudiyalur : 7427069034 High Profile Model Escorts |...
Coimbatore Call Girls in Thudiyalur : 7427069034 High Profile Model Escorts |...Coimbatore Call Girls in Thudiyalur : 7427069034 High Profile Model Escorts |...
Coimbatore Call Girls in Thudiyalur : 7427069034 High Profile Model Escorts |...
 
Call Girls Kolkata Kalikapur 💯Call Us 🔝 8005736733 🔝 💃 Top Class Call Girl Se...
Call Girls Kolkata Kalikapur 💯Call Us 🔝 8005736733 🔝 💃 Top Class Call Girl Se...Call Girls Kolkata Kalikapur 💯Call Us 🔝 8005736733 🔝 💃 Top Class Call Girl Se...
Call Girls Kolkata Kalikapur 💯Call Us 🔝 8005736733 🔝 💃 Top Class Call Girl Se...
 
Models Call Girls In Hyderabad 9630942363 Hyderabad Call Girl & Hyderabad Esc...
Models Call Girls In Hyderabad 9630942363 Hyderabad Call Girl & Hyderabad Esc...Models Call Girls In Hyderabad 9630942363 Hyderabad Call Girl & Hyderabad Esc...
Models Call Girls In Hyderabad 9630942363 Hyderabad Call Girl & Hyderabad Esc...
 
Trichy Call Girls Book Now 9630942363 Top Class Trichy Escort Service Available
Trichy Call Girls Book Now 9630942363 Top Class Trichy Escort Service AvailableTrichy Call Girls Book Now 9630942363 Top Class Trichy Escort Service Available
Trichy Call Girls Book Now 9630942363 Top Class Trichy Escort Service Available
 
Night 7k to 12k Chennai City Center Call Girls 👉👉 7427069034⭐⭐ 100% Genuine E...
Night 7k to 12k Chennai City Center Call Girls 👉👉 7427069034⭐⭐ 100% Genuine E...Night 7k to 12k Chennai City Center Call Girls 👉👉 7427069034⭐⭐ 100% Genuine E...
Night 7k to 12k Chennai City Center Call Girls 👉👉 7427069034⭐⭐ 100% Genuine E...
 
Call Girls Rishikesh Just Call 8250077686 Top Class Call Girl Service Available
Call Girls Rishikesh Just Call 8250077686 Top Class Call Girl Service AvailableCall Girls Rishikesh Just Call 8250077686 Top Class Call Girl Service Available
Call Girls Rishikesh Just Call 8250077686 Top Class Call Girl Service Available
 

Logistic regression

  • 1. LOGISTIC REGRESSION By Dr Zahid Khan Senior Lecturer King Faisal University,KSA 1
  • 2. What is logistic regression? Logit for short, a specialized form of regression used when the dependent variable is dichotomous and categorical while the independent variable(s) could be any type. • Dependent variable is binary (yes/no, Male/Female ) outcome. • Independent variables are continuous interval • Examples: • Relation of weight and BP to 10 year risk of death • Relation of CD4 count to 1 year risk of AIDS diagnosis 2
  • 3. Logistic Regression • Form of regression that allows the prediction of discrete variables by a mix of continuous and discrete/nominal 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) • Does not assume a linear relationship between DV and IV 3
  • 4. Why we use logistic ? No assumptions about the distributions of the predictor variables. Predictors do not have to be normally distributed Does not have to be linearly related. When equal variances , covariance doesn't exist across the groups. Predictor variables is not parametric and there is no homoscedasticity. E.g variance of dependent and independent variables are not equal. 4
  • 5. DECISION PROCESS Stage 1: Objectives Of logistic regression  Identify the independent variable that impact in the dependent variable  Establishing classification system based on the logistic model for determining the group membership
  • 6. 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.
  • 9. Binary logistic regression expression BINARY Y = Dependent Variables ß˚ = Constant ß1 = Coefficient of variable X1 X1 = Independent Variables E = Error Term
  • 10. 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.
  • 11. SAMPLE SIZE PER CATEGORY OF THE INDEPENDENT VARIABLE  The recommended sample size for each group is at least 10 observations per estimated parameters.
  • 12. Estimation of logistic regression model assessing overall fit Logistic relationship describe earlier in both estimating the logistic model and establishing the relationship between the dependent and independent variables. Result is a unique transformation of dependent variables which impacts not only the estimation process but also the resulting coefficients of independent variables.
  • 14. Description of the data The data used to conduct logistic regression is from a survey of 30 homeowners conducted by an electricity company about an offer of roof solar panels with a 50% subsidy from the state government as part of the state’s environmental policy. The variables are: •IVs: household income measured in units of a thousand dollars age of householder monthly mortgage size of family household •DV: whether the householder would take or decline the offer. offer was coded as 1 and decline the offer was coded as 0. Take the
  • 15. WHAT IS THE RESEARCH QUESTION? To determine whether household income and monthly mortgage will predict taking or declining the solar panel offer Independent Variables: household income and monthly mortgage Dependent Variables: Take the offer or decline the offer
  • 16. Two hypotheses to be tested • There are two hypotheses to test in relation to the overall fit of the model: H0: The model is a good fitting model H1: The model is not a good fitting model (i.e. the predictors have a significant effect)
  • 17. How to perform logistic regression in spss 1) 2) 3) 4) Click Analyze Select Regression Select Binary Logistic Select the dependent variable, the one which is a grouping variable (0 and 1) and place it into the Dependent Box, in this case, take or decline offer 5) Enter the predictors (IVs) that you want to test into the Covariates Box. In this case, Household Income and Monthly Mortgage 6) Leave Enter as the default method
  • 18. Continuation of SPSS Steps •7) If there is any categorical IV, click on Categorical button and enter it. There is none in this case. •8) In the Options button, select Classification Plots, Hosmer-Lemeshow goodness-of-fit, Casewise Listing of residuals. Retain default entries for probability of stepwise, classification cutoff, and maximum iterations •9) Continue, then, OK