Abstract
Predator–prey dynamics are a fundamental part of ecology, but directly studying interactions has proven difficult. The proliferation of camera trapping has enabled the collection of large datasets on wildlife, but researchers face hurdles inferring interactions from observational data. Recent advances in hierarchical co‐abundance models infer species interactions while accounting for two species' detection probabilities, shared responses to environmental covariates, and propagate uncertainty throughout the entire modeling process. However, current approaches remain unsuitable for interacting species whose natural densities differ by an order of magnitude and have contrasting detection probabilities, such as predator–prey interactions, which introduce zero inflation and overdispersion in count histories. Here, we developed a Bayesian hierarchical N‐mixture co‐abundance model that is suitable for inferring predator–prey interactions. We accounted for excessive zeros in count histories using an informed zero‐inflated Poisson distribution in the abundance formula and accounted for overdispersion in count histories by including a random effect per sampling unit and sampling occasion in the detection probability formula. We demonstrate that models with these modifications outperform alternative approaches, improve model goodness‐of‐fit, and overcome parameter convergence failures. We highlight its utility using 20 camera trapping datasets from 10 tropical forest landscapes in Southeast Asia and estimate four predator–prey relationships between tigers, clouded leopards, and muntjac and sambar deer. Tigers had a negative effect on muntjac abundance, providing support for top‐down regulation, while clouded leopards had a positive effect on muntjac and sambar deer, likely driven by shared responses to unmodelled covariates like hunting. This Bayesian co‐abundance modeling approach to quantify predator–prey relationships is widely applicable across species, ecosystems, and sampling approaches and may be useful in forecasting cascading impacts following widespread predator declines. Taken together, this approach facilitates a nuanced and mechanistic understanding of food‐web ecology.
Keywords: detection probability, hierarchical modeling, N‐mixture models, overdispersion, species interactions, zero inflation
Predator–prey dynamics are a fundamental part of ecology, but studying interactions from observational data (e.g., camera trapping) has proven difficult. Here, we developed a Bayesian hierarchical N‐mixture co‐abundance model that is suitable for inferring predator–prey interactions by accounting for excessive zeros and overdispersion in count histories. Our co‐abundance model detected clear positive and negative predator–prey relationships from a large Southeast Asian camera trapping dataset, and we highlight how it overcomes barriers, is widely applicable across species, ecosystems, and sampling approaches, and may be useful in forecasting cascading impacts following widespread predator declines.

1. INTRODUCTION
Understanding predator–prey interactions is a foundational theme in ecology (Lotka, 1920; Volterra, 1927). The importance of predator–prey interactions in conservation biology has gained widespread attention following the global decline of apex predators and subsequent trophic cascades (Estes et al., 2011; Ripple et al., 2014). Predators can play keystone roles in structuring ecosystems by regulating prey populations and the spatiotemporal distribution of prey via consumptive and behavioral effects (Estes & Palmisano, 1974; Gaynor et al., 2019). Where predators exert strong top‐down control and suppress prey, predatory interactions can produce a negative co‐abundance relationship (Ripple et al., 2014). In this scenario, predator extirpation may allow prey to increase, termed “trophic release” (Figure 1c; Estes et al., 2011). However, the importance of predators regulating prey across different ecosystems remains debated (Polis & Strong, 1996; Wright et al., 1994). For example, if prey are primarily bottom‐up regulated by limited food availability, and predators are consequentially bottom‐up limited by prey availability, a positive co‐abundance relationship may arise, and this has been observed previously (Figure 1a; Carbone & Gittleman, 2002; Karanth et al., 2004). A positive predator–prey co‐abundance relationship may also suggest alternative forces may be more important than predation in regulating species' abundances (e.g., bottom‐up control, hunting, or other severe disturbances; Ford & Goheen, 2015). Despite the importance of predatory interactions in food‐web ecology and conservation, measuring predator–prey relationships in natural settings imposes several key obstacles due to direct observations, diet analyses, or manipulative experiments being logistically difficult (Smith et al., 2020), especially for cryptic species in tropical forests (Brodie & Giordano, 2013).
FIGURE 1.

