Skip to main content
PLOS Computational Biology logoLink to PLOS Computational Biology
. 2022 Mar 28;18(3):e1009971. doi: 10.1371/journal.pcbi.1009971

How the storage effect and the number of temporal niches affect biodiversity in stochastic and seasonal environments

Immanuel Meyer 1, Bnaya Steinmetz 1, Nadav M Shnerb 1,*
Editor: Jacopo Grilli2
PMCID: PMC8989364  PMID: 35344537

Abstract

Temporal environmental variations affect diversity in communities of competing populations. In particular, the covariance between competition and environment is known to facilitate invasions of rare species via the storage effect. Here we present a quantitative study of the effects of temporal variations in two-species and in diverse communities. Four scenarios are compared: environmental variations may be either periodic (seasonal) or stochastic, and the dynamics may support the storage effect (global competition) or not (local competition). In two-species communities, coexistence is quantified via the mean time to absorption, and we show that stochastic variations yield shorter persistence time because they allow for rare sequences of bad years. In diverse communities, where the steady-state reflects a colonization-extinction equilibrium, the actual number of temporal niches is shown to play a crucial role. When this number is large, the same trends hold: storage effect and periodic variations increase both species richness and the evenness of the community. Surprisingly, when the number of temporal niches is small global competition acts to decrease species richness and evenness, as it focuses the competition to specific periods, thus increasing the effective fitness differences.

Author summary

One of the major challenges of community ecology and population genetics is the understanding of the factors that protect biodiversity. Surprisingly, in many generic cases temporal environmental variations (and the abundance fluctuations associated with it) promote the coexistence of competing species and facilitate genetic polymorphism. Here we present a detailed and quantitative comparison between the stabilizing (and the destabilizing) effects of periodic (seasonal) and stochastic temporal variations. When the number of species is small, we show that persistence times under periodic variations are much longer than the persistence times in a stochastic environment. However, environmental variations facilitate coexistence only when the number of temporal niches is larger than the number of species, whereas in the opposite case the same mechanism acts to increase competition and to decrease species richness. Since it is reasonable to expect the number of temporal niches under seasonal variations to be typically smaller than the corresponding number in stochastic environments, stochastic variations provide a more plausible explanation for the apparent stability of high-diversity assemblages.

I Introduction

Ecological and evolutionary processes take place in varying environments. As a result, demographic rates of populations fluctuate and their abundances vary through time [1]. An increase in demographic variability increases the chance of a population to reach the low-abundance region where extinction is plausible, so environmental variations have the potential to reduce species richness. One of the most surprising and counter-intuitive observations in community ecology has to do with the opposite effect: the ability of temporal environmental variations to stabilize a system of competing species and to increase the persistence time of diverse assemblages [26].

Diverse and even highly diverse communities of competing species are prevalent in nature [79], in apparent contradiction with the competitive exclusion principle [10, 11] and/or with the severe limitations exposed by May in his analysis of the complexity-diversity problem [12]. Therefore, the potential role of environmental variations in promoting taxonomic and genetic diversity received a lot of interest. Recently a few theoretical works provided analytical and numerical tools for a quantitative assessment of the stabilizing effect of environmental variations [5, 13, 14], and in parallel, some prominent studies were focused on its manifestation in empirical communities [1519]. The potential role of stochasticity-induced stabilization in protecting genetic polymorphism was considered as well [2023].

Although many natural environmental fluctuations are stochastic, most of them have at least some temporal periodicity or seasonality [24, 25]. Quantities like yearly precipitation or the mean yearly temperature indeed fluctuate stochastically, but the amplitude of these stochastic variations is usually much smaller than the amplitude of the variations associated with the seasonal cycle during the year. Seasonal effects on demographic rates and on abundance and frequency variations are well-documented, both for populations [26] and for genotypes [27].

Quite a few works have dealt with the effect of periodic variations on coexistence [24, 2830]. Here we contribute to this body of work by systematically comparing periodic and stochastic temporal fluctuations with the same characteristics (same amplitude of environmental fluctuations, same mean duration of environment’s dwell time, same level of demographic stochasticity). To do that we would like to implement a set of simple models in which the interpretation of each parameter is transparent. This clarifies the meaning of the results, as well as their relevance to other dynamics.

We consider two types of models. First we deal with two-species communities, where persistence is quantified by the mean time to extinction. This problem has been solved previously for stochastic dynamics [3133], and here we present solutions for periodic environmental variations and discuss the differences between the cases. Then we analyze diverse communities with extinction-speciation equilibrium, in which case we use species richness and evenness as metrics for the strength of the mechanisms that promote coexistence. Stochastic models of that type, with an unlimited number of niches, were analyzed in [34]; here the study is expanded to include periodic variations and a limited number of temporal niches. All our analyzes are performed for finite communities and demographic stochasticity is explicitly taken into account.

Following former works [3133], we consider individual-based versions of the lottery model, which is the canonical example of Chesson’s storage effect [24]. To solve these models we implement the diffusion approximation, assuming that the characteristic timescales associated with environmental variations are much smaller than the time required for a given population to reach fixation (the “annealed” regime of Mustonen and Lassig [35]). In the opposite (“quenched”) regime, the outcome of a competition is usually decided before an environmental shift occurs, so the role of the environmental variations in protecting coexistence is negligible.

Our study yields two main insights. First, all other things being equal, a community is more stable under periodic variations. Stochastic fluctuations, even when promoting coexistence, may drive a population to extinction through rare sequences of bad years [36]. This scenario is impossible if the variations are periodic. Second, stabilization through the storage effect requires the number of temporal niches to be larger than the number of species. When the number of temporal niches is smaller than the number of species, the same features of the dynamic that yield the storage effect lead to an increase in the effective fitness differences and hence to lower biodiversity.

Seasonal cycles typically involve only a limited number of different states. Therefore, if stochastic variations offer a larger number of temporal niches they will play the main role in stabilizing diverse communities. The emerging picture, and its relevance to practical implications, are summarized in the discussion section.

II Two-species competition

Two-species competition is the elementary building block of coexistence theory. Here we implement a set of individual-based models, so our theoretical and numerical analyses take into account both demographic stochasticity (stochastic effects that influence the reproductive success of individuals in an uncorrelated manner) and environmental variability. All our models are simple continuous-time (Moran) generalizations of the classical lottery model (see [6] for details).

Global competition allows environmental variations to facilitate coexistence through the storage effect: when an invading given species is superior (produces more seeds, say) its rival, the resident species, is inferior, and therefore the covariance between competition and environment is negative. When competition is local only two individuals compete in each elementary dual, so this covariance disappears. Accordingly, in cases of local competition temporal variations impede coexistence. Here we examine the differences between stochastic and periodic variations in both cases, so overall we consider four scenarios: global-periodic, global-stochastic, local-periodic and local-stochastic.

II.A Model definitions

We consider a zero-sum competition so the total number of individuals is fixed at N. The dynamic takes place in elementary birth-death events, and a generation is defined as N such elementary steps. Therefore, the duration of each elementary step is 1/N. The (time-dependent) fitness of a given population (species) is es, so s is the log-fitness or the selection parameter.

Due to environmental variations, s of each population is time-dependent. In our models, the environment stays fixed for a certain time, which we define as its dwell time δ, and then it switches. δ is measured in generations, so if δ = 1, say, the typical dwell time of the environment is N elementary events.

  • When the environmental variations are periodic or seasonal, the environment switches every elementary steps.

  • When the environmental variations are stochastic, the chance of the environment to flip after each elementary step is 1/(), therefore, the dwell times are picked from an exponential distribution whose mean is δ generations.

Once the value of s for each individual is given, it determines its expected reproductive success and its chance to win in a competition. We study two competition scenarios.

  • Local competition is a characteristic of a community of animals who wander around in a certain spatial region, with an encounter between two individuals resulting in a struggle for a piece of food, territory and so on. To model such a system we consider dynamics that take place via a series of duels between two randomly-picked individuals, in which the loser dies and the winner reproduces. If the fitness of the first individual is exp(s1) and the fitness of the second is exp(s2), then the chance of the first to win the competition, P1, is determined by the fitness ratio
    P1=es1es1+es2. (1)

    Analogously, P2 = 1 − P1.

  • When the competition is global, one individual is chosen at random to die. The chance Pa of an individual a to produce an offspring that recruits the resulting open gap is given by
    Pa=esabesb, (2)
    where the sum ranges over all the individuals. As a result, in the case when all the individuals of the same species have the same fitness, the chance of species 1 (with n1 individuals) to capture the gap is
    P1=n1es1n1es1+n2es2, (3)

Since the fitness of each individual is either s1 or s2, Eqs (1) and (3) imply that the outcome of the process depends only on the relative fitness Δs = s1s2.

Importantly, the storage effect that facilitates invasion of rare populations requires a negative covariance between environment and competition, i.e., when n1N the denominator of Eqs 3 or 1 (competition) tends to grow when the numerator (environment) diminishes and vice versa. This never happens in our local competition model, since Cov[es1t,es1t+es2t]=Var[es1t]+Cov[es1t,es2t]. If this expression is indeed negative, then the Cauchy-Schwarz inequality implies that Cov[es2t,es1t+es2t] is positive. Therefore, when the competition is local, environmental variations cannot facilitate the invasion of both species. On the other hand, when the competition is global and n1, say, is small, the covariance between competition end environment is

Cov[es1t,n1es1t+(N-n1)es2t]NCov[es1t,es2t].

The same argument holds for the rival species when n1N and n2N. Therefore, when Cov[es1t,es2t]<0 the growth rate of each species, when rare, increases due to the storage effect.

As a concrete example, let us consider the case where x = n1/N is the frequency of species 1 (that we consider, without loss of generality, as the focal species). The frequency of species 2 (rival species) is 1 − x. When species 1 wins, its frequency grows by 1/N.

In the local competition model, the chance of an interspecific duel is 2x(1 − x), so the mean change in x after a single elementary event is

E[xt+1/N-xt]=2x(1-x)1N(es1es1+es2-es2es1+es2). (4)

so when |Δs| ≪ 1,

dxdt=x(1-x)[(Δs)-(Δs)3/12+(Δs)5/120-] (5)

The full expansion of dx/dt in terms of Δs admits only odd powers of Δs multiplied by x(1 − x). When considering the logit parameter, z ≡ ln x/(1 − x), one notices that it satisfies dz/dt = (dx/dt)/[x(1 − x)]. Therefore, the changes in z when Δs is positive are equal in magnitude and opposite in sign to the changes when Δs is negative. As a result, under local competition fitness fluctuations cannot contribute to stability [33, 37, 38], they only lead to an unbiased random walk along the z = log[x/(1 − x)] axis.

The situation changes when competition is global. Now an increase (decrease) in the frequency x can happen if one of the rival (focal) species individuals dies [this happens with probability 1 − x (x)], and the slot is captured by the focal (rival) species. Therefore,

E[xt+1/N-xt]=x(1-x)N(es1xes1+(1-x)es2-es2xes1+(1-x)es2). (6)

and,

dxdt=(Δs)x(1-x)+(Δs)22x(1-x)(1-2x)+ (7)

Under global competition, one finds in the expansion even terms, like (Δs)2, that do not change sign when the mean fitness s0=Δs¯ changes sign. The coefficient of (Δs)2, the term x(1 − x)(1 − 2x), is positive at x < 1/2 and negative when x > 1/2, so it supports invasion of both species. Therefore, under global competition variations in Δs increase the growth rate of both species when they are rare, and may facilitate a coexistence state.

To complete the picture, we have to quantify the effect of environmental variations, i.e., to specify how the selection parameter varies through time. In our two-species models fitness variations are dichotomous, so Δs is either s0 + γ or s0γ. s0 is the mean fitness difference between the focal and the rival species (i.e., when s0 is positive the focal species is, on average, superior and vice versa), whereas γ is the amplitude of fitness variations. We assume |s0| ≪ γ. A glossary for all parameters is provided in Table 1.

Table 1. Glossary.

Term Description
N number of individuals in the community (all species).
n number of individuals belonging to the focal population.
x = n/N frequency of focal species (1 − x is the fraction of rival species).
s 0 time-independent component of the fitness.
γ the amplitude of fitness fluctuations.
δ dwell time of the environment (measured in generations).
gδγ2/2 the strength of environmental fluctuations.
z=ln(x1-x) logit parameter.
ν per-death chance of colonization by new type via speciation, mutation or migration.
Q total number of temporal niches.
q = 1…Q temporal niche index.

II.B Analytic solutions

The main metric for the persistence of a two-species community is T, the mean time until one of the species is lost. We will refer to T as the time to extinction (of either species).

In our two-species community the state of the system at a given time is fully characterized by the frequency of the focal species x and the state of the environment. Since we consider only the annealed dynamics where x variations are much slower than environmental variations, we characterize the initial state of the community by x alone, so T(x) is the mean time until extinction, averaged over all initial states of the environment and over all histories [38].

Implementing the diffusion approximation one finds that T satisfies [3840],

σ2(x)2T(x)+μ(x)T(x)=-1, (8)

where μ(x) is the mean velocity, σ2(x) is the associated variance (see Methods, Section V.A) and prime represent a derivative with respect to x. Note that in Eq (8) time is measured in elementary steps, to translate that into generations T must be divided by N.

In the Methods section we calculate the values of μ(x) and σ2(x) for four combinations of global (G) and local (L) competition with stochastic (S) and periodic (P) environmental variations.

