12 Logistic regression Flashcards
What happens to the distribution of variance when you fit a linear model to a binary DV?
You get heteroscedasticity. Assuming a strong relationship between the variables, you would get small SD at extremes, and large in middle.
What does a risk ratio of .5 for treatment against placebo mean?
That those in the treatment group have 50% less risk than those in placebo.
What does a risk ratio of 1 mean?
No effect. No difference in risk between groups.
What is the formula for odds?
p(happens)/p(does not happen)
or
p / 1-p
What is Exp(B) in a logistic regression output?
The odds ratio. The change in odds for a 1-unit increase in X –or if it’s a categorical variable, the odds of group A (of X) over the odds of group B (of X).
What is an odds ratio?
The odds of X happening in one condition over the odds of X happening in another condition.
If you exponentiate log odds, what do you get?
Just the odds.
In logistic regression output, a negative Beta will give you exp(B) of what?
Less than one.
What should you NOT mention when talking about odds?
RISK or PROBABILITY.
How can you get risk from log odds? 2 steps
- Exponentiate the log odds to get the odds.
2. Divide odds by (1+odds) to get risk.