Hypothetical predator–prey co‐abundance relationships. (a) A positive predator–prey relationship suggests top‐down regulation via predation is not the dominant factor shaping abundances. This may arise where there is strong bottom‐up regulation of both prey and predators or severe disturbances affecting both species. (b) The lack of a predator–prey relationship could arise due to a lack of interactions, such as if predator dietary preferences exclude a specific prey species or each species utilizes different habitats. (c) A negative predator–prey relationship could arise from strong top‐down regulation via predation that regulates prey abundance. Similarly, a negative predator–prey relationship suggests predator extirpation may allow prey to increase, termed “trophic release”.
Ecologists have frequently used observational methods to study predation by comparing landscapes that vary in predator and prey densities (e.g., Atkins et al., 2019; Brashares et al., 2010; Ripple & Beschta, 2006; Terborgh et al., 2001). However, modern sampling methods that rely on passively observed occurrence data (e.g., from camera traps, acoustic monitors, or eDNA) face numerous analytical barriers to inferring interactions (Blanchet et al., 2020; Ford & Goheen, 2015). Observational studies rarely account for processes influencing both predator and prey, such as environmental and anthropogenic covariates, the complete absence of either species from specific landscapes (i.e., true zeros), and imperfect detection of each species (i.e., false zeros), all of which can bias estimates of interactions (Blanchet et al., 2020; Blasco‐Moreno et al., 2019). For example, generalized joint attribute models can accommodate zero‐inflated and over‐dispersed data to infer species interactions (Clark et al., 2017), but such approaches fail to account for imperfect detection. Recent attempts to use detection‐corrected abundance or co‐occurrence models have failed to propagate uncertainly throughout the modeling process, which may spuriously increase their statistical power (e.g., Penjor et al., 2022). This leaves a gap in our ability to routinely study predator–prey interactions using observational data from standardized biodiversity monitoring programs that now often use camera trapping (Jansen et al., 2014). Here we leverage recent advances in collecting large standardized multispecies datasets via camera trapping and hierarchical N‐mixture co‐abundance models to enhance our understanding of complex wildlife interactions in natural settings.
Many ecological sampling methods produce multispecies detection histories (i.e., binary detections or nondetections per sampling location and sampling occasion) or count histories (i.e., number of individuals counted per sampling location and sampling occasion), including point counts, camera trapping, and acoustic sampling. Detection and count histories can capture the spatiotemporal patterns of species observed across a landscape and have been used to study habitat associations, species distributions, and population dynamics (Kéry & Royle, 2016) but have rarely been used to measure predator–prey relationships (Kéry & Royle, 2021). Detection histories have commonly been used to examine species interactions through several varieties of co‐occurrence models that may quantify nonindependent occurrence (i.e., symmetrical interactions) within the entire community (Tobler et al., 2019) or quantify a directional effect where the occurrence of one species is conditional upon the presence of another (i.e., asymmetrical interactions; Richmond et al., 2010), and both approaches account for imperfect detection. By contrast, count histories have received considerably less attention for inferring species interactions despite carrying more information than detection histories (Roth et al., 2016). Recent work by Blanchet et al. (2020) outlined numerous concerns about using detection histories to infer species interactions and argued that occurrence data does not carry enough information to infer interactions, species occurrence depends on their environment (i.e., habitat filtering), and that strong interactions may lead to exclusions before interactions can be detected.
Co‐abundance models that use count data instead of occurrence data to infer species interactions have solved many of the issues raised by Blanchet et al. (2020; Table 1; Brodie et al., 2018; Roth et al., 2016). Co‐abundance models are an extension of widely used N‐mixture models used to estimate abundance for species that cannot be individually identified (Royle, 2004). N‐mixture models can generate latent population size estimates that are roughly equivalent to capture‐recapture analyses under ideal sampling conditions (Ficetola et al., 2018), though these models can be sensitive to assumption violations that may inflate true population density estimates (Link et al., 2018; Nakashima, 2020). The key advantage of using N‐mixture models is that they accurately quantify the spatial variation in abundance as a function of covariates, thus producing a relative, rather than absolute, a measure of abundance (Gilbert et al., 2021). Currently, co‐abundance models that rely on N‐mixture models to infer species interactions have been limited to competing species that both occur at similar densities so both species' count histories can be assumed to follow a normal Poisson distribution (Brodie et al., 2018; Cosentino et al., 2019; Easter et al., 2020; Roth et al., 2016). Existing co‐abundance models exhibit poor performance and parameter convergence when species count histories have vastly different distributions, limiting their applicability for predators and prey whose natural densities vary by an order of magnitude and exhibit considerably different detection probabilities (Carbone & Gittleman, 2002; Sollmann et al., 2013). Specifically, different population dynamics introduce zero inflation, especially for cryptic species or when species are extirpated from a subset of landscapes, and overdispersion in detections, which is often due to excessive detections at a subset of sampling locations (Blasco‐Moreno et al., 2019; Martin et al., 2005). To move forward studying predator–prey interactions from count histories requires addressing both zero inflation and overdispersion, while simultaneously accounting for imperfect detection and environmental covariates, and incorporating uncertainty throughout the modeling process.
TABLE 1.
Problems and solutions for inferring species interactions from observational data, such as camera trapping capture histories.
| Problems inferring predator–prey interactions | Solutions |
|---|---|
| Occurrence data (i.e., presence and absence) lacks enough information to infer biotic interactions (Blanchet et al., 2020; Roth et al., 2016) | Camera trapping can obtain count data (i.e., number of individuals per independent capture) and N‐mixture models utilize count data in a count history matrix to estimate abundance while accounting for imperfect detection (Royle, 2004) |
| Need to propagate uncertainty throughout the entire modeling process (Brodie & Giordano, 2013) | Use integrated co‐abundance model where all parameters are estimated in a single set of simulations using Bayesian Markov chain Mote Carlo (MCMC) methods (Brodie et al., 2018; Roth et al., 2016) |
| Species occurrence and abundance depend on the environment (i.e., habitat filtering) and the joint habitat preferences of two species could falsely create the illusion of interactions (Blanchet et al., 2020; Dormann et al., 2018) | Integrate environmental covariates affecting both species into the co‐abundance modeling framework (Brodie et al., 2018; Roth et al., 2016) |
| Sampling scale influences measures of co‐occurrence. Spatial scale must be fine scale enough to detect interactions between individuals, while also encompassing broad variation in species' distributions (Blanchet et al., 2020) | Spatially resample camera trap locations to reflect the study species' home ranges that ensure detections are spatially independent and comparable across camera trapping sessions (Rayan & Linkie, 2020). Also, use a large multi‐landscape dataset that represents diverse samples of both species' distributions |
| Appropriate statistical inference requires a very large sample size (Blanchet et al., 2020) | Technological and cost improvements have made it possible to conduct large, standardized, and repeated camera trapping sessions that can collectively generate sufficient sample sizes, even for rare and cryptic species. For example, in our case study below, we used data from 1210 camera traps from 20 sessions conducted across 10 landscapes that generated 5980 independent captures of our four study species |
| Strong interactions may lead to complete species exclusions and adding zeros to count histories usually leads to deviations from the normal Poisson distribution (Blanchet et al., 2020) | Incorporate species absences in count histories and classify zeros as true or false zeros (Blasco‐Moreno et al., 2019). Account for true zeros (e.g., species extirpated from a landscape) using an informed zero‐inflated Poisson distribution, and account for false zeros (e.g., present but not detected) by correcting for imperfect detection |
| Positive correlations between predator and prey abundances are difficult to interpret in terms of interspecific interactions (Brodie et al., 2018) | Interpret negative predator–prey relationships as evidence that predation is regulating the focal prey population(s) (Ripple et al., 2014). Interpret positive predator–prey relationships as evidence that predation is not the primary force regulating the focal prey population(s). Positive predator–prey relationships suggest alternative forces (e.g., bottom‐up control, hunting) may be more important in shaping the focal prey species abundance (Ford & Goheen, 2015) |
| N‐mixture models are sensitive to model assumption violations that can inflate absolute density estimates leading to inaccurate inferences for determining population size (Link et al., 2018) | Interpret results from co‐abundance models as the directional change in species abundance relative to covariates and not as absolute population sizes (Gilbert et al., 2021) |
Note: This manuscript describes an approach to implement all solutions.
We developed a Bayesian hierarchical N‐mixture co‐abundance model to study predator–prey interactions while conforming to the criteria proposed by Blanchet et al. (2020) for robust inferences (Table 1). Our key improvements over existing co‐abundance models for competition (Brodie et al., 2018; Cosentino et al., 2019; Easter et al., 2020) are introducing an informed zero‐inflated Poisson distribution in the abundance formula and accounting for overdispersion in detections using a random effect per sampling unit and sampling occasion in the detection formula. We illustrate that the combination of these two methodological advancements is necessary to infer ecologically meaningful predator–prey interactions while ensuring parameter convergence and goodness‐of‐fit across several different species pairs. Our co‐abundance models facilitate the study of predator–prey interactions across trophic levels by quantifying predator–prey co‐abundance relationships (Figure 1), while accounting for each species' detection probability, relationships with environmental covariates, and propagates uncertainty. As a real example, we examined four potential predatory interactions using a multi‐session multi‐landscape camera trapping dataset from Southeast Asian tropical forests. We quantified predator–prey co‐abundance relationships to test whether tigers (Panthera tigris) or clouded leopards (Neofelis nebulosa and N. diardi) suppress sambar deer (Rusa unicolor) or muntjac deer (Muntiacus muntjac).
2. MATERIALS AND METHODS
2.1. A two‐species N‐mixture model
Our approach was to test for the effect of a dominant predator's local abundance on a subordinate prey's local abundance using count histories. We adapted the N‐mixture co‐abundance modeling framework from Brodie et al. (2018) that included a term for the latent abundance of a dominant species affecting the abundance of a subordinate species. This N‐mixture model estimates local abundance for species i (either dominant dom or subordinate sub) at sampling unit j, denoted as N i,j , through repeated counts of the population over a time frame during which the population is closed to change (Royle, 2004). We assume that:
and model the expected count of species i at sampling unit j, λ i,j , relative to covariates using a log‐link function (Royle, 2004). However, we expanded upon Brodie et al.'s approach by including informed zero‐inflated Poisson (hereafter “iZIP”) distributions for both dominant and subordinate species to account for true zeros in count history matrices when either species was known to be absent. Traditional uniformed ZIP N‐mixture models define the occupancy status of species i at sampling unit j, Z i,j as a random Bernoulli trial and multiply the expected count of species i at sampling unit j, λ i,j , by Z i,j (Blasco‐Moreno et al., 2019; Kéry & Royle, 2016; Martin et al., 2005). We informed the occupancy status of species i at sampling unit j, Z i,j based on our observational camera trapping data where Z ij was 1 if the sampling unit was in a landscape where the species was detected, and Z ij was 0 in the event the species was never detected and existing literature corroborated their extirpation (Amir et al., 2022; Blasco‐Moreno et al., 2019; Martin et al., 2005). Therefore, our iZIP N‐mixture model assumes that:
Fixing local abundance to zero rather than estimating nonzero abundance where the species was extirpated minimizes the chances of making a type I error (Martin et al., 2005).
The effect of the covariates and the dominant on the subordinate species was modeled as:
where αsub is a vector of environmental covariate effects for the subordinate and δ represents the effect of the latent abundance per sampling unit of the dominant species (N dom,j ) on the subordinate. An estimated value of δ < 0 would infer a negative co‐abundance relationship between the dominant and subordinate species in support of a predatory interaction (e.g., top‐down regulation; Figure 1c). An estimated value of δ > 0 would infer a positive predator–prey co‐abundance relationship that is likely driven by responses to unmodelled covariates (e.g., food availability to prey that underlies bottom‐up regulation, Figure 1a). Estimates of δ with 95% Bayesian credible intervals (CI) overlapping zero do not indicate biologically meaningful interactions (Figure 1b). Assuming the covariates included in this model are appropriate, this approach allows us to tease apart the directional impact of a dominant on subordinate species (Brodie et al., 2018). The abundance model for both dominant and subordinate species included the iZIP parameter and the same environmental covariates, while the subordinates included the additional parameter estimating the effect of the latent abundance of the dominant species δ * N dom,j .
We assume that we imperfectly observed the latent abundance of both species during sampling, thus giving rise to false zeros in our count histories (Blasco‐Moreno et al., 2019; Royle, 2004). Abundance cannot be directly observed at sampling units, so sampling biases like imperfect detection are accommodated in estimates of N i,j by assuming that the detections of species i at sampling unit j during sampling occasion k, denoted as n i,j,k , follow a binomial distribution with species‐level detection probability p i,j,k :
We modeled the detection probability of species i at sampling unit j during sampling occasion k, p i,j,k , relative to covariates using a logit‐link function (Royle, 2004), and we used the same sampling‐related covariates in the detection model for both species. The original N‐mixture model with a binomial detection process assumes that individuals are not double‐counted between sampling occasions and sampling units (Royle, 2004), and this assumption may be violated if the same individual is detected multiple times within the same sampling occasion. Double counting individuals can lead to inflated abundance estimates, so there have been suggestions to address this using a Poisson detection process, which we also tested (Link et al., 2018; Nakashima, 2020). To account for overdispersion in species‐specific detection probability not captured by sampling‐related covariates, we included a random effect per sampling unit and sampling occasion (an overdispersion random effect, hereafter “ODRE”) per species, ε i,j,k (Kéry & Royle, 2016; Roth et al., 2016). For the ODRE, we assume that:
where τ i was the standard deviation of the ODRE. We also included a stabilizing parameter to ensure the logit‐link transformation would not become zero or negative (Kéry & Royle, 2016). Bringing the sampling‐related covariates and ODRE together, we define the detection probability of species i at sampling unit j on sampling occasion k as:
![]() |
We estimated model parameters using a Bayesian approach with MCMC methods with the program R (R Development Core Team, 2021) in the package “jagsUI” (Kellner, 2019). We used this Bayesian approach to propagate uncertainty throughout the modeling process by first estimating the latent abundance of the dominant species per sampling unit, N dom,j , which is then used as a covariate to estimate the latent abundance of the subordinate per sampling unit, N sub,j (Brodie et al., 2018; Roth et al., 2016). As our primary goal for this N‐mixture co‐abundance model was the examine the directional impact of a dominant species' local abundance upon a subordinate species' local abundance, and not to estimate latent population sizes, we refrain from interpreting our results in terms of absolute density but rather as the spatial variation in abundance relative to covariates (i.e., δ * N domj,k ; Gilbert et al., 2021). Apart from our iZIP parameter (Z ij ), we used uninformative prior values and provided similar initial values close to zero for all parameters. For each species pair, we ran three chains of 1,000,000 iterations because Kéry and Royle (2016) stressed the importance of running long chains when incorporating the ODRE. We discarded the first 200,000 iterations as burn‐in and thinned the chains by 80, which left 30,000 values to quantify the posterior distribution of each parameter. We assumed parameters converged if their Rhat scores were between 1 and 1.2 (Gelman et al., 2013). We calculated the 95% CI from the posterior distribution and considered our parameters to have a clear effect (or “significant effect” in frequentist terminology) if 0 was not included in the 95% CI (Roth et al., 2016). To infer confidence about parameter directionality, we calculated the probability the posterior distribution of the species interaction parameter was either negative or positive using the R package “bayestestR” (Makowski et al., 2019). Finally, our model has the same assumptions as a standard N‐mixture model, including independence among sampling units, population closure over all replicated sampling occasions, independent and equal detection probabilities among individuals within a species, and that abundance per sampling unit was a random variable with E(N j ) = λ (Royle, 2004).
2.2. Evaluating model performance
We assessed model performance by inspecting model goodness‐of‐fit and the magnitude of overdispersion by calculating “Bayesian p‐values” and “C‐hat” scores via χ2 discrepancies using posterior predictive checks (PPC) (Conn et al., 2018; Gelman et al., 1996). The PPC simulates a count history matrix from the joint posterior distribution and estimates the level of consistency with the observed count history matrix. Bayesian p‐values reflect the proportion of times the simulated data were greater than the observed data, and C‐hat values reflect the magnitude of overdispersion by dividing the observed data by the simulated data. Bayesian p‐values between .25 and .75 indicate a good fit, values that equal 0.5 indicate a perfect fit, and values outside this range indicate a lack of fit (Conn et al., 2018; Gelman et al., 1996; Kéry & Royle, 2016) and C‐hat values greater than 1.1 suggest remaining overdispersion (Kéry & Royle, 2016; Mazerolle, 2020). Finally, we assessed Bayesian p‐values, C‐hat scores, and the species interaction parameter using Rhat scores and the posterior estimates to compare model performance across four model structures: (i) the original Poisson model of Brodie et al. (2018), (ii) the iZIP model, (iii) the Poisson + ODRE model, and (iv) the final models that include the iZIP + ODRE.
2.3. Example: Southeast Asian predator–prey dynamics
2.3.1. Camera trapping methods
We assessed predator–prey co‐abundance relationships using a large multi‐session multi‐landscape camera trap dataset from Southeast Asian tropical forests. We conducted 20 camera trapping sessions in ten lowland primary tropical forest landscapes in Sumatra (3), Borneo (2), Singapore (1), Peninsular Malaysia (2), and Thailand (2) (Table S1). We refer to sampling areas as a “landscape” and these all include protected areas as well as some nearby production forests and forest patches. For detailed landscape descriptions, see Amir et al. (2022). At each landscape, we deployed 22–112 passive infrared camera traps set across areas of 48–830 km2. We standardized camera deployment between landscapes using either Reconyx or Bushnell cameras attached to trees at 0.2–0.3 m height and placed along natural wildlife trails without baits (Jansen et al., 2014). We deployed cameras for approximately 30–90 days (mean = 40.4, SD = 31.6) to ensure population closure assumptions.
We systematically deployed camera traps in each landscape in a grid format and then spatially resampled the camera traps into 7.8 km2 hexagonal sampling units due to unequal camera spacing between large continuous forests (>1 km between cameras) and small forest fragments (<500 m between cameras). Resampling all camera traps into spatially standardized sampling units ensures comparability among landscapes, prevents spatial pseudo‐replication, and ensures that we are estimating abundance as opposed to habitat use (Rayan & Linkie, 2020). When multiple cameras occurred in a single sampling unit, we averaged their covariate values and aggregated the number of individuals observed per day. We considered captures of the same species independent if they occurred at least 30 min apart (Rovero & Zimmermann, 2016). We grouped our count data into 5‐day sampling occasions to decrease the number of false zeros in the dataset (i.e., sampling occasions with no detections) and increase detection probabilities (Brodie et al., 2018).
2.3.2. Study species
Tigers (Panthera tigris) are the largest carnivores distributed across Southeast Asia, and clouded leopards (Neofelis nebulosa and N. diardi, analyzed as one species) are large carnivores that co‐occur with tigers across mainland Southeast Asia and Sumatra but are the largest carnivores in Borneo where tigers are no longer native (Phillipps & Phillipps, 2016). We only included count data from landscapes where the predator species is native, which allowed us to incorporate landscapes where the species is extirpated (e.g., tigers in Singapore) and exclude landscapes where the species is not native (e.g., tigers in Borneo, Amir et al., 2022). Sambar deer (Rusa unicolor) and muntjac deer (Muntiacus muntjak) deer are common large ungulates widely distributed through our study region. For gregarious muntjac deer (20+ individuals per sampling occasion), we followed Brodie et al. (2018) by analyzing the number of muntjac groups rather than the number of individuals in the count history and limited the daily observations to zero or one group. A systematic range‐wide dietary study suggests tigers preferentially prey upon the largest available prey species with a weight range from 60 to 250 kg, such as sambar deer (Hayward et al., 2012), while single‐landscape studies highlight muntjac deer as an important prey species for clouded leopards (Can et al., 2020; Petersen et al., 2020). Therefore, we expected strong negative co‐abundance relationships between tigers and sambar deer and between clouded leopards and muntjac deer in support of predatory interactions.
2.3.3. Covariates
While there are many factors that affect species abundance, our analysis focused on a limited set of powerful composite variables. To account for environmental and anthropogenic disturbances that may affect species abundance, we included the Forest Landscape Integrity Index (FLII) and Human Footprint Index (HFP) as fixed effect covariates on the abundance formula for both species. The FLII is a globally continuous measure of the world's forests that integrates both observed deforestation and inferred edge effects and the loss of connectivity (Grantham et al., 2020). The HFP is a globally continuous measure that represents landscape‐level anthropogenic disturbances from human population densities and infrastructure, and can be used as a crude metric to infer potential hunting pressure (Venter et al., 2016). We calculated FLII and HFP values in QGIS for every camera trap location. We also included a random‐intercept effect in our abundance formula to account for unmodeled variation between landscapes and to account for three landscapes with repeated sampling. Finally, we included a fixed effect for sampling effort (in trap nights) per sampling unit in our detection probability formula to account for multiple cameras being resampled into the same sampling unit and unequal deployment lengths. We standardized all numeric covariates (mean = 0, SD = 1) and examined Pearson correlation coefficients, and ensured no collinearity among covariates (|r| < 0.5). The abundance formula modeled the expected count relative to environmental covariates for species i at sampling unit j as follows:
The abundance model for the subordinate included an additional parameter estimating the effect of the latent abundance of the dominant species: δ * N dom,j . Our detection probability formula was the same for both predator and prey and modeled the detection probability of species i at sampling unit j on sampling occasion k as:
3. RESULTS
3.1. Model performance
Our co‐abundance modeling approach that accounted for zero inflation and overdispersion in count histories using both the iZIP distribution and ODRE successfully converged across all species pairs (Rhat <1.2; Table 2; Figure 2). Including either the iZIP and ODRE parameters improved model goodness‐of‐fit (Bayesian p‐values were closer to .5 than models lacking these parameters, Figure 3a) and reduced overdispersion (C‐hat values were between 1.1 and 1.0; Figure 3b) compared with models that lacked one or both improvements. Including both the iZIP and ODRE parameters improved model performance the most, as illustrated by the highest convergence around the species interaction parameter, Bayesian p‐values closest to .5, and C‐hat values that suggest no remaining overdispersion. The key exception was for the model examining the impact of tigers on sambar deer, which showed improved convergence and a clear species interaction effect when omitting the iZIP distribution and including the ODRE (Table 2b). Co‐abundance models using a Poisson instead of a binomial detection process produced lower absolute population size estimates for most species but followed the same relative abundance trends between landscapes (Figure S1) and equivalent directionality for our species interaction parameter (δ * N dom,j ; Figure S2). However, using a Poisson detection formula models exhibited unacceptable goodness‐of‐fit (Bayesian p‐values >.75) for two‐species pairs (Figure S3) and reduced precision of the species interaction parameter that undermined its biological and applicable utility. Therefore, we present co‐abundance models using the binomial detection formula in the main text and the Poisson detection formula in the supplement.
TABLE 2.
Summary of key results from comparing four progressively developed versions of the co‐abundance models across four species pairs.
(A) Predator–prey interaction: muntjac deer ~ tigers
| ||||||
|---|---|---|---|---|---|---|
| Model | Species interaction | Rhat | Muntjac deer Bayes p‐value | Muntjac deer C‐hat | Tiger Bayes p‐value | Tiger C‐hat |
| Poisson | −0.38 (±0.61) | 9.70 | .78 | 1.03 | .42 | 0.98 |
| iZIP | −0.39 (±0.60) | 10.2 | .78 | 1.03 | .42 | 0.98 |
| Poisson + OD | 0.42 (±0.12) | 1.18 | .80 | 1.01 | .51 | 0.98 |
| iZIP + OD | −0.20 (±0.09) | 1.00 | .57 | 1.02 | .47 | 1.00 |
(B) Predator–Prey interaction: sambar deer ~ tigers
| ||||||
|---|---|---|---|---|---|---|
| Model | Species interaction | Rhat | Sambar deer Bayes p‐value | Sambar deer C‐hat | Tiger Bayes p‐value | Tiger C‐hat |
| Poisson | 1.16 (±0.21) | 3.06 | .006 | 1.03 | .40 | 1.14 |
| iZIP | 0.32 (±0.39) | 1.77 | .0008 | 1.04 | .40 | 1.15 |
| Poisson + OD | 0.93 (±0.23) | 1.00 | .34 | 1.02 | .47 | 1.02 |
| iZIP + OD | 0.07 (±0.45) | 1.12 | .33 | 1.02 | .47 | 1.02 |
(C) Predator–Prey interaction: muntjac deer ~ clouded leopards
| ||||||
|---|---|---|---|---|---|---|
| Model | Species Interaction | Rhat | Muntjac deer Bayes p‐value | Muntjac deer C‐hat | Clouded leopard Bayes p‐value | Clouded leopard C‐hat |
| Poisson | 0.21 (±0.39) | 10.3 | .72 | 1.11 | .12 | 0.99 |
| iZIP | 0.51 (±0.06) | 1.01 | .71 | 1.11 | .12 | 0.99 |
| Poisson + OD | 0.48 (±0.07) | 1.03 | .72 | 1.04 | .33 | 0.99 |
| iZIP + OD | 0.51 (±0.07) | 1.00 | .73 | 1.04 | .33 | 0.99 |
(D) Predator–Prey interaction: sambar deer ~ clouded leopards
| ||||||
|---|---|---|---|---|---|---|
| Model | Species Interaction | Rhat | Sambar deer Bayes p‐value | Sambar deer C‐hat | Clouded leopard Bayes p‐value | Clouded leopard C‐hat |
| Poisson | 0.26 (±0.61) | 9.55 | .004 | 1.11 | .12 | 1.13 |
| iZIP | 0.74 (±0.12) | 1.07 | .005 | 1.11 | .12 | 1.13 |
| Poisson + OD | 0.72 (±0.12) | 1.01 | .34 | 1.04 | .35 | 1.02 |
| iZIP + OD | 0.73 (±0.11) | 1.00 | .35 | 1.04 | .36 | 1.02 |
Note: We started with the original two‐species N‐mixture model developed by Brodie et al. (2018) (Poisson). We compared this to models using either the informed zero‐inflated Poisson distribution (iZIP), or a random effect per sampling unit and sampling occasion (OD), and to the models presented in the main text using both (iZIP + OD). The species interaction column shows the posterior distribution's mean and standard deviation of the species interaction parameter, and Rhat values between 1 and 1.2 denote that the parameter successfully converged. Bayesian p‐values between .25 and .75 indicate a suitable goodness‐of‐fit, a value of .5 indicates a perfect fit, and values outside this range indicate unacceptable performance. C‐hat values greater than 1.1 indicate unacceptable overdispersion.
FIGURE 2.

