z-logo
open-access-imgOpen Access
Choosing priors in Bayesian ecological models by simulating from the prior predictive distribution
Author(s) -
Wesner Jeff S.,
Pomeranz Justin P. F.
Publication year - 2021
Publication title -
ecosphere
Language(s) - English
Resource type - Journals
SCImago Journal Rank - 1.255
H-Index - 57
ISSN - 2150-8925
DOI - 10.1002/ecs2.3739
Subject(s) - prior probability , bayesian probability , computer science , machine learning , variable (mathematics) , artificial intelligence , ecology , mathematics , biology , mathematical analysis
Bayesian data analysis is increasingly used in ecology, but prior specification remains focused on choosing non‐informative priors (e.g., flat or vague priors). One barrier to choosing more informative priors is that priors must be specified on model parameters (e.g., intercepts, slopes, and sigmas), but prior knowledge often exists on the level of the response variable. This is particularly true for common models in ecology, like generalized linear mixed models that have a link function and potentially dozens of parameters, each of which needs a prior distribution. We suggest that this difficulty can be overcome by simulating from the prior predictive distribution and visualizing the results on the scale of the response variable. In doing so, some common choices for non‐informative priors on parameters can easily be seen to produce biologically impossible values of response variables. Such implications of prior choices are difficult to foresee without visualization. We demonstrate a workflow for prior selection using simulation and visualization with two ecological examples (predator–prey body sizes and spider responses to food competition). This approach is not new, but its adoption by ecologists will help to better incorporate prior information in ecological models, thereby maximizing one of the benefits of Bayesian data analysis.

The content you want is available to Zendy users.

Already have an account? Click here to sign in.
Having issues? You can contact us here