Question: The programming web site Easycoding.com requires its users to create profiles based on a survey in which they rate their interest (on a scale from
The programming web site Easycoding.com requires its users to create profiles based on a survey in which they rate their interest (on a scale from 0 to 3) in five categories: physical fitness, music, spirituality, education, and Programming experience, to know whether the candidate will be interested for the workshop or not. For the 40 profiles (observations) the Logistic Regression model generates the following probability of Interested.
Question. Using a cutoff value of 0.5 and 0.75 to classify a profile observation as Interested or not, construct the confusion matrix for this 40-observation training set. Compute sensitivity, specificity, precision measures and F1 Score. Interpret your results with comments.
| Observation | Interested | Probability of Interested |
| 1 | 0 | 0.882 |
| 2 | 0 | 0.285 |
| 3 | 0 | 0.219 |
| 4 | 0 | 0.001 |
| 5 | 0 | 0.02 |
| 6 | 0 | 0.128 |
| 7 | 0 | 0.168 |
| 8 | 0 | 0.008 |
| 9 | 0 | 0.168 |
| 10 | 0 | 0.001 |
| 11 | 0 | 0 |
| 12 | 0 | 0.168 |
| 13 | 0 | 0.412 |
| 14 | 0 | 0.015 |
| 15 | 0 | 0.029 |
| 16 | 0 | 0.791 |
| 17 | 0 | 0.001 |
| 18 | 0 | 0.168 |
| 19 | 0 | 0.011 |
| 20 | 0 | 0.128 |
| 21 | 1 | 0.999 |
| 22 | 1 | 0.168 |
| 23 | 1 | 0.981 |
| 24 | 1 | 0.882 |
| 25 | 1 | 0.999 |
| 26 | 1 | 0.99 |
| 27 | 1 | 0.791 |
| 28 | 1 | 0.882 |
| 29 | 1 | 0.999 |
| 30 | 1 | 0.791 |
| 31 | 1 | 0.168 |
| 32 | 1 | 0.791 |
| 33 | 1 | 0.974 |
| 34 | 1 | 0.791 |
| 35 | 1 | 1 |
| 36 | 1 | 0.882 |
| 37 | 1 | 0.791 |
| 38 | 1 | 0.732 |
| 39 | 1 | 0.999 |
| 40 | 1 | 0.791 |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
