There are three notations for GLMS: generic, index, vector. We use all three, for instance, in the specification of the link function and the linear predictor.
Linear predictor: The explanatory variables influence the distribution of through a single linear function, the linear predictor, which can be described as:
Link function: The mean, of , and linear predictor are related by a smooth invertible function called the link function:
Unnumbered Figure: Link
Linearity of the linear predictor
The linear predictor contain continuous variables such as but also known functions of these, e.g., , combined as linear combinations, e.g.. The technical definition of linearity in GLMs refers to the linearity of in the parameters, rather than in the explanatory variables themselves.
The linear predictor may also contains discrete variables, and importantly, indicator variables. For example, to differentiate between three groups red, white and purple, let
if -th member is red, and 0 otherwise,
if -th member is white, and 0 otherwise,
if -th member is purple, and 0 otherwise.
Linear combinations of these indicator variables, , in the linear predictor indicate to which group the unit belongs, and then the effect on the response. The effect of being red adds units to the mean response.
Causal interpretation
The key to any interpretation of the fitted model the way in which the mean of the response changes with changes in the explanatory variables. The standard interpretation is to calculate the change in the expected response given a change in the explanatory variable , holding all other variables constant. Thus the partial derivative is an important part of this relationship which is mediated through the linear predictor and the link function.
Using the chain rule:
where and is a function of the coefficients . If then changes in lead to no change in the expected response, as long as other variables are held constant. When is not zero the actual change depends on the value of through the derivative of the link function.
Exercise 3.35
The function that relates the canonical parameter to the mean parameter for the Bernoulli distribution is . Suppose the link function (that relates the linear predictor to the mean parameter) is assumed to be logit
Given a single continuous covariate find and interpret.
Exercise 3.36
(Continuation). Suppose instead that . Find .
Link function in practice
The link function relates the moment parameter to the linear predictor , which is a linear combination of the covariates.
The default link functions are the for the Bernoulli distribution and the for the Poisson distribution. The default for the Gaussian distribution is the identity function.
There are practical and theoretical reasons for choosing these defaults. The theoretical reason is that these are the canonical links for the Bernoulli and Poisson exponential families (EFs). The practical reason is that these functions transform the mean to make interpretation of the coefficients more obvious. For instance, with the AIDS example, increases are multiplicative (hence log), while, with birthweight it is additive (hence linear or identity).