What is the difference between the errors and the residuals ? What does it mean for a model to predict something ? What is a link function ? In the current post, we use four R functions (viz., the
simulate functions) to illustrate the mechanisms and assumptions of the generalised linear model.