Logistic Regression Flashcards

1
Q

Cross Entropy?

A

Summation of Negative Log of Maximum Likelihood

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

Why does closed form solution not exist for Logistic Regression?

A

This is because we use maximum likelihood to estimate the coefficient of the model, and since sigmoid function is non linear, it is not possible to present a closed form solution.

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

What is Odds Ratio?

A

Odds = p(x) / (1 - p(x))
Likelihood that an event will occur expressed as a proportion of likelihood that the event will not occur.

Odds ratio measures the association between exposure and an outcome It measures the odds of an outcome in presence of exposure compare to odds of an outcome in absence of exposure.

OR > 1, represents increased occurrence of an event.
OR < 1, represents decreased occurrence of an event.

Odds are used in Horse Racing.

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

What is Log-odds/Logit?

A

Log(Odds Ratio) = Y

Y = Bo + B1X

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

Why can’t we use ordinary least square method in Logistic regression

A

Because when we differentiate the error term, we will get the simultaneous equation consisting of exponential terms and it is not possible to solve it.

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

Which statistic do we use in the case of Logistic regression to check the significance of the regressor variable?

A

Z-Statistic

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

Confounding Variable

A

A variable that potentially has an effect on the outcome of a study or experiment, but is not accounted for or eliminated.

Confounding variable is related to both predictor variable as well as the response variable.

However, In case of collinearity, the variables are related to predictor variable only.

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

Derivative of σ(z)

A

σ(z)[1-σ(z)]

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

Loss function for Multinomial Logistic Regression

A

L = - [y1log(y1_pred) + y2log(y2_pred) + y3log(y3_pred) + …….]

For 2 class classification problem, it reduces to:
L = - [y1log(y1_pred) + y2log(y2_pred)]; where y2 = (1-y1)

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