Logistic Regression Flashcards

1
Q

What type of dependent variable is used in logistic regression?

A

Binary categorical variables (dichotomous), such as success (1) or failure (0)

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

What is the primary goal of logistic regression?

A

To estimate the probability of a binary outcome given a set of predictor variables.

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

Write the logistic regression formula.

A

log( p/1−p)=β_0+β_1x, where 𝑝 is the probability of the outcome.

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

Why can’t we use linear regression for binary outcomes?

A

Linear regression can predict probabilities outside the range of 0 to 1, which is invalid for binary outcomes.

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

What is the null deviance in logistic regression?

A

It measures the goodness of fit of the simplest model (intercept-only model)

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

How does residual deviance differ from null deviance?

A

Residual deviance measures the goodness of fit of the full model; a lower residual deviance indicates better fit.

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

What is the AIC value in logistic regression used for?

A

Comparing models; a lower AIC indicates a better-fitting model.

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

In the example provided, what factors were associated with flu shot status?

A

Age and health awareness.

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

What does a significant p-value in the coefficients table indicate?

A

That the predictor variable has a statistically significant association with the outcome.

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

Why are odds ratios useful in logistic regression?

A

They interpret the effect size of predictors on the probability of the outcome.

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

What type of variable is typically coded as 1 or 0 in logistic regression?

A

Dichotomous variables like survived/did not survive.

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

What is the interpretation of a positive coefficient in logistic regression?

A

An increase in the predictor increases the log odds of the outcome.

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

What does the logistic regression output include that is not found in linear regression?

A

Log odds and probabilities.

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

What is the primary assumption of logistic regression regarding the relationship between the predictors and the log-odds?

A

It assumes a linear relationship.

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

Beyond the topic: How might logistic regression be applied to predict health outcomes in your community?

A

Free response

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