Local-periodic: As shown in the previous section, when the competition is local dx/dt is an odd function of Δs. As explained in the Methods section, this implies that only s0 contributes to the velocity. Moreover, if the dynamic is periodic γ and δ have no effect on σ2(x) and μ(x), which are simply those obtained in the standard case of a fixed environment,

μL,P(x)=s0x(1-x)NσL,P2(x)=2x(1-x)N2 (9)

Global-periodic: when the competition is global Eq (7) suggests a bias towards the coexistence point. This bias is independent of the sign of Δs and its strength is proportional to (Δs)2, which, when the diffusion approximation holds, may be approximated by γ2. In the Methods section we found an additional term in the expression for μ(x). This new term is proportional to γ2 and represents a bias towards x = 1/2.

μG,P(x)=x(1-x)N[s0+γ22(1-2x)]σG,P2(x)=2x(1-x)N2. (10)

Since the variations are periodic, they do not contribute to the diffusion term σ2(x).

Local-stochastic: stochastic abundance variability increases due to the chance of the focal species, say, to pick a sequence of good or bad years. In the local stochastic case the resulting expressions (Methods, V.A) are (g is defined in Table 1),

μL,S(x)=x(1-x)N[s0+g(1-2x)]σL,S2(x)=2x(1-x)N2[1+gNx(1-x)]. (11)

As before, the μ(x) has a term that appears to provide a bias towards x = 1/2. However, the diffusivity σ2(x) is maximal at x = 1/2 and vanishes close to the extinction point x = 0 and x = 1. The system tends to stick to the regions where its diffusion constant is small [6], and this “diffusive trapping” acts against the stabilizing effect of the μ term. These two contradicting tendencies are known to cancel each other exactly [6, 41]. As a result, the only net effect of stochastic environmental variations is an increase in the amplitude of abundance variations, which decreases extinction times [32, 38].

Global-stochastic: finally, when competition is global the (Δs)2 term facilitates coexistence. As shown in Methods section, the relevant terms are,

μG,S(x)=x(1-x)N[s0+(g+γ22)(1-2x)]σG,S2(x)=2x(1-x)N2[1+gNx(1-x)]. (12)

While the diffusion term is the same as in Eq (11), the velocity has an extra piece that promotes stability, γ2x(1 − x)(1 − 2x)/2. This breaks the tie in favor of stabilization and the storage effect manifests itself [33, 38].

Eq (8), with the relevant μ(x) and σ2(x), is an inhomogeneous and linear first order differential equation for T′, so one may solve it via an integration factor and then find T by an additional integration. When this procedure is implemented numerically, as detailed in the Methods section (V.B), the results fit perfectly the outcomes of our Monte-Carlo simulations, as demonstrated in Fig 1.

Fig 1. Mean time to extinction, T, is plotted against the initial frequency of the focal species x.

Fig 1

Black circles are the outcomes of a Monte-Carlo simulation, and the colored lines are the theoretical predictions for the corresponding case (see legend) as obtained from numerical solutions of Eq (8) with the μ(x) and σ2(x) from Eqs (9)(12). Details of the solution are presented in the Methods section. The hierarchy TGP > TGS > TLP > TLS is evident. In panel (a), both species have the same mean fitness (s0 = 0) and therefore all the lines are symmetric around x = 1/2. Other parameters in panel (a) are N = 600, γ = 0.25 and δ = 0.55. In panel (b) the focal species is slightly advantageous, with s0 = 0.01 (all other parameters are the same), so the maximum time to extinction appears at x < 1/2.

Fig 1 reveals the hierarchy of stability properties. The local-stochastic case has the shortest time to extinction, as the role of environmental variations is purely destabilizing. In the local-periodic case this destabilizing effect of environmental variations averages out over each cycle, so its T is larger. Under global competition temporal variations facilitate coexistence, so their T is larger than in the local cases. Finally, time to extinction in the global-stochastic scenario is shorter than in its global-periodic counterpart: a sequence of bad years may cause extinction in the former, but not in the latter case.

More quantitatively, the mean time to extinction in the local-stochastic and in the global-stochastic cases, and in addition T in fixed environment (which, as explained, is equivalent to the local-periodic case), were calculated by [38]. Let us quote some of their result, and contrast them with the new results obtained in the global-periodic case.

When s0 = 0, or otherwise in the weak selection regime where the effect of s0 is negligible, the maximum value of T (max over all values of initial state x) is,

  • In the local-stochastic case, T ∼ ln2 N.

  • In a fixed environment the maximum value of T is linear in N. This is an old result, first obtained in [42], and we expect this behavior also in the local-periodic case. Interestingly, [43] obtained this neutral-like results, for both the chance of ultimate fixation and the persistence time, using a model with global competition. They consider the parameter regime in which γ2 is negligible, so the expressions in (10) reduce to those of (9). Deviations from the neutral predictions are then observed only in the quenched regime of [35].

  • In the global-stochastic case, TN1/δ.

To understand these different dependencies on N, let us neglect the effect of demographic stochasticity and replace it with an absorbing threshold at z values that correspond to a single individual, z ≈ ±ln N. In the local-stochastic case with s0 = 0 the abundance performs an unbiased random walk along the logit (z) axis, therefore exit times scale with ln2 N [40]. When competition is global and the environment is stochastic the μ(x) term supports an attractive fixed point in x = 1/2, and extinction occurs through improbable sequences of bad years. During such a sequence abundance decreases exponentially, so the number of bad years required to cross the one individual threshold is proportional to ln N. Since the chance of such a sequence decreases exponentially with its length, the mean time to extinction scales like a power-law in N.

Finally, in the global-periodic case (that was not discussed by [38]) there are no such rare sequences of bad years. Therefore, extinction may take place only due to demographic stochasticity (note that the σ2(x) term in Eq (10) is the same as in Eq (9), reflecting only demographic variations). This requires a highly improbable sequence of death events that may take a population with order N individuals to extinction, and such a sequence is exponentially rare in N. Therefore, one expects T in the global-periodic scenario to grow exponentially with N. These four behaviors: ln2 N, linear, power-law, and exponential, are shown in Fig 2.

Fig 2. The relationships between the mean time to extinction T and the size of the community, N, in different scenarios.

Fig 2

Filled red circles were obtained from Monte-Carlo simulations, Blue circles are theoretical predictions based on numerical integration of Eq (8) with the μ(x) and σ2(x) from Eqs (9)(12), and the dashed black line is a linear fit to these blue circles, presented to guide the eye. As expected, in the global-periodic case the mean time to extinction grows exponentially with N, in the global-periodic the grows satisfies a power-law, the local-periodic case behaves like the neutral model (T is linear in N), whereas the local-stochastic dynamics yields log2 N growth. In all cases s0 = 0 (so the T shown here is the mean time to extinction starting from x = 1/2), δ = 0.2 and γ = 0.4.

