08:00
Feb 05, 2024
HW 02 due Wed, Feb 07 at 11:59pm
Project 01
presentations in class Wed, Feb 14
write up due Thu, Feb 15 at noon
Identify the components common to all generalized linear models
Find the canonical link based on the distribution of the response variable
Properties of GLMs
We have studied models for a variety of response variables
These models are all examples of generalized linear models.
GLMs have a similar structure for their likelihoods, MLEs, variances, so we can use a generalized approach to find the model estimates and associated uncertainty.
Nelder and Wedderburn (1972) defines a broad class of models called generalized linear models that generalizes multiple linear regression. GLMs are characterized by three components:
1️⃣ Response variable with parameter
2️⃣ A linear combination of predictors,
3️⃣ A link function
Suppose a probability (mass or density) function has a parameter
✅ The support (set of possible values) does not depend on
✅ The probability function can be written in the following form
On-parameter exponential family form
Using this form:
Recall the form:
✅ The support for the Poisson distribution is
✅ The probability mass function can be written in the form
The Poisson distribution can be written in one-parameter exponential family form.
Suppose there is a response variable
A link function,
When working with a member of the one-parameter exponential family,
Recall the exponential family form:
then the canonical link is
1️⃣ Response variable with parameter
2️⃣ A linear combination of predictors,
3️⃣ A function
For your group’s distribution
Write the pmf or pdf in one-parameter exponential form.
Describe an example of a setting where this random variable may be used.
Identify the canonical link function.
Distributions
See BMLR - Section 3.6 for details on the distributions.
If your group finishes early, try completing the exercise for another distribution.
08:00
The one-parameter exponential family form is utilized for
Calculating MLEs of coefficients (recall iteratively reweighted least squares)
Inference for coefficients
Likelihood ratio and drop-in-deviance tests
The specific calculations are beyond the scope of this course. See Section 4.6 of Dunn, Smyth, et al. (2018) for more detail (available at Duke library).