Comparing the effect sizes, 95% Bayesian credibility interval, and parameter convergence (Rhat values) of the species interaction parameter in all four species pairs from our two‐species N‐mixture models. We examined the original two‐species N‐mixture model proposed by Brodie et al. (2018) (Poisson), then examined the addition of the iZIP parameter (ZIP) and ODRE parameter (Poisson + OD) separately, and finally compared our final models that include both the iZIP and ODRE parameters (ZIP + OD). The Y‐axis represents the mean effect sizes of the species interaction parameter, and the error bars represent the 95% Bayesian credibility interval. Finally, the values at the bottom of the bar graphs represent the specific Rhat scores from the species interaction parameter associated with each model.
FIGURE 3.

Comparing the goodness‐of‐fit between models by inspecting Bayesian p‐values (a) and the magnitude of overdispersion C‐hat values (b) across four species pairs. We examined the original two‐species N‐mixture model proposed by Brodie et al. (2018) (Poisson), then examined the addition of the iZIP parameter (ZIP) and ODRE parameter (Poisson + OD) separately, and finally compared our final models that include both the iZIP and ODRE parameters (ZIP + OD). (a) Bayesian p‐values are calculated by taking the mean value of the number of times data simulated from the joint posterior distribution was greater than the real data supplied to the model, where Bayesian p‐values between .25 and .75 indicate good fit, a value of 0.5 indicates a perfect fit, and values above or below the dashed red lines (<0.25 or >0.75) indicate a lack of fit. (b) C‐hat values are calculated by dividing the observed data supplied to the model from data simulated from the joint posterior distribution and we visualized the mean value, where C‐hat values greater than 1.1 indicate remaining overdispersion and values close to 1 indicate no remaining overdispersion. A horizontal line is added at 1 to indicate the ideal value for our C‐hat scores, while the red dashed line at 1.1 denotes our cut‐off point for C‐hat values that suggest overdispersion. Both dominant (darker tan color) and subordinate (lighter tan color) species are included in both figures.
3.2. Southeast Asian predator–prey dynamics
We collected 5980 independent captures of our four study species over a sampling effort of 58,071 trap nights (Tables S1 and S2). We observed both clear (i.e., the 95% CI does not include 0) negative and positive predator–prey relationships from our co‐abundance models (Figures 4 and 5). The detection probability of all species assessed across all species pairs showed a clear positive relationship with sampling effort (>99% probability; Figure S4).
FIGURE 4.

