학술논문

Dynamic generalised additive models (DGAMs) for forecasting discrete ecological time series
Document Type
article
Source
Methods in Ecology and Evolution, Vol 14, Iss 3, Pp 771-784 (2023)
Subject
dynamic factor model
ecological forecasting
generalised additive model
hierarchical model
JAGS
R package
Ecology
QH540-549.5
Evolution
QH359-425
Language
English
ISSN
2041-210X
Abstract
Abstract Generalised additive models (GAMs) are increasingly popular tools for estimating smooth nonlinear relationships between predictors and response variables. GAMs are particularly relevant in ecology for representing hierarchical functions for discrete responses that encompass complex features including zero inflation, truncation and uneven sampling. However, GAMs are less useful for producing forecasts as their smooth functions provide unstable predictions outside the range of training data. We introduce dynamic generalised additive models (DGAMs), where the GAM linear predictor is jointly estimated with unobserved dynamic components to model time series that evolve as a function of nonlinear predictor associations and latent temporal processes. These models are especially useful for analysing multiple series, as they can estimate hierarchical smooth functions while learning complex temporal associations via dimension‐reduced latent factor processes. We implement our models in the mvgam R package, which estimates unobserved parameters for smoothing splines and latent temporal processes in a probabilistic framework. Using simulations, we illustrate how our models outperform competing formulations in realistic ecological forecasting tasks while identifying important smooth predictor functions. We use a real‐world case study to highlight some of mvgam's key features, which include functions for calculating correlations among series' latent trends, performing model selection using rolling window forecasts and posterior predictive checks, online data augmentation via a recursive particle filter and visualising probabilistic uncertainties for smooth functions and predictions. Dynamic GAMs (DGAMs) offer a solution to the challenge of forecasting discrete time series while estimating ecologically relevant nonlinear predictor associations. Our Bayesian latent factor approach will be particularly useful for exploring competing dynamic ecological models that encompass hierarchical smoothing structures while providing forecasts with robust uncertainties, tasks that are becoming increasingly important in applied ecology.