binary logistic regression Flashcards
what is a binary logistic regression for?
Binary logistic regression is a statistical analysis technique used to model the relationship between one or more independent variables and a binary dependent variable. The dependent variable in this case is categorical and has two possible outcomes, often represented as 0 or 1 (e.g., “yes” or “no,” “success” or “failure”)
How to meet the assumptions?
assumption of multicollinearity- look at coefficients table- Vif needs to be below 10 and tolerance needs to be above 0.1
assumption of linearity-look at variables in the equation- sig values (interaction ones) need to be non signifcant
How to report the percentage of the cases the model can classify before we include the predictors
look at block 0: beginning block-its a percentage
Does the inclusion of predictors improve the model?
Look at omnibus test of model coefficients- if signifcant it improves the model
report the chi squared
x2 (s)= chi 2= p< sig value
is the model, including predictors good at predicting the DV?
Look at model summary and report the Nagelkere R2 result-
If Negelkereke R2 is .35, the model predicts 3.1% of the DV
Fit of the data- Is there misfit of the data?
Look at the hosmer and lemeshow test-
should be non significant for no misfit
When the predictors were added, what percentage of cases can it correctly classify-
Look at classification table- compare it to block 0
again you get a percentage
Calculate and report sensitivity, specificity, positive predicted value
look at classification table-
use picture-
calculate positive predicted value- Total, example=
43 participants in total were predicted by the model as
passing the exam.
Out of these, 37 were correctly classified.
(37/43) x 100 = 86.04% positive predictive value
What predictor values contributed significantly to the logistic regression?
Look at the variables in the equation, look at the sig values- those that are signifcant are predictors that contributed signifcantly to the model
Odds ratio
In exam all will be 1- exposure does not affect the odds of the outcome