'Python/statsmodel solutions to all code examples in Dobson AJ & Barnett AG: "An Introduction to Generalized Linear Models"