When one cannot neglect s0 the situation is quantitatively different, but the qualitative hierarchy is preserved [38]). In that case under local competition T ∼ ln N (in both periodic and stochastic cases). When competition is global, as long as |s0| is not too large and μ(x) still posses an attractive fixed point at some 0 < x < 1, extinction takes place via accumulation of bad years (in the stochastic case) or random death events (in the periodic case). As a result T has the same scaling with N, although the actual time to extinction for a given set of N, γ and δ become shorter as |s0| grows.

III Temporal environmental variations in diverse communities

In the former section, we dealt with a two-species community. When the fluctuations are stochastic a given population may pick a sequence of bad years that will take it to the brink of extinction. Therefore, all other things being equal, coexistence times under seasonal cycles were found to be longer than T under stochastic fluctuations. This observation holds for both local competition (no storage effect) and global competition under which environmental variations promote coexistence through storage. Overall, coexistence always benefits from the competition being global and from the environment being periodic.

In this section, we examine the same question in diverse communities, where the steady-state reflects the balance between the rate of extinction and the rate at which new species establish in the community. These new species may reflect immigration from a regional pool in the case of a local community, or may appear due to mutations or speciation events in the course of evolution.

As we shall see below, the number of temporal niches plays a crucial role in the dynamics of diverse communities. In a two-species community, the very assumption of environmental variability presumes the existence of at least two niches: one (say, hotter periods) in which the focal species is doing better and the other (cold periods) when the rival species is advantageous. In communities with fixed speciation or immigration rates, new species always try to invade, therefore the number of species may increase beyond the number of temporal niches.

As the community becomes more and more diverse, every given species evolves under the effect of all other competing species, so the effect of environmental variations is buffered [34]. Therefore, when the number of different species grows, the dynamics become more and more neutral-like. As a result, when the number of temporal niches and the speciation rate are both large, one expects that the community structure will be close to the structure of a corresponding neutral (Hubbell’s mainland model [44, 45], governed by speciation and demographic stochasticity alone) community.

In what follows we would like to emphasize these two effects: the dramatic influence of the number of temporal niches and the neutralization of the dynamics as the diversity of a community grows. To do that, we have simulated all the four dynamics considered above—global and local, periodic and stochastic—in a community exposed to a fixed rate of colonization attempts.

III.A Models

In our simulations, we implement the same set of competition models defined in Section II.A for the two species case. We add to these models two new parameters. The first, ν, reflects the (per-generation) rate in which new types (species, phenotypes) are added to the system via mutation, speciation, or migration from a regional pool. The second parameter, Q, is the number of temporal niches.

Every species i is endowed with Q selection parameters, si1siQ, that dictate its fitness in each of the Q environments. When a new species arrives (immigration, speciation) a new si vector is picked at random. To pick a vector si we draw Q numbers, s˜i1s˜iQ, from a uniform distribution between −γ/2 and γ/2, and then defined the q-th element of si through

siq=s˜iq-1Qq=1q=Qs˜iq. (13)

Therefore, all species have the same mean selection parameter, this case is equivalent to the s0 = 0 case for two-species competition.

Let us describe the elementary timesteps of competition dynamics in a given environment, q ∈ [1..Q].

If competition is local, two individuals are picked at random for a duel. If one of them belongs to species i and the other to species j, the chance of the i to win the duel is exp(siq)/[exp(siq)+exp(sjq)], for conspecific rivals the chance is 1/2. The winner produces a conspecific offspring that replaces the loser with probability 1 − ν. With probability ν the loser is replaced by a new type (immigrant, say) that picks a new and random set of sq values.

If the competition is global, one individual is picked at random to die. With probability ν the open gap is recruited by a new type as described above, and with probability 1 − ν it is recruited by one of the existing species. The chance of each species i to recruit the open gap is given, in parallel with Eq (2) above, by,

Piq=niesiqjnjesjq, (14)

where nj is the abundance of the j-th species.

Environmental variations take place as follows. If the system is periodic, then after δN elementary timesteps the environment changes from q to q + 1, and if q = Q the next environment will be q = 1. If the environment is stochastic, after δN elementary timesteps we pick an environment q at random.

During the simulations, we have monitored the species richness SR and the Shannon entropy SE after each generation. The Shannon entropy,

SE=-j=1j=SRnjNln(njN), (15)

is a measure of the evenness of the species abundance distribution. It takes the value of zero when there is only one type, and values that are close to zero reflect a community dominated by only one species. For a community with SR species, each with abundance N/SR, SE = ln SR, therefore, the exponential of SE may be considered as the effective number of species [46].

All simulations started with all individuals belonging to a single species, and we allow the system to equilibrate (to reach the state where both species richness and entropy fluctuate around their typical value). After equilibration we start monitoring the mean and the variance of species richness and entropy, see Fig 3.

Fig 3. The outcome of a typical simulation.

Fig 3

Shown are the species richness (panel A) and Shannon’s entropy (panel B) of a specific run of our simulation. The parameters of this run are δ = 0.2, N = 10000, γ = 0.4 and ν = 1/N. Competition is global, variations are periodic and the number of niches is Q = 3. At the initial state all individuals belong to a single species, hence SR = 1 and the entropy is zero. The system equilibrates after less than 1000 generations, and from this point species richness fluctuates around 8.8 and the entropy fluctuates around 1.2.

III.B Results

Fig 4 shows the species richness and the Shannon entropy, as functions of the number of colonization attempts per generation νN, for different numbers of temporal niches, Q = 3, Q = 10 and Q = 30.

Fig 4. Species richness (SR, upper panels) and Shannon’s entropy (SE, lower panels) vs. the rate in which new species are trying to invade the community, νN.

Fig 4

In all cases, when νN is small the diversity of a community and its evenness obey the same relationships as T in the previous section: global competition is better (for coexistence) than local due to the storage effect, and stochastic variations are worse than periodic variations. When the number of temporal niches is large, as in the Q = 30 case in panels (c) and (f), an increase of νN leads to an increase in the number of species, their different response buffers the effect of environmental variations and the results converge to the predictions of the neutral model (cyan dashed line). However, as the number of temporal niches decreases global competition puts a hurdle against invasion, as every invader must compete with niche-specialists. Therefore SR, and in particular SE, are much smaller for global competition if νN is large. A comparison between the case of Q = 10 [panels (b) and (e)] and Q = 3 [panels (a) and (d)] suggest that the crossover from the storage-dominated regime, where global competition is better, to the regime in which global competition acts to decrease biodiversity, occurs when the number of species is equal to the number of temporal niches. For all panels, parameters are: N = 10, 000, δ = 0.2 and γ = 0.4. SR and SE were monitored every generation and the results presented here reflect an average over the period between 6, 000 and 100, 000 generations. For the neutral model γ = 0 and δ is an irrelevant parameter.

