4.6 Editorial Material

Faster estimation of Bayesian models in ecology using Hamiltonian Monte Carlo

Journal

METHODS IN ECOLOGY AND EVOLUTION
Volume 8, Issue 3, Pages 339-348

Publisher

WILEY
DOI: 10.1111/2041-210X.12681

Keywords

Bayesian inference; hierarchical modelling; Markov chain Monte Carlo; no-U-turn sampler; Stan

Categories

Funding

  1. Joint Institute for the Study of the Atmosphere and Ocean (JISAO) under NOAA Cooperative Agreement [NA10OAR4320148, NA15OAR4320063, 2016-01-23]
  2. Washington Sea Grant, University of Washington [NA14OAR4170078]
  3. Richard C. and Lois M. Worthington Endowed Professorship in Fisheries Management

Ask authors/readers for more resources

Bayesian inference is a powerful tool to better understand ecological processes across varied subfields in ecology, and is often implemented in generic and flexible software packages such as the widely used BUGS family (BUGS, WinBUGS, OpenBUGS and JAGS). However, some models have prohibitively long run times when implemented in BUGS. A relatively new software platform called Stan uses Hamiltonian Monte Carlo (HMC), a family of Markov chain Monte Carlo (MCMC) algorithms which promise improved efficiency and faster inference relative to those used by BUGS. Stan is gaining traction in many fields as an alternative to BUGS, but adoption has been slow in ecology, likely due in part to the complex nature of HMC. Here, we provide an intuitive illustration of the principles of HMC on a set of simple models. We then compared the relative efficiency of BUGS and Stan using population ecology models that vary in size and complexity. For hierarchical models, we also investigated the effect of an alternative parameterization of random effects, known as non-centering. For small, simple models there is little practical difference between the two platforms, but Stan outperforms BUGS as model size and complexity grows. Stan also performs well for hierarchical models, but is more sensitive to model parameterization than BUGS. Stan may also be more robust to biased inference caused by pathologies, because it produces diagnostic warnings where BUGS provides none. Disadvantages of Stan include an inability to use discrete parameters, more complex diagnostics and a greater requirement for hands-on tuning. Given these results, Stan is a valuable tool for many ecologists utilizing Bayesian inference, particularly for problems where BUGS is prohibitively slow. As such, Stan can extend the boundaries of feasible models for applied problems, leading to better understanding of ecological processes. Fields that would likely benefit include estimation of individual and population growth rates, meta-analyses and cross-system comparisons and spatiotemporal models.

Authors

I am an author on this paper
Click your name to claim this paper and add it to your profile.

Reviews

Primary Rating

4.6
Not enough ratings

Secondary Ratings

Novelty
-
Significance
-
Scientific rigor
-
Rate this paper

Recommended

No Data Available
No Data Available