Note that we could have directly computed the probabilities by selecting the type="response" option in the predict() function.

preds <- predict(fit, newdata = list(age = age.grid), type = "response", se = TRUE)

However, the corresponding confidence intervals would not have been sensible because we would end up with negative probabilities!

Questions

Assume that: