Skip to contents
session4
0.1.0
Lecture and Lab
Lecture notes (HTML)
Lecture notes (PDF)
Lab materials (HTML)
Sessions
Course Overview (All Sessions)
Session 1: Multiple linear regression review
Session 2: Linear and logistic regression as GLMs
Session 3: Regression coefficients and model matrices
Session 4: Loglinear regression (Part 1)
Session 5: Loglinear models & count data (Part 2)
Session 6: Censored data, Kaplan-Meier & Log-rank
Session 7: Proportional Hazards & AFT models
Session 8: Survival analysis (Part 3)
Session 9: Repeated Measures & Longitudinal Data I
Session 10: Repeated Measures & Longitudinal Data II
Learning objectives
Define log-linear models in GLM framework
Identify situations that motivate use of log-linear models
Define the Poisson distribution and the log-linear Poisson GLM
Identify applications and properties of the Poisson distribution
Define multi-collinearity
Outline
Brief review of GLMs
Motivating example for log-linear models
Poisson log-linear GLM
Note on multicollinearity
Reading: Vittinghoff textbook chapter 8.1-8.3
Lab
Learning Objectives
Simulate Poisson-distributed data with a relevant covariate
Fit a Poisson log-linear GLM
Create and interpret diagnostic plots for a log-linear GLM
Use analysis of deviance to compare two log-linear GLMs
Practice recoding and creating tables and plots