Search USGSSearch

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

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

Hotter temperatures alter riparian plant outcomes under regulated river conditions

Climate change and river regulation alter environmental controls on riparian plant occurrence and cover worldwide. Simultaneous changes to river flow and air temperature could result in unanticipated plant responses to novel environmental conditions. Increasing temperature could alter riparian plant response to hydrology and other factors, while river regulation may exacerbate environmental stress through novel flows like those resulting from power generation. Further, plant establishment and growth may require differing conditions, which may be decoupled by novel conditions. Using a large dataset that spans a natural 5°C mean annual temperature (MAT) gradient and a Bayesian model that integrates plant occurrence and cover, we address four questions: (1) Does hotter MAT modify plant response to hydrology, substrate composition, topography, and cover of co-occurring plant species? (2) Does the timing of hydropower tides benefit some species over others? (3) Does dam-induced erosion hinder riparian species more than upland species? (4) Do occurrence and cover respond to different environmental variables, allowing for decoupling of life history processes? We addressed these questions with data collected along 364 km of the Colorado River downstream of Glen Canyon Dam, Arizona, United States of America. Occurrence and cover class were recorded in >10,000 plots from 2016 to 2020, along with environmental covariates that repeat across the climate gradient. For 36 species, plant occurrence and cover were modeled with respect to MAT, hydrology, substrate, topography, other plant cover, and their interactions with MAT. There were four key results. (1) Increasing MAT will not only directly influence plants but will mediate their responses to the environment, including greater dependence on stable water supplies. (2) The timing of hydropower tides shapes plant community composition. (3) Dam-related erosion has an outsized effect on riparian species, which could lead to a loss of regionally unique plant species. (4) For all species, the most important covariates driving occurrence differed from those for cover, suggesting the potential for these life stages to be decoupled. Not only will climate change and river regulation independently alter plant distributions, interactions among hotter temperature, dam-controlled flow patterns, and limited fine sediments will determine which species flourish or perish under future conditions.

Arizona