When the speciation rate ν is small, colonization attempts are very rare and the equilibrium species richness is small. In that case, the main factor that dictates community structure is the one considered in the last section, namely the persistence time of a two-species community. When this persistence time is relatively short, an invader species typically goes extinct (or drives the resident species to extinction) before the next colonization attempt, whereas if T is large new invaders appear before extinction, and the total species richness increases. Therefore, for all Q-s the species richness and the evenness of a community satisfy the relationships of persistence times T, as described in the last section: global periodic > global stochastic > local periodic > local stochastic.

As ν increases the number of species tends to grow, therefore the number of available temporal niches becomes crucial.

When Q = 30, the number of temporal niches is large enough for the community at hand, so it poses no severe constraint on the diversity and evenness of the system. Therefore, what one observes is just the neutralization process: the differential response of many rival species to the environment wipes out the effect of environmental variations. In every given environment each species feels competition from all other individuals and the temporal fluctuations in this quantity (e.g., the mean fitness of a rival individual in local dynamics, or the total number of seeds or larvae in the global dynamics) get smaller in large SR [47].

On the other hand, when Q = 3 both SR and SE are much smaller when the competition is global. This is a surprising observation: the same phenomenon, global competition, that facilitates coexistence and increases diversity when the number of species is smaller than the number of temporal niches, diminishes the same quantities when the number of temporal niches is smaller than the number of species.

Two arguments may clarify this behavior.

  • When the q-th niche is still unoccupied, a q-specialist (one that has higher fitness in the q-environment) benefits from the storage effect when it invades if the competition is global. When the environment favors this invader the competition (total number of seeds or larvae, here jnjesjq) is smaller because the performances of all resident species are worse during that period. Therefore, global competition leads to negative covariance between environment and competition and thus creates the storage effect that promotes invasion. This feature is lost when the competition is local (gains during good years are balanced by losses during bad years). It also weakens significantly when the q-invader meets a q-resident species that increase its yield, and hence the total competition, during the q-periods. As a result, the covariance between competition and environment, and hence the storage effect, weaken significantly when all temporal niches are “occupied”, i.e., when for each temporal niche there is a resident species that specializes in that niche.

  • Moreover, under global competition the dynamic of a given species depends more strongly on its fitness when the environment supports it. Therefore, temporal specialists outcompete temporal generalists.

    To understand that, let us consider a simple example. Suppose we have a two-environments-two-species community. Species 1 is a summer specialist, its selection parameter is s1 = 1 in the summer and s1 = 0 in the winter. Species 2 is a winter specialist, with s2 = 1 in the winter and s2 = 0 during the summer. Assume also that each of these species has N/2 individuals when N ≫ 1 is the size of the community. Now let us consider the fate of a single individual of species 3. This invading species is a generalist, whose selection parameter is s3 = 1/2 all year long. The mean (over a full year) of the selection parameter is thus equal for all three species.

    Under local competition the chance of this invader to grow by one after its next interspecific duel is
    12(e1/2e1/2+1+e1/2e1/2+e),
    and its chance do decline is
    12(1e1/2+1+ee1/2+e).

    These two expressions are equal, so the invader undergoes a neutral dynamics and its invasion growth rate is neither positive nor negative.

    Under global competition, on the other hand, the fraction of seeds of the invader (in both environments) is
    f=2e1/2N(1+e).

    The invader loses one individual with probability (1 − f)/N ≈ 1/N, and gains an individual with probability (1 − 1/N)ff. Therefore, the chance of the invader to decrease in abundance is higher than its chance to increase and its growth rate is negative.

    Note that in this example both competition and environment are fixed for species 3, so there is no storage effect in any case. Yet, although the mean selection parameter of species 3 is equal to that of species 1 and 2, it becomes inferior under global competition just because, as a generalist, it always loses to the relevant specialist species.

The differences between global and local competition regimes are further illustrated in Fig 5, where typical histories are plotted through time when the number of temporal niches Q is small. As expected, when competition is global the Q specialist species dominate the community and avoid colonization by invaders (unless the invader is a better specialist, in which case it replaces the dominant resident that implements the same niche). When the competition is local, temporal niches induce abundance variations but do not select for specialists. Therefore the number of species is higher, and since there is no separation of abundance scales one expects a more even community (higher SE).

Fig 5. The dynamic of a Q = 3 community.

Fig 5

The abundance of all species is plotted against time (generations) for global-periodic (left panel) and local-periodic (right panel) competition. Global competition gives an advantage to specialists, therefore the community is dominated by three specialist species, and all other invaders either stay small or (if the invader is a better specialist) take over a given temporal niche and replace the existing specialist. Under local competition, many species coexist, with no gap between the abundances of the dominant species and the abundance of all other species. For both panels, parameters are: Q = 3, N = 10, 000, ν = 0.005, γ = 0.4, and δ = 0.2.

These results provide us with an interesting, and perhaps general, perspective. When competition is global, the gains of a given species during good years and the losses during bad years are larger than in cases of local competition. This acts in favor of specialists, and in particular generates negative covariance between environment and competition when a given specialist species, whose temporal niche is yet unoccupied, invades a community. On the other hand, once the temporal niche is occupied, the very same feature makes the invasion of other species much harder.

How many distinct temporal niches are allowed in a realistic system? The answer may reflect an essential difference between stochastic fluctuations and seasonal cycles. Environmental stochasticity reflects erratic variations of a wide variety of factors that affect demographic rates—climate, predation pressure, resource availability, diseases, and so on—and the different combinations of these factors suggest, potentially, many temporal niches.

Seasonality, in contrast, is associated in many cases with a limited number of temporal niches. Of course, one may imagine a case in which the maximal fitness of each species appears at the temperature that characterizes a given day of the year, so overall there are 365 temporal niches. However, this possibility requires fine-tuning of the environmental response of different species. In addition, when temporal niches narrow down they become susceptible to stochastic variations. Therefore, periodic temporal niches are usually associated with a coarser partitioning of the environmental states, like the distinction between summer and winter and so on.

IV Discussion

Temporal niches are ubiquitous in nature, and their dynamics dictate the variations in the fitness of competing species. Some of the main questions in community ecology (and also in population genetics) have to do with the effect of these variations on biodiversity. Through this paper we have analyzed this question in detail, using a variety of models that allow us to isolate the characteristics associated with different features of the dynamics.

An examination of persistence properties in varying environments is not a trivial task. Most studies in that field are based on local analysis: either an analysis of the stability and the robustness of the coexistence states, as implemented, for periodic variations, in [4851] or an analysis of invasion rates, the standard approach of modern coexistence theory [5, 52]. Here we applied an alternative approach, global analysis, and calculated observable metrics like extinction times, species richness, and evenness of communities, taking into account both demographic and environmental stochasticity. This technique imposed a few restrictions: we had to stick to specific models and use the diffusion approximation and/or numerical simulations. Still, we believe that the outcomes of our study are quite robust and provide a few generic insights.

We discovered that systems with only a few species differ substantially from diverse communities. This distinction has to do with two factors: the number of available temporal niches and the buffering of environmental variations when the number of species is large.

