Flexible Distributed Lag Models for Count Data Using <tt>mgcv</tt>

In this tutorial we present the use of R package mgcv to implement Distributed Lag Non-Linear Models (DLNMs) in a flexible way. Interpretation of smoothing splines as random quantities enables approximate Bayesian inference, which in turn allows uncertainty quantification and comprehensive model checking. We illustrate various modeling situations using open-access epidemiological data in conjunction with simulation experiments. We demonstrate the inclusion of temporal structures and the use of mixture distributions to allow for extreme outliers. Moreover, we demonstrate interactions of the temporal lagged structures with other covariates with different lagged periods for different covariates. Spatial structures are also demonstrated, including smooth spatial variability and Markov random fields, in addition to hierarchical formulations to allow for non-structured dependency. Posterior predictive simulation is used to ensure models verify well against the data.

Authors

Institutions

Publication Details

Journal
The American Statistician
Published
2025-05-19
DOI
https://doi.org/10.1080/00031305.2025.2505514
Citations
2
Primary Topic
Climate Change and Health Impacts
Type
article
Field-Weighted Citation Impact
2.40
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Flexible Distributed Lag Models for Count Data Using <tt>mgcv</tt>

Theo Economou, Rachel Lowe, Jos Lelieveld, Oliver Stoner et al.
2 citations
The American Statistician
Climate Change and Health Impacts
2.40
article

Flexible Distributed Lag Models for Count Data Using <tt>mgcv</tt>

Theo Economou, Rachel Lowe, Jos Lelieveld, Oliver Stoner, Aurelio Tobı́as, Laura Dawkins, Daphne Parliari, Hamish Steptoe, Christophe Sarran
article en
2 citations

Abstract

In this tutorial we present the use of R package mgcv to implement Distributed Lag Non-Linear Models (DLNMs) in a flexible way. Interpretation of smoothing splines as random quantities enables approximate Bayesian inference, which in turn allows uncertainty quantification and comprehensive model checking. We illustrate various modeling situations using open-access epidemiological data in conjunction with simulation experiments. We demonstrate the inclusion of temporal structures and the use of mixture distributions to allow for extreme outliers. Moreover, we demonstrate interactions of the temporal lagged structures with other covariates with different lagged periods for different covariates. Spatial structures are also demonstrated, including smooth spatial variability and Markov random fields, in addition to hierarchical formulations to allow for non-structured dependency. Posterior predictive simulation is used to ensure models verify well against the data.

The American StatisticianVol. 79(3)
Institució Catalana de Recerca i Estudis Avançats (ES), Met Office (GB), Cyprus Institute (CY), Aristotle University of Thessaloniki (GR), University of Exeter (GB), Barcelona Supercomputing Center (ES), London School of Hygiene & Tropical Medicine (GB), Max Planck Institute for Chemistry (DE), National Research Council (LK), Institute of Environmental Assessment and Water Research (ES), University of Glasgow (GB), Universitat Politècnica de Catalunya (ES)
Openalex Percentile: Top 13%
Climate Change and Health Impacts
2.40
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.