Logistic Regression Using SPSS
Logistic Regression Using SPSS
Logistic Regression
Dataset
https://drive.google.com/file/d/1rXPcbkYIHN5iY0yEgo07DDh-v2x
AE8H4/view?usp
=sharing
3)The independent variable, body mass index , which is the participant's weight
(kg) : height (m)2;
4)The independent variable, sex , which has two categories: "Male" and "Female";
- Add the interaction term between each continues IV and its log.
In the Logistic Regression Window: Click on Categorical
- If all of them are not significant, redo the analysis without the
interaction terms:
Redo the analysis: Click Analyze > Regression > Binary Logistic
Remove interaction terms from covariates:
SPSS output
This part of the output tells you about the cases that were included
and excluded from the analysis, the coding of the dependent variable,
and coding of any categorical variables listed on the categorical
subcommand.
SPSS output – Block 0
This part of the output describes a “null model”, which is model
with no predictors and just the intercept. This is why you will see
all of the variables that you put into the model in the table titled
“Variables not in the Equation”.
SPSS output – Block 1
The section contains what is frequently the most interesting part of the
output: the overall test of the model (in the “Omnibus Tests of Model
Coefficients” table) and the coefficients and odds ratios (in the
“Variables in the Equation” table).
This table contains the Cox & Snell R Square and Nagelkerke R Square values,
which are both methods of calculating the explained variation.
These values are sometimes referred to as pseudo R2 values (and will have lower
values than in multiple regression).
However, they are interpreted in the same manner, but with more caution.
Therefore, the explained variation in the dependent variable based on our model
ranges from 8.1% to 10.8%, depending on whether you
reference the Cox & Snell R2 or Nagelkerke R2 methods, respectively.
SPSS output – Block 1
Logistic regression estimates the probability of an event (in this case, having
meniscus injury) occurring. If the estimated probability of the event occurring is
greater than or equal to 0.5 (better than even chance), SPSS Statistics classifies the
event as occurring (e.g., meniscus injury being present).
If the probability is less than 0.5, SPSS Statistics classifies the event as not occurring
(e.g., no meniscus injury).
It is very common to use binomial logistic regression to predict whether cases can be
correctly classified (i.e., predicted) from the independent variables. Therefore, it
becomes necessary to have a method to assess the effectiveness of the predicted
classification against the actual classification.
SPSS output – Block 1
-With the independent variables added, the model now correctly classifies
62.9% of cases overall (see "Overall Percentage" row) => Percentage accuracy
in classification.
-58.5% of participants who had meniscus injury were also predicted by the model
to have meniscus injury(see the "Percentage Correct" column in the "Yes" row of
the observed categories). => Sensitivity
-66.7% of participants who did not have meniscus injury were correctly predicted by
the model not to have meniscus injury (see the "Percentage Correct" column in the
"No" row of the observed categories). => Specificity
SPSS output – Block 1
- The positive predictive value is the percentage of correctly predicted cases with
the observed characteristic compared to the total number of cases predicted as
having the characteristic. In our case, this is 100 x (50 ÷ (27 + 50)) which is
64.9%. That is, of all cases predicted as having meniscus injury, 64.9% were
correctly predicted.
• From these results you can see that BMI (p = .004) added significantly to the
model/prediction, but age (p = .662), sex (p = .457), KOOSADLbaseline (p
= .343), and KOOSsportbaseline (p = .808) did not add significantly to the model.
• Interpretation: the table shows that the odds of having meniscus injury ("yes"
category) is 1.163 times greater every increase of 1 score of BMI after adjusted
by other variables (age, sex, KOOS ADL, and KOOS sport).
APA style write-up