Logistic regression Flashcards

1
Q

OLS assumptions violated

A

1) Non-normal error term (b/c bimodal distribution)
2) Non-constant error variance
3) Problem with range of outcome (OLS assumes -infinity to +infinity)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Odds of observing outcome

A

Odds(1) = π / (1-π)

Odds bound (0 to infinity)

By taking natural logarithm of odds, transform response probability to be bound on (-infinity to +infinity)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Logit link function

A

Logit(π / (1-π)) = log(e) (π / (1-π))

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Equation with 1 predictor

A

logit(π / (1-π)) = β0 + β1X1 + ε

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Interpreting model

A

If X is continuous, and β >0, say: Log odds of event occurring increase as X increases.

If X is continuous, and β

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Odds ratio

A

exp(β), or e&β

Interpret: As X increases by 1 unit, the odds of seeing the outcome increase (or decrease) by exp(β)

If exp(β) is 1, odds of observing outcome &y-1) is the same for individuals regardless of level of x.

If exp(β) 1, odds of observing outcome is exp(β)-1 higher for individuals with x=1 compared to individuals with x=0.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Significance of predictors

A

Test in same fashion as the OLS model. β / se(β) as t-statistic or z-statistic.

Or calculate Wald chi square statistic: β^2 / (se(β))^2.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Other link functions

A

Probit: Inverse of the cumulative normal distribution function.

Log-log link:

How to choose link function? If p(π) relatively large, doesn’t matter. If very rare events (p 95%), choice makes a difference.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly