Lecture 37- Logistic Regression Flashcards

1
Q

When do we use logistic regression?

A
  • To model data that has a binary outcome

- Can be used to examine the effect of x on the probability of a given outcome

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

In logistic regression if the probability of y=1 is p what is the probability of y=0?

A

1-p

-The are complimentary events either the outcome of the binary event is a success or it isn’t

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

What shape is a logistic curve?

A

S shaped

P greater than O goes positive way (hill last)
P less than 0 goes negative way (hill first)

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

What is the logistic model given by?

A

logit (p)= log (p/ (1-p))= b naught + b 1 times x

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

In the logistic regression model what is p/ (p-1)? What happens when you logs this?

A

The odds of the event y=1 occurring, so when log this it is the log odds

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

What is beta naught and beta 1 in a logistic regression model?

A
  • Beta naught is the log odds when x=0, i.e. the y intercept

- Beta 1 is the gradient i.e. the change in the log odds for a unit increase in the predictor variable x

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

What is maximum likelihood estimation used for?

A

To estimate regression coefficients

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

Interpret the table on slide 721? What value would you pull out as important?

A

Answers on slide

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

What does increase x by one unit result in? Use this info to go from the log odds to the odds for the newt and shade example on slide 724?

A

A multiplicative change of e^b1 to the odds

Answers on slides

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