Question 23
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 β2? (Select all that apply)
If the X2 increases by 1 unit, the log of odds decreases by 0.65, assuming X1 to be constant.
If the X2 increases by 1 unit, the odds decrease by 48% (e^(−0.65) ≈ 0.52), assuming X1 to be constant.
Higher values of X2 are associated with a decreased likelihood of the positive outcome.
None of these