Skip to main content
U.S. flag

An official website of the United States government

Nonstationary demographic state-space models: R and JAGS code

February 18, 2025
This repository contains R and JAGS code for fitting nonstationary demographic state-space models (NDSSM) to count-valued abundance data. Models use reduced dynamics but explicitly characterize growth rate distributions, including changepoints and/or volatility clustering for the timing and impacts of environmental stressors. Species fecundity is used to truncate growth rate distributions, allowing separation of demographic processes affecting latent abundance from migration and observation processes. The code contains tools for a workflow that includes fitting models, making abundance and growth rate predictions, calculating model scores, and visualizing the fitted population abundance predictions with observed counts.
Publication Year 2025
Title Nonstationary demographic state-space models: R and JAGS code
DOI 10.5066/P14CU78E
Authors Ashton M. Wiens, Teresa F Bohner, Bradley J Udell, Wayne E Thogmartin
Product Type Software Release
Record Source USGS Asset Identifier Service (AIS)
USGS Organization Geology, Energy & Minerals Science Center
Rights This work is marked with CC0 1.0 Universal
Was this page helpful?