For a system with two species, periodicity and global competition both facilitate coexistence. Therefore, the most prevalent community, with persistence times that grow exponentially with its size N, is obtained when competition is global (storage effect) and the dynamic is seasonal. Global competition with stochastic environmental variability is not as prevalent: although it supports storage, rare sequences of bad years may drive a given species to extinction, therefore the mean time to extinction grows like Nα where α > 1 is a constant. Local competition does not allow for covariance between environment and competition and thus has no storage. Again, stochastic variations lead to shorter persistence times than the corresponding periodic variations, with persistence times that scale linearly with N in the periodic case and with ln2 N in the stochastic case.

When the number of species increases the situation changes. Most importantly, the number of temporal niches, Q, becomes an important limiting factor. The same factors that facilitate storage and support biodiversity when Q is larger than the number of species, impede coexistence and lower biodiversity when Q is smaller than the number of species. In particular, global competition increases the effect of temporal niches on abundance variations, facilitates the storage effect due to negative covariance between environment and competition, and thus supports the invasion of a specialist into an unoccupied niche. The same feature, global competition, prevents more generalists species to invade an already occupied niche.

Even when the number of temporal niches is large, the differential response of many species buffers the environmental variations and makes the dynamics closer and closer to that of a neutral model, so demographic stochasticity becomes the main driver of abundance variations and temporal environmental fluctuations lose their importance.

Therefore, when environmental variations are invoked as an explanation for the persistence of diverse communities, one must notice that their effect on the community as a whole is not the sum of their effects on each pair of species. A study of many two-species systems, as in the work of [18], for example, may become irrelevant in the diverse community level, either because it misses the neutralization effect or because it does not take properly into account the limited number of temporal niches.

As always, typical natural scenarios are likely to be more complicated. For example, most systems are affected by both stochastic and periodic variations, although the amplitude of periodic variations (in temperature or precipitation between summer and winter, say) is usually much larger than the year-to-year stochastic fluctuations. For example, [24], whose study of plankton community dynamics is based on empirically calibrated parameters, assumed temperature-dependent fitness and modeled temperature variations as a mixture of white noise (with short dwell times) and sinusoidal variations (with long dwell times). This approach is more realistic, but here we have chosen the opposite strategy and compared purely periodic and purely stochastic situations while keeping all other parameters (dwell time, the amplitude of variations, speciation rates, etc.) fixed.

Another scenario that interpolates between stochastic and periodic variations was mentioned by [36]. These authors considered a different stabilizing mechanism, relative nonlinearity, where one species has better fitness but its competitor is more resilient against environmental variations. They have noticed that long periods of stable environment may drive the second species to the brink of extinction, and therefore suggested that the introduction of a low-frequency cutoff of the power spectrum would lead to better coexistence properties. This hypothesis has not been examined in [36], but our study appears to support it.

We thus believe that the results presented in this work provide the essential insights required in assessing the relative importance of temporal niches, their dynamics, and their potential contribution to the richness of life forms in our world.

V Methods

V.A Derivation of μ(x) and σ(x) in various cases—The diffusion approximation

As explained in the main text, the deterministic change in x per unit time during a single step (of duration 1/N, i is the step index so t = i/N) is,

fi,local(x)x˙local2x(1-x)N(Δs)i, (16)

if the competition is local. This equation is equivalent to (5) when |Δs| is small so one may neglect |Δs|3 and higher orders.

Equivalently, for global competition Eq (7) implies,

fi,global(x)x˙global(Δs)ix(1-x)N+(Δs)i22Nx(1-x)(1-2x). (17)

These two expression define the instantaneous velocity. In addition, every single birth-death event is associated with a variance (demographic fluctuation) of 2x(1 − x).

In both cases, after k steps the mean change in x (for a given history of the selection parameter s(t)) will be,

x0x0+i=1kfi(xi), (18)

where fi is the velocity in a given i environmental situation (global or local). Expanding this sum to first order around x0, one gets,

i=1kfi(xi)i=1kfi(x0)+i=1kfi(x0)(xi-x0)i=1kfi(x0)+i=1kfi(x0)j=1ifj(x0). (19)

When the environmental fluctuations are periodic, every positive period is followed by a negative one of the same amplitude and duration and the internal summation is reduced to order s0. Once multiplied by the external summation, this term is negligible. Therefore, the mean displacement over several periods is,

μ(x0)=x-x0¯k=f(x0)¯. (20)

Plugging in (16) and (17) yields,

μglobal,periodic(x)=x(1-x)N[s0+γ22(1-2x)]μlocal,periodic(x)=s0x(1-x)N. (21)

The square of the displacement is,

(i=1kfi(x0))2=i=1kfi(x0)·j=1kfj(x0), (22)

and this quantity vanishes, as before, over an integer number of periods. Therefore, the only contribution to σ2(x) comes from demographic stochasticity:

σglobal,periodic2(x)=σlocal,periodic2(x)=2x(1-x)N2 (23)

For the stochastic cases we can use the assumption that the environmental states are uncorrelated over periods that are longer than the dwell time, and simplify (19) by grouping together elementary steps into periods in which the environment is fixed,

i=1kfi(xi)pq=1τpfp(x0)+pq=1τpfp(x0)j=1qfp(x0) (24)

In this expression, the k elementary steps are divided into periods of stable environments. These periods are indexed by p, and the duration of each period is τp elementary timesteps. Since the fp of different p are uncorrelated, the internal summation of Eq (19) is reduced to the sum over steps of the same state. Therefore,

i=1kfi(xi)pτpfp(x0)+pfp(x0)fp(x0)τp22 (25)

When the values of τp are drawn from an exponential distribution whose mean is τ, τp2¯=τp¯2+στ2=2τ2, where στ2 is the variance of τp. Using,

f(x)f(x)¯=12ddxf2(x)¯=12ddxf2(x)¯12ddxσf2(x)=σf(x)σf(x). (26)

since in the local case, and approximately (neglecting terms like s0γ2 or γ4) in the global case,

σf2(x)γ2x2(1-x)2N2, (27)

one can write

μlocal,stochastic(x)=x(1-x)N[s0+γ2τ2N(1-2x)], (28)

and

μglobal,stochastic(x)=x(1-x)N[s0+γ22(1-2x)+γ2τ2N(1-2x)]. (29)

Finally, the variance in the stochastic cases is:

σglobal,stochastic2(x)=σlocal,stochastic2(x)=2x(1-x)N2[1+γ2τ2x(1-x)]. (30)

At this point we define δ, which is the environmental correlation time measured in generation. If a generation is defined as N elementary birth-death events, and on average every τ elementary birth-death steps the environment changes, then δ = τ/N. Correspondingly we define g = γ2δ/2 as the strength of the environmental variations.

V.B Solutions for T using integration factor

Eq (8) of the main text reads,

σ2(x)2T(x)+μ(x)T(x)=-1. (31)

