Java Python Programming Assignment 8
STAT 311
Please complete the following problems and submit a file named STAT311-HW8 .R to Gradescope. You should start from the provided STAT311-HW8 .R file on Canvas.
Overview
Address each of the following questions. As always, you should start from the provided skeleton code. Each question should utilize the model associated with the question group.
All questions here utilize the Berkeley acceptance data in BerkeleyData .csv.
Students who intend to use the predict( . . .) function for these problems are advised to consult the docu- mentation in ?predict .glm to determine how it is used for different types of predictions in the context of logistic regression.
Note for autograder: When fitting models, you must fit using the format glm(var1~var2+ . . . , data=BerkeleyData); do not rename variables in the data frame.