STAT6135 Generalised Linear Models
STAT6135 Overview
- Postgraduate statistics module
- Semester 1 2026/27
- University of Southampton
- R computer workshops
- Two-hour January exam
STAT6135 Generalised Linear Models is a postgraduate statistics module at the University of Southampton that teaches how a response depends on its explanatory variables when that response is continuous, binary, categorical, ordinal or a count.
- Assessed by Individual coursework 50% and a two-hour January 2027 exam 50%, as listed in the 2026/2027 module outline.
- Core framework Every model is a distribution, a linear predictor and a link, estimated by Fisher scoring and compared by deviance.
- Interpretation habit Exponentiate logit and log-link coefficients into odds ratios or rate ratios and always name the reference.
What you get in the full STAT6135 Exam Bible
- 9 chapters, 39 pages — every examinable topic, week by week
- 26 original practice questions, most with model answers in the Exam format
- 9 worked examples, solved the way STAT6135 marks
- 22 computed figures, redrawn from the course’s own numbers
- Exam-morning plan for the Exam (50%) — what to revise last, where marks are lost
Free on this page: assessment table, chapter map, one worked example, key terms, FAQ. The rest is in the full exam bible.
How STAT6135 is assessed
| Component | Weight | Format |
|---|---|---|
| Coursework | 50% | One individual assignment that tests all the learning outcomes, handed out by the end of Week 5. The 2026/27 brief sets the deadline at 16.00 on Tuesday 1 December 2026 for a PDF report and a separate R script, with strict page limits. |
| Exam | 50% | A two-hour exam in January 2027 on the models covered in the module, with emphasis on both theory and practice. The exact date is set in the university examination timetable. |
Both weights and the exam description come from the 2026/2027 module outline. The coursework deadline comes from the 2026/27 coursework brief, which is more specific than the outline's earlier wording of the last week of November.
Assessment structure
Segment widths reproduce the published 2026/2027 weights: the individual coursework and the two-hour exam each carry half of the module mark.
What other students are asking about STAT6135
- Where can I find lecture notes or study guides for STAT6135 at Southampton?
- The STAT6135 study guide in AskSia Library covers Generalised Linear Models in 9 chapters, with the assessment table, a chapter-by-chapter topic map, key terms and a worked example, free to read on this page.
- Is there a final exam in STAT6135, and how much is it worth?
- Yes. In the offering this AskSia Library guide is built from, Exam carries 50% of the STAT6135 mark; the full split is Coursework 50%, Exam 50%.
- What does STAT6135 cover on model selection, assumption checks and influence?
- In AskSia Library's STAT6135 guide, the Model Selection, Assumption Checks and Influence chapter explains t and F tests, AIC, residual checks, collinearity, leverage, Cook's distance and Anscombe's quartet, from Part 1.
- What does STAT6135 cover on exponential family and glm components?
- In AskSia Library's STAT6135 guide, the Exponential Family and GLM Components chapter explains canonical form, mean and variance identities, random and systematic components and link functions, from Part 2.
- What does STAT6135 cover on maximum likelihood, score and fisher scoring?
- In AskSia Library's STAT6135 guide, the Maximum Likelihood, Score and Fisher Scoring chapter explains likelihood, score, information, Newton-Raphson, Fisher scoring, IWLS, deviance and AIC, from Part 2.
Current STAT6135 dates
| Date | Item | Control |
|---|---|---|
| Tuesday 1 December 2026, 16.00 | Coursework submission | Deadline printed in the 2026/27 coursework brief; the module outline had said the last week of November. |
| January 2027 | Two-hour exam | The outline gives the month; the exact date comes from the university examination timetable. |
| Early January 2027 | Coursework feedback | Expected before the written exam, depending on the final submission date. |
Dates are as published in the 2026/2027 module outline and the 2026/27 coursework brief. Confirm exact deadlines and submission settings in the live LMS.
What STAT6135 covers
Nine connected chapters move from linear regression and its diagnostics to the exponential family and likelihood theory, then apply one framework to tables, binary, nominal and ordinal responses, counts, rates, overdispersion and multi-way tables.
Linear Regression, Dummy Variables and Interactions
Least squares, assumptions, dummy coding of categorical predictors and interaction effects, from Part 1 of the module.Linear Regression, Dummy Variables and Interactions revises the model that every generalised linear model extends.
- Explanation and prediction as modelling aims
- Conditional mean as the target of regression
- Least squares estimator in scalar and matrix form
- Standard assumptions and the Gauss-Markov theorem
- Dummy variables, reference categories and group means
- Interaction effects and differing slopes
Model Selection, Assumption Checks and Influence
t and F tests, AIC, residual checks, collinearity, leverage, Cook's distance and Anscombe's quartet, from Part 1.Model Selection, Assumption Checks and Influence covers the iterative half of statistical modelling in Part 1. Selection asks whether the fitted model beats the empty model, whether every predictor is needed and whether the functional form is right.
- Testing single coefficients and nested blocks
- Information criteria and adjusted R squared
- Raw, standardised and studentised residuals
- Linearity, constant variance and normality checks
- Collinearity and the variance inflation factor
- Outliers, leverage and Cook's distance
Exponential Family and GLM Components
Canonical form, mean and variance identities, random and systematic components and link functions, from Part 2.Exponential Family and GLM Components introduces the structure that lets one theory cover regression for continuous, binary and count responses.
- Exponential family and canonical form
- Natural parameter and the functions b, c and d
- Mean and variance from derivatives
- Binomial, normal, Poisson and exponential cases
- Random, systematic and link components
- Canonical and non-canonical links
Maximum Likelihood, Score and Fisher Scoring
Likelihood, score, information, Newton-Raphson, Fisher scoring, IWLS, deviance and AIC, from Part 2.Maximum Likelihood, Score and Fisher Scoring explains how every model in the module is fitted and compared.
- Likelihood, log-likelihood and the score
- Information and the variance of the estimate
- Newton-Raphson and Fisher scoring updates
- Score and information for a GLM
- Iteratively weighted least squares
- Deviance and the saturated model
Contingency Tables and Odds Ratios
One-way and two-way tables, Pearson's chi-squared test, expected counts and odds ratio intervals, from Part 3.Contingency Tables and Odds Ratios opens Part 3 with counts classified by one or two categorical variables.
- One-way tables and the equiprobability model
- Pearson's chi-squared statistic and degrees of freedom
- Raw, standardised and adjusted residuals
- Two-way tables and independence
- Expected counts from row and column totals
- Odds and the odds ratio
Binary Logistic Regression
The logit link, odds ratios, fitted probabilities, likelihood ratio tests, grouped data and probit models, from Part 3.Binary Logistic Regression models a probability through its log odds. The response is Bernoulli, the canonical link is the logit, and the inverse link turns the linear predictor back into a probability between zero and one.
- Logit link and inverse logit
- Reading coefficients as log odds and odds ratios
- Fitted probabilities at stated covariate values
- Wald intervals and likelihood ratio tests
- Ungrouped versus grouped binary data
- Pseudo R squared, ROC curves and classification
Multinomial and Ordinal Logistic Regression
Baseline-category logits, cumulative logits, proportional odds and choosing between the two, from Part 3.Multinomial and Ordinal Logistic Regression extends logistic models to responses with more than two categories.
- Baseline-category logits and reference levels
- Category probabilities from multinomial logits
- Cumulative probabilities and cut points
- Proportional odds and parallel lines
- Sign conventions in polr and vglm
- Testing the proportional-odds assumption
Poisson Regression, Rates and Overdispersion
Offsets, rate ratios, deviance and residuals for counts, and detecting overdispersion, from Parts 4 and 5.Poisson Regression, Rates and Overdispersion covers count responses from Part 4 and the overdispersion material of Part 5. The Poisson distribution has mean equal to variance, its natural parameter is the log of the mean, and the log link is canonical.
- Poisson distribution and the log link
- Offsets for exposure and rate models
- Rate ratios and percentage changes
- Heart valve and lung cancer examples
- Deviance and Pearson goodness of fit
- Pearson, adjusted and deviance residuals
Log-linear Models for Multi-way Tables
Independence structures, hierarchical models, sampling schemes and Simpson's paradox, from Part 4.Log-linear Models for Multi-way Tables treats every cell count of a contingency table as a Poisson response and models the log of its expected value with main-effect and interaction terms.
- Two-way log-linear models and the lambda notation
- Interaction terms as odds ratios
- Poisson, multinomial and product multinomial sampling
- Hierarchical models and generating classes
- Mutual, joint and conditional independence
- Partial and marginal association and Simpson's paradox
Its stated aim is statistical modelling of relationships between variables with an emphasis on both practical and theoretical considerations, and its learning outcomes include fitting the models in R, interpreting the results and understanding the foundational theory.
The module is taught in five parts.
Part 1 revises statistical modelling and linear regression: least squares, dummy variables and interactions, model selection, assumption checking and influence diagnostics. Part 2 builds the foundations of generalised linear models, from the exponential family of distributions to maximum likelihood estimation, score functions, information and the Newton-Raphson and Fisher scoring algorithms.
Part 3 covers contingency tables, odds ratios and logistic regression for binary, multinomial and ordinal responses. Part 4 moves to counts, with Poisson regression, models for rates with offsets and log-linear models for multi-way tables. Part 5 deals with overdispersion: how to detect it, how to handle it, the quasi-likelihood approach and tests for it.
Assessment is split evenly.
One individual coursework assignment, worth 50%, tests all the learning outcomes through three tasks on linear regression, likelihood with ordinal and multinomial models, and a GLM for counts, submitted as a PDF report with a separate R script. A two-hour exam in January 2027, also worth 50%, tests the models covered with emphasis on both theory and practice.
That balance shapes how to revise: you need to derive a canonical form, a score or an update by hand, and you need to read software output and turn coefficients into odds ratios, rate ratios and probabilities.
This guide follows the same order. Each chapter states the model, explains how it is estimated and checked, works through an original example and ends with practice.
The recurring idea is that a GLM is three decisions: a distribution for the response, a linear predictor for the covariates and a link joining the two. Once those are clear, the deviance, the likelihood ratio test and AIC become one toolkit that applies to every model in the module.
Worked example · free
Fit and interpret a Poisson rate model by hand
- 2Random component: infections are Poisson with mean μ. Link: log. Systematic component: log μ = log(patient-days) + β0 + β1 WardB, where the offset has its coefficient fixed at 1.
- 2With one binary predictor the fit reproduces the observed rates: 12/3,000 = 0.0040 and 27/4,500 = 0.0060 infections per patient-day, so β0 = log 0.0040 = −5.52.
- 1The ward coefficient is β1 = log(0.0060/0.0040) = log 1.5 = 0.405, with standard error √(1/12 + 1/27) = 0.347.
- 1The interval 0.405 ± 1.96 × 0.347 is (−0.275, 1.086), which becomes (0.76, 2.96) for the rate ratio.
- 1Conclusion: ward B's estimated infection rate is 1.5 times ward A's per patient-day, but the interval includes 1, so the data do not establish a difference.
Key terms
- Generalised linear model
- A model in which a link function of the mean response equals a linear predictor and the response follows an exponential-family distribution.
- Exponential family
- The class of distributions whose density can be written as exp[α(y)b(θ) + c(θ) + d(y)], which includes the binomial, normal and Poisson.
- Canonical link
- The link function that equals the natural parameter of the response distribution, such as the logit for binary data and the log for counts.
- Linear predictor
- The linear combination of explanatory variables and coefficients that the link function sets equal to the transformed mean.
- Score function
- The derivative of the log-likelihood with respect to a parameter; the maximum likelihood estimate is where it equals zero.
- Fisher scoring
- An iterative maximisation method that updates the estimate using the expected information in place of the observed curvature.
- Deviance
- Twice the difference between the log-likelihood of the saturated model and that of the fitted model, used to measure lack of fit.
- Odds ratio
- The ratio of the odds of an outcome in one group to the odds in another; a value of 1 means no association.
- Proportional odds
- The assumption in a cumulative logit model that each predictor has the same effect at every split of the ordered categories.
- Offset
- A term such as the log of exposure that enters the linear predictor with its coefficient fixed at one, turning a count model into a rate model.
- Overdispersion
- Variation in counts or proportions greater than the fitted distribution implies, estimated by the Pearson statistic over its degrees of freedom.
- Saturated model
- The model with as many parameters as observations, which reproduces the data exactly and anchors the deviance.
STAT6135 FAQ
How difficult is Generalised Linear Models?
The challenge is the combination of theory and application. Part 2 requires derivations with the exponential family, score functions and Fisher scoring, while Parts 3 to 5 require you to fit and interpret several model families in R. Students comfortable with linear regression find the first weeks familiar; the step up comes with likelihood theory and with interpreting logits and log rates.
How is the module assessed?
The module outline lists two components of equal weight. Individual coursework is worth 50% and tests all the learning outcomes. A two-hour exam in January 2027 is worth the other 50% and covers the models taught, with emphasis on theory and practice. Resits keep the same structure and weights, with a new assignment and a new exam.
When is the coursework due and what does it involve?
The 2026/27 brief gives the deadline as 16.00 on Tuesday 1 December 2026, while the earlier outline had said the last week of November with the date to be confirmed, so rely on the brief and course site announcements. You submit a PDF report and a separate R script, within strict page limits, across three tasks.
What will the exam test?
The outline describes a two-hour exam on the models covered in the module, with emphasis given both to theory and practice. It does not publish a question format or a list of permitted materials, so check those with the module team. Prepare to derive results by hand and to interpret fitted models.
Are past exam papers available?
Yes. The module outline points to the university's repository of past exam papers, and the introductory lecture says past papers are available for practice. Use them under timed conditions in the final week, after you have worked the exercise sheets and computer worksheets for every part.
Can I use generative AI tools for the coursework?
Only in a limited way. The coursework brief allows generative AI for improving text you have written yourself, such as proofreading, but not for generating content, and asks for an appendix of up to one page explaining any use. The module outline also allows its use as a research and study aid.
What should I revise first?
Start with the GLM framework in Part 2, because every later model is a special case of it. Then work through logistic models for binary, nominal and ordinal responses, followed by Poisson and log-linear models and overdispersion. Keep linear regression diagnostics fresh throughout, since the same checks reappear in each family.
Questions students ask in each STAT6135 chapter
- Why does a model with an intercept use only k minus 1 dummies?
- Including a dummy for every level as well as an intercept makes the columns of the design matrix linearly dependent, so the coefficients cannot be estimated uniquely. Dropping one level removes that dependence and turns the dropped level into the baseline for comparison. Chapter 01 · Linear Regression, Dummy Variables and Interactions
- When should I use an F test instead of t tests?
- Use the partial F test whenever a question concerns several coefficients at once, such as all the dummies of one factor or a block of added terms. Separate t tests each assume the other terms stay in the model and cannot answer whether the block as a whole is needed. Chapter 02 · Model Selection, Assumption Checks and Influence
- Why does the canonical link matter?
- With the canonical link the score equations simplify to sums of covariates times residuals, the observed and expected information coincide, and Newton-Raphson and Fisher scoring become the same algorithm. Software also uses it as the default link for each family. Chapter 03 · Exponential Family and GLM Components
- Why does Fisher scoring converge in one step for the binomial?
- Substituting the expected information into the update cancels the current value exactly, leaving y over n whatever the start. Newton-Raphson uses the observed second derivative, which depends on the current estimate, so it needs several iterations from a poor starting value. Chapter 04 · Maximum Likelihood, Score and Fisher Scoring
- How are degrees of freedom found for a two-way table?
- Multiply the number of rows minus one by the number of columns minus one. Under independence the row and column totals are fixed by the data, so only that many cells are free to vary. A four by four table therefore has nine degrees of freedom. Chapter 05 · Contingency Tables and Odds Ratios
- What is the difference between an odds ratio and a relative probability?
- An odds ratio compares odds, π/(1 − π), between two groups. A probability ratio compares the probabilities themselves. They are close only when the outcome is rare, so an odds ratio of 2.3 can correspond to a much smaller ratio of probabilities. Chapter 06 · Binary Logistic Regression
- How many parameters does a multinomial model use compared with an ordinal one?
- For J categories and p predictors the multinomial model has J minus 1 intercepts and J minus 1 slopes per predictor. The proportional-odds model has J minus 1 cut points and only one slope per predictor, which is why it is preferred when the parallel-lines assumption holds. Chapter 07 · Multinomial and Ordinal Logistic Regression
- Why not just model the observed rate directly?
- The rate, count divided by exposure, is not an integer count, so it does not follow a Poisson distribution and the model would lose the link between mean and variance. Keeping the count as the response with log exposure as an offset models the rate while respecting the Poisson structure. Chapter 08 · Poisson Regression, Rates and Overdispersion
- Why can log-linear models always be fitted as Poisson GLMs?
- Birch showed that Poisson, multinomial and product multinomial sampling give the same maximum likelihood estimates provided the model contains the terms for whatever totals were fixed by design. Fitting with a Poisson family therefore gives the correct estimates whichever scheme produced the table. Chapter 09 · Log-linear Models for Multi-way Tables
How to study for the exam
Study STAT6135 as one framework applied to different responses. Start each week by writing the three components of the model being taught: the distribution, the linear predictor and the link. Then work the theory by hand, using the exercise sheets for the exponential family, score, information and Fisher scoring, because the exam outline gives theory and practice equal emphasis.
Redo each computer worksheet from a blank script rather than rereading the solutions, and for every coefficient you print, say aloud what it compares, on which scale, and with which reference category.
Keep a running sheet of the model checks that go with each family: residual plots and F tests for linear regression, likelihood ratio tests and AIC for logistic models, deviance and Pearson statistics on residual degrees of freedom for grouped and count data, the parallel-lines test for ordinal models and the dispersion estimate for Poisson fits.
In the last fortnight, alternate one derivation set with one output-interpretation set each day, then sit a past paper from the university repository under timed conditions and mark it against the lecture slides.
Your AI Statistics tutor for STAT6135
Stuck on a hard STAT6135 question? Sia is AskSia’s AI Statistics tutor — ask any STAT6135 Generalised Linear Models question and get a clear, step-by-step explanation grounded in how the course is actually taught and assessed. Read this whole study guide free, then take your hardest questions to Sia.