12 - Logistics Regression
12 - Logistics Regression
Classification Tablea,b
Observed Predicted
India_win Percentage
Correct
win defeat
win 0 9 .0
India_win
Step 0 defeat 0 9 100.0
Block 0 is the result of analysis without any of our independent variables used
in the model. This will serve as a baseline later for comparing the model with our
predictor variables used in the model.
Block 1
Omnibus Tests of Model Coefficients
Chi-square df Sig.
This gives us an overall indication of how well the model performs. This test is
also referred as a ‘goodness of fit’ test. As the sig value is 0.05 this indicates
model is good fit.
Look in the Omnibus Tests of Model Coefficients table, under the Sig. column,
in the Model row. This is the p-value that is interpreted.
If the p-value is LESS THAN .05, then researchers have a significant model that
should be further interpreted.
If the p-value is MORE THAN .05, then researchers do not have a significant
model and the results should be reported.
Model Summary
Cox and Snell R Square and the Nagelkerke R Square value provide an indication of the
amount of variation in the dependent variable explained by the model. These are
pseudo R values. Nagelkerke R Square values is 0.456 suggesting that 45.6% of the
variability is explained by this set of variables.
Hosmer and Lemeshow Test
1 8.555 7 .286
In this poor model fit is indicated by a significance value less than 0.05. As
significance level is 0.286 which is more than 0.05 indicates test is
insignificant meaning that there is no significant difference between the
model predictions and observed values.
. Look in the Hosmer and Lemeshow Test table, under the Sig. column. This
is the p-value you will interpret.
If the p-value is LESS THAN .05, then the model does not fit the data.
If the p-value is MORE THAN .05, then the model does fit the data and
should be further interpreted.
Classification table
where,
p -> success odds
1-p -> failure odds
which is the general equation of logistic regression. Now, in the logistic model, L.H.S
contains the log of odds ratio that is given by the R.H.S involving a linear combination
of weights and independent variables.
Odds Ratio interpretation
• “Exp(B),” or the odds ratio, is the predicted change in odds for a unit
increase in the predictor. The “exp” refers to the exponential value of B.
• When Exp(B) is greater than 1, increasing values of the variable
correspond to increasing odds of the event's occurrence.
• When Exp(B) is less than 1, increasing values of the variable
correspond to decreasing odds of the event's occurrence.
Interpretations summarised
• The steps for interpreting the SPSS output for a logistic regression
• 1. Scroll down to the Block 1: Method = Enter section of the output.
2. Look in the Omnibus Tests of Model Coefficients table, under the Sig. column, in
the Model row. This is the p-value that is interpreted.
If the p-value is LESS THAN .05, then researchers have a significant model that should be
further interpreted.
If the p-value is MORE THAN .05, then researchers do not have a significant model and the
results should be reported.
3. Look in the Hosmer and Lemeshow Test table, under the Sig. column. This is the p-value you
will interpret.
If the p-value is LESS THAN .05, then the model does not fit the data.
If the p-value is MORE THAN .05, then the model does fit the data and should be further
interpreted.
4. Look in the Classification Table, under the Percentage Correct in the Overall Percentage row.
This is the total accuracy of the model. Researchers want it to ultimately be at least 80%.
• Exp(B), or the odds ratio, is the predicted change in odds for a unit increase in the
predictor. The “exp” refers to the exponential value of B.
• When Exp(B) is greater than 1, increasing values of the variable correspond to
increasing odds of the event's occurrence.
• When Exp(B) is less than 1, increasing values of the variable correspond to
decreasing odds of the event's occurrence.
• THANK YOU…