Skip to main content
U.S. flag

An official website of the United States government

occstanhm: Hierarchical occupancy models with correlated error structure

October 31, 2024
This repository contains a R package with 2-level and 3-level occupancy models.
The package also contains a set of tutorials designed to help users understand how to use and code occupancy models in Stan.
The models include a statistical hierarchy that allows for
multi-species modeling and estimating correlations among species.
The models may also be used as a more general "random-effect" type
occupancy model. The models are written in Stan and called through R. The cmdstanr package is used, rather than the more common rstan
package, because features used in Stan were not supported by rstan
at the time of development.
Additionally, cmdstanr allows for quicker performance than rstan.
Publication Year 2024
Title occstanhm: Hierarchical occupancy models with correlated error structure
DOI 10.5066/P13FNZOF
Authors Richard A Erickson, Charles J. Labuzzetta
Product Type Software Release
Record Source USGS Asset Identifier Service (AIS)
USGS Organization Upper Midwest Environmental Sciences Center
Was this page helpful?