Related Experiment Video
Updated: Sep 13, 2025

A Method of Trigonometric Modelling of Seasonal Variation Demonstrated with Multiple Sclerosis Relapse Data
Published on: December 9, 2015
Flexible Distributed Lag Models for Count Data Using mgcv
Theo Economou1,2, Daphne Parliari3, Aurelio Tobias4
1Department of Mathematics and Statistics, University of Exeter, Exeter, UK.
This tutorial introduces flexible implementation of Distributed Lag Non-Linear Models (DLNMs) using the R package mgcv. It enables uncertainty quantification and model checking through approximate Bayesian inference for epidemiological data analysis.
Area of Science:
- Environmental Epidemiology
- Biostatistics
- Statistical Modeling
Background:
- Distributed Lag Non-Linear Models (DLNMs) are crucial for analyzing environmental exposures and health outcomes.
- Flexible implementation and robust model checking are essential for reliable epidemiological research.
- The R package mgcv offers powerful tools for advanced statistical modeling.
Purpose of the Study:
- To demonstrate the flexible implementation of DLNMs using the R package mgcv.
- To showcase methods for uncertainty quantification and comprehensive model checking.
- To illustrate the application of DLNMs in epidemiological research with real-world data.
Main Methods:
- Utilizing the mgcv package in R for DLNM implementation.
- Employing approximate Bayesian inference by interpreting smoothing splines as random quantities.
- Incorporating temporal structures, mixture distributions for outliers, covariate interactions, and spatial components (smooth variability, Markov random fields, hierarchical formulations).
Main Results:
- Demonstrated flexible DLNM implementation in R.
- Showcased uncertainty quantification and model checking capabilities.
- Illustrated handling of temporal structures, outliers, covariate interactions, and spatial dependencies.
Conclusions:
- The R package mgcv provides a flexible framework for implementing DLNMs.
- Approximate Bayesian inference facilitates robust uncertainty quantification and model validation.
- The methods are applicable to complex epidemiological data with various structures.
Related Concept Videos
Model Approaches for Pharmacokinetic Data: Distributed Parameter Models
The distributed parameter models are specifically designed to account for variations and differences in some drug classes. This model is particularly useful for assessing regional concentrations of anticancer or...
One-Compartment Open Model: Wagner-Nelson and Loo Riegelman Method for ka Estimation
On...
Distributions to Estimate Population Parameter
Mechanistic Models: Compartment Models in Individual and Population Analysis
Statistical Methods for Analyzing Epidemiological Data
Multicompartment Models: Overview
These models offer a more comprehensive representation of drug behavior in the body than one-compartment models. They accommodate the complexity of drug distribution,...

