5.1 (use AIC for part c), 5.9, 5.15
## Data for 5.1
crabs <- read.table("https://raw.githubusercontent.com/alanagresti/categorical-data/master/Crabs.dat", header = TRUE)
## For 5.9
data("UCBAdmissions")
## For 5.15
trial <- read.csv("https://collinn.github.io/data/sandoz_trial.csv")
7.1, 7.16, 7.17
crabs <- read.table("https://raw.githubusercontent.com/alanagresti/categorical-data/master/Crabs.dat", header = TRUE)