We solve it by using an integrating factor, such that

[T(x)ex2μ(t)σ2(t)dt]=-2σ2(x)ex2μ(t)σ2(t)dt (32)

Integrating on both sides yields

T(x)ex2μ(t)σ2(t)dt=-x2σ2(t)et2μ(q)σ2(q)dqdt+C1T(x)=-x2σ2(t)et2μ(q)σ2(q)dqdt+C1ex2μ(t)σ2(t)dt. (33)

Finally,

T(x)=-xk2σ2(t)et2μ(q)σ2(q)dqdt+C1ek2μ(t)σ2(t)dtdk+C2 (34)

All that is left is to find the constants using the boundary conditions T(0) = T(1) = 0.

Data Availability

All relevant data are within the manuscript.

Funding Statement

All authors were supported by the ISF-NRF Singapore joint research program (grant number 2669/17). The work of I.M. was supported by an Eshkol Fellowship of the Israeli Ministry of Science. The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.

References

  • 1. Lande R, Engen S, Saether BE. Stochastic Population Dynamics in Ecology and Conservation. Oxford University Press; 2003. [Google Scholar]
  • 2. Chesson PL, Warner RR. Environmental variability promotes coexistence in lottery competitive systems. The American Naturalist. 1981;117:923–943. doi: 10.1086/283778 [DOI] [Google Scholar]
  • 3. Chesson PL. The stabilizing effect of a random environment. Journal of Mathematical Biology. 1982;15(1):1–36. doi: 10.1007/BF00275786 [DOI] [Google Scholar]
  • 4. Hatfield JS, Chesson PL. Diffusion analysis and stationary distribution of the two-species lottery competition model. Theoretical Population Biology. 1989;36(3):251–266. doi: 10.1016/0040-5809(89)90033-6 [DOI] [Google Scholar]
  • 5. Barabás G, D’Andrea R, Stump SM. Chesson’s coexistence theory. Ecological Monographs. 2018;88(3):277–303. doi: 10.1002/ecm.1302 [DOI] [Google Scholar]
  • 6. Dean A, Shnerb NM. Stochasticity-induced stabilization in ecology and evolution: a new synthesis. Ecology. 2020;101(9):e03098. doi: 10.1002/ecy.3098 [DOI] [PubMed] [Google Scholar]
  • 7. Ter Steege H, Pitman NC, Sabatier D, Baraloto C, Salomão RP, Guevara JE, et al. Hyperdominance in the Amazonian tree flora. Science. 2013;342(6156):1243092. doi: 10.1126/science.1243092 [DOI] [PubMed] [Google Scholar]
  • 8. Connolly SR, MacNeil MA, Caley MJ, Knowlton N, Cripps E, Hisano M, et al. Commonness and rarity in the marine biosphere. Proceedings of the National Academy of Sciences. 2014;111(23):8524–8529. doi: 10.1073/pnas.1406664111 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 9. Stomp M, Huisman J, Mittelbach GG, Litchman E, Klausmeier CA. Large-scale biodiversity patterns in freshwater phytoplankton. Ecology. 2011;92(11):2096–2107. doi: 10.1890/10-1023.1 [DOI] [PubMed] [Google Scholar]
  • 10. Gause GF. The Struggle for Existence. Courier Corporation; 2003. [Google Scholar]
  • 11. Tilman D. Resource Competition and Community Structure. 17. Princeton university press; 1982. [PubMed] [Google Scholar]
  • 12. May RM. Will a large complex system be stable? Nature. 1972;238:413–414. doi: 10.1038/238413a0 [DOI] [PubMed] [Google Scholar]
  • 13. Ellner SP, Snyder RE, Adler PB. How to quantify the temporal storage effect using simulations instead of math. Ecology Letters. 2016;19(11):1333–1342. doi: 10.1111/ele.12672 [DOI] [PubMed] [Google Scholar]
  • 14. Ellner SP, Snyder RE, Adler PB, Hooker G. An expanded modern coexistence theory for empirical applications. Ecology Letters. 2019;22(1):3–18. doi: 10.1111/ele.13159 [DOI] [PubMed] [Google Scholar]
  • 15. Adler PB, HilleRisLambers J, Kyriakidis PC, Guan Q, Levine JM. Climate variability has a stabilizing effect on the coexistence of prairie grasses. Proceedings of the National Academy of Sciences. 2006;103(34):12793–12798. doi: 10.1073/pnas.0600599103 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 16. Yi X, Dean AM. Bounded population sizes, fluctuating selection and the tempo and mode of coexistence. Proceedings of the National Academy of Sciences. 2013;p. 201309830. doi: 10.1073/pnas.1309830110 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 17. Usinowicz J, Wright SJ, Ives AR. Coexistence in tropical forests through asynchronous variation in annual seed production. Ecology. 2012;93(9):2073–2084. doi: 10.1890/11-1935.1 [DOI] [PubMed] [Google Scholar]
  • 18. Usinowicz J, Chang-Yang CH, Chen YY, Clark JS, Fletcher C, Garwood NC, et al. Temporal coexistence mechanisms contribute to the latitudinal gradient in forest diversity. Nature. 2017;550(7674):105. doi: 10.1038/nature24038 [DOI] [PubMed] [Google Scholar]
  • 19. Fung T, Chisholm RA, Anderson-Teixeira K, Bourg N, Brockelman WY, Bunyavejchewin S, et al. Temporal population variability in local forest communities has mixed effects on tree species richness across a latitudinal gradient. Ecology letters. 2020;23(1):160–171. doi: 10.1111/ele.13412 [DOI] [PubMed] [Google Scholar]
  • 20. Ellner S, Hairston NG Jr. Role of overlapping generations in maintaining genetic variation in a fluctuating environment. The American Naturalist. 1994;143(3):403–417. doi: 10.1086/285610 [DOI] [Google Scholar]
  • 21. Dean AM. Protecting haploid polymorphisms in temporally variable environments. Genetics. 2005;169(2):1147–1156. doi: 10.1534/genetics.104.036053 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 22. Dean AM, Lehman C, Yi X. Fluctuating selection in the Moran. Genetics. 2017;p. genetics–116. doi: 10.1534/genetics.116.192914 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 23. Dean AM. Haploids, polymorphisms and fluctuating selection. Theoretical Population Biology. 2018;. doi: 10.1016/j.tpb.2018.07.003 [DOI] [PubMed] [Google Scholar]
  • 24. Picoche C, Barraquand F. How self-regulation, the storage effect, and their interaction contribute to coexistence in stochastic and seasonal environments. Theoretical Ecology. 2019;12(4):489–500. doi: 10.1007/s12080-019-0420-9 [DOI] [Google Scholar]
  • 25. White ER, Hastings A. Seasonality in ecology: Progress and prospects in theory. Ecological Complexity. 2020;44:100867. doi: 10.1016/j.ecocom.2020.100867 [DOI] [Google Scholar]
  • 26. Mellard J, Audoye P, Loreau M. Seasonal patterns in species diversity. Ecology. 2019;100:e02627. doi: 10.1002/ecy.2627 [DOI] [PubMed] [Google Scholar]
  • 27. Bergland AO, Behrman EL, O’Brien KR, Schmidt PS, Petrov DA. Genomic evidence of rapid and stable adaptive oscillations over seasonal time scales in Drosophila. PLoS Genetics. 2014;10(11):e1004775. doi: 10.1371/journal.pgen.1004775 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 28. Descamps-Julien B, Gonzalez A. Stable coexistence in a fluctuating environment: an experimental demonstration. Ecology. 2005;86(10):2815–2824. doi: 10.1890/04-1700 [DOI] [Google Scholar]
  • 29. Mathias A, Chesson P. Coexistence and evolutionary dynamics mediated by seasonal environmental variation in annual plant communities. Theoretical Population Biology. 2013;84:56–71. doi: 10.1016/j.tpb.2012.11.009 [DOI] [PubMed] [Google Scholar]
  • 30. Martínez-García R, Tarnita CE. Seasonality can induce coexistence of multiple bet-hedging strategies in Dictyostelium discoideum via storage effect. Journal of Theoretical Biology. 2017;426:104–116. doi: 10.1016/j.jtbi.2017.05.019 [DOI] [PubMed] [Google Scholar]
  • 31. Danino M, Shnerb NM, Azaele S, Kunin WE, Kessler DA. The effect of environmental stochasticity on species richness in neutral communities. Journal of Theoretical Biology. 2016;409:155–164. doi: 10.1016/j.jtbi.2016.08.029 [DOI] [PubMed] [Google Scholar]
  • 32. Danino M, Shnerb NM. Fixation and absorption in a fluctuating environment. Journal of Theoretical Biology. 2018;441:84–92. doi: 10.1016/j.jtbi.2018.01.004 [DOI] [PubMed] [Google Scholar]
  • 33. Meyer I, Shnerb NM. Noise-induced stabilization and fixation in fluctuating environment. Scientific Reports. 2018;8:9726. doi: 10.1038/s41598-018-27982-1 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 34. Danino M, Shnerb NM. Theory of time-averaged neutral dynamics with environmental stochasticity. Physical Review E. 2018;97(4):042406. doi: 10.1103/PhysRevE.97.042406 [DOI] [PubMed] [Google Scholar]
  • 35. Mustonen V, Lässig M. Molecular evolution under fitness fluctuations. Physical Review Letters. 2008;100(10):108101. doi: 10.1103/PhysRevLett.100.108101 [DOI] [PubMed] [Google Scholar]
  • 36. Szilágyi A, Meszéna G. Coexistence in a fluctuating environment by the effect of relative nonlinearity: a minimal model. Journal of Theoretical Biology. 2010;267(4):502–512. doi: 10.1016/j.jtbi.2010.09.020 [DOI] [PubMed] [Google Scholar]
  • 37. Hidalgo J, Suweis S, Maritan A. Species coexistence in a neutral dynamics with environmental noise. Journal of Theoretical Biology. 2017;413:1–10. doi: 10.1016/j.jtbi.2016.11.002 [DOI] [PubMed] [Google Scholar]
  • 38. Danino M, Kessler DA, Shnerb NM. Stability of two-species communities: drift, environmental stochasticity, storage effect and selection. Theoretical Population Biology. 2018;119:57–71. doi: 10.1016/j.tpb.2017.11.003 [DOI] [PubMed] [Google Scholar]
  • 39. Karlin S, Taylor HE. A Second Course in Stochastic Processes. Elsevier; 1981. [Google Scholar]
  • 40. Redner S. A Guide to First-Passage Processes. Cambridge University Press; 2001. [Google Scholar]
  • 41. Huerta-Sanchez E, Durrett R, Bustamante CD. Population genetics of polymorphism and divergence under fluctuating selection. Genetics. 2008;178(1):325–337. doi: 10.1534/genetics.107.073361 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 42. Kimura M. On the probability of fixation of mutant genes in a population. Genetics. 1962;47(6):713. doi: 10.1093/genetics/47.6.713 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 43. Murray R, Young G. Neutral competition in a deterministically changing environment: revisiting continuum approaches. Journal of theoretical biology. 2020;486:110104. doi: 10.1016/j.jtbi.2019.110104 [DOI] [PubMed] [Google Scholar]
  • 44. Hubbell SP. The Unified Neutral Theory of Biodiversity and Biogeography. Monographs in Population Biology 32. Princeton, N.J.: Princeton University Press; 2001. [Google Scholar]
  • 45. Azaele S, Maritan A, Cornell SJ, Suweis S, Banavar JR, Gabriel D, et al. Towards a unified descriptive theory for spatial ecology: predicting biodiversity patterns across spatial scales. Methods in Ecology and Evolution. 2015;6(3):324–332. doi: 10.1111/2041-210X.12319 [DOI] [Google Scholar]
  • 46. Chao A, Chiu CH, Jost L. Phylogenetic diversity measures and their decomposition: a framework based on Hill numbers. Biodiversity Conservation and Phylogenetic Systematics. 2016;p. 141. doi: 10.1007/978-3-319-22461-9_8 [DOI] [Google Scholar]
  • 47. Steinmetz B, Shnerb NM. Competition with abundance-dependent fitness and the dynamics of heterogeneous populations in fluctuating environment. Journal of theoretical biology. 2021;531:110880. doi: 10.1016/j.jtbi.2021.110880 [DOI] [PubMed] [Google Scholar]
  • 48. Cushing JM. Periodic Lotka-Volterra competition equations. Journal of Mathematical biology. 1986;24(4):381–403. doi: 10.1007/BF01236888 [DOI] [PubMed] [Google Scholar]
  • 49. Barabás G, Meszéna G, Ostling A. Community robustness and limiting similarity in periodic environments. Theoretical Ecology. 2012;5(2):265–282. doi: 10.1007/s12080-011-0127-z [DOI] [Google Scholar]
  • 50. Barabás G, Ostling A. Community robustness in discrete-time periodic environments. Ecological Complexity. 2013;15:122–130. doi: 10.1016/j.ecocom.2013.07.001 [DOI] [Google Scholar]
  • 51. Barabás G, Pásztor L, Meszéna G, Ostling A. Sensitivity analysis of coexistence in ecological communities: theory and application. Ecology Letters. 2014;17(12):1479–1494. doi: 10.1111/ele.12350 [DOI] [PubMed] [Google Scholar]
  • 52. Chesson PL. Multispecies competition in variable environments. Theoretical Population Biology. 1994;45(3):227–276. doi: 10.1006/tpbi.1994.1013 [DOI] [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Data Availability Statement

All relevant data are within the manuscript.


Articles from PLoS Computational Biology are provided here courtesy of PLOS

RESOURCES