Question 22
Assume that you have trained a logistic regression model on a training dataset containing features X1 and X2. The coefficients obtained and threshold are given in Table 1.
Predict the target variable (y_pred) in the test dataset (Table 2) using the available information.
| X1 | X2 |
|---|---|
| 3 | 4 |
| -1.5 | 2 |
| -2 | -1.5 |
| 4 | 7 |
| 5 | 5 |
| -2 | 3.6 |
| -3 | 4 |
Table 2: Test Dataset
| y_act |
|---|
| 1 |
| 1 |
| 1 |
| 0 |
| 0 |
| 0 |
| 1 |
Table 3: Actual Target Variable
Based on the available information, answer the given subquestions:
What is the correct interpretation of the coefficient β1? (Select all that apply)
If the X1 increases by 1 unit, the log of odds of the positive outcome increases by 0.6 assuming X2 to be constant.
If the X1 increases by 1 unit, the odds of the positive increase by 82% (e ^(0.6)= 1.82) assuming X2 to be constant.
Higher values of X1 are associated with an increased likelihood of the positive outcome
None of these