skip to main content
US FlagAn official website of the United States government
dot gov icon
Official websites use .gov
A .gov website belongs to an official government organization in the United States.
https lock icon
Secure .gov websites use HTTPS
A lock ( lock ) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.


Title: Bayesian hierarchical modelling of size spectra
Abstract A fundamental pattern in ecology is that smaller organisms are more abundant than larger organisms. This pattern is known as the individual size distribution (ISD), which is the frequency distribution of all individual body sizes in an ecosystem.The ISD is described by a power law and a major goal of size spectra analyses is to estimate the exponent of the power law,λ. However, while numerous methods have been developed to do this, they have focused almost exclusively on estimatingλfrom single samples.Here, we develop an extension of the truncated Pareto distribution within the probabilistic modelling language Stan. We use it to estimate multipleλs simultaneously in a hierarchical modelling approach.The most important result is the ability to examine hypotheses related to size spectra, including the assessment of fixed and random effects, within a single Bayesian generalized mixed model. While the example here uses size spectra, the technique can also be generalized to any data that follow a power law distribution.  more » « less
Award ID(s):
2106067 2106068
PAR ID:
10533654
Author(s) / Creator(s):
; ; ;
Publisher / Repository:
British Ecological Society
Date Published:
Journal Name:
Methods in Ecology and Evolution
Volume:
15
Issue:
5
ISSN:
2041-210X
Page Range / eLocation ID:
856 to 867
Format(s):
Medium: X
Sponsoring Org:
National Science Foundation
More Like this
  1. Abstract Individual body size distributions (ISD) within communities are remarkably consistent across habitats and spatiotemporal scales and can be represented by size spectra, which are described by a power law. The focus of size spectra analysis is to estimate the exponent () of the power law. A common application of size spectra studies is to detect anthropogenic pressures.Many methods have been proposed for estimating most of which involve binning the data, counting the abundance within bins, and then fitting an ordinary least squares regression in log–log space. However, recent work has shown that binning procedures return biased estimates of compared to procedures that directly estimate using maximum likelihood estimation (MLE). While it is clear that MLE produces less biased estimates of site‐specificλ's, it is less clear how this bias affects the ability to test for changes inλacross space and time, a common question in the ecological literature.Here, we used simulation to compare the ability of two normalised binning methods (equal logarithmic and log2bins) and MLE to (1) recapture known values of , and (2) recapture parameters in a linear regression measuring the change in across a hypothetical environmental gradient. We also compared the methods using two previously published body size datasets across a natural temperature gradient and an anthropogenic pollution gradient.Maximum likelihood methods always performed better than common binning methods, which demonstrated consistent bias depending on the simulated values of . This bias carried over to the regressions, which were more accurate when was estimated using MLE compared to the binning procedures. Additionally, the variance in estimates using MLE methods is markedly reduced when compared to binning methods.The error induced by binning methods can be of similar magnitudes as the variation previously published in experimental and observational studies, bringing into question the effect sizes of previously published results. However, while the methods produced different regression slope estimates, they were in qualitative agreement on the sign of those slopes (i.e. all negative or all positive). Our results provide further support for the direct estimation of and its relative variation across environmental gradients using MLE over the more common methods of binning. 
    more » « less
  2. Abstract A positive relationship between body size and trophic position is often assumed in ecology, but efforts to confirm the generality of this relationship for freshwater vertebrates have produced mixed results. Some authors have tested for among‐species relationships, using species‐level estimates of average size and trophic position. Others have used individual‐level body size and trophic position data to test for within‐species relationships. However, no study has yet estimatedprevalence, defined here as the fraction of total standing stock biomass within a given ecosystem that consists of taxa exhibiting positive size versus trophic position relationships.Individual‐level estimates of body size and relative trophic position (inferred from bulk‐tissue nitrogen stable isotopes) were collected for vertebrates in six temperate streams. In each stream, all locally occurring vertebrate taxa were collected and closed population depletion samples were used to obtain standing stock biomass estimates.Ordinary least squares regression was used with the individual‐level data to test for positive relationships between body size and relative trophic position (r‐STPRs). A separater‐STPR model was tested for each vertebrate species collected at the six study sites. Linear mixed‐effects modelling was then used to test for differingr‐STPRs among species.Prevalence of ther‐STPR was calculated for each site by summing the standing stock biomass of all taxa that exhibited a statistically significant, positive STPR at a given site, then dividing this number by the total standing stock biomass of vertebrates at the site.Significant, positiver‐STPRs were detected in 15 of 22 species × site regression models. Prevalence of species with positiver‐STPRs ranged from 91 to 100% of the total vertebrate biomass in western streams and from 45 to 66% in eastern streams.Results confirm that positiver‐STPRs are characteristic of many of the vertebrate taxa considered in this study. Furthermore, species that exhibit positiver‐STPRs comprise a clear majority of the standing stock biomass in five of six study streams. By using individual‐level data to account for prevalence, a more complete understanding of size‐dependent trophic dynamics should be possible in freshwater ecosystems. 
    more » « less
  3. Abstract Numerous modelling techniques exist to estimate abundance of plant and animal populations. The most accurate methods account for multiple complexities found in ecological data, such as observational biases, spatial autocorrelation, and species correlations. There is, however, a lack of user‐friendly and computationally efficient software to implement the various models, particularly for large data sets.We developed thespAbundance Rpackage for fitting spatially explicit Bayesian single‐species and multi‐species hierarchical distance sampling models, N‐mixture models, and generalized linear mixed models. The models within the package can account for spatial autocorrelation using Nearest Neighbour Gaussian Processes and accommodate species correlations in multi‐species models using a latent factor approach, which enables model fitting for data sets with large numbers of sites and/or species.We provide three vignettes and three case studies that highlightspAbundancefunctionality. We used spatially explicit multi‐species distance sampling models to estimate density of 16 bird species in Florida, USA, an N‐mixture model to estimate black‐throated blue warbler (Setophaga caerulescens) abundance in New Hampshire, USA, and a spatial linear mixed model to estimate forest above‐ground biomass across the continental USA.spAbundanceprovides a user‐friendly, formula‐based interface to fit a variety of univariate and multivariate spatially explicit abundance models. The package serves as a useful tool for ecologists and conservation practitioners to generate improved inference and predictions on the spatial drivers of abundance in populations and communities. 
    more » « less
  4. Abstract Ecologists have long been interested in linking individual behaviour with higher level processes. For motile species, this ‘upscaling’ is governed by how well any given movement strategy maximizes encounters with positive factors and minimizes encounters with negative factors. Despite the importance of encounter events for a broad range of ecological processes, encounter theory has not kept pace with developments in animal tracking or movement modelling. Furthermore, existing work has focused primarily on the relationship between animal movement and encounterrateswhile the relationship between individual movement and the spatiallocationsof encounter events in the environment has remained conspicuously understudied.Here, we bridge this gap by introducing a method for describing the long‐term encounter location probabilities for movement within home ranges, termed the conditional distribution of encounters (CDE). We then derive this distribution, as well as confidence intervals, implement its statistical estimator into open‐source software and demonstrate the broad ecological relevance of this distribution.We first use simulated data to show how our estimator provides asymptotically consistent estimates. We then demonstrate the general utility of this method for three simulation‐based scenarios that occur routinely in biological systems: (a) a population of individuals with home ranges that overlap with neighbours; (b) a pair of individuals with a hard territorial border between their home ranges; and (c) a predator with a large home range that encompassed the home ranges of multiple prey individuals. Using GPS data from white‐faced capuchinsCebus capucinus, tracked on Barro Colorado Island, Panama, and sleepy lizardsTiliqua rugosa,tracked in Bundey, South Australia, we then show how the CDE can be used to estimate the locations of territorial borders, identify key resources, quantify the potential for competitive or predatory interactions and/or identify any changes in behaviour that directly result from location‐specific encounter probability.The CDE enables researchers to better understand the dynamics of populations of interacting individuals. Notably, the general estimation framework developed in this work builds straightforwardly off of home range estimation and requires no specialized data collection protocols. This method is now openly available via thectmm Rpackage. 
    more » « less
  5. The study explores the individual size distribution (ISD) pattern in ecological communities, characterized by a negative correlation between individual body size and abundance (N ∼ Mλ). The parameter λ denotes the rate of decline in relative abundance from small to large individuals. Despite known influences of temperature and resource availability on body size, their effects on λ remain diverse. Leveraging data from 2.4 million individual body sizes in continental freshwater streams, the research the hypothesis that λ varies as a function of temperature and resource supply. Surprisingly, despite varied environmental conditions and complete species turnover, minimal variation in λ (mean = −1.2, sd = 0.04) was observed, with no discernible impact from temperature or resource supply. The unexpected λ value of −1.2 suggests a higher-than-expected relative abundance of large individuals, challenging assumptions of metabolic scaling at 0.75 and implying large subsidy inputs to large predators. Simulation and mesocosm experiments support a metabolic scaling coefficient of ∼0.4 for freshwater macroinvertebrates. The findings underscore remarkable consistency of individual size distributions in freshwater streams, likely driven by shallow metabolic scaling and large subsidies to large consumers. 
    more » « less