Efficient Estimation of Large-Scale Spatial Capture-Recapture Models

Capture-recapture methods are a common tool in ecological statistics, which have been extended to spatial capture-recapture models for data accompanied by location information. However, standard formulations of these models can be unwieldy and computationally intractable for large spatial scales, many individuals, and/or activity center movement. We provide a cumulative series of methods that yield dramatic improvements in Markov chain Monte Carlo (MCMC) estimation for two examples. These include removing unnecessary computations, integrating out latent states, vectorizing declarations, and restricting calculations to the locality of individuals. Our approaches leverage the flexibility provided by the nimble R package. In our first example, we demonstrate an improvement in MCMC efficiency (the rate of generating effectively independent posterior samples) by a factor of 100. In our second example, we reduce the computing time required to generate 10,000 posterior samples from 4.5 hours down to five minutes, and realize an increase in MCMC efficiency by a factor of 25. We also explain how these approaches can be applied generally to other spatially-indexed hierarchical models. R code is provided for all examples, as well as an executable web-appendix.

[1]  Andrew Thomas,et al.  The BUGS project: Evolution, critique and future directions , 2009, Statistics in medicine.

[2]  Beth Gardner,et al.  Separating mortality and emigration: modelling space use, dispersal and survival with robust‐design spatial capture–recapture data , 2014 .

[3]  D L Borchers,et al.  Spatially Explicit Maximum Likelihood Methods for Capture–Recapture Studies , 2008, Biometrics.

[4]  J. Andrew Royle,et al.  Analysis of Multinomial Models With Unknown Index Using Data Augmentation , 2007, Journal of Computational and Graphical Statistics.

[5]  Ørnulf Borgan,et al.  The utility of mortality hazard rates in population analyses , 2018, Methods in Ecology and Evolution.

[6]  J Andrew Royle,et al.  Analysis of Capture–Recapture Models with Individual Covariates Using Data Augmentation , 2008, Biometrics.

[7]  J. Andrew Royle,et al.  Using partial aggregation in spatial capture recapture , 2018, Methods in Ecology and Evolution.

[8]  Rahel Sollmann,et al.  State space and movement specification in open population spatial capture–recapture models , 2018, Ecology and evolution.

[9]  Daniel Turek,et al.  Automated Parameter Blocking for Efficient Markov-Chain Monte Carlo Sampling , 2015, 1503.05621.

[10]  Pierre Dupont,et al.  A local evaluation of the individual state‐space to scale up Bayesian spatial capture–recapture , 2018, Ecology and evolution.

[11]  Daniel Turek,et al.  Efficient Markov chain Monte Carlo sampling for hierarchical hidden Markov models , 2016, Environmental and Ecological Statistics.

[12]  Matthew R. Schofield,et al.  A spatial open‐population capture‐recapture model , 2019, Biometrics.

[13]  Andrew Gelman,et al.  Handbook of Markov Chain Monte Carlo , 2011 .

[14]  Duncan Temple Lang,et al.  Programming With Models: Writing Statistical Algorithms for General Model Structures With NIMBLE , 2015, 1505.05093.

[15]  M. Efford Density estimation in live‐trapping studies , 2004 .