Question: Consider the accompanying data file to estimate the logistic regression model for predicting college admission (Admit equals 1 if admitted, 0 otherwise). Predictor variables include
Consider the accompanying data file to estimate the logistic regression model for predicting college admission (Admit equals 1 if admitted, 0 otherwise). Predictor variables include the applicant’s grade point average (GPA) and scores on the SAT test. Use the holdout method, using the first 90 observations for training and the remaining 30 observations for validation, to calculate and interpret the accuracy, sensitivity, and specificity measures.
| Patient | Complication | Weight | Age | Diabetes |
| 1 | 0 | 146 | 50 | 0 |
| 2 | 0 | 205 | 29 | 0 |
| 3 | 1 | 215 | 69 | 0 |
| 4 | 0 | 162 | 45 | 0 |
| 5 | 0 | 154 | 64 | 0 |
| 6 | 0 | 143 | 69 | 0 |
| 7 | 0 | 154 | 29 | 0 |
| 8 | 0 | 191 | 82 | 0 |
| 9 | 0 | 142 | 30 | 0 |
| 10 | 0 | 141 | 62 | 0 |
| 11 | 0 | 171 | 79 | 0 |
| 12 | 0 | 205 | 33 | 0 |
| 13 | 0 | 170 | 49 | 0 |
| 14 | 0 | 170 | 34 | 0 |
| 15 | 0 | 161 | 83 | 1 |
| 16 | 0 | 175 | 78 | 0 |
| 17 | 0 | 177 | 26 | 1 |
| 18 | 0 | 183 | 84 | 0 |
| 19 | 0 | 193 | 51 | 1 |
| 20 | 0 | 149 | 31 | 1 |
| 21 | 0 | 157 | 71 | 0 |
| 22 | 0 | 203 | 40 | 0 |
| 23 | 0 | 148 | 62 | 0 |
| 24 | 0 | 197 | 40 | 0 |
| 25 | 0 | 157 | 38 | 0 |
| 26 | 0 | 161 | 25 | 0 |
| 27 | 0 | 180 | 76 | 0 |
| 28 | 0 | 155 | 78 | 0 |
| 29 | 0 | 175 | 47 | 0 |
Step by Step Solution
★★★★★
3.33 Rating (153 Votes )
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
The R Code Impor... View full answer
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
