Field Ch. 20 - Logistic Regression Flashcards
Why use Logistic Regression?
to predict binary categorical outcomes
from categorical & continuous predictors
What is the possible range of model outcome values?
values between 0 (outcome will not occur) and 1 (outcome will occur)
ex: 0.45
R and R^2 tell us what?
- express model fit
- pos value = as predictor goes up, likelihood of outcome occurrence goes up
- neg value = as predictor goes down, likelihood of outcome occurrence goes down
What’s the Wald statistic do?
determines significance of individual predictors
Odds ratio tells us what?
change in odds due to one unit change in predictor
What to look for before analysis?
- missing data (predictor & outcome): bad
- complete separation (graph with no overlap on x-axis): bad
6 assumptions for BLR
- binary outcome
- independent observations
- no multicollinearity (run correlation matrix, pearson’s less than 0.7)
- no extreme outliers
- linear reln btwn ind. variables and logit of dep variable (Eric did not discuss)
- large sample size
SPSS step 1
Analyze > Regression > Binary Logistic
- enter independent variables in blocks
- assign reference group (‘categorical’ button)
(less about memorizing and more about familiarity with boxes to check during analysis)
SPSS step 2: ‘Save’ button
select:
- predicted probabilities
- group membership
- Cook’s (should be less than 1)
- standardized residuals (few above 1.96, none > 3)
- include covariance matrix
SPSS step 3: ‘Options’ button
select:
- hosmer lemeshow
- CI @ 95%
- include constant in model
(less about memorizing and more about familiarity with boxes to check during analysis)
SPSS: How to transform variables
Transform > Recode into different variable
- move old variable to center block
- type new variable name, ‘Change’
Old and New Values
- enter old and new values, ‘Add’
- ‘Continue’
Reporting results: where do you find X^2?
Omnibus table
X^2 (df, N) = ###, p < Sig
- X^2 (value)
- df (number)
- model significance (p value)
Reporting results: where do you find odds ratio?
‘Variables in the Equation’ table
- Exp (B)
- remember your reference group (set in the ‘Categorical’ menu)
Reporting results: where can you find R^2 values?
‘Model Summary’ table
- Cox & Snell -or- Nagelkerke
Reporting results: what is Exp(B)?
Odds ratio