Cargando…

Efficient Bayesian analysis of occupancy models with logit link functions

Occupancy models (Ecology, 2002; 83: 2248) were developed to infer the probability that a species under investigation occupies a site. Bayesian analysis of these models can be undertaken using statistical packages such as WinBUGS, OpenBUGS, JAGS, and more recently Stan, however, since these packages...

Descripción completa

Detalles Bibliográficos
Autores principales: Clark, Allan E., Altwegg, Res
Formato: Online Artículo Texto
Lenguaje:English
Publicado: John Wiley and Sons Inc. 2019
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6362608/
https://www.ncbi.nlm.nih.gov/pubmed/30766666
http://dx.doi.org/10.1002/ece3.4850
_version_ 1783392955848982528
author Clark, Allan E.
Altwegg, Res
author_facet Clark, Allan E.
Altwegg, Res
author_sort Clark, Allan E.
collection PubMed
description Occupancy models (Ecology, 2002; 83: 2248) were developed to infer the probability that a species under investigation occupies a site. Bayesian analysis of these models can be undertaken using statistical packages such as WinBUGS, OpenBUGS, JAGS, and more recently Stan, however, since these packages were not developed specifically to fit occupancy models, one often experiences long run times when undertaking an analysis. Bayesian spatial single‐season occupancy models can also be fit using the R package stocc. The approach assumes that the detection and occupancy regression effects are modeled using probit link functions. The use of the logistic link function, however, is algebraically more tractable and allows one to easily interpret the coefficient effects of an estimated model by using odds ratios, which is not easily done for a probit link function for models that do not include spatial random effects. We develop a Gibbs sampler to obtain posterior samples from the posterior distribution of the parameters of various occupancy models (nonspatial and spatial) when logit link functions are used to model the regression effects of the detection and occupancy processes. We apply our methods to data extracted from the 2nd Southern African Bird Atlas Project to produce a species distribution map of the Cape weaver (Ploceus capensis) and helmeted guineafowl (Numida meleagris) for South Africa. We found that the Gibbs sampling algorithm developed produces posterior samples that are identical to those obtained when using JAGS and Stan and that in certain cases the posterior chains mix much faster than those obtained when using JAGS, stocc, and Stan. Our algorithms are implemented in the R package, Rcppocc. The software is freely available and stored on GitHub (https://github.com/AllanClark/Rcppocc).
format Online
Article
Text
id pubmed-6362608
institution National Center for Biotechnology Information
language English
publishDate 2019
publisher John Wiley and Sons Inc.
record_format MEDLINE/PubMed
spelling pubmed-63626082019-02-14 Efficient Bayesian analysis of occupancy models with logit link functions Clark, Allan E. Altwegg, Res Ecol Evol Original Research Occupancy models (Ecology, 2002; 83: 2248) were developed to infer the probability that a species under investigation occupies a site. Bayesian analysis of these models can be undertaken using statistical packages such as WinBUGS, OpenBUGS, JAGS, and more recently Stan, however, since these packages were not developed specifically to fit occupancy models, one often experiences long run times when undertaking an analysis. Bayesian spatial single‐season occupancy models can also be fit using the R package stocc. The approach assumes that the detection and occupancy regression effects are modeled using probit link functions. The use of the logistic link function, however, is algebraically more tractable and allows one to easily interpret the coefficient effects of an estimated model by using odds ratios, which is not easily done for a probit link function for models that do not include spatial random effects. We develop a Gibbs sampler to obtain posterior samples from the posterior distribution of the parameters of various occupancy models (nonspatial and spatial) when logit link functions are used to model the regression effects of the detection and occupancy processes. We apply our methods to data extracted from the 2nd Southern African Bird Atlas Project to produce a species distribution map of the Cape weaver (Ploceus capensis) and helmeted guineafowl (Numida meleagris) for South Africa. We found that the Gibbs sampling algorithm developed produces posterior samples that are identical to those obtained when using JAGS and Stan and that in certain cases the posterior chains mix much faster than those obtained when using JAGS, stocc, and Stan. Our algorithms are implemented in the R package, Rcppocc. The software is freely available and stored on GitHub (https://github.com/AllanClark/Rcppocc). John Wiley and Sons Inc. 2019-02-05 /pmc/articles/PMC6362608/ /pubmed/30766666 http://dx.doi.org/10.1002/ece3.4850 Text en © 2019 The Authors. Ecology and Evolution published by John Wiley & Sons Ltd. This is an open access article under the terms of the http://creativecommons.org/licenses/by/4.0/ License, which permits use, distribution and reproduction in any medium, provided the original work is properly cited.
spellingShingle Original Research
Clark, Allan E.
Altwegg, Res
Efficient Bayesian analysis of occupancy models with logit link functions
title Efficient Bayesian analysis of occupancy models with logit link functions
title_full Efficient Bayesian analysis of occupancy models with logit link functions
title_fullStr Efficient Bayesian analysis of occupancy models with logit link functions
title_full_unstemmed Efficient Bayesian analysis of occupancy models with logit link functions
title_short Efficient Bayesian analysis of occupancy models with logit link functions
title_sort efficient bayesian analysis of occupancy models with logit link functions
topic Original Research
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6362608/
https://www.ncbi.nlm.nih.gov/pubmed/30766666
http://dx.doi.org/10.1002/ece3.4850
work_keys_str_mv AT clarkallane efficientbayesiananalysisofoccupancymodelswithlogitlinkfunctions
AT altweggres efficientbayesiananalysisofoccupancymodelswithlogitlinkfunctions