Parameters describing prey species abundance from the Bayesian co‐abundance models using the informed zero‐inflated Poisson (iZIP) distribution and ODRE. Plots show the posterior mean effect size, and the error bars represent the 95% Bayesian credibility interval (CI), with asterisks (*) denoting relationships where the 95% CI does not include zero. The variables are FLII (green), HFP (yellow), and the species interaction (red), which shows the effect of the dominant (predator) on the subordinate (prey).
FIGURE 5.

Predator–prey relationships estimated from the Bayesian co‐abundance models using the iZIP distribution and ODRE. The thick black trend line comes from the posterior distribution of the species interaction parameter, the gray shaded area shows the 95% Bayesian credibility interval (CI), and a solid trend line indicates the 95% CI does not include zero. The points show the estimated species abundances at each sampling unit, colored by landscape. The landscape abbreviations used in the legend are as follows: BBS refers to Bukit Barisan Selatan National Park, Danum Valley refers to Danum Valley Conservation Area, Kerinci refers to Kerinci Seblat National Park, Khao Chong refers to Khao Ban Tat Wildlife Sanctuary, Khao Yai refers to Khao Yai National Park, Lambir refers to Lambir Hills National Park, Leuser refers to Gunung Leuser National Park, Pasoh refers to Pasoh Forest Reserve, Singapore refers to the Central Catchment Nature Reserve and Palau Ubin, and finally Ulu Muda refers to the Greater Ulu Muda Forest Complex.
3.3. Muntjac ~ tiger
The abundance of tigers clearly and negatively influenced muntjac deer abundance [Posterior mean effect size (hereafter “ES”) = −0.20, 95% CI = −0.39 to −0.06, >99% probability that posterior distribution is negative; Figures 4a and 5a]. Tiger abundance showed a clear positive relationship with FLII (ES = 0.82, 95% CI = 0.31–1.46, >99% probability) and a weak negative relationship with HFP (ES = −0.10, 95% CI = −0.49 to 0.22, 72% probability). Muntjac deer abundance showed a clear positive relationship with FLII (ES = 0.69, 95% CI = 0.42–0.98, >99% probability) and a clear negative relationship with HFP (ES = −0.45, 95% CI = −0.69 to −0.23, >99% probability).
3.4. Sambar ~ tiger
There was no clear relationship between tigers and sambar deer (ES = 0.08, 95% CI = −0.64 to 0.74, 57% probability; Figures 4b and 5b). Tiger abundance did not show clear associations with FLII (ES = 0.17, 95% CI = −0.35 to 0.89, 65% probability) of HFP (ES = −0.12, 95% CI = −0.61 to 0.32, 63% probability). Sambar deer abundance showed a clear positive association with FLII (ES = 0.63, 95% CI = 0.11–1.2, >99% probability) and a positive association with HFP (ES = 0.34, 95% CI = −0.05 to 0.76, 94% probability).
3.5. Muntjac ~ clouded leopard
Muntjac deer were clearly and positively associated with clouded leopards (ES = 0.51, 95% CI = 0.39–0.64, >99% probability; Figures 4c and 5c). Clouded leopard abundance showed a clear positive association with FLII (ES = 0.37, 95% CI = 0.01–0.80, 98% probability) and a weak negative association with HFP (ES = −0.10, 95% CI = −0.39 to 0.18, 76% probability). Muntjac deer abundance did not show a clear relationship with FLII (ES = 0.08, 95% CI = −0.22 to 0.40, 68% probability) or HFP (ES = −0.12, 95% CI = −0.42 to 0.18, 79% probability).
3.6. Sambar ~ clouded leopard
Sambar deer were clearly and positively associated with clouded leopards (ES = 0.73, 95% CI = 0.51–0.96, >99% probability; Figures 4d and 5d). As with the muntjac deer model, clouded leopard abundance showed a clear positive relationship with FLII (ES = 0.68, 95% CI = 0.23–1.28, >99% probability) and a weak positive association with HFP (ES = 0.12, 95% CI = −0.16 to 0.39, 82% probability). Sambar deer abundance did not show clear relationships with FLII (ES = −0.12, 95% CI = −0.6 to 0.35, 69% probability) or HFP (ES = −0.07, 95% CI = −0.26 to 0.37, 69% probability).
4. DISCUSSION
We introduced a two‐species N‐mixture modeling approach to quantify predator–prey relationships from observational count histories, while accounting for shared responses to the environment and propagating uncertainty throughout the modeling process. We assessed how this model performed using camera trapping data of two Asian apex predators and two of their key prey species that exhibit contrasting detection probabilities and natural densities. We found that explicitly classifying both the source of true zeros with the iZIP distribution in the abundance formula and false zeros with our detection formula containing the ODRE were necessary to infer ecologically meaningful predator–prey interactions while ensuring parameter convergence across all species pairs (Blasco‐Moreno et al., 2019; Martin et al., 2005). Failing to classify true zeros, such as at landscapes where a species has been extirpated, leaves the model to estimate nonzero abundance due to imperfect detection (i.e., false zeros) that leads to overconfidence in the posterior estimates and increases the risk of a type I error (Martin et al., 2005). We illustrated this type I error by showing a spurious clear positive relationship between tigers and sambar deer when excluding the iZIP parameter, which disappeared when using the iZIP distribution. Our approach also produced relationships with environmental covariates across all species that are supported by past research suggesting anthropogenic pressure suppresses ungulate abundances and that intact tropical forests support large carnivore abundances (Hearn et al., 2019; Luskin, Albert, & Tobler, 2017; Macdonald et al., 2019; Rayan & Linkie, 2020).
There is a strong appetite to infer species interactions from camera trap data and to overcome the limitations of traditional co‐occurrence models (Blanchet et al., 2020). While our approach is fit‐for‐purpose, there are several drawbacks including these models being data hungry, computationally demanding, and statistically complicated. To overcome data limitations, such as for tigers in our datasets that were only detected only in three of ten sampled landscapes, collaborative projects may be required to achieve sufficient sample sizes and span a wide gradient of predator abundances. Another solution may be to integrate multiple data sources such as direct observations with camera trapping (Miller et al., 2019). The computational power required to run and test several models with 1,000,000 MCMC iterations may pose a considerable barrier for many field ecologists (Pettorelli et al., 2021). Access to high‐performance research computing that simultaneously solves multiple models while distributing MCMC chains across multiple cores will save researchers a substantial amount of time in such analyses (Visser et al., 2015). Finally, there are concerns about the reliability of N‐mixture models when assumptions are violated, such as when the same individual is observed multiple times in a single sampling occasion (Link et al., 2018). This violation can cause inflation in absolute population size estimates, so if researchers require accurate latent population size estimates, we encourage the use of a Poisson detection process (Nakashima, 2020). We implemented co‐abundance models with both binomial and Poisson detection processes and observed equivalent directionality and similar species interaction parameters, suggesting either detection process may be suitable for examining the spatial variation in abundance (Gilbert et al., 2021).
Predator losses in temperate ecosystems often lead to trophic release, where a subset of prey species increase in abundance (Ripple et al., 2009), but predator–prey relationships appear weak or positive in tropical forests (Brodie & Giordano, 2013). Predator–prey relationships in tropical forests may be strongly shaped by diffuse food webs with functionally redundant links, strong bottom‐up control, and/or the joint suppression of many animals by overwhelming disturbances such as defaunation (Benítez‐López et al., 2019; Brodie & Giordano, 2013; Polis & Strong, 1996; Wright et al., 1994). In accordance with this work, we found only one clear negative relationship suggesting tigers regulate muntjac deer. Further, we detected positive predator–prey relationships between clouded leopards and both muntjac and sambar deer, suggesting predation is not the dominant force regulating Asia's deer. Instead, prey abundance may be a fundamental determinant of predator abundance (Carbone & Gittleman, 2002; Karanth et al., 2004) with deer being noted as key prey for clouded leopards (Can et al., 2020; Petersen et al., 2020). These results also suggest that hunting deer may suppress clouded leopards via prey depletion (Wolf & Ripple, 2016), or hunting may jointly suppress clouded leopards and deer together (Benítez‐López et al., 2019; Ford & Goheen, 2015). Future research could apply our modeling approach to reverse the role of dominant and subordinate species to examine whether the abundance of clouded leopards is positively associated with deer abundance, thereby testing support for bottom‐up regulation.
This modeling framework is widely applicable across species, ecosystems, and sampling approaches (acoustic monitoring, camera trapping, and point counts) that produce count histories. A key improvement of our co‐abundance modeling approach that classifies the source of zeros in count histories is to move trophic cascades research past binary comparisons of landscapes based on predator presence or absence (e.g., Atkins et al., 2019; Brashares et al., 2010) to a gradient of predator abundance, including where predators are absent. Our modeling framework incorporates covariates and has the potential to explain divergent co‐abundance patterns across environmental gradients, such as edge‐adapted and disturbance‐tolerant species proliferating in predator‐free forest fragments (Terborgh et al., 2001). Future research could use this co‐abundance model to examine how predator–prey relationships vary across ecological gradients, which has important conservation implications for predicting trophic cascades (Terborgh, 2015).
5. CONCLUSION
Our study provides ecologists with a modeling approach to infer predatory interactions from observationally collected count data across multiple landscapes. This remarkably flexible approach opens novel opportunities to evaluate species interactions across natural or disturbance gradients, including when species abundances vary or where some sites experienced extirpations. There is direct applicability to ongoing predator conservation and trophic cascades research as our study species continue to experience range contractions. We look forward to opportunities to ground truth the results from our approach by co‐locating camera trapping studies with manipulative experiments (e.g., predator reintroductions) and direct predation observations.
AUTHOR CONTRIBUTIONS
Zachary Amir: Conceptualization (lead); data curation (equal); formal analysis (lead); investigation (lead); methodology (lead); software (lead); validation (lead); visualization (lead); writing – original draft (lead); writing – review and editing (equal). Adia Sovie: Formal analysis (supporting); investigation (supporting); methodology (supporting); software (supporting); supervision (supporting); visualization (supporting); writing – review and editing (equal). Matthew Scott Luskin: Conceptualization (supporting); data curation (equal); funding acquisition (lead); supervision (lead); writing – review and editing (equal).
FUNDING INFORMATION
The research was funded by the Smithsonian Institution's ForestGEO program, the Nanyang Technological University in Singapore, the University of Queensland, the National Geographic Society Committee for the Research and Exploration #9384‐13, and numerous small grants for field work. M.S.L. was supported by an Australian Research Council Discovery Early Career Award no. DE210101440.
CONFLICT OF INTEREST
The authors declare no conflict of interest pertaining to the research conducted here.
OPEN RESEARCH BADGES
This article has earned Open Data and Open Materials badges. Data and materials are available at https://doi.org/10.5061/dryad.b8gtht7h3.
Supporting information
Appendix S1
ACKNOWLEDGMENTS
In kind support was provided by the Fauna and Flora International—Indonesia programme, the Institution Conservation Society (ICS)—Solok Selatan Wahana Konservasi Masyarakat, and the Leuser International Foundation (LIF). The Yayasan Sabah, the Sabah Forest Department, the Sabah Biodiversity Council, and the Danum Valley Management Committee, Abdul Hamid, Glen Renolds, Jedediah Brodie, Jonathan Moore, Katie Doehla, and Tombi Karolus facilitated and/or helped with fieldwork at Danum Valley. Patrick Jansen, Jorge Ahumada, Jonathan Moore, the Smithsonian Institute, the Tropical Ecology Assessment and Monitoring (TEAM) network, Yao Tse Leong, and the Forest Research Institute Malaysia (FRIM) facilitated and/or helped with data collection at Pasoh. Mohizah Bt. Mohamad, Januarie Kulis, Jonathan Moore, and the Sarawak Forestry Department, and the NTU field ecology courses facilitated and/or helped with fieldwork data at Lambir Hills. Shawn Lum, Adrian Loo, Max Khoo, Ben Lee, Jasyln Chan, and Alexis Goh helped with fieldwork in Singapore and NParks granted permissions. Wirong Chantorn, Anuttara Nathalang, Sarayudh Bunyavejchewin, Ronglarp Sukmasuang, Felise Gutierez, Chris Scanlon, and Jonathan Moore facilitated and/or helped with fieldwork Khao Yai and Khao Ban Tat/Khao Chong. Wido Rizqi Albert, Matthew Linkie, Yoan Dinata, HariyoWibisono, and HarimauKita facilitated fieldwork in Sumatra, and Edi Siarenta Sembiring, Tarmizi and Eka Ramadiyanta, Salpayanri, Iswandri Tanjung, and Chris Decky assisted with fieldwork. The original artwork was provided by T. Barber from Talking Animals and is copyrighted. Conversations with Jedediah Brodie, Ken Kellner, and J. Andrew Royle provided helpful insights at the early stages of this project. We thank the members of the Ecological Cascades Lab, Andrew Letten, Diana Fisher, and 2 anonymous reviewers for comments that improved previous drafts.
Amir, Z. , Sovie, A. , & Luskin, M. S. (2022). Inferring predator–prey interactions from camera traps: A Bayesian co‐abundance modeling approach. Ecology and Evolution, 12, e9627. 10.1002/ece3.9627
DATA AVAILABILITY STATEMENT
All R code and data used to implement our Bayesian co‐abundance models can be accessed at this Figshare repository: https://doi.org/10.5061/dryad.b8gtht7h3.
REFERENCES
- Amir, Z. , Moore, J. H. , Negret, P. J. , & Luskin, M. S. (2022). Megafauna extinctions produce idiosyncratic Anthropocene assemblages. Science Advances, 8(42), eabq2307. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Atkins, J. L. , Long, R. A. , Pansu, J. , Daskin, J. H. , Potter, A. B. , Stalmans, M. E. , Tarnita, C. E. , & Pringle, R. M. (2019). Cascading impacts of large‐carnivore extirpation in an African ecosystem. Science, 364, 173–177. 10.1126/science.aau3561 [DOI] [PubMed] [Google Scholar]
- Benítez‐López, A. , Santini, L. , Schipper, A. M. , Busana, M. , & Huijbregts, M. A. J. (2019). Intact but empty forests? Patterns of hunting‐induced mammal defaunation in the tropics. PLoS Biology, 17, e3000247. 10.1371/journal.pbio.3000247 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Blanchet, F. G. , Cazelles, K. , Gravel, D. , & Jeffers, E. (2020). Co‐occurrence is not evidence of ecological interactions. Ecology Letters, 23, 1050–1063. 10.1111/ele.13525 [DOI] [PubMed] [Google Scholar]
- Blasco‐Moreno, A. , Pérez‐Casany, M. , Puig, P. , Morante, M. , & Castells, E. (2019). What does a zero mean? Understanding false, random and structural zeros in ecology. Methods in Ecology and Evolution, 10, 949–959. 10.1111/2041-210x.13185 [DOI] [Google Scholar]
- Brashares, J. , Prugh, P. , Stoner, C. , & Epps, C. (2010). Ecological and conservation implications of mesopredator release. In Trophic cascades: Predators, prey, and the changing dynamics of nature (pp. 221–240). Island Press. [Google Scholar]
- Brodie, J. F. , & Giordano, A. (2013). Lack of trophic release with large mammal predators and prey in Borneo. Biological Conservation, 163, 58–67. 10.1016/j.biocon.2013.01.003 [DOI] [Google Scholar]
- Brodie, J. F. , Helmy, O. E. , Mohd‐Azlan, J. , Granados, A. , Bernard, H. , Giordano, A. J. , & Zipkin, E. (2018). Models for assessing local‐scale co‐abundance of animal species while accounting for differential detectability and varied responses to the environment. Biotropica, 50, 5–15. 10.1111/btp.12500 [DOI] [Google Scholar]
- Can, Ö. E. , Yadav, B. P. , Johnson, P. J. , Ross, J. , D'Cruze, N. , & Macdonald, D. W. (2020). Factors affecting the occurrence and activity of clouded leopards, common leopards and leopard cats in the Himalayas. Biodiversity and Conservation, 29, 839–851. 10.1007/s10531-019-01912-7 [DOI] [Google Scholar]
- Carbone, C. , & Gittleman, J. L. (2002). A common rule for the scaling of carnivore density. Science, 295, 2273–2276. 10.1126/science.1067994 [DOI] [PubMed] [Google Scholar]
- Clark, J. S. , Nemergut, D. , Seyednasrollah, B. , Turner, P. J. , & Zhang, S. (2017). Generalized joint attribute modeling for biodiversity analysis: Median‐zero, multivariate, multifarious data. Ecological Monographs, 87, 34–56. 10.1002/ecm.1241 [DOI] [Google Scholar]
- Conn, P. B. , Johnson, D. S. , Williams, P. J. , Melin, S. R. , & Hooten, M. B. (2018). A guide to Bayesian model checking for ecologists. Ecological Monographs, 88, 526–542. doi: 10.1002/ecm.1314 [DOI] [Google Scholar]
- Cosentino, B. J. , Schooley, R. L. , Bestelmeyer, B. T. , Campos, H. , & Burkett, L. M. (2019). Does habitat disturbance promote geographical parthenogenesis in whiptail lizards? Evolutionary Ecology, 33, 839–853. 10.1007/s10682-019-10006-3 [DOI] [Google Scholar]
- Dormann, C. F. , Bobrowski, M. , Dehling, D. M. , Harris, D. J. , Hartig, F. , Lischke, H. , Moretti, M. D. , Pagel, J. , Pinkert, S. , Schleuning, M. , Schmidt, S. I. , Sheppard, C. S. , Steinbauer, M. J. , Zeuss, D. , & Kraan, C. (2018). Biotic interactions in species distribution modelling: 10 questions to guide interpretation and avoid false conclusions. Global Ecology and Biogeography, 27, 1004–1016. 10.1111/geb.12759 [DOI] [Google Scholar]
- Easter, T. , Bouley, P. , & Carter, N. (2020). Intraguild dynamics of understudied carnivores in a human‐altered landscape. Ecology and Evolution, 10, 5476–5488. 10.1002/ece3.6290 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Estes, J. A. , & Palmisano, J. F. (1974). Sea otters: Their role in structuring nearshore communities. Science, 185, 1058–1060. 10.1126/science.185.4156.1058 [DOI] [PubMed] [Google Scholar]
- Estes, J. A. , Terborgh, J. , Brashares, J. S. , Power, M. E. , Berger, J. , Bond, W. J. , Carpenter, S. R. , Essington, T. E. , Holt, R. D. , Jackson, J. B. C. , Marquis, R. J. , Oksanen, L. , Oksanen, T. , Paine, R. T. , Pikitch, E. K. , Ripple, W. J. , Sandin, S. A. , Scheffer, M. , Schoener, T. W. , … Wardle, D. A. (2011). Trophic downgrading of planet earth. Science, 333, 301–306. 10.1126/science.1205106 [DOI] [PubMed] [Google Scholar]
- Ficetola, G. F. , Barzaghi, B. , Melotto, A. , Muraro, M. , Lunghi, E. , Canedoli, C. , Lo Parrino, E. , Nanni, V. , Silva‐Rocha, I. , Urso, A. , Carretero, M. A. , Salvi, D. , Scali, S. , Scarì, G. , Pennati, R. , Andreone, F. , & Manenti, R. (2018). N‐mixture models reliably estimate the abundance of small vertebrates. Scientific Reports, 8, 10357. 10.1038/s41598-018-28432-8 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Ford, A. T. , & Goheen, J. R. (2015). Trophic cascades by large carnivores: A case for Strong inference and mechanism. Trends in Ecology & Evolution, 30, 725–735. 10.1016/j.tree.2015.09.012 [DOI] [PubMed] [Google Scholar]
- Gaynor, K. M. , Brown, J. S. , Middleton, A. D. , Power, M. E. , & Brashares, J. S. (2019). Landscapes of fear: Spatial patterns of risk perception and response. Trends in Ecology & Evolution, 34, 355–368. 10.1016/j.tree.2019.01.004 [DOI] [PubMed] [Google Scholar]
- Gelman, A. , Carlin, J. B. , Stern, H. S. , Dunson, D. B. , Vehtari, A. , & Rubin, D. B. (2013). Bayesian data analysis. Chapman and Hall/CRC. 10.1201/b16018 [DOI] [Google Scholar]
- Gelman, A. , Meng, X.‐L. , & Stern, H. (1996). Posterior predictive assessments of model fitness via realized discrepancies. Statistica Sinica, 6, 733–760. [Google Scholar]
- Gilbert, N. A. , Clare, J. D. J. , Stenglein, J. L. , & Zuckerberg, B. (2021). Abundance estimation of unmarked animals based on camera‐trap data. Conservation Biology, 35, 88–100. 10.1111/cobi.13517 [DOI] [PubMed] [Google Scholar]
- Grantham, H. S. , Duncan, A. , Evans, T. D. , Jones, K. R. , Beyer, H. L. , Schuster, R. , Walston, J. , Ray, J. C. , Robinson, J. G. , Callow, M. , Clements, T. , Costa, H. M. , DeGemmis, A. , Elsen, P. R. , Ervin, J. , Franco, P. , Goldman, E. , Goetz, S. , Hansen, A. , … Watson, J. E. M. (2020). Anthropogenic modification of forests means only 40% of remaining forests have high ecosystem integrity. Nature Communications, 11, 5978. 10.1038/s41467-020-19493-3 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Hayward, M. W. , Jedrzejewski, W. , & Jedrzewska, B. (2012). Prey preferences of the tiger Panthera tigris . Journal of Zoology, 286, 221–231. 10.1111/j.1469-7998.2011.00871.x [DOI] [Google Scholar]
- Hearn, A. J. , Ross, J. , Bernard, H. , Bakar, S. A. , Goossens, B. , Hunter, L. T. B. , & Macdonald, D. W. (2019). Responses of Sunda clouded leopard Neofelis diardi population density to anthropogenic disturbance: Refining estimates of its conservation status in Sabah. Oryx, 53, 643–653. 10.1017/S0030605317001065 [DOI] [Google Scholar]
- Jansen, P. A. , Ahumada, J. , Fegraus, E. , & O'Brien, T. G. (2014). TEAM: A standardised camera trap survey to monitor terrestrial vertebrate communities in tropical forests. In Meek P. D. & Fleming P. J. S. (Eds.), Camera trapping: Wildlife management and research (pp. 263–270). CSIRO Publishing. [Google Scholar]
- Karanth, K. U. , Nichols, J. D. , Kumar, N. S. , Link, W. A. , & Hines, J. E. (2004). Tigers and their prey: Predicting carnivore densities from prey abundance. Proceedings of the National Academy of Sciences, 101, 4854–4858. 10.1073/pnas.0306210101 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Kellner, K. (2019). jagsUI: A Wrapper Around ‘rjags’ to Streamline ‘JAGS’ Analyses. https://CRAN.R‐project.org/package=jagsUI
- Kéry, M. , & Royle, J. A. (2016). Applied hierarchical modeling in ecology: Modeling distribution, abundance and species richness in R and BUGS, Volume 1: Prelude and static models (1st ed.). Elsevier Science & Technology. [Google Scholar]
- Kéry, M. , & Royle, J. A. (2021). Applied hierarchical modeling in ecology modeling distribution, abundance and species richness in R and BUGS, Volume 2: Dynamic and advanced models (1st ed.). Elsevier Academic Press. [Google Scholar]
- Link, W. A. , Schofield, M. R. , Barker, R. J. , & Sauer, J. R. (2018). On the robustness of N‐mixture models. Ecology, 99, 1547–1551. 10.1002/ecy.2362 [DOI] [PubMed] [Google Scholar]
- Lotka, A. J. (1920). Analytical note on certain rhythmic relations in organic systems. Proceedings of the National Academy of Sciences, 6, 410–415. 10.1073/pnas.6.7.410 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Luskin, M. S. , Albert, W. R. , & Tobler, M. W. (2017). Sumatran tiger survival threatened by deforestation despite increasing densities in parks. Nature Communications, 9, 1783. 10.1038/s41467-017-01656-4 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Macdonald, D. W. , Bothwell, H. M. , Kaszta, Ż. , Ash, E. , Bolongon, G. , Burnham, D. , Can, Ö. E. , Campos‐Arceiz, A. , Channa, P. , Clements, G. R. , Hearn, A. J. , Hedges, L. , Htun, S. , Kamler, J. F. , Kawanishi, K. , Macdonald, E. A. , Mohamad, S. W. , Moore, J. , Naing, H. , … Cushman, S. A. (2019). Multi‐scale habitat modelling identifies spatial conservation priorities for mainland clouded leopards (Neofelis nebulosa). Diversity and Distributions, 25, 1639–1654. 10.1111/ddi.12967 [DOI] [Google Scholar]
- Makowski, D. , Ben‐Shachar, M. , & Lüdecke, D. (2019). bayestestR: Describing effects and their uncertainty, existence and significance within the Bayesian framework. Journal of Open Source Software, 4, 1541. 10.21105/joss.01541 [DOI] [Google Scholar]
- Martin, T. G. , Wintle, B. A. , Rhodes, J. R. , Kuhnert, P. M. , Field, S. A. , Low‐Choy, S. J. , Tyre, A. J. , & Possingham, H. P. (2005). Zero tolerance ecology: Improving ecological inference by modelling the source of zero observations. Ecology Letters, 8, 1235–1246. 10.1111/j.1461-0248.2005.00826.x [DOI] [PubMed] [Google Scholar]
- Mazerolle, M. J. (2020). AICcmodavg: Model selection and multimodel inference based on (Q)AIC(c). R package. https://cran.r‐project.org/package=AICcmodavg
- Miller, D. A. W. , Pacifici, K. , Sanderlin, J. S. , & Reich, B. J. (2019). The recent past and promising future for data integration methods to estimate species' distributions. Methods in Ecology and Evolution, 10, 22–37. 10.1111/2041-210x.13110 [DOI] [Google Scholar]
- Nakashima, Y. (2020). Potentiality and limitations of N‐mixture and Royle‐Nichols models to estimate animal abundance based on noninstantaneous point surveys. Population Ecology, 62, 151–157. 10.1002/1438-390x.12028 [DOI] [Google Scholar]
- Penjor, U. , Astaras, C. , Cushman, S. A. , Kaszta, Ż. , & Macdonald, D. W. (2022). Contrasting effects of human settlement on the interaction among sympatric apex carnivores. Proceedings of the Royal Society B, 289, 20212681. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Petersen, W. J. , Steinmetz, R. , Sribuarod, K. , & Ngoprasert, D. (2020). Density and movements of mainland clouded leopards (Neofelis nebulosa) under conditions of high and low poaching pressure. Global Ecology and Conservation, 23, e01117. 10.1016/j.gecco.2020.e01117 [DOI] [Google Scholar]
- Pettorelli, N. , Barlow, J. , Nuñez, M. A. , Rader, R. , Stephens, P. A. , Pinfield, T. , & Newton, E. (2021). How international journals can support ecology from the global south. Journal of Applied Ecology, 58, 4–8. 10.1111/1365-2664.13815 [DOI] [Google Scholar]
- Phillipps, Q. , & Phillipps, K. (2016). Phillipps' field guide to the mammals of Borneo: Sabah, Sarawak, Brunei, and Kalimantan. Princeton University Press. [Google Scholar]
- Polis, G. A. , & Strong, D. R. (1996). Food web complexity and community dynamics. The American Naturalist, 147, 813–846. 10.1086/285880 [DOI] [Google Scholar]
- R Development Core Team . (2021). R: A language and environment for statistical computing. R Foundation for Statistical Computing. [Google Scholar]
- Rayan, D. M. , & Linkie, M. (2020). Managing threatened ungulates in logged‐primary forest mosaics in Malaysia. PLoS One, 15, e0243932. 10.1371/journal.pone.0243932 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Richmond, O. M. , Hines, J. E. , & Beissinger, S. R. (2010). Two‐species occupancy models: A new parameterization applied to co‐occurrence of secretive rails. Ecological Applications, 20(7), 2036–2046. [DOI] [PubMed] [Google Scholar]
- Ripple, W. J. , & Beschta, R. L. (2006). Linking a cougar decline, trophic cascade, and catastrophic regime shift in Zion National Park. Biological Conservation, 133, 397–408. 10.1016/j.biocon.2006.07.002 [DOI] [Google Scholar]
- Ripple, W. J. , Estes, J. A. , Beschta, R. L. , Wilmers, C. C. , Ritchie, E. G. , Hebblewhite, M. , Berger, J. , Elmhagen, B. , Letnic, M. , Nelson, M. P. , Schmitz, O. J. , Smith, D. W. , Wallach, A. D. , & Wirsing, A. J. (2014). Status and ecological effects of the World's largest carnivores. Science, 343, 1241484. 10.1126/science.1241484 [DOI] [PubMed] [Google Scholar]
- Ripple, W. J. , Rooney, T. P. , & Beschta, R. L. (2009). Large predators, deer, and trophic cascades in boreal and temperate ecosystems. In Terborgh J. & Estes J. A. (Eds.), Trophic cascades: Predators, prey, and the changing dynamics of nature. Island Press. [Google Scholar]
- Roth, T. , Bühler, C. , & Amrhein, V. (2016). Estimating effects of species interactions on populations of endangered species. The American Naturalist, 187, 457–467. 10.1086/685095 [DOI] [PubMed] [Google Scholar]
- Rovero, F. , & Zimmermann, F. (2016). Camera trapping for wildlife research. Pelagic Publishing. [Google Scholar]
- Royle, J. A. (2004). N‐mixture models for estimating population size from spatially replicated counts. Biometrics, 60, 108–115. 10.1111/j.0006-341x.2004.00142.x [DOI] [PubMed] [Google Scholar]
- Smith, J. A. , Suraci, J. P. , Hunter, J. S. , Gaynor, K. M. , Keller, C. B. , Palmer, M. S. , Atkins, J. L. , Castañeda, I. , Cherry, M. J. , Garvey, P. M. , Huebner, S. E. , Morin, D. J. , Teckentrup, L. , Weterings, M. J. A. , & Beaudrot, L. (2020). Zooming in on mechanistic predator–prey ecology: Integrating camera traps with experimental methods to reveal the drivers of ecological interactions. Journal of Animal Ecology, 89, 1997–2012. 10.1111/1365-2656.13264 [DOI] [PubMed] [Google Scholar]
- Sollmann, R. , Mohamed, A. , Samejima, H. , & Wilting, A. (2013). Risky business or simple solution – Relative abundance indices from camera‐trapping. Biological Conservation, 159, 405–412. 10.1016/j.biocon.2012.12.025 [DOI] [Google Scholar]
- Terborgh, J. , Lopz, L. , Nunez, V. P. , Rao, M. , Shahabuddin, G. , Orihuela, G. , Riveros, M. , Ascanio, R. , Adler, G. H. , Lambert, T. D. , & Balbas, L. (2001). Ecological meltdown in predator‐free Forest fragments. Science, 294, 1923–1926. 10.1126/science.1064397 [DOI] [PubMed] [Google Scholar]
- Terborgh, J. W. (2015). Toward a trophic theory of species diversity. Proceedings of the National Academy of Sciences, 112, 11415–11422. 10.1073/pnas.1501070112 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Tobler, M. W. , Kéry, M. , Hui, F. K. C. , Guillera‐Arroita, G. , Knaus, P. , & Sattler, T. (2019). Joint species distribution models with species correlations and imperfect detection. Ecology, 100, e02754. 10.1002/ecy.2754 [DOI] [PubMed] [Google Scholar]
- Venter, O. , Sanderson, E. W. , Magrach, A. , Allan, J. R. , Beher, J. , Jones, K. R. , Possingham, H. P. , Laurance, W. F. , Wood, P. , Fekete, B. M. , Levy, M. A. , & Watson, J. E. M. (2016). Sixteen years of change in the global terrestrial human footprint and implications for biodiversity conservation. Nature Communications, 7, 12558. 10.1038/ncomms12558 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Visser, M. D. , McMahon, S. M. , Merow, C. , Dixon, P. M. , Record, S. , & Jongejans, E. (2015). Speeding up ecological and evolutionary computations in R; essentials of high performance computing for biologists. PLoS Computational Biology, 11(3), e1004140. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Volterra, V. (1927). Fluctuations in the abundance of a species considered mathematically. Nature, 119, 12–13. 10.1038/119012b0 [DOI] [Google Scholar]
- Wolf, C. , & Ripple, W. J. (2016). Prey depletion as a threat to the world's large carnivores. Royal Society Open Science, 3(8), 160252. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Wright, S. J. , Gompper, M. E. , & DeLeon, B. (1994). Are large predators keystone species in Neotropical forests? The evidence from Barro Colorado Island. Oikos, 71, 279–294. 10.2307/3546277 [DOI] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Supplementary Materials
Appendix S1
Data Availability Statement
All R code and data used to implement our Bayesian co‐abundance models can be accessed at this Figshare repository: https://doi.org/10.5061/dryad.b8gtht7h3.

