Statistics, Data Science, Analytics, Business Intelligence, Machine Learning.
temp, data = faraway::orings, family = 'binomial', weights = rep(6, nrow(faraway::orings)) ) There are two ways of inputting grouped binomial data into R’s glm. I prefer this one, where the response is the proportion and the weights are number of trials. The predicted means, with a 95% confidence