Search USGS⌕ Search

USGS · 70198754

A guide to Bayesian model checking for ecologists

Abstract

Checking that models adequately represent data is an essential component of applied statistical inference. Ecologists increasingly use hierarchical Bayesian statistical models in their research. The appeal of this modeling paradigm is undeniable, as researchers can build and fit models that embody complex ecological processes while simultaneously accounting for observation error. However, ecologists tend to be less focused on checking model assumptions and assessing potential lack of fit when applying Bayesian methods than when applying more traditional modes of inference such as maximum likelihood. There are also multiple ways of assessing the fit of Bayesian models, each of which has strengths and weaknesses. For instance, Bayesian P values are relatively easy to compute, but are well known to be conservative, producing P values biased toward 0.5. Alternatively, lesser known approaches to model checking, such as prior predictive checks, cross‐validation probability integral transforms, and pivot discrepancy measures may produce more accurate characterizations of goodness‐of‐fit but are not as well known to ecologists. In addition, a suite of visual and targeted diagnostics can be used to examine violations of different model assumptions and lack of fit at different levels of the modeling hierarchy, and to check for residual temporal or spatial autocorrelation. In this review, we synthesize existing literature to guide ecologists through the many available options for Bayesian model checking. We illustrate methods and procedures with several ecological case studies including (1) analysis of simulated spatiotemporal count data, (2) N‐mixture models for estimating abundance of sea otters from an aircraft, and (3) hidden Markov modeling to describe attendance patterns of California sea lion mothers on a rookery. We find that commonly used procedures based on posterior predictive P values detect extreme model inadequacy, but often do not detect more subtle cases of lack of fit. Tests based on cross‐validation and pivot discrepancy measures (including the “sampled predictive P value”) appear to be better suited to model checking and to have better overall statistical performance. We conclude that model checking is necessary to ensure that scientific inference is well founded. As an essential component of scientific discovery, it should accompany most Bayesian analyses presented in the literature.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Paul B. Conn, Devin S. Johnson, Perry J. Williams, Sharon R. Melin, Mevin Hooten. 2018-06-14. A guide to Bayesian model checking for ecologists. https://doi.org/10.1002/ecm.1314

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related USGS reports

Probabilistic forecasting of coastal wetland elevation and soil carbon response to sea-level rise

Tidal wetlands build soil as a dynamic response to inundation, resulting in carbon sequestration and resilience to sea-level rise. Process models can be used to make site-specific forecasts, anticipate future changes, and plan management responses. But to be actionable, forecasts from these models need to be accompanied by descriptions of their confidence. In this study, we demonstrate the application of ecological forecasting principles to the unique case of tidal wetland vulnerability and carbon storage, given accelerating and uncertain sea-level rise. We present a case study using the Cohort Marsh Equilibrium Model at the Global Change Research Wetland in Maryland, USA. We used meta-analyses to quantify lab- and sample-level measurement uncertainties for common soil measurements and to develop Bayesian model priors. Reanalysis of previous literature supported predictive relationships between belowground turnover and mean annual temperature, as well as between soil erodibility and suspended sediment concentration that could be transferable to other locations. The model forecasted a likely conversion of low-elevation marsh to open water by the 2060s, accompanied by a decrease in marsh carbon storage capacity. Forecasted uncertainty in elevation was dominated by structural uncertainty in the model, while carbon accumulation rates were more influenced by parameter uncertainty. After 2050, and increasingly as the forecast approached 2100, uncertainty in sea-level rise projections contributed to uncertainty in both forecasts. Forecasts were most sensitive to processes related to organic matter preservation, plant productivity (maximum aboveground biomass and belowground turnover), and organic soil packing density. The soil formed was an organic-rich peat (>70% organic matter according to the data), and model predictions were insensitive to parameters associated with mineral sedimentation. We identify additional field data collection, such as on decomposition trajectories and plant productivity, and data-model coupling of near-term elevation records as the most impactful strategies for reducing uncertainties in future forecasting efforts. Future work can build on this forecasting framework in other locations, using it for adaptive management, identifying appropriate interventions to mitigate wetland loss, and projecting future carbon removal capacity in response to accelerated sea-level rise.

Maryland↗

Missing data in ecology: Syntheses, clarifications, and considerations

In ecology and related sciences, missing data are common and occur in a variety of different contexts. When missing data are not handled properly, subsequent statistical estimates tend to be biased, inefficient, and lack proper confidence interval coverage. Missing data are often grouped into three categories: missing completely at random (MCAR), missing at random (MAR), and missing not at random (MNAR). We review each category and compare their benefits and drawbacks. We review several approaches to handling missing data including complete case analysis, imputation, inverse probability weighting, and data augmentation. We clarify what types of variables should accompany imputation methods and how those variables are influenced by the analysis methods. Additionally, we discuss missing data that lack a formal basis for measurement and hence are fundamentally different from MCAR, MAR, and MNAR missing data. Throughout, we introduce concepts and numeric examples using both simulated data and data from the United States Environmental Protection Agency's 2016 National Wetland Condition Assessment. We conclude by providing five considerations for ecologists and other scientists handling missing data.

Ecological Monographs↗

Mammalian predator co‐occurrence affected by prey and habitat more than competitor presence at multiple time scales

The behavior and abundance of sympatric predators can be affected by a complex dominance hierarchy. The strength of antagonistic interactions in predator communities is difficult to study and remains poorly understood for many predator assemblages. Predators directly and indirectly influence the broader ecosystem, so identifying the relative importance of competition, prey, and habitat in shaping predator interactions has broad conservation and management implications. We investigated space use among five predator species (black bear [ Ursus americanus ], bobcat [ Lynx rufus ], coyote [ Canis latrans ], mountain lion [ Puma concolor ], and gray wolf [ Canis lupus ]) across three temporal scales in northern Idaho, USA. We used camera trap data to test whether potentially subordinate predators spatially avoided dominant predators and how prey availability influenced those relationships. We found few instances of subordinate predators spatially avoiding dominant predators and only at the finest temporal scale of our analyses. Instead, habitat features generally influenced predator space use patterns at coarser scales whereas prey and competitor presence influenced space use patterns at finer scales. Co-occurrence was positively associated between coyotes and bobcats at coarser timescales and between mesopredators and apex predators at finer timescales. Bobcats and mountain lions temporarily delayed the use of sites recently visited by coyotes and black bears, respectively. And all predator species used sites sooner following the detection of a competitor in areas with higher relative abundances of prey (primarily white-tailed deer [ Odocoileus virginianus ]). Our results suggest attraction to shared habitats and prey resources influenced space use in the predator community more than avoidance of competitors. We propose that the effects of interspecific interactions on predator distributions were most evident for mesopredators because their trophic position requires balancing risks and rewards associated with prey, apex predators, and other mesopredators. In addition, relatively high densities of a common prey source likely facilitated the spatial coexistence in this predator community. Our study demonstrates the value of simultaneously assessing multiple interspecific interactions across different spatiotemporal scales to discern relationships within the predator guild.

Idaho↗