The ongoing evolution of tracer mixing models has resulted in a confusing array of software tools that differ in terms of data inputs, model assumptions, and associated analytic products. Here we introduce MixSIAR, an inclusive, rich, and flexible Bayesian tracer (e.g., stable isotope) mixing model framework implemented as an open-source R package. Using MixSIAR as a foundation, we provide guidance for the implementation of mixing model analyses. We begin by outlining the practical differences between mixture data error structure formulations and relate these error structures to common mixing model study designs in ecology. Because Bayesian mixing models afford the option to specify informative priors on source proportion contributions, we outline methods for establishing prior distributions and discuss the influence of prior specification on model outputs. We also discuss the options available for source data inputs (raw data versus summary statistics) and provide guidance for combining sources. We then describe a key advantage of MixSIAR over previous mixing model software—the ability to include fixed and random effects as covariates explaining variability in mixture proportions and calculate relative support for multiple models via information criteria. We present a case study of Alligator mississippiensis diet partitioning to demonstrate the power of this approach. Finally, we conclude with a discussion of limitations to mixing model applications. Through MixSIAR, we have consolidated the disparate array of mixing model tools into a single platform, diversified the set of available parameterizations, and provided developers a platform upon which to continue improving mixing model analyses in the future.
Geostatistical spatial or spatiotemporal data are common across scientific fields. However, appropriate models to analyse these data, such as generalised linear mixed effects models (GLMMs) with Gaussian Markov random fields (GMRFs), are computationally intensive and challenging for many users to implement. Here, we introduce the R package sdmTMB , which extends the flexible interface familiar to users of lme4, glmmTMB , and mgcv to include spatial and spatiotemporal latent GMRFs using an SPDE-(stochastic partial differential equation) based approach. SPDE matrices are constructed with fmesher and estimation is conducted via maximum marginal likelihood with TMB or via Bayesian inference with tmbstan and rstan . We describe the model and explore case studies that illustrate sdmTMB ’s flexibility in implementing penalised smoothers, non-stationary processes (time-varying and spatially varying coefficients), hurdle models, cross-validation and anisotropy (directionally dependent spatial correlation). Finally, we compare the functionality, speed, and interfaces of related software, demonstrating that sdmTMB can be an order of magnitude faster than R- INLA . We hope sdmTMB will help open this useful class of models to a wider field of geostatistical analysts.
Summary: Management decisions for threatened and endangered species require risks to be identified and prioritized, based on the degree to which they influence population dynamics. The potential for recovery of small populations at risk may be determined by multiple factors, including intrinsic population characteristics (inbreeding, sex ratios) and extrinsic variables (prey availability, disease, human disturbance). Using Bayesian statistical methods, the impact of each of these risk factors on demographic rates can be quantified and assigned probabilities to express uncertainty. We assessed the impact of a wide range of factors on the fecundity of two threatened populations of killer whales Orcinus orca, specifically whether killer whale production is limited by availability of Chinook salmon Oncorhynchus tshawytscha. Additional variables included anthropogenic factors, climate variables, temporal effects, and population variables (population size, number of males, female age). Our results indicate that killer whale fecundity is highly correlated with the abundance of Chinook salmon. For example, the probability of a female calving differed by 50% between years of low salmon abundance and high salmon abundance. Weak evidence exists for linking fecundity to other variables, such as sea surface temperature. There was strong data support for reproductive senescence in female killer whales. This pattern of rapid maturity and gradual decline of fecundity with age commonly seen in terrestrial mammals has been documented in few marine mammal species. Maximum production for this species occurs between ages 20–22, and reproductive performance declines gradually to menopause over a period of 25 years. Synthesis and applications. Our results provide strong evidence for reproductive senescence in killer whales, and more importantly, that killer whale fecundity is strongly tied to the abundance of Chinook salmon, a species that is susceptible to environmental variation and has high commercial value to fisheries. This strong predator–prey relationship highlights the importance of understanding which salmon populations overlap with killer whales seasonally and spatially, so that those salmon populations important as prey for killer whales can be identified and targeted for conservation efforts.
Climate change is likely to change the relationships between commonly used climate indices and underlying patterns of climate variability, but this complexity is rarely considered in studies using climate indices. Here, we show that the physical and ecological conditions mapping onto the Pacific Decadal Oscillation (PDO) index and North Pacific Gyre Oscillation (NPGO) index have changed over multidecadal timescales. These changes apparently began around a 1988/1989 North Pacific climate shift that was marked by abrupt northeast Pacific warming, declining temporal variance in the Aleutian Low (a leading atmospheric driver of the PDO), and increasing correlation between the PDO and NPGO patterns. Sea level pressure and surface temperature patterns associated with each climate index changed after 1988/1989, indicating that identical index values reflect different states of basin-scale climate over time. The PDO and NPGO also show time-dependent skill as indices of regional northeast Pacific ecosystem variability. Since the late 1980s, both indices have become less relevant to physical–ecological variability in regional ecosystems from the Bering Sea to the southern California Current. Users of these climate indices should be aware of nonstationary relationships with underlying climate variability within the historical record, and the potential for further nonstationarity with ongoing climate change.