Statistical Modelling using General Linear Models (GLMs)

Statistical modelling using generalised linear models (GLMs) is a free course for University of St Andrews research degree students (see eligibility advice below) and staff. The course covers extensions to linear models and generalised linear models; these models describe some form of response as a function of one, or more, explanatory variables and are powerful tools in understanding complex systems or predicting an outcome. The whole course is split into two parts (one part per semester) and participants can do one or both parts (see entry requirements).

The course is facilitated by St Leonard’s Postgraduate College and delivered by the Centre for Research into Ecological and Environmental Modelling (CREEM).

Content and Structure

Semester 1 (Part 1)

  • Introduction and Extension of Linear Models
    • A re-cap of multiple linear regression
    • Generalized least squares and maximum likelihood
  • Introduction to Generalised Linear Models
    • Poisson response data
      • For data with response values that are count

Semester 2 (Part 2)

Continuation of GLMs

  • Binomial response data (also known as logistic regression)
    • For data with response values that are proportions
    • or binary (0 or 1 responses only)
  • More advanced Generalised Linear Models
    • Multinomial response data (also known as multiple outcome or multi-category models)
      • data with unordered categorical responses (nominal), and
      • ordered categorical responses (ordinal)

The course includes a substantial practical component and the methods covered will be implemented using the statistical programming language R and user-friendly environment RStudio.

The whole course is spread over semesters 1 and 2 and there will be guided programme for self-study. Course material (lecture notes, exercises and computer practicals) will be available on Moodle.

There will be an in-person introductory session (week starting 30 September 2024) to get you started and throughout the course there will be online help sessions, and a final in-person session to finish the course. You are encouraged to attend the introductory and final sessions in-person to meet the course tutor and provide feedback. Participation in the help sessions is optional. 

Your weekly time commitment is anticipated to be about 2-3 hours learning through the course notes and associated computer practical and attending the optional help session.

There is an option for participants to obtain a certificate for each part by attempting all assessed quizzes and obtaining a pass. See the course timetable for the deadline for submitting responses to the assessed quizzes.

Entry Requirements and Prior Learning

The prerequisites for this course are:

  • to understand basic statistics in particular, hypothesis testing and simple linear regression. The “Introduction to Statistics” course would be an ideal introduction (and should be completed before enrolling on this course).
  • be able to write basic commands in R to undertake an exploratory data analysis, fit simple linear regression model and interpret the R output.

You are encouraged to install R and RStudio on your laptop before the course starts.

Eligibility

The course is for University of St Andrews staff, and students matriculated on a doctoral degree or the following research degree programmes – MSc (Res), MSt (Res), and MPhil (by research).

The course is not open to students on an undergraduate degree or to students on a taught postgraduate degree programme (MSc, MLitt, or MRes).

Book Your Place

You can enrol on the course through the Personal Development Management System (PDMS). Course code 15584.

If you have any questions, please contact St Leonard’s Postgraduate College via email [email protected].

Contact us

St Leonard's College
The Old Burgh School,
Abbey Walk
St Andrews
KY16 9LB

[email protected]

Phone:+44 (0)1334 46 2003

Upcoming events

 

Trauma-Informed Research Workshop: Mitigating Harm for Research Participants and Researchers
(Day-long workshop open to PGRs and staff)
Tuesday 12 May 2026, 9.30am -6.00pm
St Andrews Botanical Gardens


Modes of Compression: Aesthetics, Operations, Format

Tuesday 12 May 2026 – Wednesday 13 May 2026, 9.30am -8.00pm
Online

Relaxed Drawing
Wednesday 13 May 2026, 3.00-5.00pm
Wardlaw Museum

Peace, war and conflict in the ancient world
Monday 18 May 2026, 9.00am -5.30pm
School of Classics

Pint of Science 2026

Monday 18 May -Wednesday 20 May 2026, 7.30-9.30pm
Sandy’s Bar, Students Union

Relaxed Drawing
Wednesday 20 May 2026, 3.00-5.00pm
Wardlaw Museum

Quiet Opening
Thursday 21 May 2026, 3.00-5.00pm
Wardlaw Museum

Annual PGR Lecture in Psychology and & Neuroscience
“When Balance Fails: Restoring Neural Network Homeostasis in Amyotrophic Lateral Sclerosis”. by Alyssa Corbett

Friday 22 May 2026, 1pm, Old Library
School of Psychology and Neuroscience

People make history (local history day)
Saturday 23 May 2026, 12.00-4.00pm
Wardlaw Museum

Project Earth: the Green Chapter
Wednesday 27 May 2026, 7.30-9.00pm
Music Centre

Relaxed Drawing
Wednesday 27 May 2026, 3.00-5.00pm
Wardlaw Museum

Recent news posts by St Leonard’s

St Leonard’s College Newsletter