The input test table, admissions_test, has admissions information for 20 students. The example uses the glm_admissions_model (see the table, GLM Example 1 Model Statistics, from the Output) section of Example 1 of the function GLM) to evaluate the prediction on the admission status of these students.
id | masters | gpa | stats | programming | admitted |
---|---|---|---|---|---|
50 | yes | 3.95 | Beginner | Beginner | 0 |
51 | yes | 3.76 | Beginner | Beginner | 0 |
52 | no | 3.7 | Novice | Beginner | 1 |
53 | yes | 3.5 | Beginner | Novice | 1 |
54 | yes | 3.5 | Beginner | Advanced | 1 |
55 | no | 3.6 | Beginner | Advanced | 1 |
56 | no | 3.82 | Advanced | Advanced | 1 |
57 | no | 3.71 | Advanced | Advanced | 1 |
58 | no | 3.13 | Advanced | Advanced | 1 |
59 | no | 3.65 | Novice | Novice | 1 |
60 | no | 4 | Advanced | Novice | 1 |
61 | yes | 4 | Advanced | Advanced | 1 |
62 | no | 3.7 | Advanced | Advanced | 1 |
63 | no | 3.83 | Advanced | Advanced | 1 |
64 | yes | 3.81 | Advanced | Advanced | 1 |
65 | yes | 3.9 | Advanced | Advanced | 1 |
66 | no | 3.87 | Novice | Beginner | 1 |
67 | yes | 3.46 | Novice | Beginner | 0 |
68 | no | 1.87 | Advanced | Novice | 1 |
69 | no | 3.96 | Advanced | Advanced | 1 |