In: Statistics and Probability
Fit a binary logistic regression model with admission decision as the dependent variable, GRE and GPA as the independent variables.
Admit |
GRE |
GPA |
0 |
790 |
1 |
1 |
370 |
0 |
1 |
480 |
1 |
1 |
580 |
1 |
1 |
620 |
1 |
0 |
740 |
0 |
1 |
490 |
0 |
0 |
720 |
0 |
1 |
740 |
0 |
0 |
460 |
1 |
1 |
610 |
0 |
1 |
260 |
0 |
0 |
740 |
0 |
1 |
700 |
0 |
0 |
760 |
0 |
1 |
410 |
1 |
0 |
700 |
0 |
0 |
800 |
0 |
0 |
680 |
0 |
0 |
520 |
0 |
0 |
700 |
0 |
1 |
580 |
1 |
1 |
470 |
0 |
1 |
440 |
1 |
1 |
410 |
0 |
1 |
460 |
0 |
1 |
580 |
1 |
1 |
480 |
0 |
0 |
590 |
1 |
0 |
800 |
0 |
0 |
750 |
0 |
1 |
800 |
0 |
0 |
570 |
0 |
1 |
440 |
0 |
0 |
300 |
0 |
0 |
600 |
0 |
0 |
740 |
0 |
0 |
800 |
0 |
1 |
270 |
1 |
1 |
200 |
1 |
1 |
580 |
0 |
0 |
590 |
0 |
1 |
330 |
1 |
1 |
600 |
1 |
0 |
510 |
0 |
1 |
650 |
1 |
1 |
570 |
1 |
0 |
570 |
0 |
0 |
440 |
0 |
1 |
610 |
0 |
The above analysis done in R.
Hope the above answer has helped you in understanding the problem. Please upvote the ans if it has really helped you. Good Luck!!