Class 1: Introduction to Generalized Linear Models and Logistic
Regression
Objective: Understand the fundamentals of GLMs and
the concepts of logistic regression and probit models.
Agenda:
- Introduction to Generalized Linear Models (GLMs)
(10 minutes)
- Overview of GLMs and their significance
- Comparison with linear regression models
- Applications of GLMs in real-world scenarios
- Logistic Regression (20 minutes)
- Understanding binary outcomes
- Logit function and its interpretation
- Fitting logistic regression models using Julia
- Packages:
GLM.jl
- Interpreting model coefficients
- Probit Models (20 minutes)
- Introduction to probit models
- Comparison between logistic and probit models
- Fitting probit models using Julia
- Packages:
GLM.jl
- Interpreting model coefficients
- Interactive Coding Session (10 minutes)
- Practice exercises on fitting and interpreting logistic and probit
models
- Packages:
GLM.jl
- Q&A and Wrap-up (5 minutes)
- Open floor for questions
- Summary of key points
- Preview of the next class
Class 2: Poisson Regression for Count Data
Objective: Learn about Poisson regression models and
how to apply them to count data.
Agenda:
- Recap of Previous Class (5 minutes)
- Quick review of logistic and probit models
- Introduction to Count Data (10 minutes)
- Characteristics of count data
- Common applications in various fields
- Poisson Regression (20 minutes)
- Understanding the Poisson distribution
- Fitting Poisson regression models using Julia
- Packages:
GLM.jl
- Interpreting model coefficients and goodness-of-fit
- Model Diagnostics and Practical Examples (20
minutes)
- Identifying overdispersion and its consequences
- Practical examples of Poisson regression in Julia
- Packages:
GLM.jl
- Using offset variables in Poisson regression
- Q&A and Wrap-up (5 minutes)
- Open floor for questions
- Summary of key points
- Preview of the next class
Class 3: Model Fitting and Interpretation
Objective: Focus on the techniques for fitting GLMs
and interpreting the results.
Agenda:
- Recap of Previous Class (5 minutes)
- Quick review of Poisson regression
- Model Fitting Techniques (20 minutes)
- Maximum likelihood estimation (MLE)
- Goodness-of-fit measures (AIC, BIC, deviance)
- Handling categorical predictors in GLMs
- Packages:
GLM.jl
, StatsBase.jl
- Interpreting GLM Results (20 minutes)
- Understanding model output (coefficients, standard errors,
p-values)
- Assessing model fit and diagnostics
- Practical examples of model interpretation in Julia
- Packages:
GLM.jl
, StatsBase.jl
- Interactive Coding Session (10 minutes)
- Practice exercises on fitting and interpreting GLMs
- Packages:
GLM.jl
, StatsBase.jl
- Q&A and Wrap-up (5 minutes)
- Open floor for questions
- Summary of key points
- Preview of the next class