<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD with MathML3 v1.2 20190208//EN"  "JATS-archivearticle1-mathml3.dtd"><article article-type="research-article" dtd-version="1.2" xmlns:ali="http://www.niso.org/schemas/ali/1.0/" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"><front><journal-meta><journal-id journal-id-type="nlm-ta">elife</journal-id><journal-id journal-id-type="publisher-id">eLife</journal-id><journal-title-group><journal-title>eLife</journal-title></journal-title-group><issn pub-type="epub" publication-format="electronic">2050-084X</issn><publisher><publisher-name>eLife Sciences Publications, Ltd</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="publisher-id">75168</article-id><article-id pub-id-type="doi">10.7554/eLife.75168</article-id><article-categories><subj-group subj-group-type="display-channel"><subject>Research Article</subject></subj-group><subj-group subj-group-type="heading"><subject>Ecology</subject></subj-group><subj-group subj-group-type="heading"><subject>Microbiology and Infectious Disease</subject></subj-group></article-categories><title-group><article-title>Competition for fluctuating resources reproduces statistics of species abundance over time across wide-ranging microbiotas</article-title></title-group><contrib-group><contrib contrib-type="author" id="author-238835"><name><surname>Ho</surname><given-names>Po-Yi</given-names></name><xref ref-type="aff" rid="aff1">1</xref><xref ref-type="other" rid="fund1"/><xref ref-type="fn" rid="con1"/><xref ref-type="fn" rid="conf1"/></contrib><contrib contrib-type="author" corresp="yes" id="author-101116"><name><surname>Good</surname><given-names>Benjamin H</given-names></name><contrib-id authenticated="true" contrib-id-type="orcid">https://orcid.org/0000-0002-7757-3347</contrib-id><email>bhgood@stanford.edu</email><xref ref-type="aff" rid="aff2">2</xref><xref ref-type="aff" rid="aff3">3</xref><xref ref-type="other" rid="fund4"/><xref ref-type="fn" rid="con2"/><xref ref-type="fn" rid="conf2"/></contrib><contrib contrib-type="author" corresp="yes" id="author-10354"><name><surname>Huang</surname><given-names>Kerwyn Casey</given-names></name><contrib-id authenticated="true" contrib-id-type="orcid">https://orcid.org/0000-0002-8043-8138</contrib-id><email>kchuang@stanford.edu</email><xref ref-type="aff" rid="aff1">1</xref><xref ref-type="aff" rid="aff3">3</xref><xref ref-type="aff" rid="aff4">4</xref><xref ref-type="other" rid="fund2"/><xref ref-type="other" rid="fund3"/><xref ref-type="other" rid="fund5"/><xref ref-type="fn" rid="con3"/><xref ref-type="fn" rid="conf2"/></contrib><aff id="aff1"><label>1</label><institution-wrap><institution-id institution-id-type="ror">https://ror.org/00f54p054</institution-id><institution>Department of Bioengineering, Stanford University</institution></institution-wrap><addr-line><named-content content-type="city">Stanford</named-content></addr-line><country>United States</country></aff><aff id="aff2"><label>2</label><institution-wrap><institution-id institution-id-type="ror">https://ror.org/00f54p054</institution-id><institution>Department of Applied Physics, Stanford University</institution></institution-wrap><addr-line><named-content content-type="city">Stanford</named-content></addr-line><country>United States</country></aff><aff id="aff3"><label>3</label><institution>Chan Zuckerberg Biohub</institution><addr-line><named-content content-type="city">San Francisco</named-content></addr-line><country>United States</country></aff><aff id="aff4"><label>4</label><institution-wrap><institution-id institution-id-type="ror">https://ror.org/00f54p054</institution-id><institution>Department of Microbiology and Immunology, Stanford University School of Medicine</institution></institution-wrap><addr-line><named-content content-type="city">Stanford</named-content></addr-line><country>United States</country></aff></contrib-group><contrib-group content-type="section"><contrib contrib-type="editor"><name><surname>Segata</surname><given-names>Nicola</given-names></name><role>Reviewing Editor</role><aff><institution-wrap><institution-id institution-id-type="ror">https://ror.org/05trd4x28</institution-id><institution>University of Trento</institution></institution-wrap><country>Italy</country></aff></contrib><contrib contrib-type="senior_editor"><name><surname>Garrett</surname><given-names>Wendy S</given-names></name><role>Senior Editor</role><aff><institution>Harvard T.H. Chan School of Public Health</institution><country>United States</country></aff></contrib></contrib-group><pub-date date-type="publication" publication-format="electronic"><day>11</day><month>04</month><year>2022</year></pub-date><pub-date pub-type="collection"><year>2022</year></pub-date><volume>11</volume><elocation-id>e75168</elocation-id><history><date date-type="received" iso-8601-date="2021-11-01"><day>01</day><month>11</month><year>2021</year></date><date date-type="accepted" iso-8601-date="2022-03-24"><day>24</day><month>03</month><year>2022</year></date></history><pub-history><event><event-desc>This manuscript was published as a preprint at bioRxiv.</event-desc><date date-type="preprint" iso-8601-date="2021-05-14"><day>14</day><month>05</month><year>2021</year></date><self-uri content-type="preprint" xlink:href="https://doi.org/10.1101/2021.05.13.444061"/></event></pub-history><permissions><copyright-statement>© 2022, Ho et al</copyright-statement><copyright-year>2022</copyright-year><copyright-holder>Ho et al</copyright-holder><ali:free_to_read/><license xlink:href="http://creativecommons.org/licenses/by/4.0/"><ali:license_ref>http://creativecommons.org/licenses/by/4.0/</ali:license_ref><license-p>This article is distributed under the terms of the <ext-link ext-link-type="uri" xlink:href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution License</ext-link>, which permits unrestricted use and redistribution provided that the original author and source are credited.</license-p></license></permissions><self-uri content-type="pdf" xlink:href="elife-75168-v1.pdf"/><self-uri content-type="figures-pdf" xlink:href="elife-75168-figures-v1.pdf"/><abstract><p>Across diverse microbiotas, species abundances vary in time with distinctive statistical behaviors that appear to generalize across hosts, but the origins and implications of these patterns remain unclear. Here, we show that many of these macroecological patterns can be quantitatively recapitulated by a simple class of consumer-resource models, in which the metabolic capabilities of different species are randomly drawn from a common statistical distribution. Our model parametrizes the consumer-resource properties of a community using only a small number of global parameters, including the total number of resources, typical resource fluctuations over time, and the average overlap in resource-consumption profiles across species. We show that variation in these macroscopic parameters strongly affects the time series statistics generated by the model, and we identify specific sets of global parameters that can recapitulate macroecological patterns across wide-ranging microbiotas, including the human gut, saliva, and vagina, as well as mouse gut and rice, without needing to specify microscopic details of resource consumption. These findings suggest that resource competition may be a dominant driver of community dynamics. Our work unifies numerous time series patterns under a simple model, and provides an accessible framework to infer macroscopic parameters of effective resource competition from longitudinal studies of microbial communities.</p></abstract><kwd-group kwd-group-type="author-keywords"><kwd>microbiome</kwd><kwd>macroecological dynamics</kwd><kwd>resource competition</kwd><kwd>consumer-resource models</kwd><kwd>Taylor's law</kwd><kwd>microbial ecology</kwd></kwd-group><kwd-group kwd-group-type="research-organism"><title>Research organism</title><kwd>Human</kwd><kwd>Mouse</kwd><kwd>Other</kwd></kwd-group><funding-group><award-group id="fund1"><funding-source><institution-wrap><institution-id institution-id-type="FundRef">http://dx.doi.org/10.13039/100000002</institution-id><institution>National Institutes of Health</institution></institution-wrap></funding-source><award-id>F32 GM143859-01</award-id><principal-award-recipient><name><surname>Ho</surname><given-names>Po-Yi</given-names></name></principal-award-recipient></award-group><award-group id="fund2"><funding-source><institution-wrap><institution-id institution-id-type="FundRef">http://dx.doi.org/10.13039/100000002</institution-id><institution>National Institutes of Health</institution></institution-wrap></funding-source><award-id>R01 AI147023</award-id><principal-award-recipient><name><surname>Huang</surname><given-names>Kerwyn Casey</given-names></name></principal-award-recipient></award-group><award-group id="fund3"><funding-source><institution-wrap><institution-id institution-id-type="FundRef">http://dx.doi.org/10.13039/100000002</institution-id><institution>National Institutes of Health</institution></institution-wrap></funding-source><award-id>NIH RM1 GM135102</award-id><principal-award-recipient><name><surname>Huang</surname><given-names>Kerwyn Casey</given-names></name></principal-award-recipient></award-group><award-group id="fund4"><funding-source><institution-wrap><institution-id institution-id-type="FundRef">http://dx.doi.org/10.13039/100000879</institution-id><institution>Alfred P. Sloan Foundation</institution></institution-wrap></funding-source><award-id>FG-2021-15708</award-id><principal-award-recipient><name><surname>Good</surname><given-names>Benjamin H</given-names></name></principal-award-recipient></award-group><award-group id="fund5"><funding-source><institution-wrap><institution-id institution-id-type="FundRef">http://dx.doi.org/10.13039/501100008982</institution-id><institution>National Science Foundation</institution></institution-wrap></funding-source><award-id>EF-2125383</award-id><principal-award-recipient><name><surname>Huang</surname><given-names>Kerwyn Casey</given-names></name></principal-award-recipient></award-group><funding-statement>The funders had no role in study design, data collection and interpretation, or the decision to submit the work for publication.</funding-statement></funding-group><custom-meta-group><custom-meta specific-use="meta-only"><meta-name>Author impact statement</meta-name><meta-value>A simple model provides an accessible framework to infer macroscopic parameters of effective resource competition from longitudinal studies of microbial communities.</meta-value></custom-meta></custom-meta-group></article-meta></front><body><sec id="s1" sec-type="intro"><title>Introduction</title><p>Microbial communities are ubiquitous across our planet, and strongly affect host and environmental health (<xref ref-type="bibr" rid="bib38">Sekirov et al., 2010</xref>; <xref ref-type="bibr" rid="bib45">Tkacz and Poole, 2015</xref>). Predictive models of microbial community dynamics would accelerate efforts to engineer microbial communities for societal benefits. A promising class of models is consumer-resource (CR) models, wherein species growth is determined by the consumption of environmental resources (<xref ref-type="bibr" rid="bib10">Chesson, 1990</xref>). CR models capture a core set of interactions among members of a community based on their competition for nutrients, and have demonstrated the capacity to recapitulate important properties of microbial communities such as diversity and stability (<xref ref-type="bibr" rid="bib34">Niehaus et al., 2019</xref>; <xref ref-type="bibr" rid="bib36">Posfai et al., 2017</xref>; <xref ref-type="bibr" rid="bib44">Tikhonov and Monasson, 2017</xref>). However, while model parameters such as resource consumption rates are beginning to be uncovered in the context of in vitro experiments (<xref ref-type="bibr" rid="bib19">Goldford et al., 2018</xref>; <xref ref-type="bibr" rid="bib22">Hart et al., 2019</xref>; <xref ref-type="bibr" rid="bib28">Liao et al., 2020</xref>), it remains challenging to determine all parameters for a community of native complexity from the bottom-up. A more accessible approach to parametrize CR models and to understand the features that drive community-level properties is needed.</p><p>To interrogate the dynamics of in vivo microbiotas, a common, top-down strategy is longitudinal sampling followed by 16S amplicon or metagenomic sequencing, thereby generating a relative abundance time series. Analyses of longitudinal data have shown that species abundances fluctuate around stable, host-specific values in healthy humans (<xref ref-type="bibr" rid="bib7">Caporaso et al., 2011</xref>; <xref ref-type="bibr" rid="bib12">David et al., 2014</xref>; <xref ref-type="bibr" rid="bib16">Faith et al., 2013</xref>). Recently, it was discovered that such time series exhibit distinctive statistical signatures, sometimes referred to as macroecological dynamics, that can reflect the properties of the community and its environment (<xref ref-type="bibr" rid="bib13">Descheemaeker and de Buyl, 2020</xref>; <xref ref-type="bibr" rid="bib21">Grilli, 2020</xref>; <xref ref-type="bibr" rid="bib23">Ji et al., 2020</xref>; <xref ref-type="bibr" rid="bib39">Shoemaker et al., 2017</xref>). For example, in human and mouse gut microbiotas, the temporal variance of different species scales as a power of their mean abundance (‘Taylor’s law’, <xref ref-type="bibr" rid="bib41">Taylor, 1961</xref>) and deviations from this trend can highlight species that are transient invaders (<xref ref-type="bibr" rid="bib23">Ji et al., 2020</xref>). Time series modeling can also provide insights into the underlying ecological processes. For example, the relative contributions of intrinsic versus environmental processes can be distinguished using autoregressive models whose output values depend linearly on values at previous times and external noise (<xref ref-type="bibr" rid="bib18">Gibbons et al., 2017</xref>). Time series can also be correlated to environmental metadata such as diet to generate hypotheses about how environmental perturbations affect community composition (<xref ref-type="bibr" rid="bib12">David et al., 2014</xref>), and to identify environmental drivers of transitions between distinct ecological states (<xref ref-type="bibr" rid="bib26">Levy et al., 2020</xref>).</p><p>A growing body of work has shown that time series generated by simple mathematical models can exhibit statistics similar to experimental data sets, reinforcing the utility of such models for providing information about community dynamics even when many microscopic details are unknown. Some statistics can be recapitulated by phenomenological models, such as a non-interacting, constrained random walk in abundances (<xref ref-type="bibr" rid="bib21">Grilli, 2020</xref>), while others can be described by a generalized Lotka-Volterra (gLV) model with colored noise (<xref ref-type="bibr" rid="bib13">Descheemaeker and de Buyl, 2020</xref>) or by ecological models describing the birth, immigration, and death of species (<xref ref-type="bibr" rid="bib5">Azaele et al., 2006</xref>). However, the origins of and relationships among time series statistics have yet to be explained. Here, we sought to address this question using CR models, and simultaneously to use time series statistics as an accessible approach for parametrizing CR models.</p><p>Since the network of resource consumption in a community will typically depend on thousands of underlying parameters, directly measuring all parameters is intrinsically challenging. We sought to overcome this combinatorial complexity by adopting an indirect, coarse-grained approach, in which resources describe effective groupings of metabolites or niches, and model parameters are randomly drawn from a common statistical ensemble. We show that this simple formulation generates statistics that quantitatively match those observed in experimental time series across wide-ranging microbiotas without needing to specify the exact parameters of resource competition, allowing us to infer the global properties of resource competition that can recapitulate experimentally observed time series statistics. We further show that our effective CR model captures the behavior of a broader class of ecological interactions, and can guide the development and analysis of other models and their time series statistics. Our work thus provides an accessible connection between complex microbiotas and the effective resource competition that could underlie their dynamics, with broad applications for engineering communities relevant to human health and to agriculture.</p></sec><sec id="s2" sec-type="results"><title>Results</title><sec id="s2-1"><title>A coarse-grained CR model under fluctuating environments</title><p>To determine the nature of time series statistics generated by resource competition, we considered a minimal CR model in which <inline-formula><mml:math id="inf1"><mml:mi>N</mml:mi></mml:math></inline-formula> consumers compete for <inline-formula><mml:math id="inf2"><mml:mi>M</mml:mi></mml:math></inline-formula> resources via growth dynamics described by<disp-formula id="equ1"><mml:math id="m1"><mml:mrow><mml:mfrac><mml:mrow><mml:mi>d</mml:mi><mml:msub><mml:mi>X</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mi>d</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:mfrac><mml:mo>=</mml:mo><mml:msub><mml:mi>X</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:munderover><mml:mo movablelimits="false">∑</mml:mo><mml:mrow><mml:mi>j</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>M</mml:mi></mml:mrow></mml:munderover><mml:msub><mml:mi>R</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:msub><mml:mi>Y</mml:mi><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula><disp-formula id="equ2"><label>(1)</label><mml:math id="m2"><mml:mrow><mml:mfrac><mml:mrow><mml:mi>d</mml:mi><mml:msub><mml:mi>Y</mml:mi><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mi>d</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:mfrac><mml:mo>=</mml:mo><mml:mo>−</mml:mo><mml:msub><mml:mi>Y</mml:mi><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:munderover><mml:mo movablelimits="false">∑</mml:mo><mml:mrow><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>N</mml:mi></mml:mrow></mml:munderover><mml:msub><mml:mi>R</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:msub><mml:mi>X</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula></p><p>Here, <inline-formula><mml:math id="inf3"><mml:msub><mml:mrow><mml:mi>X</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> denotes the abundance of consumer <italic>i</italic>, <inline-formula><mml:math id="inf4"><mml:msub><mml:mrow><mml:mi>Y</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> the amount of resource <inline-formula><mml:math id="inf5"><mml:mi>j</mml:mi></mml:math></inline-formula>, and <inline-formula><mml:math id="inf6"><mml:msub><mml:mrow><mml:mi>R</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> the consumption rate of resource <inline-formula><mml:math id="inf7"><mml:mi>j</mml:mi></mml:math></inline-formula> by consumer <italic>i</italic>. The resources in this model are defined at a coarse-grained level, such that individual resources represent effective groups of metabolites or niches. We assumed that the resource consumption rates <inline-formula><mml:math id="inf8"><mml:msub><mml:mrow><mml:mi>R</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> were independent of the external environment and constant over time, thereby specifying the intrinsic ecological properties of the community with a collection of <inline-formula><mml:math id="inf9"><mml:mi>N</mml:mi><mml:mo>×</mml:mo><mml:mi>M</mml:mi></mml:math></inline-formula> microscopic parameters. To simplify this vast parameter space, we conjectured that the macroecological features of our experimental time series might be captured by typical profiles of resource consumption drawn from a statistical ensemble. This is a crucial simplification: while these randomly drawn values will never match the specific resource consumption rates of a given microbiota, previous work suggests that they can often recapitulate the large-scale behavior of sufficiently diverse communities (<xref ref-type="bibr" rid="bib11">Cui et al., 2021</xref>). This simplification allows us to test whether particular ensembles of resource consumption rates can reproduce the time series statistics we observe. Specifically, we considered an ensemble in which each <inline-formula><mml:math id="inf10"><mml:msub><mml:mrow><mml:mi>R</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> was randomly selected from a uniform distribution between 0 and <inline-formula><mml:math id="inf11"><mml:msub><mml:mrow><mml:mi>R</mml:mi></mml:mrow><mml:mrow><mml:mtext>max</mml:mtext></mml:mrow></mml:msub></mml:math></inline-formula>. To model the sparsity of resource competition within the community, each <inline-formula><mml:math id="inf12"><mml:msub><mml:mrow><mml:mi>R</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> was set to zero with probability <inline-formula><mml:math id="inf13"><mml:mi>S</mml:mi></mml:math></inline-formula> (<xref ref-type="fig" rid="fig1">Figure 1A</xref>). This ensemble approach allows us to represent arbitrarily large communities with just two global parameters, <inline-formula><mml:math id="inf14"><mml:mi>S</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="inf15"><mml:msub><mml:mrow><mml:mi>R</mml:mi></mml:mrow><mml:mrow><mml:mtext>max</mml:mtext></mml:mrow></mml:msub></mml:math></inline-formula>.</p><fig-group><fig id="fig1" position="float"><label>Figure 1.</label><caption><title>A coarse-grained consumer-resource model with fluctuating resource amounts.</title><p>(<bold>A</bold>) In the consumer-resource model, <inline-formula><mml:math id="inf16"><mml:msub><mml:mrow><mml:mi>X</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> denotes the abundance (abu) of consumer <italic>i</italic> and <inline-formula><mml:math id="inf17"><mml:msub><mml:mrow><mml:mi>Y</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> denotes the amount of coarse-grained resource <inline-formula><mml:math id="inf18"><mml:mi>j</mml:mi></mml:math></inline-formula>. The dynamics of the model are specified by consumption rates <inline-formula><mml:math id="inf19"><mml:msub><mml:mrow><mml:mi>R</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> for <inline-formula><mml:math id="inf20"><mml:mi>N</mml:mi></mml:math></inline-formula> consumers and <inline-formula><mml:math id="inf21"><mml:mi>M</mml:mi></mml:math></inline-formula> resources. <inline-formula><mml:math id="inf22"><mml:msub><mml:mrow><mml:mi>R</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> is drawn from a uniform distribution, and each <inline-formula><mml:math id="inf23"><mml:msub><mml:mrow><mml:mi>R</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> is set to zero with probability <inline-formula><mml:math id="inf24"><mml:mi>S</mml:mi></mml:math></inline-formula>, the sparsity of resource competition. The initial resource amount <inline-formula><mml:math id="inf25"><mml:msub><mml:mrow><mml:mi>Y</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:msub><mml:mfenced separators="|"><mml:mrow><mml:mi>T</mml:mi></mml:mrow></mml:mfenced></mml:math></inline-formula> at each sampling time <inline-formula><mml:math id="inf26"><mml:mi>T</mml:mi></mml:math></inline-formula> fluctuates with noise strength <inline-formula><mml:math id="inf27"><mml:mi>σ</mml:mi></mml:math></inline-formula> and restoring force <inline-formula><mml:math id="inf28"><mml:mi>k</mml:mi></mml:math></inline-formula>. <inline-formula><mml:math id="inf29"><mml:mi>N</mml:mi></mml:math></inline-formula> is estimated from each data set, and the four free ensemble level parameters are highlighted in red. (<bold>B</bold>) Shown are the dynamics of the model within one sampling time (<inline-formula><mml:math id="inf30"><mml:mi>T</mml:mi><mml:mo>=</mml:mo><mml:mn>100</mml:mn></mml:math></inline-formula>, dashed gray box) for a subset of consumers and resources in a typical simulation. At each sampling time <inline-formula><mml:math id="inf31"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mi>T</mml:mi></mml:mrow></mml:mstyle></mml:math></inline-formula>, the model was simulated under a serial dilution scheme in which consumers (solid blue lines) grew until all resources (dotted green lines) were depleted, after which all consumer abundances were diluted by a fixed factor <inline-formula><mml:math id="inf32"><mml:mi>D</mml:mi><mml:mo>=</mml:mo><mml:mn>200</mml:mn></mml:math></inline-formula> and resource amounts were replenished to <inline-formula><mml:math id="inf33"><mml:msub><mml:mrow><mml:mi>Y</mml:mi></mml:mrow><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msub><mml:mfenced separators="|"><mml:mrow><mml:mi>T</mml:mi></mml:mrow></mml:mfenced></mml:math></inline-formula>. Each sampling time was initiated from an external reservoir of consumers, with all consumers present at equal abundance. Dilutions were repeated until an approximate ecological steady state was reached in which the ratios of final to initial abundances of all consumers changed by less than 5% of <inline-formula><mml:math id="inf34"><mml:mi>D</mml:mi></mml:math></inline-formula> between subsequent dilutions (Materials and methods). The relative abundances at sampling time <inline-formula><mml:math id="inf35"><mml:mi>T</mml:mi></mml:math></inline-formula> were obtained from the final species abundances at steady state. (<bold>C</bold>) The model maps a set of fluctuating resource amounts <inline-formula><mml:math id="inf36"><mml:msub><mml:mrow><mml:mi>Y</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:msub><mml:mfenced separators="|"><mml:mrow><mml:mi>T</mml:mi></mml:mrow></mml:mfenced></mml:math></inline-formula> to a time series of consumer relative abundances <inline-formula><mml:math id="inf37"><mml:msub><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mfenced separators="|"><mml:mrow><mml:mi>T</mml:mi></mml:mrow></mml:mfenced></mml:math></inline-formula> that can be compared to experimental measurements. (<bold>D</bold>) The simulated time series in (<bold>C</bold>) exhibits statistical behaviors that reproduce those found in experiments, including a power law scaling between the abundance variance and mean over time of each species (left) and an approximately exponential distribution of abundance changes (right). Black lines denote the best linear fit (left) and the best fit exponential distribution (right). The simulation shown in (<bold>A–D</bold>) was generated with <inline-formula><mml:math id="inf38"><mml:mo>(</mml:mo><mml:mi>N</mml:mi><mml:mo>,</mml:mo><mml:mi> </mml:mi><mml:mi>M</mml:mi><mml:mo>,</mml:mo><mml:mi> </mml:mi><mml:mi>S</mml:mi><mml:mo>,</mml:mo><mml:mi> </mml:mi><mml:mi>σ</mml:mi><mml:mo>,</mml:mo><mml:mi> </mml:mi><mml:mi>k</mml:mi><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:mo>(</mml:mo><mml:mn>50</mml:mn><mml:mo>,</mml:mo><mml:mi> </mml:mi><mml:mn>30</mml:mn><mml:mo>,</mml:mo><mml:mi> </mml:mi><mml:mn>0.1</mml:mn><mml:mo>,</mml:mo><mml:mi> </mml:mi><mml:mn>0.2</mml:mn><mml:mo>,</mml:mo><mml:mi> </mml:mi><mml:mn>0.8</mml:mn><mml:mo>)</mml:mo></mml:math></inline-formula>.</p></caption><graphic mime-subtype="tiff" mimetype="image" xlink:href="elife-75168-fig1-v1.tif"/></fig><fig id="fig1s1" position="float" specific-use="child-fig"><label>Figure 1—figure supplement 1.</label><caption><title>The dilution factor and steady-state threshold do not substantially affect time series statistics.</title><p>Depicted are time series statistics of relative abundances (abu) for one instance of the parameter set used in <xref ref-type="fig" rid="fig1">Figures 1</xref> and <xref ref-type="fig" rid="fig2">2</xref>, simulated using a dilution factor <inline-formula><mml:math id="inf39"><mml:mi>D</mml:mi><mml:mo>=</mml:mo><mml:mn>200</mml:mn></mml:math></inline-formula> and a steady-state threshold of 5% (solid black line), <inline-formula><mml:math id="inf40"><mml:mi>D</mml:mi><mml:mo>=</mml:mo><mml:mn>40</mml:mn></mml:math></inline-formula> or <inline-formula><mml:math id="inf41"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mi>D</mml:mi><mml:mtext> </mml:mtext><mml:mo>=</mml:mo><mml:mtext> </mml:mtext><mml:mn>1000</mml:mn></mml:mrow></mml:mstyle></mml:math></inline-formula> with a threshold of 5% (dotted gray lines), and a threshold of 1% and 10% with <inline-formula><mml:math id="inf42"><mml:mi>D</mml:mi><mml:mo>=</mml:mo><mml:mn>200</mml:mn></mml:math></inline-formula> (dashed brown and orange lines, respectively).</p></caption><graphic mime-subtype="tiff" mimetype="image" xlink:href="elife-75168-fig1-figsupp1-v1.tif"/></fig><fig id="fig1s2" position="float" specific-use="child-fig"><label>Figure 1—figure supplement 2.</label><caption><title>Reservoir composition does not substantially affect time series statistics.</title><p>(<bold>A</bold>) Depicted are model predictions using the parameter set in <xref ref-type="fig" rid="fig1">Figures 1</xref> and <xref ref-type="fig" rid="fig2">2</xref>, with two definitions of the reservoir of consumers used to initialize the dynamics at each sampling time: a uniform reservoir in which all consumers are present at equal abundance (black), and a mean reservoir equal to the steady-state composition given by the set point environment <inline-formula><mml:math id="inf43"><mml:mover accent="true"><mml:mrow><mml:msub><mml:mrow><mml:mi>Y</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo>-</mml:mo></mml:mover></mml:math></inline-formula> initialized with a uniform reservoir (light brown). Most statistics were not substantially affected. The richness was lower when initializing with the mean reservoir, but the susceptibility of richness to model parameters is expected to remain qualitatively the same. (<bold>B</bold>) Depicted are model predictions with varying reservoir fraction <inline-formula><mml:math id="inf44"><mml:mi>f</mml:mi></mml:math></inline-formula>, in which initial consumer abundances (abu) during sampling time <inline-formula><mml:math id="inf45"><mml:mi>T</mml:mi></mml:math></inline-formula> were determined by a combination of the reservoir and the steady state at the previous sampling time, <inline-formula><mml:math id="inf46"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mi>f</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mrow><mml:mover><mml:mn>1</mml:mn><mml:mo stretchy="false">→</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mo>/</mml:mo></mml:mrow><mml:mi>N</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>+</mml:mo><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mn>1</mml:mn><mml:mo>−</mml:mo><mml:mi>f</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mrow><mml:mover><mml:mi>x</mml:mi><mml:mo stretchy="false">→</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>T</mml:mi><mml:mo>−</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow></mml:mstyle></mml:math></inline-formula>. Many statistics were substantially affected by the value of <inline-formula><mml:math id="inf47"><mml:mi>f</mml:mi></mml:math></inline-formula>. Notably, the contribution from the previous steady state introduces autocorrelations, thereby increasing the mean restoring slope. Moreover, the absence of a reservoir substantially decreased richness since low abundance consumers do not have enough time to grow to high abundances even when resource levels fluctuate in their favor.</p></caption><graphic mime-subtype="tiff" mimetype="image" xlink:href="elife-75168-fig1-figsupp2-v1.tif"/></fig></fig-group><p>We simulated the dynamics in <xref ref-type="disp-formula" rid="equ2">Equation 1</xref> using a serial dilution scheme (<xref ref-type="bibr" rid="bib15">Erez et al., 2020</xref>) to mimic the punctuated turnover of gut microbiotas due to multiple feedings and defecations between sampling times. During a sampling interval <inline-formula><mml:math id="inf48"><mml:mi>T</mml:mi></mml:math></inline-formula>, each dilution cycle was seeded with an initial amount of each resource, <inline-formula><mml:math id="inf49"><mml:msub><mml:mrow><mml:mi>Y</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:msub><mml:mo>(</mml:mo><mml:mi>T</mml:mi><mml:mo>)</mml:mo></mml:math></inline-formula>, and <xref ref-type="disp-formula" rid="equ2">Equation 1</xref> was simulated until all resources were depleted (<inline-formula><mml:math id="inf50"><mml:mi>d</mml:mi><mml:msub><mml:mrow><mml:mi>Y</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>/</mml:mo><mml:mi>d</mml:mi><mml:mi>t</mml:mi><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:math></inline-formula> for all <inline-formula><mml:math id="inf51"><mml:mi>j</mml:mi></mml:math></inline-formula>). The community was then diluted by a factor <inline-formula><mml:math id="inf52"><mml:mi>D</mml:mi></mml:math></inline-formula> and resources were replenished to their initial amounts <inline-formula><mml:math id="inf53"><mml:msub><mml:mrow><mml:mi>Y</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:msub><mml:mfenced separators="|"><mml:mrow><mml:mi>T</mml:mi></mml:mrow></mml:mfenced></mml:math></inline-formula> (<xref ref-type="fig" rid="fig1">Figure 1B</xref>). To mimic the effects of a reservoir of species that could potentially compete for the resources (<xref ref-type="bibr" rid="bib33">Ng et al., 2019</xref>), we initialized the first dilution cycle of each sampling interval by assuming that <inline-formula><mml:math id="inf54"><mml:mi>N</mml:mi></mml:math></inline-formula> consumers were present at equal abundance. Additional dilution cycles were then performed until an approximate ecological steady state was reached (<xref ref-type="fig" rid="fig1">Figure 1B</xref>, Materials and methods). Consumer abundances at sampling time <inline-formula><mml:math id="inf55"><mml:mi>T</mml:mi></mml:math></inline-formula> were defined by this approximate ecological steady state. For the relevant parameter regimes we considered, this approximate steady state was reached within a reasonable number of generations (5–6 dilutions or ~40 generations for <inline-formula><mml:math id="inf56"><mml:mi>D</mml:mi><mml:mo>=</mml:mo><mml:mn>200</mml:mn></mml:math></inline-formula>). Although the precise details of microbiota turnover are largely unknown in humans, our modeling results were robust to the precise value of <inline-formula><mml:math id="inf57"><mml:mi>D</mml:mi></mml:math></inline-formula> and threshold for ecological steady state (<xref ref-type="fig" rid="fig1s1">Figure 1—figure supplement 1</xref>). Similarly, our results did not depend on the precise composition of the reservoir (<xref ref-type="fig" rid="fig1s2">Figure 1—figure supplement 2</xref>), although they did depend on its existence and relative size (<xref ref-type="fig" rid="fig1s2">Figure 1—figure supplement 2</xref>).</p><p>Under the assumptions of this model, any temporal variation in consumer abundances must arise through external fluctuations in the initial resource levels <inline-formula><mml:math id="inf58"><mml:msub><mml:mrow><mml:mi>Y</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:msub><mml:mfenced separators="|"><mml:mrow><mml:mi>T</mml:mi></mml:mrow></mml:mfenced></mml:math></inline-formula>, which might come, for example, from dietary fluctuations. To model these fluctuations, we assumed that the initial resource levels undergo a biased random walk around their average values <inline-formula><mml:math id="inf59"><mml:mover accent="true"><mml:mrow><mml:msub><mml:mrow><mml:mi>Y</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo>-</mml:mo></mml:mover></mml:math></inline-formula>:<disp-formula id="equ3"><label>(2)</label><mml:math id="m3"><mml:mrow><mml:msub><mml:mi>Y</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>T</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mrow><mml:mo>|</mml:mo><mml:mrow><mml:msub><mml:mi>Y</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>T</mml:mi><mml:mo>−</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>−</mml:mo><mml:mi>k</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>Y</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>T</mml:mi><mml:mo>−</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>−</mml:mo><mml:mover><mml:msub><mml:mi>Y</mml:mi><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>−</mml:mo></mml:mover></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>+</mml:mo><mml:mi>σ</mml:mi><mml:mover><mml:msub><mml:mi>Y</mml:mi><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>−</mml:mo></mml:mover><mml:msub><mml:mi>ξ</mml:mi><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>T</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mo>|</mml:mo></mml:mrow><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula></p><p>where <inline-formula><mml:math id="inf60"><mml:msub><mml:mrow><mml:mi>ξ</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mfenced separators="|"><mml:mrow><mml:mi>T</mml:mi></mml:mrow></mml:mfenced></mml:math></inline-formula> is a normally distributed random variable with zero mean and unit variance, <inline-formula><mml:math id="inf61"><mml:mi>σ</mml:mi></mml:math></inline-formula> determines the magnitude of resource fluctuations, and <inline-formula><mml:math id="inf62"><mml:mi>k</mml:mi></mml:math></inline-formula> is the strength of a restoring force that ensures the same resource environment on average over time (<xref ref-type="fig" rid="fig1">Figure 1A</xref>). The absolute value enforces <inline-formula><mml:math id="inf63"><mml:msub><mml:mrow><mml:mi>Y</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:msub></mml:math></inline-formula> to be positive. If <inline-formula><mml:math id="inf64"><mml:mi>k</mml:mi><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:math></inline-formula>, there is no restoring force and hence <inline-formula><mml:math id="inf65"><mml:msub><mml:mrow><mml:mi>Y</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:msub><mml:mfenced separators="|"><mml:mrow><mml:mi>T</mml:mi></mml:mrow></mml:mfenced></mml:math></inline-formula> performs an unbiased random walk; if <inline-formula><mml:math id="inf66"><mml:mi>k</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:math></inline-formula>, <inline-formula><mml:math id="inf67"><mml:msub><mml:mrow><mml:mi>Y</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:msub><mml:mfenced separators="|"><mml:mrow><mml:mi>T</mml:mi></mml:mrow></mml:mfenced></mml:math></inline-formula> fluctuates about its set point <inline-formula><mml:math id="inf68"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mrow><mml:mover><mml:msub><mml:mi>Y</mml:mi><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">¯</mml:mo></mml:mover></mml:mrow></mml:mrow></mml:mstyle></mml:math></inline-formula> independent of its value at the previous sampling time. For all <inline-formula><mml:math id="inf69"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mi>k</mml:mi><mml:mo>&gt;</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:mstyle></mml:math></inline-formula>, the model exhibits long-term stability without drift. As above, we used an ensemble approach to model the set points <inline-formula><mml:math id="inf70"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mrow><mml:mover><mml:msub><mml:mi>Y</mml:mi><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">¯</mml:mo></mml:mover></mml:mrow></mml:mrow></mml:mstyle></mml:math></inline-formula>, assuming that each <inline-formula><mml:math id="inf71"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mrow><mml:mover><mml:msub><mml:mi>Y</mml:mi><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">¯</mml:mo></mml:mover></mml:mrow></mml:mrow></mml:mstyle></mml:math></inline-formula> was independently drawn from a uniform distribution between <inline-formula><mml:math id="inf72"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:mstyle></mml:math></inline-formula> and <inline-formula><mml:math id="inf73"><mml:msub><mml:mrow><mml:mi>Y</mml:mi></mml:mrow><mml:mrow><mml:mtext>max</mml:mtext></mml:mrow></mml:msub></mml:math></inline-formula>. These assumptions yield a Markov chain of fluctuating resource amounts <inline-formula><mml:math id="inf74"><mml:msub><mml:mrow><mml:mi>Y</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:msub><mml:mfenced separators="|"><mml:mrow><mml:mi>T</mml:mi></mml:mrow></mml:mfenced></mml:math></inline-formula> and their corresponding consumer relative abundances <inline-formula><mml:math id="inf75"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>T</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:msub><mml:mi>X</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>T</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mrow><mml:mo>/</mml:mo></mml:mrow><mml:munder><mml:mo>∑</mml:mo><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:munder><mml:msub><mml:mi>X</mml:mi><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>T</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:mrow></mml:mstyle></mml:math></inline-formula> (<xref ref-type="fig" rid="fig1">Figure 1C</xref>).</p><p>The statistical properties of these time series are primarily determined by five global parameters: the total number of consumers in the reservoir <inline-formula><mml:math id="inf76"><mml:mi>N</mml:mi></mml:math></inline-formula>, the number of resources in the environment <inline-formula><mml:math id="inf77"><mml:mi>M</mml:mi></mml:math></inline-formula>, the sparsity <inline-formula><mml:math id="inf78"><mml:mi>S</mml:mi></mml:math></inline-formula> of the resource consumption matrix, and the resource fluctuation parameters <inline-formula><mml:math id="inf79"><mml:mi>σ</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="inf80"><mml:mi>k</mml:mi></mml:math></inline-formula>. The absolute magnitudes of <inline-formula><mml:math id="inf81"><mml:msub><mml:mrow><mml:mi>R</mml:mi></mml:mrow><mml:mrow><mml:mtext>max</mml:mtext></mml:mrow></mml:msub></mml:math></inline-formula> and <inline-formula><mml:math id="inf82"><mml:msub><mml:mrow><mml:mi>Y</mml:mi></mml:mrow><mml:mrow><mml:mtext>max</mml:mtext></mml:mrow></mml:msub></mml:math></inline-formula> are not important for our purposes since they do not affect the predictions of consumer relative abundances at ecological steady state. We extracted <inline-formula><mml:math id="inf83"><mml:mi>N</mml:mi></mml:math></inline-formula> from experimental data as the number of consumers that were present for at least one sampling time point, leaving only four free global parameters.</p><p>Previous studies have suggested that the family level is an appropriate coarse graining of metabolic capabilities (<xref ref-type="bibr" rid="bib19">Goldford et al., 2018</xref>; <xref ref-type="bibr" rid="bib29">Louca et al., 2016</xref>; <xref ref-type="bibr" rid="bib43">Tian et al., 2020</xref>), thus we assumed, unless otherwise specified, that each consumer grouping i within our model represents a taxonomic family, and combined abundances of empirical operational taxonomic units (OTUs) or amplicon sequencing variants (ASVs; <xref ref-type="bibr" rid="bib6">Callahan et al., 2016</xref>) at the family level for analyses (Materials and methods). Given the typical limits of detection of 16S amplicon sequencing data sets, we only examined time series statistics for taxa with relative abundance &gt;10<sup>–4</sup> at any given time point. Experimental and simulated data were processed equivalently to enable consistent comparisons of their time series statistics.</p><p>As expected, we found that random realizations of our model (i.e., different resource consumption matrices drawn from the same ensemble) generated similar time series statistics, whose typical behavior strongly varied with the global parameters of the model. In particular, only small subsets of the parameters led to time series statistics that agreed with experiments, as we show below. An example simulation using the macroscopic parameters <inline-formula><mml:math id="inf84"><mml:mfenced separators="|"><mml:mrow><mml:mi>N</mml:mi><mml:mo>,</mml:mo><mml:mi>M</mml:mi><mml:mo>,</mml:mo><mml:mi>S</mml:mi><mml:mo>,</mml:mo><mml:mi>σ</mml:mi><mml:mo>,</mml:mo><mml:mi> </mml:mi><mml:mi>k</mml:mi></mml:mrow></mml:mfenced><mml:mo>=</mml:mo><mml:mfenced separators="|"><mml:mrow><mml:mn>50</mml:mn><mml:mo>,</mml:mo><mml:mi> </mml:mi><mml:mn>30</mml:mn><mml:mo>,</mml:mo><mml:mi> </mml:mi><mml:mn>0.1</mml:mn><mml:mo>,</mml:mo><mml:mi> </mml:mi><mml:mn>0.2</mml:mn><mml:mo>,</mml:mo><mml:mi> </mml:mi><mml:mn>0.8</mml:mn></mml:mrow></mml:mfenced></mml:math></inline-formula> is shown in <xref ref-type="fig" rid="fig1">Figure 1</xref>. This set of parameters produced relative abundance time series with highly similar statistical behaviors as in experiments involving daily sampling of human stool (<xref ref-type="fig" rid="fig1">Figure 1D</xref>). Given this agreement, we next systematically analyzed the time series statistics generated by our model across the macroscopic parameter space and compared against experimental behaviors to estimate model parameters for wide-ranging microbiotas.</p></sec><sec id="s2-2"><title>Model reproduces the statistics of human gut microbiota time series</title><p>To test whether our model can recapitulate major features of experimental time series, we first focused on a data set of daily sampling of the gut microbiota from a human subject (<xref ref-type="bibr" rid="bib7">Caporaso et al., 2011</xref>; <xref ref-type="fig" rid="fig2">Figure 2</xref>). These data were previously shown (<xref ref-type="bibr" rid="bib23">Ji et al., 2020</xref>) to exhibit several distinctive statistical behaviors: (1) the variance <inline-formula><mml:math id="inf85"><mml:msubsup><mml:mrow><mml:mi>σ</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup></mml:math></inline-formula> of family <italic>i</italic> over the sampling period scaled as a power law with its mean <inline-formula><mml:math id="inf86"><mml:mfenced close="〉" open="〈" separators="|"><mml:mrow><mml:msub><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfenced></mml:math></inline-formula> (<xref ref-type="fig" rid="fig2">Figure 2B and F</xref>); (2) the log<sub>10</sub>(abundance change) <inline-formula><mml:math id="inf87"><mml:msub><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mfenced separators="|"><mml:mrow><mml:mi>T</mml:mi></mml:mrow></mml:mfenced><mml:mo>=</mml:mo><mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi mathvariant="normal">log</mml:mi></mml:mrow><mml:mrow><mml:mn>10</mml:mn></mml:mrow></mml:msub></mml:mrow><mml:mo>⁡</mml:mo><mml:mrow><mml:mfenced separators="|"><mml:mrow><mml:msub><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mfenced separators="|"><mml:mrow><mml:mi>T</mml:mi><mml:mo>+</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:mfenced><mml:mo>/</mml:mo><mml:msub><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mfenced separators="|"><mml:mrow><mml:mi>T</mml:mi></mml:mrow></mml:mfenced></mml:mrow></mml:mfenced></mml:mrow></mml:mrow></mml:math></inline-formula> , pooled over all families and across all sampling times, was well fit by an exponential distribution with standard deviation <inline-formula><mml:math id="inf88"><mml:msub><mml:mrow><mml:mi>σ</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>l</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> (<xref ref-type="fig" rid="fig2">Figure 2B and G</xref>); and (3) the distributions of residence times <inline-formula><mml:math id="inf89"><mml:msub><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:mtext>res</mml:mtext></mml:mrow></mml:msub></mml:math></inline-formula> and return times <inline-formula><mml:math id="inf90"><mml:msub><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:mtext>ret</mml:mtext></mml:mrow></mml:msub></mml:math></inline-formula> (the durations of sustained presence and absence, respectively) pooled over all families were well fit by power laws with an exponential cutoff (<xref ref-type="fig" rid="fig2">Figure 2D and K</xref>). Through an exhaustive search of parameter space, we identified a specific combination of parameters that could reproduce all of these behaviors within our simple CR model (<xref ref-type="fig" rid="fig2">Figure 2F, G and K</xref>).</p><fig-group><fig id="fig2" position="float"><label>Figure 2.</label><caption><title>A coarse-grained consumer-resource model with fluctuating resource amounts reproduces experimentally observed statistics in an abundance time series from daily sampling of a human gut microbiota.</title><p>In all panels, blue points and bars denote experimental data analyzed and aggregated at the family level (<xref ref-type="bibr" rid="bib7">Caporaso et al., 2011</xref>). Red lines and shading denote best fit model predictions as the mean and standard deviation, respectively, across 20 random instances of the best fit ensemble level parameters, <inline-formula><mml:math id="inf91"><mml:mo>(</mml:mo><mml:mi>N</mml:mi><mml:mo>,</mml:mo><mml:mi> </mml:mi><mml:mi>M</mml:mi><mml:mo>,</mml:mo><mml:mi> </mml:mi><mml:mi>S</mml:mi><mml:mo>,</mml:mo><mml:mi> </mml:mi><mml:mi>σ</mml:mi><mml:mo>,</mml:mo><mml:mi> </mml:mi><mml:mi>k</mml:mi><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:mo>(</mml:mo><mml:mn>50</mml:mn><mml:mo>,</mml:mo><mml:mi> </mml:mi><mml:mn>30</mml:mn><mml:mo>,</mml:mo><mml:mi> </mml:mi><mml:mn>0.1</mml:mn><mml:mo>,</mml:mo><mml:mi> </mml:mi><mml:mn>0.2</mml:mn><mml:mo>,</mml:mo><mml:mi> </mml:mi><mml:mn>0.8</mml:mn><mml:mo>)</mml:mo></mml:math></inline-formula>. (<bold>A–D</bold>) Illustrations of various time series statistics in (<bold>E–L</bold>). (<bold>A</bold>) The distribution of richness <inline-formula><mml:math id="inf92"><mml:mi>α</mml:mi></mml:math></inline-formula>, the number of consumers present at a sampling time, and its mean <inline-formula><mml:math id="inf93"><mml:mfenced close="〉" open="〈" separators="|"><mml:mrow><mml:mi>α</mml:mi></mml:mrow></mml:mfenced></mml:math></inline-formula> are well fit by the model. (<bold>B</bold>) The variance <inline-formula><mml:math id="inf94"><mml:msubsup><mml:mrow><mml:mi>σ</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup></mml:math></inline-formula> and mean <inline-formula><mml:math id="inf95"><mml:mfenced close="〉" open="〈" separators="|"><mml:mrow><mml:msub><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfenced></mml:math></inline-formula> over time of each family’s abundance (abu) scale as a power law with exponent <inline-formula><mml:math id="inf96"><mml:mi>β</mml:mi></mml:math></inline-formula>. Here, <inline-formula><mml:math id="inf97"><mml:mi>β</mml:mi><mml:mo>=</mml:mo><mml:mn>1.48</mml:mn></mml:math></inline-formula> in experimental data and in simulations. (<bold>C</bold>) The distribution of log<sub>10</sub>(abundance change) <inline-formula><mml:math id="inf98"><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>l</mml:mi></mml:math></inline-formula> across all families is well fit by an exponential with standard deviation <inline-formula><mml:math id="inf99"><mml:msub><mml:mrow><mml:mi>σ</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>l</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> . The gray line denotes the best fit exponential distribution, and is largely overlapping with the model prediction in red. (<bold>D</bold>) The distribution of restoring slopes <inline-formula><mml:math id="inf100"><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> , defined based on the linear regression between the abundance change and the relative abundance for a species across time, is tightly distributed around a mean <inline-formula><mml:math id="inf101"><mml:mfenced close="〉" open="〈" separators="|"><mml:mrow><mml:mi>s</mml:mi></mml:mrow></mml:mfenced></mml:math></inline-formula> that reflects the environmental restoring force. Best fit values of model parameters were determined by minimizing errors in <inline-formula><mml:math id="inf102"><mml:mfenced close="〉" open="〈" separators="|"><mml:mrow><mml:mi>α</mml:mi></mml:mrow></mml:mfenced></mml:math></inline-formula> , <inline-formula><mml:math id="inf103"><mml:mi>β</mml:mi></mml:math></inline-formula>, <inline-formula><mml:math id="inf104"><mml:msub><mml:mrow><mml:mi>σ</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>l</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> , and <inline-formula><mml:math id="inf105"><mml:mfenced close="〉" open="〈" separators="|"><mml:mrow><mml:mi>s</mml:mi></mml:mrow></mml:mfenced></mml:math></inline-formula> (E–H, respectively). Using these values, our model also reproduced the distribution of prevalences (fraction of sampling times in which a consumer is present,<bold> I</bold>), the relationship between prevalence and mean abundance (<bold>J</bold>), the distributions of residence and return times (durations of sustained presence or absence, respectively, as illustrated in <bold>D</bold>) (<bold>K</bold>), and the rank distribution of abundances (<bold>L</bold>).</p></caption><graphic mime-subtype="tiff" mimetype="image" xlink:href="elife-75168-fig2-v1.tif"/></fig><fig id="fig2s1" position="float" specific-use="child-fig"><label>Figure 2—figure supplement 1.</label><caption><title>Grouping at a coarser taxonomic level results in similar time series statistics.</title><p>Shown are data from <xref ref-type="bibr" rid="bib7">Caporaso et al., 2011</xref>, as in <xref ref-type="fig" rid="fig2">Figure 2</xref>, but with relative abundances (abu) grouped and analyzed at the class instead of family level. The best fit model predictions are shown, with best fit parameters <inline-formula><mml:math id="inf106"><mml:mfenced separators="|"><mml:mrow><mml:mi>N</mml:mi><mml:mo>,</mml:mo><mml:mi>M</mml:mi><mml:mo>,</mml:mo><mml:mi>S</mml:mi><mml:mo>,</mml:mo><mml:mi>σ</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:mfenced><mml:mo>=</mml:mo><mml:mfenced separators="|"><mml:mrow><mml:mn>20,30,0.4,0.2,0.6</mml:mn></mml:mrow></mml:mfenced></mml:math></inline-formula>.</p></caption><graphic mime-subtype="tiff" mimetype="image" xlink:href="elife-75168-fig2-figsupp1-v1.tif"/></fig><fig id="fig2s2" position="float" specific-use="child-fig"><label>Figure 2—figure supplement 2.</label><caption><title>The consumer-resource (CR) model can reproduce time series statistics at the genus level of a human gut microbiota.</title><p>Shown are data from <xref ref-type="bibr" rid="bib7">Caporaso et al., 2011</xref>, as in <xref ref-type="fig" rid="fig2">Figure 2</xref>, but with relative abundances (abu) grouped and analyzed at the genus level. Data are compared against the CR model with the best fit parameters shown. The rank distribution of mean abundances shown in light blue was obtained after removing the dominant <italic>Bacteroides</italic> genus and recomputing relative abundances.</p></caption><graphic mime-subtype="tiff" mimetype="image" xlink:href="elife-75168-fig2-figsupp2-v1.tif"/></fig></fig-group><p>In addition, several other important statistics were reproduced without any additional fitting: (1) the distribution of richness <inline-formula><mml:math id="inf107"><mml:mi>α</mml:mi><mml:mfenced separators="|"><mml:mrow><mml:mi>T</mml:mi></mml:mrow></mml:mfenced></mml:math></inline-formula> , the number of consumers present at sampling time <inline-formula><mml:math id="inf108"><mml:mi>T</mml:mi></mml:math></inline-formula> (<xref ref-type="fig" rid="fig2">Figure 2A and E</xref>); (2) the distribution of the restoring slopes <inline-formula><mml:math id="inf109"><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> of the linear regression of <inline-formula><mml:math id="inf110"><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mfenced separators="|"><mml:mrow><mml:mi>T</mml:mi></mml:mrow></mml:mfenced></mml:math></inline-formula> against <inline-formula><mml:math id="inf111"><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mfenced separators="|"><mml:mrow><mml:mi>T</mml:mi></mml:mrow></mml:mfenced><mml:mo>≡</mml:mo><mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi mathvariant="normal">log</mml:mi></mml:mrow><mml:mrow><mml:mn>10</mml:mn></mml:mrow></mml:msub></mml:mrow><mml:mo>⁡</mml:mo><mml:mrow><mml:mfenced separators="|"><mml:mrow><mml:msub><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mfenced separators="|"><mml:mrow><mml:mi>T</mml:mi></mml:mrow></mml:mfenced></mml:mrow></mml:mfenced></mml:mrow></mml:mrow></mml:math></inline-formula> across all <inline-formula><mml:math id="inf112"><mml:mi>T</mml:mi></mml:math></inline-formula> (<xref ref-type="fig" rid="fig2">Figure 2C and H</xref>); (3) the distribution of prevalences <inline-formula><mml:math id="inf113"><mml:msub><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> , the fraction of sampling times for which family <italic>i</italic> is present (<xref ref-type="fig" rid="fig2">Figure 2A1</xref>); (4) the relationship between <inline-formula><mml:math id="inf114"><mml:msub><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> and <inline-formula><mml:math id="inf115"><mml:mfenced close="〉" open="〈" separators="|"><mml:mrow><mml:msub><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfenced></mml:math></inline-formula> (<xref ref-type="fig" rid="fig2">Figure 2J</xref>); and (5) the rank distribution of mean abundances <inline-formula><mml:math id="inf116"><mml:mfenced close="〉" open="〈" separators="|"><mml:mrow><mml:msub><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfenced></mml:math></inline-formula> (<xref ref-type="fig" rid="fig2">Figure 2L</xref>).</p><p>Therefore, our model was able to simultaneously capture at least eight statistical behaviors in a microbiota time series with only four parameters, each of which may represent biologically relevant features of the community.</p><p>To determine whether our model can be used to analyze time series statistics at other taxonomic levels, we analyzed the same data set (<xref ref-type="bibr" rid="bib7">Caporaso et al., 2011</xref>) at finer (genus) and coarser (class) taxonomic levels, both of which exhibited qualitatively similar statistical behaviors as the family level. Our modeling framework was able to quantitatively recapitulate almost all statistics at both levels (<xref ref-type="fig" rid="fig2s1">Figure 2—figure supplements 1</xref> and <xref ref-type="fig" rid="fig2s2">2</xref>). A notable exception is that the <italic>Bacteroides</italic> genus dominated the observed rank abundance distribution at the genus level, while our CR model predicted a more even distribution (<xref ref-type="fig" rid="fig2s2">Figure 2—figure supplement 2</xref>). Nevertheless, the relative abundances among the remaining genera were still well captured by the model predictions (<xref ref-type="fig" rid="fig2s2">Figure 2—figure supplement 2</xref>). These results demonstrate that our model and its applications can be generalized across taxonomic levels.</p></sec><sec id="s2-3"><title>Systematic characterization of the effects of CR dynamics on time series statistics</title><p>Since our model can reproduce the observed statistics in gut microbiota time series, we sought to determine how these statistics would respond to changes in model parameters, and thus how experimental measurements constrain the ensemble parameters across various data sets. To do so, we simulated our model across all relevant regions of parameter space. <inline-formula><mml:math id="inf117"><mml:mi>S</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="inf118"><mml:mi>k</mml:mi></mml:math></inline-formula> were varied across their entire ranges, and <inline-formula><mml:math id="inf119"><mml:mi>M</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="inf120"><mml:mi>σ</mml:mi></mml:math></inline-formula> were varied across relevant regions outside of which the model clearly disagreed with the observed data. For each set of parameters, each time series statistic was averaged across random instances of <inline-formula><mml:math id="inf121"><mml:msub><mml:mrow><mml:mi>R</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> and <inline-formula><mml:math id="inf122"><mml:msub><mml:mrow><mml:mi>Y</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:msub><mml:mfenced separators="|"><mml:mrow><mml:mi>T</mml:mi></mml:mrow></mml:mfenced></mml:math></inline-formula> drawn from the same statistical ensemble. For each statistic <inline-formula><mml:math id="inf123"><mml:mi>z</mml:mi></mml:math></inline-formula>, its global susceptibility <inline-formula><mml:math id="inf124"><mml:mi>C</mml:mi><mml:mo>(</mml:mo><mml:mi>z</mml:mi><mml:mo>,</mml:mo><mml:mi>w</mml:mi><mml:mo>)</mml:mo></mml:math></inline-formula> to parameter <inline-formula><mml:math id="inf125"><mml:mi>w</mml:mi></mml:math></inline-formula> was calculated as the change in <inline-formula><mml:math id="inf126"><mml:mi>z</mml:mi></mml:math></inline-formula> when <inline-formula><mml:math id="inf127"><mml:mi>w</mml:mi></mml:math></inline-formula> is varied, averaged over all other parameters and normalized by the standard deviation of <inline-formula><mml:math id="inf128"><mml:mi>z</mml:mi></mml:math></inline-formula> across the entire parameter space. Due to the normalization, <inline-formula><mml:math id="inf129"><mml:mi>C</mml:mi><mml:mfenced separators="|"><mml:mrow><mml:mi>z</mml:mi><mml:mo>,</mml:mo><mml:mi>w</mml:mi></mml:mrow></mml:mfenced></mml:math></inline-formula> varies approximately between –3 and 3, where a magnitude close to 3 indicates that almost all the variance of <inline-formula><mml:math id="inf130"><mml:mi>z</mml:mi></mml:math></inline-formula> is due to changing <inline-formula><mml:math id="inf131"><mml:mi>w</mml:mi></mml:math></inline-formula>.</p><p>By clustering and ranking susceptibilities, we identified four statistics with <inline-formula><mml:math id="inf132"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mrow><mml:mo>|</mml:mo><mml:mrow><mml:mi>C</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>z</mml:mi><mml:mo>,</mml:mo><mml:mi>w</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mo>|</mml:mo></mml:mrow><mml:mo>&gt;</mml:mo><mml:mn>2</mml:mn></mml:mrow></mml:mstyle></mml:math></inline-formula> that were largely determined by one of each of the four model parameters (<xref ref-type="fig" rid="fig3">Figure 3</xref>, <xref ref-type="fig" rid="fig3s1">Figure 3—figure supplement 1</xref>): mean richness <inline-formula><mml:math id="inf133"><mml:mfenced close="〉" open="〈" separators="|"><mml:mrow><mml:mi>α</mml:mi></mml:mrow></mml:mfenced></mml:math></inline-formula>, the power law exponent <inline-formula><mml:math id="inf134"><mml:mi>β</mml:mi></mml:math></inline-formula> of <inline-formula><mml:math id="inf135"><mml:msubsup><mml:mrow><mml:mi>σ</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup></mml:math></inline-formula> versus <inline-formula><mml:math id="inf136"><mml:mfenced close="〉" open="〈" separators="|"><mml:mrow><mml:msub><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfenced></mml:math></inline-formula>, the standard deviation in log<sub>10</sub>(abundance change) <inline-formula><mml:math id="inf137"><mml:msub><mml:mrow><mml:mi>σ</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>l</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula>, and the mean restoring slope <inline-formula><mml:math id="inf138"><mml:mfenced close="〉" open="〈" separators="|"><mml:mrow><mml:mi>s</mml:mi></mml:mrow></mml:mfenced></mml:math></inline-formula> were almost exclusively susceptible to variations in <inline-formula><mml:math id="inf139"><mml:mi>M</mml:mi></mml:math></inline-formula>, <inline-formula><mml:math id="inf140"><mml:mi>S</mml:mi></mml:math></inline-formula>, <inline-formula><mml:math id="inf141"><mml:mi>σ</mml:mi></mml:math></inline-formula>, and <inline-formula><mml:math id="inf142"><mml:mi>k</mml:mi></mml:math></inline-formula>, respectively. Similar results were also obtained for local versions of the susceptibility, in which individual parameters were varied around the best fit values for the human gut microbiota in <xref ref-type="fig" rid="fig2">Figure 2</xref> (<xref ref-type="fig" rid="fig3s2">Figure 3-figure supplement 2</xref>). These susceptibilities broadly illustrate how various time series statistics are affected by coarse-grained parameters of resource competition; we further investigate some specific examples in the next section.</p><fig-group><fig id="fig3" position="float"><label>Figure 3.</label><caption><title>Macroscopic parameters of resource competition affect time series statistics in distinct manners.</title><p>Shown are the changes in time series statistics (<italic>y</italic>-axis) in response to changes in model parameters (<italic>x</italic>-axis) for a comprehensive search across relevant regions of parameter space. Lines and shading show the mean and standard deviation of a statistic at the given parameter value across variations in all other parameters. Data are plotted in red when the corresponding susceptibility <inline-formula><mml:math id="inf143"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mrow><mml:mo>|</mml:mo><mml:mrow><mml:mi>C</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>z</mml:mi><mml:mo>,</mml:mo><mml:mi>w</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mo>|</mml:mo></mml:mrow><mml:mo>&gt;</mml:mo><mml:mn>2</mml:mn></mml:mrow></mml:mstyle></mml:math></inline-formula>, indicating that statistic <inline-formula><mml:math id="inf144"><mml:mi>z</mml:mi></mml:math></inline-formula> is strongly affected by parameter <inline-formula><mml:math id="inf145"><mml:mi>w</mml:mi></mml:math></inline-formula> regardless of the values of other parameters. Dashed lines highlight best fit parameter values to the experimental data in <xref ref-type="fig" rid="fig2">Figure 2</xref>. Simulations were carried out for <inline-formula><mml:math id="inf146"><mml:mi>N</mml:mi><mml:mo>=</mml:mo><mml:mn>50</mml:mn></mml:math></inline-formula> across <inline-formula><mml:math id="inf147"><mml:mi>M</mml:mi><mml:mo>∈</mml:mo><mml:mfenced close="]" open="[" separators="|"><mml:mrow><mml:mn>10</mml:mn><mml:mo>,</mml:mo><mml:mi> </mml:mi><mml:mn>20</mml:mn><mml:mo>,</mml:mo><mml:mi> </mml:mi><mml:mn>30</mml:mn><mml:mo>,</mml:mo><mml:mi> </mml:mi><mml:mn>40</mml:mn><mml:mo>,</mml:mo><mml:mi> </mml:mi><mml:mn>50</mml:mn><mml:mo>,</mml:mo><mml:mi> </mml:mi><mml:mn>100</mml:mn><mml:mo>,</mml:mo><mml:mi> </mml:mi><mml:mn>150</mml:mn><mml:mo>,</mml:mo><mml:mi> </mml:mi><mml:mn>200</mml:mn><mml:mo>,</mml:mo><mml:mi> </mml:mi><mml:mn>250</mml:mn></mml:mrow></mml:mfenced></mml:math></inline-formula> , <inline-formula><mml:math id="inf148"><mml:mi>S</mml:mi><mml:mo>∈</mml:mo><mml:mfenced close="]" open="[" separators="|"><mml:mrow><mml:mn>0.1</mml:mn><mml:mo>,</mml:mo><mml:mi> </mml:mi><mml:mn>0.9</mml:mn></mml:mrow></mml:mfenced></mml:math></inline-formula> in 0.1 increments, <inline-formula><mml:math id="inf149"><mml:mi>σ</mml:mi><mml:mo>∈</mml:mo><mml:mo>[</mml:mo><mml:mn>0.05</mml:mn><mml:mo>,</mml:mo><mml:mi> </mml:mi><mml:mn>0.5</mml:mn><mml:mo>]</mml:mo></mml:math></inline-formula> in 0.05 increments, and <inline-formula><mml:math id="inf150"><mml:mi>k</mml:mi><mml:mo>∈</mml:mo><mml:mo>[</mml:mo><mml:mn>0.1</mml:mn><mml:mo>,</mml:mo><mml:mi> </mml:mi><mml:mn>1</mml:mn><mml:mo>]</mml:mo></mml:math></inline-formula> in 0.1 increments.</p></caption><graphic mime-subtype="tiff" mimetype="image" xlink:href="elife-75168-fig3-v1.tif"/></fig><fig id="fig3s1" position="float" specific-use="child-fig"><label>Figure 3—figure supplement 1.</label><caption><title>Time series statistics are differentially susceptible to model parameters.</title><p>Twenty-eight relative abundance (abu) time series statistics were clustered (A) and ranked (B) according to their susceptibilities to identify statistics that strongly constrain the values of key parameters.</p></caption><graphic mime-subtype="tiff" mimetype="image" xlink:href="elife-75168-fig3-figsupp1-v1.tif"/></fig><fig id="fig3s2" position="float" specific-use="child-fig"><label>Figure 3—figure supplement 2.</label><caption><title>Local susceptibilities behave similarly to their global counterparts.</title><p>Shown are changes in time series statistics (<italic>y</italic>-axis) in response to changes in model parameters (<italic>x</italic>-axis) as in <xref ref-type="fig" rid="fig3">Figure 3</xref>. Here, lines and shading show the mean and standard deviation of a statistic at the given parameter value with other parameters fixed to their best fit values, as opposed to <xref ref-type="fig" rid="fig3">Figure 3</xref> in which other parameters were averaged across their entire ranges. Black dots denote the best fit values.</p></caption><graphic mime-subtype="tiff" mimetype="image" xlink:href="elife-75168-fig3-figsupp2-v1.tif"/></fig><fig id="fig3s3" position="float" specific-use="child-fig"><label>Figure 3—figure supplement 3.</label><caption><title>A no-competition model provides a partial explanation for the scaling exponent <inline-formula><mml:math id="inf151"><mml:mi mathvariant="bold-italic">β</mml:mi></mml:math></inline-formula> between <inline-formula><mml:math id="inf152"><mml:msubsup><mml:mrow><mml:mi mathvariant="bold-italic">σ</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi mathvariant="bold-italic">x</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="bold-italic">i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup></mml:math></inline-formula> and <inline-formula><mml:math id="inf153"><mml:mfenced close="〉" open="〈" separators="|"><mml:mrow><mml:msub><mml:mrow><mml:mi mathvariant="bold-italic">x</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="bold-italic">i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfenced></mml:math></inline-formula> .</title><p>(<bold>A</bold>) In the no-competition model, each consumer consumes a disjoint set of resources. (<bold>B</bold>) The mean and standard deviation of the number of resources consumed per consumer determine the scaling exponent <inline-formula><mml:math id="inf154"><mml:mi>β</mml:mi></mml:math></inline-formula>. Shown is the average value of <inline-formula><mml:math id="inf155"><mml:mi>β</mml:mi></mml:math></inline-formula> over 1000 random instances of the no-competition model, across values of the mean number of resources consumed per consumer (<italic>y</italic>-axis) and the standard deviation in the number of resources consumed divided by the mean (<italic>x</italic>-axis). In this example, the model involved 10 consumers. At large mean number of resources consumed and high variance (top right), <inline-formula><mml:math id="inf156"><mml:mi>β</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:math></inline-formula>, whereas when each consumer utilizes its own unique resource (bottom left), <inline-formula><mml:math id="inf157"><mml:mi>β</mml:mi><mml:mo>=</mml:mo><mml:mn>2</mml:mn></mml:math></inline-formula>. (<bold>C</bold>) Aggregate (solid orange line) and individual (light orange lines) distributions of abundance (abu) changes are normal (gray dashed line) in the no-competition model. The distributions of abundance changes, normalized by their sample standard deviations, are shown for an example simulation with 7 ± 1 resources per consumer.</p></caption><graphic mime-subtype="tiff" mimetype="image" xlink:href="elife-75168-fig3-figsupp3-v1.tif"/></fig><fig id="fig3s4" position="float" specific-use="child-fig"><label>Figure 3—figure supplement 4.</label><caption><title>Sparsity and the number of metabolites determine the shape of the distribution of abundance changes <inline-formula><mml:math id="inf158"><mml:mi mathvariant="bold-italic">P</mml:mi><mml:mfenced separators="|"><mml:mrow><mml:mi mathvariant="bold-italic">Δ</mml:mi><mml:mi mathvariant="bold-italic">l</mml:mi></mml:mrow></mml:mfenced></mml:math></inline-formula> .</title><p>(<bold>A</bold>) Shown is the average goodness of fit (GOF, as determined by the p-value of the Kolmogorov-Smirnov test) of <inline-formula><mml:math id="inf159"><mml:mi>P</mml:mi><mml:mo>(</mml:mo><mml:mi>Δ</mml:mi><mml:mi>l</mml:mi><mml:mo>)</mml:mo></mml:math></inline-formula> to an exponential (left) or a normal (right) distribution, for the distribution aggregated over all consumers (top) or the median value across the distributions of individual consumers (bottom). Larger values (blue) denote better fits. Green letters denote examples shown in (<bold>B</bold>). The other model parameters were fixed at <inline-formula><mml:math id="inf160"><mml:mfenced separators="|"><mml:mrow><mml:mi>N</mml:mi><mml:mo>,</mml:mo><mml:mi> </mml:mi><mml:mi>σ</mml:mi><mml:mo>,</mml:mo><mml:mi> </mml:mi><mml:mi>k</mml:mi></mml:mrow></mml:mfenced><mml:mo>=</mml:mo><mml:mfenced separators="|"><mml:mrow><mml:mn>50</mml:mn><mml:mo>,</mml:mo><mml:mi> </mml:mi><mml:mn>0.2</mml:mn><mml:mo>,</mml:mo><mml:mi> </mml:mi><mml:mn>0.8</mml:mn></mml:mrow></mml:mfenced></mml:math></inline-formula> as in <xref ref-type="fig" rid="fig2">Figure 2</xref>. (<bold>B</bold>) Shown are two regimes that result in an exponential distribution of abundance (abu) changes. Example (<bold>a</bold>) demonstrates that when <inline-formula><mml:math id="inf161"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mi>N</mml:mi><mml:mrow><mml:mo>/</mml:mo></mml:mrow><mml:mi>M</mml:mi><mml:mo>&gt;</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:mstyle></mml:math></inline-formula>, the aggregated distribution is better fit by an exponential (black dotted line) than by a normal distribution (top), and that the median of the individual distributions is also better fit by an exponential (bottom). Example (<bold>b</bold>) demonstrates that when <inline-formula><mml:math id="inf162"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mi>N</mml:mi><mml:mrow><mml:mo>/</mml:mo></mml:mrow><mml:mi>M</mml:mi><mml:mo>&lt;</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:mstyle></mml:math></inline-formula> and <inline-formula><mml:math id="inf163"><mml:mi>S</mml:mi></mml:math></inline-formula> is high, the aggregated distribution is still better fit by an exponential, but the median of the individual distributions is better fit by a normal distribution.</p></caption><graphic mime-subtype="tiff" mimetype="image" xlink:href="elife-75168-fig3-figsupp4-v1.tif"/></fig><fig id="fig3s5" position="float" specific-use="child-fig"><label>Figure 3—figure supplement 5.</label><caption><title>Our consumer-resource (CR) model is consistent with results obtained by shuffling time labels.</title><p>Shown are the original data from <xref ref-type="bibr" rid="bib7">Caporaso et al., 2011</xref>, and the best fit model predictions as in <xref ref-type="fig" rid="fig2">Figure 2</xref> (top), and the same data but with time labels shuffled (bottom). Only time series statistics that are affected by shuffling time labels are shown. Model predictions are based on the best fit parameters for the shuffled data, which were the same as for the original data except <inline-formula><mml:math id="inf164"><mml:mi>k</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:math></inline-formula>. Shuffling led to more negative restoring slopes, as expected from abolishing correlation between sampling times. The resulting mean restoring slope yielded a best fit value of <inline-formula><mml:math id="inf165"><mml:mi>k</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:math></inline-formula>, which in turn predicted the distributions of residence and return times after shuffling.</p></caption><graphic mime-subtype="tiff" mimetype="image" xlink:href="elife-75168-fig3-figsupp5-v1.tif"/></fig></fig-group><p>The exclusive susceptibilities of these four statistics suggest that they can serve as informative metrics for estimating model parameters. Therefore, we estimated model parameters by minimizing the sum of errors between model predictions and experimental measurements of these four statistics, and obtained estimation bounds by determining parameter variations that would increase model error by 5% of the mean error across all parameter space. As we will show, the resulting bounds are small relative to the differences among distinct microbiotas, indicating that meaningful conclusions can be drawn from the best fit values of the ensemble level parameters of resource competition. In summary, the four model parameters were fit to four summary statistics: mean richness <inline-formula><mml:math id="inf166"><mml:mfenced close="〉" open="〈" separators="|"><mml:mrow><mml:mi>α</mml:mi></mml:mrow></mml:mfenced></mml:math></inline-formula>, variance-mean scaling exponent <inline-formula><mml:math id="inf167"><mml:mi>β</mml:mi></mml:math></inline-formula>, standard deviation of abundance change <inline-formula><mml:math id="inf168"><mml:msub><mml:mrow><mml:mi>σ</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>l</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula>, and mean restoring slope <inline-formula><mml:math id="inf169"><mml:mfenced close="〉" open="〈" separators="|"><mml:mrow><mml:mi>s</mml:mi></mml:mrow></mml:mfenced></mml:math></inline-formula> (<xref ref-type="fig" rid="fig2">Figure 2E–H</xref>, respectively). The shapes of their corresponding distributions and scalings, as well as at least four other statistics (<xref ref-type="fig" rid="fig2">Figure 2I–L</xref>), are all parameter-free predictions.</p></sec><sec id="s2-4"><title>Origins of distinctive statistical behaviors in species abundance time series</title><p>To understand the mechanisms that underlie the susceptibilities of various time series statistics to model parameters, we investigated their origins within our model, focusing on how they constrain the parameters.</p><p>The average richness <inline-formula><mml:math id="inf170"><mml:mfenced close="〉" open="〈" separators="|"><mml:mrow><mml:mi>α</mml:mi></mml:mrow></mml:mfenced></mml:math></inline-formula> is a fundamental descriptor of community diversity. Within our model, <inline-formula><mml:math id="inf171"><mml:mfenced close="〉" open="〈" separators="|"><mml:mrow><mml:mi>α</mml:mi></mml:mrow></mml:mfenced></mml:math></inline-formula> is largely determined by and increases with increasing resource number <inline-formula><mml:math id="inf172"><mml:mi>M</mml:mi></mml:math></inline-formula> (<inline-formula><mml:math id="inf173"><mml:mi>C</mml:mi><mml:mfenced separators="|"><mml:mrow><mml:mi>α</mml:mi><mml:mo>,</mml:mo><mml:mi>N</mml:mi><mml:mo>/</mml:mo><mml:mi>M</mml:mi></mml:mrow></mml:mfenced><mml:mo>=</mml:mo><mml:mo>-</mml:mo><mml:mn>2.6</mml:mn></mml:math></inline-formula>), as expected for CR dynamics. The sparsity of resource use <inline-formula><mml:math id="inf174"><mml:mi>S</mml:mi></mml:math></inline-formula> impacts the power law exponent <inline-formula><mml:math id="inf175"><mml:mi>β</mml:mi></mml:math></inline-formula> between <inline-formula><mml:math id="inf176"><mml:msubsup><mml:mrow><mml:mi>σ</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup></mml:math></inline-formula> and <inline-formula><mml:math id="inf177"><mml:mfenced close="〉" open="〈" separators="|"><mml:mrow><mml:msub><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfenced></mml:math></inline-formula> (<inline-formula><mml:math id="inf178"><mml:mi>C</mml:mi><mml:mfenced separators="|"><mml:mrow><mml:mi>β</mml:mi><mml:mo>,</mml:mo><mml:mi>S</mml:mi></mml:mrow></mml:mfenced><mml:mo>=</mml:mo><mml:mo>-</mml:mo><mml:mn>2.0</mml:mn></mml:math></inline-formula>). Together, <inline-formula><mml:math id="inf179"><mml:mi>α</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="inf180"><mml:mi>β</mml:mi></mml:math></inline-formula> constrain the parameters of resource competition <inline-formula><mml:math id="inf181"><mml:mi>M</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="inf182"><mml:mi>S</mml:mi></mml:math></inline-formula>.</p><p>The effect of <inline-formula><mml:math id="inf183"><mml:mi>S</mml:mi></mml:math></inline-formula> on <inline-formula><mml:math id="inf184"><mml:mi>β</mml:mi></mml:math></inline-formula> can be partially understood by considering limiting behaviors as follows. When sparsity is high (<inline-formula><mml:math id="inf185"><mml:mi>S</mml:mi><mml:mo>≈</mml:mo><mml:mn>1</mml:mn></mml:math></inline-formula>), there is little competition and each consumer consumes almost distinct sets of resources from other consumers. In the limit in which each consumer utilizes a single unique resource, <inline-formula><mml:math id="inf186"><mml:msubsup><mml:mrow><mml:mi>σ</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup></mml:math></inline-formula> is determined by the noise in resource level, which has a <inline-formula><mml:math id="inf187"><mml:mi>β</mml:mi><mml:mo>=</mml:mo><mml:mn>2</mml:mn></mml:math></inline-formula> scaling according to <xref ref-type="disp-formula" rid="equ3">Equation 2</xref>. In the limit of large <inline-formula><mml:math id="inf188"><mml:mi>M</mml:mi></mml:math></inline-formula> and high sparsity, the variation in the number of resources consumed by each consumer can be large relative to the mean, and both <inline-formula><mml:math id="inf189"><mml:msubsup><mml:mrow><mml:mi>σ</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup></mml:math></inline-formula> and <inline-formula><mml:math id="inf190"><mml:mfenced close="〉" open="〈" separators="|"><mml:mrow><mml:msub><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfenced></mml:math></inline-formula> scale with the number of resources consumed, hence <inline-formula><mml:math id="inf191"><mml:mi>β</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:math></inline-formula>. Simulations of a no-competition model in which consumers consume distinct sets of resources confirmed the scalings in these limits (<xref ref-type="fig" rid="fig3s3">Figure 3—figure supplement 3</xref>). By contrast, when sparsity is low (<inline-formula><mml:math id="inf192"><mml:mi>S</mml:mi><mml:mo>≈</mml:mo><mml:mn>0</mml:mn></mml:math></inline-formula>), each consumer utilizes almost all resources and hence variation in the number of resources consumed is small relative to the mean. Despite the obvious presence of competition in our CR model, we nevertheless attempted to understand the low sparsity limit by extrapolating the no-competition model above to a case in which all consumers consume distinct sets of the same number of resources. For large number of resources, these simulations predicted that <inline-formula><mml:math id="inf193"><mml:mi>β</mml:mi><mml:mo>≈</mml:mo><mml:mn>1.5</mml:mn></mml:math></inline-formula> (<xref ref-type="fig" rid="fig3s3">Figure 3—figure supplement 3</xref>), as did our CR model for <inline-formula><mml:math id="inf194"><mml:mi>S</mml:mi><mml:mo>=</mml:mo><mml:mn>0.1</mml:mn></mml:math></inline-formula> (<xref ref-type="fig" rid="fig3s3">Figure 3—figure supplement 3</xref>). These findings suggest that the effect of <inline-formula><mml:math id="inf195"><mml:mi>S</mml:mi></mml:math></inline-formula> on <inline-formula><mml:math id="inf196"><mml:mi>β</mml:mi></mml:math></inline-formula> can be partially attributed to differences in the number of resources consumed.</p><p>The distribution of <inline-formula><mml:math id="inf197"><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>l</mml:mi></mml:math></inline-formula> describes the nature of abundance changes. As expected, the width of the distribution is largely determined by and increases with increasing <inline-formula><mml:math id="inf198"><mml:mi>σ</mml:mi></mml:math></inline-formula> (<inline-formula><mml:math id="inf199"><mml:mi>C</mml:mi><mml:mfenced separators="|"><mml:mrow><mml:msub><mml:mrow><mml:mi>σ</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>l</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mi>σ</mml:mi></mml:mrow></mml:mfenced><mml:mo>=</mml:mo><mml:mn>2</mml:mn><mml:mo>.</mml:mo><mml:mn>6</mml:mn></mml:math></inline-formula>). For the gut microbiota data set in <xref ref-type="fig" rid="fig2">Figure 2</xref>, the shape of the distribution was well fit by an exponential. Within our model, the shape of the distribution aggregated across all consumers is determined by <inline-formula><mml:math id="inf200"><mml:mi>N</mml:mi><mml:mo>/</mml:mo><mml:mi>M</mml:mi></mml:math></inline-formula> and the sparsity <inline-formula><mml:math id="inf201"><mml:mi>S</mml:mi></mml:math></inline-formula>, emerging from the mixture of each consumer’s individual distribution (<xref ref-type="fig" rid="fig3s4">Figure 3—figure supplement 4</xref>). When <inline-formula><mml:math id="inf202"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mi>N</mml:mi><mml:mrow><mml:mo>/</mml:mo></mml:mrow><mml:mi>M</mml:mi><mml:mo>&lt;</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:mstyle></mml:math></inline-formula> and the sparsity <inline-formula><mml:math id="inf203"><mml:mi>S</mml:mi></mml:math></inline-formula> is low, individual distributions of <inline-formula><mml:math id="inf204"><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>l</mml:mi></mml:math></inline-formula> are well fit by normal distributions, and pool together to generate another normal distribution. When <inline-formula><mml:math id="inf205"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mi>N</mml:mi><mml:mrow><mml:mo>/</mml:mo></mml:mrow><mml:mi>M</mml:mi><mml:mo>&lt;</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:mstyle></mml:math></inline-formula> and sparsity <inline-formula><mml:math id="inf206"><mml:mi>S</mml:mi></mml:math></inline-formula> is high, individual distributions remain normal, but can pool together to generate a non-normal distribution that is well fit by an exponential (see also <xref ref-type="bibr" rid="bib1">Allen et al., 2001</xref>). By contrast, when <inline-formula><mml:math id="inf207"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mi>N</mml:mi><mml:mrow><mml:mo>/</mml:mo></mml:mrow><mml:mi>M</mml:mi><mml:mo>&gt;</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:mstyle></mml:math></inline-formula>, individual distributions can be well fit by an exponential and can pool together to approximate another exponential. Simulations of the no-competition model considered above led to individual and aggregate distributions that were normal in all cases, indicating that in our model resource competition is responsible for generating the non-normal distributions of <inline-formula><mml:math id="inf208"><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>l</mml:mi></mml:math></inline-formula> (<xref ref-type="fig" rid="fig3s3">Figure 3—figure supplement 3</xref>). Although it is challenging to discern the shape of individual distributions in most experimental data sets given the limited numbers of samples, the shape of the aggregate distribution of <inline-formula><mml:math id="inf209"><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>l</mml:mi></mml:math></inline-formula> informs the parameters of resource competition <inline-formula><mml:math id="inf210"><mml:mi>M</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="inf211"><mml:mi>S</mml:mi></mml:math></inline-formula>. In particular, an exponential distribution of <inline-formula><mml:math id="inf212"><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>l</mml:mi></mml:math></inline-formula> suggests either strong resource competition in the form of <inline-formula><mml:math id="inf213"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mi>N</mml:mi><mml:mo>&gt;</mml:mo><mml:mi>M</mml:mi></mml:mrow></mml:mstyle></mml:math></inline-formula> or substantial niche differentiation in the form of high <inline-formula><mml:math id="inf214"><mml:mi>S</mml:mi></mml:math></inline-formula>. Other statistics such as <inline-formula><mml:math id="inf215"><mml:mi>β</mml:mi></mml:math></inline-formula> can help to distinguish between these two regimes.</p><p>The distribution of restoring slopes <inline-formula><mml:math id="inf216"><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> describes the tendency with which consumers revert to their mean abundances following fluctuations. As expected, the mean <inline-formula><mml:math id="inf217"><mml:mfenced close="〉" open="〈" separators="|"><mml:mrow><mml:mi>s</mml:mi></mml:mrow></mml:mfenced></mml:math></inline-formula> is almost completely determined by <inline-formula><mml:math id="inf218"><mml:mi>k</mml:mi></mml:math></inline-formula>, which describes the autocorrelation in resource levels (<inline-formula><mml:math id="inf219"><mml:mo>-</mml:mo><mml:mfenced close="〉" open="〈" separators="|"><mml:mrow><mml:mi>s</mml:mi></mml:mrow></mml:mfenced><mml:mo>≈</mml:mo><mml:mi>k</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="inf220"><mml:mi>C</mml:mi><mml:mfenced separators="|"><mml:mrow><mml:mfenced close="〉" open="〈" separators="|"><mml:mrow><mml:mi>s</mml:mi></mml:mrow></mml:mfenced><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:mfenced><mml:mo>=</mml:mo><mml:mo>-</mml:mo><mml:mn>3.0</mml:mn></mml:math></inline-formula>). Together, the distributions of <inline-formula><mml:math id="inf221"><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>l</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="inf222"><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> constrain the parameters of external fluctuations <inline-formula><mml:math id="inf223"><mml:mi>σ</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="inf224"><mml:mi>k</mml:mi></mml:math></inline-formula>.</p><p>Within our model, resource fluctuations can lead to the temporary ‘extinction’ of certain species when they drop below the detectability threshold of 10<sup>–4</sup>. The distributions of residence and return times, <inline-formula><mml:math id="inf225"><mml:msub><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:mtext>res</mml:mtext></mml:mrow></mml:msub></mml:math></inline-formula> and <inline-formula><mml:math id="inf226"><mml:msub><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:mtext>ret</mml:mtext></mml:mrow></mml:msub></mml:math></inline-formula>, reflect the probabilities of extinction as well as correlations between sampling times. For all parameter sets explored, these distributions can be well fit by power laws, with an exponential cutoff to account for finite sampling (<xref ref-type="bibr" rid="bib23">Ji et al., 2020</xref>). As expected, the power law slopes <inline-formula><mml:math id="inf227"><mml:msub><mml:mrow><mml:mi>ν</mml:mi></mml:mrow><mml:mrow><mml:mtext>res</mml:mtext></mml:mrow></mml:msub></mml:math></inline-formula> and <inline-formula><mml:math id="inf228"><mml:msub><mml:mrow><mml:mi>ν</mml:mi></mml:mrow><mml:mrow><mml:mtext>ret</mml:mtext></mml:mrow></mml:msub></mml:math></inline-formula> decrease (become more negative) with increasing <inline-formula><mml:math id="inf229"><mml:mi>σ</mml:mi></mml:math></inline-formula> or <inline-formula><mml:math id="inf230"><mml:mi>k</mml:mi></mml:math></inline-formula> (<xref ref-type="fig" rid="fig3s1">Figure 3—figure supplement 1</xref>), since increasing external noise or decreasing correlations in time increases the probability of fluctuating between existence and extinction for each consumer. By contrast, <inline-formula><mml:math id="inf231"><mml:msub><mml:mrow><mml:mi>ν</mml:mi></mml:mrow><mml:mrow><mml:mtext>res</mml:mtext></mml:mrow></mml:msub></mml:math></inline-formula> and <inline-formula><mml:math id="inf232"><mml:msub><mml:mrow><mml:mi>ν</mml:mi></mml:mrow><mml:mrow><mml:mtext>ret</mml:mtext></mml:mrow></mml:msub></mml:math></inline-formula> change in opposite directions in response to variation in <inline-formula><mml:math id="inf233"><mml:mi>M</mml:mi></mml:math></inline-formula> (<xref ref-type="fig" rid="fig3s1">Figure 3—figure supplement 1</xref>). Increasing <inline-formula><mml:math id="inf234"><mml:mi>M</mml:mi></mml:math></inline-formula> leads to a larger number of highly prevalent consumers, thereby increasing the mean and broadening the distribution of <inline-formula><mml:math id="inf235"><mml:msub><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:mtext>res</mml:mtext></mml:mrow></mml:msub></mml:math></inline-formula> and decreasing the mean and narrowing the distribution of <inline-formula><mml:math id="inf236"><mml:msub><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:mtext>ret</mml:mtext></mml:mrow></mml:msub></mml:math></inline-formula>. Since the four ensemble level parameters are already fixed by other statistics, the distributions of <inline-formula><mml:math id="inf237"><mml:msub><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:mtext>res</mml:mtext></mml:mrow></mml:msub></mml:math></inline-formula>, <inline-formula><mml:math id="inf238"><mml:msub><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:mtext>ret</mml:mtext></mml:mrow></mml:msub></mml:math></inline-formula>, and <inline-formula><mml:math id="inf239"><mml:msub><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> are parameter-free predictions of our model. In other words, a macroscopic characterization of the effective resource competition and resource fluctuations is sufficient to predict the statistics of ‘extinction’ dynamics, as well as the abundance rank distribution and the relationship between consumer abundance and prevalence.</p><p>Since the distributions of <inline-formula><mml:math id="inf240"><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>l</mml:mi></mml:math></inline-formula>, <inline-formula><mml:math id="inf241"><mml:msub><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:mtext>res</mml:mtext></mml:mrow></mml:msub></mml:math></inline-formula>, and <inline-formula><mml:math id="inf242"><mml:msub><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:mtext>ret</mml:mtext></mml:mrow></mml:msub></mml:math></inline-formula> are dependent on correlations between sampling times, it was initially puzzling that their distributions in some data sets remained similar after shuffling sampling times, raising questions as to what extent these statistics hold information about the underlying intrinsic dynamics (<xref ref-type="bibr" rid="bib42">Tchourine et al., 2021</xref>; <xref ref-type="bibr" rid="bib47">Wang and Liu, 2021a</xref>). Our results assist in reconciling the apparent conundrum, since within our model richness <inline-formula><mml:math id="inf243"><mml:mfenced close="〉" open="〈" separators="|"><mml:mrow><mml:mi>α</mml:mi></mml:mrow></mml:mfenced></mml:math></inline-formula> and Taylor’s law exponent <inline-formula><mml:math id="inf244"><mml:mi>β</mml:mi></mml:math></inline-formula> do not depend on correlations between sampling times and are also the statistics that are most informative about the intrinsic parameters <inline-formula><mml:math id="inf245"><mml:mi>M</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="inf246"><mml:mi>S</mml:mi></mml:math></inline-formula> (<xref ref-type="fig" rid="fig3">Figure 3</xref>). As a result, the shuffled time series were also well fit by our model and yielded best fit values that were identical to those produced by the actual time series except with <inline-formula><mml:math id="inf247"><mml:mi>k</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:math></inline-formula>, as expected due to the absence of correlation across sampling times (<xref ref-type="fig" rid="fig3s5">Figure 3—figure supplement 5</xref>). Thus, our results suggest that while external fluctuations in resource levels may be responsible for generating species abundance variations, the intrinsic properties of resource competition can determine the resulting scaling exponents of many statistical behaviors.</p><p>Taken together, our analyses demonstrate the complex relationships among time series statistics and highlight their unification within our model using only a small number of global parameters, whose values are strongly constrained by macroecological patterns.</p></sec><sec id="s2-5"><title>CR model guides the identification of other models that can reproduce time series statistics</title><p>We have shown that many time series statistics can be recapitulated by a simple model that does not require knowing many detailed features of real microbiota (<xref ref-type="fig" rid="fig2">Figure 2</xref>). The success of this approach implies that these macroecological fluctuations must be independent of at least some model details, which suggests that there may be other ecological models that could also recapitulate the same data (<xref ref-type="fig" rid="fig4">Figure 4</xref>, <xref ref-type="fig" rid="fig4s1">Figure 4—figure supplements 1</xref>–<xref ref-type="fig" rid="fig4s5">5</xref>). The relationships between ecological models are generally poorly characterized. To explore these possibilities, we sought to compare our calibrated CR models against several common alternatives.</p><fig-group><fig id="fig4" position="float"><label>Figure 4.</label><caption><title>Correlations between abundances of consumer pairs were captured by the consumer-resource model, but not by a null model without interspecies interactions.</title><p>Shown in blue is the probability density function (PDF) of correlations between the abundances across sampling times of all consumer pairs for the experimental data in <xref ref-type="fig" rid="fig2">Figure 2</xref>. Red line represents parameter-free model predictions as in <xref ref-type="fig" rid="fig2">Figure 2</xref>, using the same best fit parameters; shading represents 1 standard deviation. Black dashed line shows predictions of a null model without interspecies interactions in which consumer abundances were drawn from independent normal distributions whose mean and variance were extracted from data.</p></caption><graphic mime-subtype="tiff" mimetype="image" xlink:href="elife-75168-fig4-v1.tif"/></fig><fig id="fig4s1" position="float" specific-use="child-fig"><label>Figure 4—figure supplement 1.</label><caption><title>The consumer-resource (CR) model with metabolic trade-offs produces similar statistics as the original model and can also recapitulate experimental data.</title><p>Shown are data from <xref ref-type="bibr" rid="bib7">Caporaso et al., 2011</xref>, as in <xref ref-type="fig" rid="fig2">Figure 2</xref>, with the mean prediction of the original CR model shown in black. Red (and yellow for <inline-formula><mml:math id="inf248"><mml:msub><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:mtext>ret</mml:mtext></mml:mrow></mml:msub></mml:math></inline-formula>) lines and error regions denote predictions of the model including metabolic trade-offs (Materials and methods).</p></caption><graphic mime-subtype="tiff" mimetype="image" xlink:href="elife-75168-fig4-figsupp1-v1.tif"/></fig><fig id="fig4s2" position="float" specific-use="child-fig"><label>Figure 4—figure supplement 2.</label><caption><title>Consumer-resource (CR) model with saturation kinetics exhibits dampened fluctuations but can still reproduce experimentally observed statistics.</title><p>Shown are data from <xref ref-type="bibr" rid="bib7">Caporaso et al., 2011</xref>, as in <xref ref-type="fig" rid="fig2">Figure 2</xref>, with predictions of the CR model with and without saturation kinetics (Materials and methods). Red (and yellow for <inline-formula><mml:math id="inf249"><mml:msub><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:mtext>ret</mml:mtext></mml:mrow></mml:msub></mml:math></inline-formula>) lines denote the model with increased noise strength of <inline-formula><mml:math id="inf250"><mml:mi>σ</mml:mi><mml:mo>=</mml:mo><mml:mn>0.4</mml:mn></mml:math></inline-formula>, compared to purple, which denotes the model with saturation kinetics and the original noise strength <inline-formula><mml:math id="inf251"><mml:mi>σ</mml:mi><mml:mo>=</mml:mo><mml:mn>0.2</mml:mn></mml:math></inline-formula>. Predictions of the original CR model are shown in black. To aid visualization, only predictions from the model with the original noise strength that are visually different from the model with increased noise are shown.</p></caption><graphic mime-subtype="tiff" mimetype="image" xlink:href="elife-75168-fig4-figsupp2-v1.tif"/></fig><fig id="fig4s3" position="float" specific-use="child-fig"><label>Figure 4—figure supplement 3.</label><caption><title>A non-interacting null model reproduced some, but not all, time series statistics.</title><p>Shown are data from <xref ref-type="bibr" rid="bib7">Caporaso et al., 2011</xref>, as in <xref ref-type="fig" rid="fig2">Figure 2</xref> and comparisons to a non-interacting null model in which consumer abundances were drawn from independent normal distributions whose mean and variance were extracted from data. As a result of its many free parameters, the null model was able to reproduce statistics such as the rank distribution of abundances, but was unable to reproduce the distributions of richness and residence and return times, nor the distribution of pairwise correlations (<xref ref-type="fig" rid="fig4">Figure 4</xref>).</p></caption><graphic mime-subtype="tiff" mimetype="image" xlink:href="elife-75168-fig4-figsupp3-v1.tif"/></fig><fig id="fig4s4" position="float" specific-use="child-fig"><label>Figure 4—figure supplement 4.</label><caption><title>Generalized Lotka-Volterra (gLV) model with consumer-resource (CR)-converted interaction coefficients generates time series statistics similar to the original CR model and also recapitulates experimental data.</title><p>Shown are data from <xref ref-type="bibr" rid="bib7">Caporaso et al., 2011</xref>, as in <xref ref-type="fig" rid="fig2">Figure 2</xref>, with predictions of the CR-converted gLV model (Materials and methods) for the time series statistics (<bold>A</bold>) and the distribution of pairwise correlations (<bold>B</bold>). Black denotes predictions of the original CR model (<bold>A</bold>) or the null model as in <xref ref-type="fig" rid="fig4s3">Figure 4—figure supplement 3</xref> (<bold>B</bold>).</p></caption><graphic mime-subtype="tiff" mimetype="image" xlink:href="elife-75168-fig4-figsupp4-v1.tif"/></fig><fig id="fig4s5" position="float" specific-use="child-fig"><label>Figure 4—figure supplement 5.</label><caption><title>Generalized Lotka-Volterra (gLV) model with normally distributed interaction coefficients cannot reproduce experimental data.</title><p>Shown are data from <xref ref-type="bibr" rid="bib7">Caporaso et al., 2011</xref>, as in <xref ref-type="fig" rid="fig2">Figure 2</xref>, with predictions of the gLV model with random interaction coefficients (Materials and methods). Predictions of the original consumer-resource (CR) model are shown in black.</p></caption><graphic mime-subtype="tiff" mimetype="image" xlink:href="elife-75168-fig4-figsupp5-v1.tif"/></fig></fig-group><p>First, we aimed to determine the extent to which the simulated statistics depend on the assumptions of our CR model. Our parametrization of the consumption rates introduces a correlation between the maximum growth rate of a consumer and the number of resources it consumes. To remove this correlation, we normalized the sum of consumption rates <inline-formula><mml:math id="inf252"><mml:mrow><mml:msub><mml:mo>∑</mml:mo><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:msub><mml:mrow><mml:mi>R</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mrow></mml:math></inline-formula> for consumer <italic>i</italic> to a fixed capacity <inline-formula><mml:math id="inf253"><mml:msub><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mi>R</mml:mi></mml:mrow><mml:mo>~</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> that was randomly drawn from the original growth rates <inline-formula><mml:math id="inf254"><mml:mrow><mml:msub><mml:mo>∑</mml:mo><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:msub><mml:mrow><mml:mi>R</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:msub><mml:mrow><mml:mi>Y</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mrow></mml:math></inline-formula> (<xref ref-type="bibr" rid="bib20">Good et al., 2018</xref>; <xref ref-type="bibr" rid="bib36">Posfai et al., 2017</xref>; <xref ref-type="bibr" rid="bib44">Tikhonov and Monasson, 2017</xref>). This modification preserves the variation in consumer fitness while implementing a metabolic trade-off. The resulting time series statistics were essentially unaffected, also recapitulating experimental data (<xref ref-type="fig" rid="fig4s1">Figure 4—figure supplement 1</xref>).</p><p>Moreover, the CR dynamics in <xref ref-type="disp-formula" rid="equ2">Equation 1</xref> do not consider other biologically plausible scenarios such as saturation kinetics (<xref ref-type="bibr" rid="bib32">Momeni et al., 2017</xref>; <xref ref-type="bibr" rid="bib34">Niehaus et al., 2019</xref>). To probe the robustness of the results of our model to the dynamical assumptions, we implemented saturation kinetics with all other details kept the same (Materials and methods). When this model was simulated with the best fit parameters of the original model, the resulting dynamics were less variable across sampling times than without saturation kinetics, since the saturated regime is unaffected by small changes in resource levels (<xref ref-type="fig" rid="fig4s2">Figure 4—figure supplement 2</xref>). Nonetheless, experimental statistics were again reproduced once the strength of environmental fluctuations <inline-formula><mml:math id="inf255"><mml:mi>σ</mml:mi></mml:math></inline-formula> was increased appropriately (<xref ref-type="fig" rid="fig4s2">Figure 4—figure supplement 2</xref>). This suggests that our results are robust to assumptions regarding metabolic trade-offs and saturation kinetics.</p><p>We next considered a non-interacting null model in which consumer abundances were drawn from independent normal distributions whose means and variances were fitted directly from the data. Even with a large number of free parameters, this null model was unable to capture some of the time series statistics reproduced by our CR model, including Taylor’s law as well as the distributions of richness and restoring slopes (<xref ref-type="fig" rid="fig4s3">Figure 4—figure supplement 3</xref>). We reasoned that the discrepancies between experimental data and the null model could be due to the lack of interspecies interactions. To test this hypothesis, we examined the pairwise correlations between the consumer abundances across sampling times. The measured distribution of pairwise correlations is much broader than the prediction of the non-interacting model, which is sharply peaked about zero as expected (<xref ref-type="fig" rid="fig4">Figure 4</xref>). By contrast, the distribution of correlations predicted by our CR model without any additional fitting was in much closer agreement with the experimental data (<xref ref-type="fig" rid="fig4">Figure 4</xref>). These findings imply that interspecies interactions are required to capture important details of community dynamics.</p><p>While our CR model assumes pairwise interactions between consumers and resources, the effective interactions between consumers are not necessarily pairwise. To explore whether these higher-order contributions are necessary for recapitulating the data, we considered models explicitly based on pairwise interspecies interactions, which despite differences compared with CR models (<xref ref-type="bibr" rid="bib32">Momeni et al., 2017</xref>) can also reproduce some properties of experimental time series (<xref ref-type="bibr" rid="bib13">Descheemaeker and de Buyl, 2020</xref>; <xref ref-type="bibr" rid="bib48">Wang and Liu, 2021b</xref>). To further explore the properties of models focused on pairwise interactions, we investigated gLV models in which <inline-formula><mml:math id="inf256"><mml:mi>N</mml:mi></mml:math></inline-formula> taxa grow and interact via<disp-formula id="equ4"><label>(3)</label><mml:math id="m4"><mml:mrow><mml:mfrac><mml:mrow><mml:mi>d</mml:mi><mml:msub><mml:mi>X</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mi>d</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:mfrac><mml:mo>=</mml:mo><mml:msub><mml:mi>X</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:munderover><mml:mo movablelimits="false">∑</mml:mo><mml:mrow><mml:mi>j</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>N</mml:mi></mml:mrow></mml:munderover><mml:msub><mml:mi>A</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:msub><mml:mi>X</mml:mi><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>−</mml:mo><mml:mrow><mml:mi mathvariant="normal">Γ</mml:mi></mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula></p><p>where <inline-formula><mml:math id="inf257"><mml:msub><mml:mrow><mml:mi>X</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> denotes the relative abundance of taxon <italic>i</italic>, <inline-formula><mml:math id="inf258"><mml:msub><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> its growth rate, and <inline-formula><mml:math id="inf259"><mml:msub><mml:mrow><mml:mi>A</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> its interaction coefficient with taxon <inline-formula><mml:math id="inf260"><mml:mi>j</mml:mi></mml:math></inline-formula>. <inline-formula><mml:math id="inf261"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mrow><mml:mi mathvariant="normal">Γ</mml:mi></mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:munder><mml:mo>∑</mml:mo><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:munder><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:msub><mml:mi>X</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:munder><mml:mo>∑</mml:mo><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:munder><mml:msub><mml:mi>A</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:msub><mml:mi>X</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:msub><mml:mi>X</mml:mi><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mstyle></mml:math></inline-formula> is a normalizing term that ensures that the relative abundances always sum to one (<xref ref-type="bibr" rid="bib24">Joseph et al., 2020</xref>). Since this classical model is generally unstable for randomly drawn interaction coefficients (<xref ref-type="bibr" rid="bib31">May, 1972</xref>), we sought to focus on particular instances of the gLV model that were closest to our original CR model. This conversion between models was achieved by converting the consumption rates <inline-formula><mml:math id="inf262"><mml:msub><mml:mrow><mml:mi>R</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> and resource levels <inline-formula><mml:math id="inf263"><mml:msub><mml:mrow><mml:mi>Y</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:msub></mml:math></inline-formula> at each sampling time <inline-formula><mml:math id="inf264"><mml:mi>T</mml:mi></mml:math></inline-formula> to the growth rates <inline-formula><mml:math id="inf265"><mml:msub><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> and interaction coefficients <inline-formula><mml:math id="inf266"><mml:msub><mml:mrow><mml:mi>A</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> that characterize the dynamics when consumption rates are similar to the mean value (Materials and methods). This conversion results in negative, symmetric <inline-formula><mml:math id="inf267"><mml:msub><mml:mrow><mml:mi>A</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> whose magnitudes depend on the niche overlap between the interacting taxa (<xref ref-type="bibr" rid="bib20">Good et al., 2018</xref>). Moreover, fluctuations in <inline-formula><mml:math id="inf268"><mml:msub><mml:mrow><mml:mi>Y</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:msub></mml:math></inline-formula> result in corresponding fluctuations in both <inline-formula><mml:math id="inf269"><mml:msub><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> and <inline-formula><mml:math id="inf270"><mml:msub><mml:mrow><mml:mi>A</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> across <inline-formula><mml:math id="inf271"><mml:mi>T</mml:mi></mml:math></inline-formula>. These CR-converted gLV models generated time series statistics that reproduced the experimental data to a similar extent as the original CR model (<xref ref-type="fig" rid="fig4s4">Figure 4—figure supplement 4</xref>). In light of this correspondence, we asked whether more general ensembles of pairwise interaction could also reproduce the experimental data. We randomly selected <inline-formula><mml:math id="inf272"><mml:msub><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> and <inline-formula><mml:math id="inf273"><mml:msub><mml:mrow><mml:mi>A</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> values from normal distributions with means and variances equal to those in the CR-converted gLV models while enforcing symmetric and negative interactions. The resulting gLV models yielded a poor fit to the data (<xref ref-type="fig" rid="fig4s5">Figure 4—figure supplement 5</xref>). Together, these results suggest that while pairwise interactions between taxa are likely sufficient to recapitulate the experimental data, their parameters must be drawn from particular ensembles that can be more simply described in the CR framework.</p><p>These examples reinforce that only a particular subset of models can recapitulate the data, and therefore, that the underlying community properties are highly constrained by macroecological dynamics. Moreover, our calibrated CR model can guide the parametrization of other models that can satisfy those constraints, while also identifying model features that are necessary for recapitulating data.</p></sec><sec id="s2-6"><title>Time series statistics distinguish wide-ranging microbiotas</title><p>Having developed a simple method to estimate parameters of our CR model that recapitulate time series statistics, we applied this method to data sets involving wide-ranging microbial communities. Although the various communities considered are drastically different in many aspects, we hypothesized that our CR model framework could still be applied to identify the statistical ensembles that can describe their macroecological dynamics. In addition to microbiotas from the human and mouse gut (<xref ref-type="bibr" rid="bib7">Caporaso et al., 2011</xref>; <xref ref-type="bibr" rid="bib8">Carmody et al., 2015</xref>; <xref ref-type="bibr" rid="bib12">David et al., 2014</xref>), we examined communities from the human vagina (<xref ref-type="bibr" rid="bib40">Song et al., 2020</xref>), human saliva (<xref ref-type="bibr" rid="bib12">David et al., 2014</xref>), and in and around rice roots (<xref ref-type="bibr" rid="bib14">Edwards et al., 2018</xref>). The time series statistics of these microbiotas varied broadly (<xref ref-type="fig" rid="fig5">Figure 5A</xref>). Nevertheless, our model successfully reproduced the experimental statistics across all communities (<xref ref-type="fig" rid="fig5s1">Figure 5—figure supplements 1</xref>–<xref ref-type="fig" rid="fig5s6">6</xref>), suggesting that simple CR models can capture many of the macroscopic features of these microbiotas.</p><fig-group><fig id="fig5" position="float"><label>Figure 5.</label><caption><title>The statistics of wide-ranging microbiotas were captured by the coarse-grained consumer-resource model in different regimes of resource competition and environmental fluctuations.</title><p>Shown are time series statistics (<bold>A</bold>) and corresponding best fit model parameters (<bold>B</bold>) for human microbiotas from stool (<xref ref-type="bibr" rid="bib7">Caporaso et al., 2011</xref>; <xref ref-type="bibr" rid="bib12">David et al., 2014</xref>) (blue circles), saliva (<xref ref-type="bibr" rid="bib12">David et al., 2014</xref>) (red square), and the vagina (<xref ref-type="bibr" rid="bib40">Song et al., 2020</xref>) (pink stars), gut microbiotas of mice under low fat (green downward triangles) and high fat (green upward triangles) diets (<xref ref-type="bibr" rid="bib8">Carmody et al., 2015</xref>), and plant microbiotas from the rice endosphere, rhizosphere, rhizoplane, and bulk soil (<xref ref-type="bibr" rid="bib14">Edwards et al., 2018</xref>) (diamonds). (<bold>A</bold>) Microbiota origin generally dictates the scaling exponent <inline-formula><mml:math id="inf274"><mml:mi>β</mml:mi></mml:math></inline-formula> and the ratio between the reservoir size <italic>N</italic> (number of observed families throughout the time series) and the richness <inline-formula><mml:math id="inf275"><mml:mfenced close="〉" open="〈" separators="|"><mml:mrow><mml:mi>α</mml:mi></mml:mrow></mml:mfenced></mml:math></inline-formula> (left), as well as the mean restoring slope <inline-formula><mml:math id="inf276"><mml:mfenced close="〉" open="〈" separators="|"><mml:mrow><mml:mi>s</mml:mi></mml:mrow></mml:mfenced></mml:math></inline-formula> and standard deviation of log<sub>10</sub>(abundance change) (right). Error bars denote 95% confidence intervals. (<bold>B</bold>) Microbiota origin generally dictates the best fit parameters of resource competition, <inline-formula><mml:math id="inf277"><mml:mi>N</mml:mi><mml:mo>/</mml:mo><mml:mi>M</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="inf278"><mml:mi>S</mml:mi></mml:math></inline-formula> (left), and of environmental fluctuations, <inline-formula><mml:math id="inf279"><mml:mi>σ</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="inf280"><mml:mi>k</mml:mi></mml:math></inline-formula> (right). Error bars denote variation in the parameter that would increase model error (as interpolated between parameter values scanned) by 5% of the mean error across all parameter values scanned.</p></caption><graphic mime-subtype="tiff" mimetype="image" xlink:href="elife-75168-fig5-v1.tif"/></fig><fig id="fig5s1" position="float" specific-use="child-fig"><label>Figure 5—figure supplement 1.</label><caption><title>Model reproduces experimentally observed time series statistics in human gut microbiotas.</title><p>Shown are the same time series statistics as in <xref ref-type="fig" rid="fig2">Figure 2</xref> for representative data sets (blue) from <xref ref-type="bibr" rid="bib7">Caporaso et al., 2011</xref> (<bold>A</bold>) and <xref ref-type="bibr" rid="bib12">David et al., 2014</xref> (<bold>B</bold>) and best fit model predictions (red).</p></caption><graphic mime-subtype="tiff" mimetype="image" xlink:href="elife-75168-fig5-figsupp1-v1.tif"/></fig><fig id="fig5s2" position="float" specific-use="child-fig"><label>Figure 5—figure supplement 2.</label><caption><title>Model reproduces experimentally observed time series statistics in a human saliva microbiota.</title><p>Shown are the same time series statistics as in <xref ref-type="fig" rid="fig2">Figure 2</xref> for an experimental data set (blue) from <xref ref-type="bibr" rid="bib12">David et al., 2014</xref>, and best fit model predictions (red).</p></caption><graphic mime-subtype="tiff" mimetype="image" xlink:href="elife-75168-fig5-figsupp2-v1.tif"/></fig><fig id="fig5s3" position="float" specific-use="child-fig"><label>Figure 5—figure supplement 3.</label><caption><title>Model reproduces experimentally observed time series statistics in human vagina microbiotas.</title><p>Shown are the same time series statistics as in <xref ref-type="fig" rid="fig2">Figure 2</xref> for representative data sets (blue) of vaginal microbiotas with high diversity (<bold>A</bold>) and dominated by <italic>Lactobacillus iners</italic> (<bold>B</bold>) from <xref ref-type="bibr" rid="bib40">Song et al., 2020</xref>, and best fit model predictions (red).</p></caption><graphic mime-subtype="tiff" mimetype="image" xlink:href="elife-75168-fig5-figsupp3-v1.tif"/></fig><fig id="fig5s4" position="float" specific-use="child-fig"><label>Figure 5—figure supplement 4.</label><caption><title>Model reproduces experimentally observed time series statistics in mice gut microbiotas.</title><p>Shown are the same time series statistics as in <xref ref-type="fig" rid="fig2">Figure 2</xref> for representative data sets (blue) of mice fed a low fat (<bold>A</bold>) and high fat diet (<bold>B</bold>) from <xref ref-type="bibr" rid="bib8">Carmody et al., 2015</xref>, and best fit model predictions (red).</p></caption><graphic mime-subtype="tiff" mimetype="image" xlink:href="elife-75168-fig5-figsupp4-v1.tif"/></fig><fig id="fig5s5" position="float" specific-use="child-fig"><label>Figure 5—figure supplement 5.</label><caption><title>Model reproduces experimentally observed time series statistics in rice microbiotas.</title><p>Shown are the same time series statistics as in <xref ref-type="fig" rid="fig2">Figure 2</xref> for representative data sets (blue) of the rhizoplane (<bold>A</bold>) and endosphere (<bold>B</bold>) from <xref ref-type="bibr" rid="bib14">Edwards et al., 2018</xref>, and best fit model predictions (red).</p></caption><graphic mime-subtype="tiff" mimetype="image" xlink:href="elife-75168-fig5-figsupp5-v1.tif"/></fig><fig id="fig5s6" position="float" specific-use="child-fig"><label>Figure 5—figure supplement 6.</label><caption><title>odel reproduces experimentally observed time series statistics in an in vitro-passaged complex community.</title><p>Shown are the same time series statistics as in <xref ref-type="fig" rid="fig2">Figure 2</xref> for representative data (blue) from <xref ref-type="bibr" rid="bib3">Aranda-Díaz et al., 2022</xref>, and best fit model predictions (red).</p></caption><graphic mime-subtype="tiff" mimetype="image" xlink:href="elife-75168-fig5-figsupp6-v1.tif"/></fig></fig-group><p>The best fit parameters suggest that the effective resource competition dynamics occur in distinct regimes across microbiotas (<xref ref-type="fig" rid="fig5">Figure 5B</xref>). Human gut microbiotas were best described by <inline-formula><mml:math id="inf281"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mi>N</mml:mi><mml:mo>&gt;</mml:mo><mml:mi>M</mml:mi></mml:mrow></mml:mstyle></mml:math></inline-formula>, suggesting that there are more species in the reservoir than resources in the environment, by contrast to mouse gut microbiotas that were best described by <inline-formula><mml:math id="inf282"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mi>N</mml:mi><mml:mo>&lt;</mml:mo><mml:mi>M</mml:mi></mml:mrow></mml:mstyle></mml:math></inline-formula>. In terms of resource niche overlaps, human gut microbiotas were best fit with sparsity <inline-formula><mml:math id="inf283"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mi>S</mml:mi><mml:mo>&lt;</mml:mo><mml:mn>0.3</mml:mn></mml:mrow></mml:mstyle></mml:math></inline-formula>, while mouse gut microbiotas were best fit with <inline-formula><mml:math id="inf284"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mi>S</mml:mi><mml:mo>&gt;</mml:mo><mml:mn>0.3</mml:mn></mml:mrow></mml:mstyle></mml:math></inline-formula>, suggesting that on average, pairs of bacterial families are more metabolically distinct in the mouse versus the human gut.</p><p>Unlike gut microbiotas, a human saliva microbiota yielded best fit parameters <inline-formula><mml:math id="inf285"><mml:mi>N</mml:mi><mml:mo>≈</mml:mo><mml:mi>M</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="inf286"><mml:mi>S</mml:mi><mml:mo>≈</mml:mo><mml:mn>0.8</mml:mn></mml:math></inline-formula>, suggesting that this community has access to abundant resources and that each effective resource is competed for by a small fraction of the extant bacterial families. All vaginal microbiotas were best fit with <inline-formula><mml:math id="inf287"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mi>S</mml:mi><mml:mo>&lt;</mml:mo><mml:mn>0.1</mml:mn></mml:mrow></mml:mstyle></mml:math></inline-formula>, suggesting intense resource competition.</p><p>Like vaginal microbiotas, microbial communities residing in the bulk soil around rice roots and in the associated rhizoplane and rhizosphere were well described by <inline-formula><mml:math id="inf288"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mi>S</mml:mi><mml:mo>&lt;</mml:mo><mml:mn>0.1</mml:mn></mml:mrow></mml:mstyle></mml:math></inline-formula>. By contrast, the community in the associated endosphere was best described by <inline-formula><mml:math id="inf289"><mml:mi>S</mml:mi><mml:mo>≈</mml:mo><mml:mn>0.6</mml:mn></mml:math></inline-formula>, suggesting that resource competition is less fierce within plant roots than around them.</p><p>In addition, inferences about the nature of environmental fluctuations can be made from the best fit values of <inline-formula><mml:math id="inf290"><mml:mi>σ</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="inf291"><mml:mi>k</mml:mi></mml:math></inline-formula> (<xref ref-type="fig" rid="fig5">Figure 5B</xref>). Apart from the two vaginal microbiota data sets, the best fit values of <inline-formula><mml:math id="inf292"><mml:mi>σ</mml:mi></mml:math></inline-formula> ranged from 0.1 to 0.3, indicating that changes in resource levels smaller than this magnitude will generate abundance changes that look like typical fluctuations. The best fit values of <inline-formula><mml:math id="inf293"><mml:mi>k</mml:mi></mml:math></inline-formula> varied between 0.5 and 1 across data sets, suggesting that the dynamics of microbial communities occur faster than or comparable to the typical sampling frequency of longitudinal studies. While it is unclear whether the internal time scales are faster than the sampling frequency for all of these communities, simulation results were robust to the dilution factor and threshold change defining ecological steady state (<xref ref-type="fig" rid="fig1s1">Figure 1—figure supplement 1</xref>), two main factors that affect the relationship between the internal and sampling time scales.</p><p>Inferences about intrinsic parameters of resource competition and external parameters of environmental fluctuations were also consistent with expectations for in vitro passaging of complex communities derived from humanized mice (<xref ref-type="bibr" rid="bib3">Aranda-Díaz et al., 2022</xref>). The resulting time series statistics were best fit by the smallest value of <inline-formula><mml:math id="inf294"><mml:mi>σ</mml:mi></mml:math></inline-formula> among the data sets studied, indicating that the in vitro environment has relatively low noise across sampling times (as expected); the nonzero <inline-formula><mml:math id="inf295"><mml:mi>σ</mml:mi></mml:math></inline-formula> presumably arises from technical variations that result in effective noise in resource levels. The best fit value of <inline-formula><mml:math id="inf296"><mml:mi>M</mml:mi></mml:math></inline-formula> was larger than the reservoir size <inline-formula><mml:math id="inf297"><mml:mi>N</mml:mi></mml:math></inline-formula>, suggesting that there are many distinct resources in the complex medium used for passaging and consistent with the ability of more diverse inocula to support more diverse in vitro communities (<xref ref-type="bibr" rid="bib3">Aranda-Díaz et al., 2022</xref>). The consistency of these results further supports the utility of our model.</p><p>Taken together, our model infers ensemble-level parameters of resource competition and external parameters of environmental fluctuations for several widely studied microbial communities that can inform future mechanistic studies.</p></sec></sec><sec id="s3" sec-type="discussion"><title>Discussion</title><p>Here, we presented a coarse-grained CR model that generates species abundance time series from fluctuating environmental resources. We demonstrated that this model reproduces several statistical behaviors (<xref ref-type="fig" rid="fig2">Figure 2</xref>) and elucidated how these observations constrain the parameters of resource competition within the model (<xref ref-type="fig" rid="fig3">Figure 3</xref>). Moreover, we successfully fitted the model to wide-ranging microbiotas, which allowed us to draw inferences about the parameters of their effective resource competition. In sum, our work provides an existence proof that a CR model can recapitulate experimentally observed time series statistics in microbiotas from diverse environments.</p><p>An important feature of our model is that it does not need to specify the individual resource uptake rates of different taxa, which could be too numerous and complex to be tractable. Instead, our model reproduces many statistical behaviors with a small number of global parameters that describe the distributions of resource uptake rates. To what extent these macroscopic parameters can be interpreted mechanistically is an interesting open question that could be explored in future work. Although by no means exhaustive, our framework nevertheless addresses several pertinent questions regarding construction of useful models of microbiota dynamics. The success of our CR model in reproducing experimental time series statistics is consistent with bioinformatics-guided analyses of complex communities demonstrating that metabolic capability is a major determinant of community composition (<xref ref-type="bibr" rid="bib29">Louca et al., 2016</xref>; <xref ref-type="bibr" rid="bib43">Tian et al., 2020</xref>). Our results also suggest that the contributions of a reservoir of species or other forms of species re-introduction are important for the dynamics of wide-ranging microbiotas. Within our model, the lack of species re-introduction renders poor consumers unable to recover to meaningful abundance within a sampling time even when resource fluctuations are in their favor, thereby distorting time series statistics. The existence of a reservoir is consistent with previous experimental work in mice (<xref ref-type="bibr" rid="bib33">Ng et al., 2019</xref>), but further work is required to investigate how species re-introduction occurs in other systems. Similarly, further experimental work is required to ascertain the amount of growth and change that occurs during sampling time scales, and further theoretical work is required to infer such internal time scales from microbiota time series.</p><p>In terms of intrinsic metabolic properties, our results provide a baseline expectation for the effective number of resources or available niches in the wide-ranging systems examined here, and to what extent they are competed for by extant consumers. In terms of environmental properties, our results provide a baseline expectation to help distinguish between typical fluctuations and large perturbations in resources. These expectations may aid in the engineering of complex microbiotas.</p><p>In general, our work demonstrates that it is feasible to reproduce time series statistics using CR models of microbiota dynamics, thereby generating mechanistic hypotheses for further investigation. Our CR model and fitting procedure can also be used to aid the parametrization of other models such as Lotka-Volterra models (<xref ref-type="fig" rid="fig4s1">Figure 4—figure supplements 1</xref>–<xref ref-type="fig" rid="fig4s5">5</xref>), comparisons among which can reveal the model details that are required to recapitulate experimental data. In the future, more detailed hypotheses can be generated by investigating how time series statistics are affected by modifications to baseline CR dynamics, such as the incorporation of metabolic cross-feeding (<xref ref-type="bibr" rid="bib19">Goldford et al., 2018</xref>; <xref ref-type="bibr" rid="bib27">Li et al., 2020</xref>) or physical interactions such as type VI killing (<xref ref-type="bibr" rid="bib46">Verster et al., 2017</xref>), functional differentiation from genomic analysis (<xref ref-type="bibr" rid="bib4">Arkin et al., 2018</xref>; <xref ref-type="bibr" rid="bib30">Machado et al., 2021</xref>; <xref ref-type="bibr" rid="bib35">Pollak et al., 2021</xref>), and physical variables such as pH (<xref ref-type="bibr" rid="bib2">Aranda-Díaz et al., 2020</xref>; <xref ref-type="bibr" rid="bib37">Ratzke and Gore, 2018</xref>), temperature (<xref ref-type="bibr" rid="bib25">Lax et al., 2020</xref>), and osmolality (<xref ref-type="bibr" rid="bib9">Cesar et al., 2020</xref>). In addition, recent studies have shown that evolution can substantially affect the dynamics of human gut microbiotas (<xref ref-type="bibr" rid="bib17">Garud et al., 2019</xref>; <xref ref-type="bibr" rid="bib49">Yaffe and Relman, 2020</xref>; <xref ref-type="bibr" rid="bib50">Zhao et al., 2019</xref>). It will therefore be illuminating to incorporate evolutionary dynamics into CR models under fluctuating environments (<xref ref-type="bibr" rid="bib20">Good et al., 2018</xref>). Such extended models can then be applied to probe the underlying mechanisms in microbiotas for which frequent sampling and deeper understanding could be translated to urgent applications, including those in marine environments, wastewater treatment plants, and the guts of insect pests and livestock.</p></sec><sec id="s4" sec-type="materials|methods"><title>Materials and methods</title><sec id="s4-1"><title>Simulations of a CR model with fluctuating resource amounts</title><p>Under a serial dilution scheme, an ecological steady state is reached when the dynamics in subsequent passages are identical, which is the case when all consumers are either extinct or have a growth ratio (the ratio of a consumer’s final and initial abundances within one passage) equal to the dilution factor <inline-formula><mml:math id="inf298"><mml:mi>D</mml:mi></mml:math></inline-formula>. Due to the slow path to extinction of some consumers, reaching an exact ecological steady state can require hundreds of passages, presumably more than realistically occurs between sampling times in the data sets examined here. Thus, we assumed instead that between sampling times the system only approximately reaches an ecological steady state, defined as the growth ratios of all species changing by less than a threshold between subsequent passages that was defined as a fraction of <inline-formula><mml:math id="inf299"><mml:mi>D</mml:mi></mml:math></inline-formula>. Throughout this study, <inline-formula><mml:math id="inf300"><mml:mi>D</mml:mi></mml:math></inline-formula> was set to 200 and the steady state threshold was 5%, under which a steady state was approximately reached in about 5 dilutions (<xref ref-type="fig" rid="fig1">Figure 1B</xref>). In this manner, our model assigns a well-defined state of consumer abundances to each resource environment while ensuring that only a reasonable amount of change occurs between sampling times. Note that in human gut microbiotas, abundances can change by more than 1000-fold between daily samplings (<xref ref-type="fig" rid="fig2">Figure 2B</xref>), indicating that at least 10 generations can occur between sampling times. The precise value of <inline-formula><mml:math id="inf301"><mml:mi>D</mml:mi></mml:math></inline-formula> did not affect time series statistics, and steady-state thresholds between 1% and 10% generated similar time series statistics (<xref ref-type="fig" rid="fig1s1">Figure 1—figure supplement 1</xref>). We therefore expect our results to be robust to the values of these two parameters. Simulations were carried out in Matlab, and all code is freely available online in Matlab and Python at <ext-link ext-link-type="uri" xlink:href="https://bitbucket.org/kchuanglab/consumer-resource-model-for-microbiota-fluctuations/">https://bitbucket.org/kchuanglab/consumer-resource-model-for-microbiota-fluctuations/</ext-link>.</p></sec><sec id="s4-2"><title>CR model with saturation kinetics</title><p>Saturation kinetics were implemented into the CR dynamics of <xref ref-type="disp-formula" rid="equ2">Equation 1</xref> as<disp-formula id="equ5"><mml:math id="m5"><mml:mrow><mml:mfrac><mml:mrow><mml:mi>d</mml:mi><mml:msub><mml:mi>X</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mi>d</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:mfrac><mml:mo>=</mml:mo><mml:msub><mml:mi>X</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:munderover><mml:mo movablelimits="false">∑</mml:mo><mml:mrow><mml:mi>j</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>M</mml:mi></mml:mrow></mml:munderover><mml:msub><mml:mi>R</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mfrac><mml:msub><mml:mi>Y</mml:mi><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:msub><mml:mi>Y</mml:mi><mml:mrow><mml:mi>s</mml:mi></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>Y</mml:mi><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfrac></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula><disp-formula id="equ6"><mml:math id="m6"><mml:mrow><mml:mfrac><mml:mrow><mml:mi>d</mml:mi><mml:msub><mml:mi>Y</mml:mi><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mi>d</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:mfrac><mml:mo>=</mml:mo><mml:mo>−</mml:mo><mml:mfrac><mml:msub><mml:mi>Y</mml:mi><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:msub><mml:mi>Y</mml:mi><mml:mrow><mml:mi>s</mml:mi></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>Y</mml:mi><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfrac><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:munderover><mml:mo movablelimits="false">∑</mml:mo><mml:mrow><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>N</mml:mi></mml:mrow></mml:munderover><mml:msub><mml:mi>R</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:msub><mml:mi>X</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula></p><p>where <inline-formula><mml:math id="inf302"><mml:msub><mml:mrow><mml:mi>Y</mml:mi></mml:mrow><mml:mrow><mml:mi>s</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> denotes the saturation constant. For simplicity, <inline-formula><mml:math id="inf303"><mml:msub><mml:mrow><mml:mi>Y</mml:mi></mml:mrow><mml:mrow><mml:mi>s</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> was assumed to be equal for all resources, and set to an intermediate value of <inline-formula><mml:math id="inf304"><mml:msub><mml:mrow><mml:mi>Y</mml:mi></mml:mrow><mml:mrow><mml:mi>s</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mfenced close="〉" open="〈" separators="|"><mml:mrow><mml:msub><mml:mrow><mml:mi>Y</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mfenced><mml:mo>/</mml:mo><mml:mn>3</mml:mn></mml:math></inline-formula> such that both saturated and linear kinetics could affect community dynamics. Other model details are the same as the original CR model.</p></sec><sec id="s4-3"><title>Lotka-Volterra models</title><p>The gLV model in <xref ref-type="disp-formula" rid="equ4">Equation 3</xref> was parametrized in two ways. The first parametrization, which we refer to as CR-converted gLV models, was motivated by the successful recapitulation of experimental time series statistics with our CR model. The CR model can be rewritten as a gLV model when resource consumption rates are similar to the mean value (<xref ref-type="bibr" rid="bib20">Good et al., 2018</xref>). Under this assumption, the mapping is <inline-formula><mml:math id="inf305"><mml:msub><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn>2</mml:mn><mml:mrow><mml:msub><mml:mo>∑</mml:mo><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:msub><mml:mrow><mml:mi>R</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:msub><mml:mrow><mml:mi>Y</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="inf306"><mml:msub><mml:mrow><mml:mi>A</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>R</mml:mi></mml:mrow><mml:mrow><mml:mtext>max</mml:mtext></mml:mrow></mml:msub></mml:mrow></mml:mfrac><mml:mrow><mml:msub><mml:mo>∑</mml:mo><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:msub><mml:mrow><mml:mi>R</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:msub><mml:mrow><mml:mi>R</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:msub><mml:mrow><mml:mi>Y</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi><mml:mo>,</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mrow></mml:math></inline-formula> . The converted interaction coefficients are negative and symmetric, and their magnitudes depend on the niche overlap between the interacting taxa. Since the resource levels <inline-formula><mml:math id="inf307"><mml:msub><mml:mrow><mml:mi>Y</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:msub></mml:math></inline-formula> are involved in this parametrization, fluctuations in <inline-formula><mml:math id="inf308"><mml:msub><mml:mrow><mml:mi>Y</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:msub></mml:math></inline-formula> across sampling times <inline-formula><mml:math id="inf309"><mml:mi>T</mml:mi></mml:math></inline-formula> translate into fluctuations in <inline-formula><mml:math id="inf310"><mml:msub><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> and <inline-formula><mml:math id="inf311"><mml:msub><mml:mrow><mml:mi>A</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> .</p><p>In the second parametrization, <inline-formula><mml:math id="inf312"><mml:msub><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> and <inline-formula><mml:math id="inf313"><mml:msub><mml:mrow><mml:mi>A</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> were randomly drawn from normal distributions with means and variances equal to those in the CR-converted gLV model. <inline-formula><mml:math id="inf314"><mml:msub><mml:mrow><mml:mi>A</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> were forced to be negative and symmetric.</p><p>The gLV models were initialized with equal relative abundances for all taxa, and simulated for a fixed amount of time such that a similar range of relative abundances was generated as in the CR model at approximate ecological steady state.</p></sec><sec id="s4-4"><title>Analysis of 16S amplicon sequencing data</title><p>Raw 16S sequencing data from <xref ref-type="bibr" rid="bib12">David et al., 2014</xref>; <xref ref-type="bibr" rid="bib40">Song et al., 2020</xref>, were downloaded from the European Nucleotide Archive and the Sequence Read Archive, respectively, and ASVs were extracted using DADA2 (<xref ref-type="bibr" rid="bib6">Callahan et al., 2016</xref>) with default parameters. OTUs or ASVs from other studies were downloaded and analyzed in their available form. All code for data processing is available in the repository listed above.</p></sec></sec></body><back><sec id="s5" sec-type="additional-information"><title>Additional information</title><fn-group content-type="competing-interest"><title>Competing interests</title><fn fn-type="COI-statement" id="conf1"><p>No competing interests declared</p></fn><fn fn-type="COI-statement" id="conf2"><p>No competing interests declared</p></fn></fn-group><fn-group content-type="author-contribution"><title>Author contributions</title><fn fn-type="con" id="con1"><p>Conceptualization, Data curation, Formal analysis, Funding acquisition, Investigation, Methodology, Resources, Software, Supervision, Validation, Visualization, Writing – original draft, Writing – review and editing</p></fn><fn fn-type="con" id="con2"><p>Data curation, Formal analysis, Funding acquisition, Investigation, Methodology, Project administration, Supervision, Validation, Visualization, Writing – original draft, Writing – review and editing</p></fn><fn fn-type="con" id="con3"><p>Conceptualization, Formal analysis, Funding acquisition, Investigation, Methodology, Project administration, Resources, Supervision, Visualization, Writing – original draft, Writing – review and editing</p></fn></fn-group></sec><sec id="s6" sec-type="supplementary-material"><title>Additional files</title><supplementary-material id="transrepform"><label>Transparent reporting form</label><media mime-subtype="pdf" mimetype="application" xlink:href="elife-75168-transrepform1-v1.pdf"/></supplementary-material></sec><sec id="s7" sec-type="data-availability"><title>Data availability</title><p>The current manuscript is a computational study, so no data have been generated for this manuscript. Modelling code is uploaded at <ext-link ext-link-type="uri" xlink:href="https://bitbucket.org/kchuanglab/consumer-resource-model-for-microbiota-fluctuations/">https://bitbucket.org/kchuanglab/consumer-resource-model-for-microbiota-fluctuations/</ext-link>.</p><p>The following previously published datasets were used:</p><p><element-citation id="dataset1" publication-type="data" specific-use="references"><person-group person-group-type="author"><name><surname>David</surname><given-names>LA</given-names></name><name><surname>Materna</surname><given-names>AC</given-names></name><name><surname>Friedman</surname><given-names>J</given-names></name><name><surname>Campos-Baptista</surname><given-names>MI</given-names></name><name><surname>Blackburn</surname><given-names>MC</given-names></name><name><surname>Perrotta</surname><given-names>A</given-names></name><name><surname>Erdman</surname><given-names>SE</given-names></name><name><surname>Alm</surname><given-names>EJ</given-names></name></person-group><year iso-8601-date="2014">2014</year><data-title>Host lifestyle affects human microbiota on daily timescales</data-title><source>EBI</source><pub-id pub-id-type="accession" xlink:href="https://www.ebi.ac.uk/metagenomics/studies/ERP006059">ERP006059</pub-id></element-citation></p><p><element-citation id="dataset2" publication-type="data" specific-use="references"><person-group person-group-type="author"><name><surname>Song</surname><given-names>SD</given-names></name><name><surname>Acharya</surname><given-names>KD</given-names></name><name><surname>Zhu</surname><given-names>JE</given-names></name><name><surname>Deveney</surname><given-names>CM</given-names></name><name><surname>Walther-Antonio</surname><given-names>MRS</given-names></name><name><surname>Tetel</surname><given-names>MJ</given-names></name><name><surname>Chia</surname><given-names>N</given-names></name></person-group><year iso-8601-date="2020">2020</year><data-title>Daily Vaginal Microbiota Fluctuations Associated with Natural Hormonal Cycle, Contraceptives, Diet, and Exercise</data-title><source>NCBI BioProject</source><pub-id pub-id-type="accession" xlink:href="https://www.ncbi.nlm.nih.gov/bioproject/PRJNA637322">PRJNA637322</pub-id></element-citation></p></sec><ack id="ack"><title>Acknowledgements</title><p>We thank members of the Huang lab and Lisa Maier, Rui Fang, Jie Lin, and Felix Wong for helpful discussions. We thank Stephanie Song and Nicholas Chia for sharing metadata. This work was funded by a Stanford School of Medicine Dean’s Postdoctoral Fellowship (to PH), NIH F32 GM143859-01 (to PH), an Alfred P Sloan Research Fellowship FG-2021-15708 (to BHG), a Stanford Terman Fellowship (to BHG), NSF grant EF-2125383 (to KCH), NIH Award R01 AI147023 (to KCH), and NIH Award RM1 GM135102 (to KCH). KCH and BHG are Chan Zuckerberg Biohub Investigators.</p></ack><ref-list><title>References</title><ref id="bib1"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Allen</surname><given-names>AP</given-names></name><name><surname>Li</surname><given-names>BL</given-names></name><name><surname>Charnov</surname><given-names>EL</given-names></name></person-group><year iso-8601-date="2001">2001</year><article-title>Population fluctuations, power laws and mixtures of lognormal distributions</article-title><source>Ecology Letters</source><volume>4</volume><fpage>1</fpage><lpage>3</lpage><pub-id pub-id-type="doi">10.1046/j.1461-0248.2001.00194.x</pub-id></element-citation></ref><ref id="bib2"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Aranda-Díaz</surname><given-names>A</given-names></name><name><surname>Obadia</surname><given-names>B</given-names></name><name><surname>Dodge</surname><given-names>R</given-names></name><name><surname>Thomsen</surname><given-names>T</given-names></name><name><surname>Hallberg</surname><given-names>ZF</given-names></name><name><surname>Güvener</surname><given-names>ZT</given-names></name><name><surname>Ludington</surname><given-names>WB</given-names></name><name><surname>Huang</surname><given-names>KC</given-names></name></person-group><year iso-8601-date="2020">2020</year><article-title>Bacterial interspecies interactions modulate pH-mediated antibiotic tolerance</article-title><source>eLife</source><volume>9</volume><elocation-id>e51493</elocation-id><pub-id pub-id-type="doi">10.7554/eLife.51493</pub-id><pub-id pub-id-type="pmid">31995029</pub-id></element-citation></ref><ref id="bib3"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Aranda-Díaz</surname><given-names>A</given-names></name><name><surname>Ng</surname><given-names>KM</given-names></name><name><surname>Thomsen</surname><given-names>T</given-names></name><name><surname>Real-Ramírez</surname><given-names>I</given-names></name><name><surname>Dahan</surname><given-names>D</given-names></name><name><surname>Dittmar</surname><given-names>S</given-names></name><name><surname>Gonzalez</surname><given-names>CG</given-names></name><name><surname>Chavez</surname><given-names>T</given-names></name><name><surname>Vasquez</surname><given-names>KS</given-names></name><name><surname>Nguyen</surname><given-names>TH</given-names></name><name><surname>Yu</surname><given-names>FB</given-names></name><name><surname>Higginbottom</surname><given-names>SK</given-names></name><name><surname>Neff</surname><given-names>NF</given-names></name><name><surname>Elias</surname><given-names>JE</given-names></name><name><surname>Sonnenburg</surname><given-names>JL</given-names></name><name><surname>Huang</surname><given-names>KC</given-names></name></person-group><year iso-8601-date="2022">2022</year><article-title>Establishment and characterization of stable, diverse, fecal-derived in vitro microbial communities that model the intestinal microbiota</article-title><source>Cell Host &amp; Microbe</source><volume>30</volume><fpage>260</fpage><lpage>272</lpage><pub-id pub-id-type="doi">10.1016/j.chom.2021.12.008</pub-id><pub-id pub-id-type="pmid">35051349</pub-id></element-citation></ref><ref id="bib4"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Arkin</surname><given-names>AP</given-names></name><name><surname>Cottingham</surname><given-names>RW</given-names></name><name><surname>Henry</surname><given-names>CS</given-names></name><name><surname>Harris</surname><given-names>NL</given-names></name><name><surname>Stevens</surname><given-names>RL</given-names></name><name><surname>Maslov</surname><given-names>S</given-names></name><name><surname>Dehal</surname><given-names>P</given-names></name><name><surname>Ware</surname><given-names>D</given-names></name><name><surname>Perez</surname><given-names>F</given-names></name><name><surname>Canon</surname><given-names>S</given-names></name><name><surname>Sneddon</surname><given-names>MW</given-names></name><name><surname>Henderson</surname><given-names>ML</given-names></name><name><surname>Riehl</surname><given-names>WJ</given-names></name><name><surname>Murphy-Olson</surname><given-names>D</given-names></name><name><surname>Chan</surname><given-names>SY</given-names></name><name><surname>Kamimura</surname><given-names>RT</given-names></name><name><surname>Kumari</surname><given-names>S</given-names></name><name><surname>Drake</surname><given-names>MM</given-names></name><name><surname>Brettin</surname><given-names>TS</given-names></name><name><surname>Glass</surname><given-names>EM</given-names></name><name><surname>Chivian</surname><given-names>D</given-names></name><name><surname>Gunter</surname><given-names>D</given-names></name><name><surname>Weston</surname><given-names>DJ</given-names></name><name><surname>Allen</surname><given-names>BH</given-names></name><name><surname>Baumohl</surname><given-names>J</given-names></name><name><surname>Best</surname><given-names>AA</given-names></name><name><surname>Bowen</surname><given-names>B</given-names></name><name><surname>Brenner</surname><given-names>SE</given-names></name><name><surname>Bun</surname><given-names>CC</given-names></name><name><surname>Chandonia</surname><given-names>J-M</given-names></name><name><surname>Chia</surname><given-names>J-M</given-names></name><name><surname>Colasanti</surname><given-names>R</given-names></name><name><surname>Conrad</surname><given-names>N</given-names></name><name><surname>Davis</surname><given-names>JJ</given-names></name><name><surname>Davison</surname><given-names>BH</given-names></name><name><surname>DeJongh</surname><given-names>M</given-names></name><name><surname>Devoid</surname><given-names>S</given-names></name><name><surname>Dietrich</surname><given-names>E</given-names></name><name><surname>Dubchak</surname><given-names>I</given-names></name><name><surname>Edirisinghe</surname><given-names>JN</given-names></name><name><surname>Fang</surname><given-names>G</given-names></name><name><surname>Faria</surname><given-names>JP</given-names></name><name><surname>Frybarger</surname><given-names>PM</given-names></name><name><surname>Gerlach</surname><given-names>W</given-names></name><name><surname>Gerstein</surname><given-names>M</given-names></name><name><surname>Greiner</surname><given-names>A</given-names></name><name><surname>Gurtowski</surname><given-names>J</given-names></name><name><surname>Haun</surname><given-names>HL</given-names></name><name><surname>He</surname><given-names>F</given-names></name><name><surname>Jain</surname><given-names>R</given-names></name><name><surname>Joachimiak</surname><given-names>MP</given-names></name><name><surname>Keegan</surname><given-names>KP</given-names></name><name><surname>Kondo</surname><given-names>S</given-names></name><name><surname>Kumar</surname><given-names>V</given-names></name><name><surname>Land</surname><given-names>ML</given-names></name><name><surname>Meyer</surname><given-names>F</given-names></name><name><surname>Mills</surname><given-names>M</given-names></name><name><surname>Novichkov</surname><given-names>PS</given-names></name><name><surname>Oh</surname><given-names>T</given-names></name><name><surname>Olsen</surname><given-names>GJ</given-names></name><name><surname>Olson</surname><given-names>R</given-names></name><name><surname>Parrello</surname><given-names>B</given-names></name><name><surname>Pasternak</surname><given-names>S</given-names></name><name><surname>Pearson</surname><given-names>E</given-names></name><name><surname>Poon</surname><given-names>SS</given-names></name><name><surname>Price</surname><given-names>GA</given-names></name><name><surname>Ramakrishnan</surname><given-names>S</given-names></name><name><surname>Ranjan</surname><given-names>P</given-names></name><name><surname>Ronald</surname><given-names>PC</given-names></name><name><surname>Schatz</surname><given-names>MC</given-names></name><name><surname>Seaver</surname><given-names>SMD</given-names></name><name><surname>Shukla</surname><given-names>M</given-names></name><name><surname>Sutormin</surname><given-names>RA</given-names></name><name><surname>Syed</surname><given-names>MH</given-names></name><name><surname>Thomason</surname><given-names>J</given-names></name><name><surname>Tintle</surname><given-names>NL</given-names></name><name><surname>Wang</surname><given-names>D</given-names></name><name><surname>Xia</surname><given-names>F</given-names></name><name><surname>Yoo</surname><given-names>H</given-names></name><name><surname>Yoo</surname><given-names>S</given-names></name><name><surname>Yu</surname><given-names>D</given-names></name></person-group><year iso-8601-date="2018">2018</year><article-title>KBase: The United States Department of Energy Systems Biology Knowledgebase</article-title><source>Nature Biotechnology</source><volume>36</volume><fpage>566</fpage><lpage>569</lpage><pub-id pub-id-type="doi">10.1038/nbt.4163</pub-id><pub-id pub-id-type="pmid">29979655</pub-id></element-citation></ref><ref id="bib5"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Azaele</surname><given-names>S</given-names></name><name><surname>Pigolotti</surname><given-names>S</given-names></name><name><surname>Banavar</surname><given-names>JR</given-names></name><name><surname>Maritan</surname><given-names>A</given-names></name></person-group><year iso-8601-date="2006">2006</year><article-title>Dynamical evolution of ecosystems</article-title><source>Nature</source><volume>444</volume><fpage>926</fpage><lpage>928</lpage><pub-id pub-id-type="doi">10.1038/nature05320</pub-id><pub-id pub-id-type="pmid">17167485</pub-id></element-citation></ref><ref id="bib6"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Callahan</surname><given-names>BJ</given-names></name><name><surname>McMurdie</surname><given-names>PJ</given-names></name><name><surname>Rosen</surname><given-names>MJ</given-names></name><name><surname>Han</surname><given-names>AW</given-names></name><name><surname>Johnson</surname><given-names>AJA</given-names></name><name><surname>Holmes</surname><given-names>SP</given-names></name></person-group><year iso-8601-date="2016">2016</year><article-title>DADA2: High-resolution sample inference from Illumina amplicon data</article-title><source>Nature Methods</source><volume>13</volume><fpage>581</fpage><lpage>583</lpage><pub-id pub-id-type="doi">10.1038/nmeth.3869</pub-id><pub-id pub-id-type="pmid">27214047</pub-id></element-citation></ref><ref id="bib7"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Caporaso</surname><given-names>JG</given-names></name><name><surname>Lauber</surname><given-names>CL</given-names></name><name><surname>Costello</surname><given-names>EK</given-names></name><name><surname>Berg-Lyons</surname><given-names>D</given-names></name><name><surname>Gonzalez</surname><given-names>A</given-names></name><name><surname>Stombaugh</surname><given-names>J</given-names></name><name><surname>Knights</surname><given-names>D</given-names></name><name><surname>Gajer</surname><given-names>P</given-names></name><name><surname>Ravel</surname><given-names>J</given-names></name><name><surname>Fierer</surname><given-names>N</given-names></name><name><surname>Gordon</surname><given-names>JI</given-names></name><name><surname>Knight</surname><given-names>R</given-names></name></person-group><year iso-8601-date="2011">2011</year><article-title>Moving pictures of the human microbiome</article-title><source>Genome Biology</source><volume>12</volume><elocation-id>R50</elocation-id><pub-id pub-id-type="doi">10.1186/gb-2011-12-5-r50</pub-id><pub-id pub-id-type="pmid">21624126</pub-id></element-citation></ref><ref id="bib8"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Carmody</surname><given-names>RN</given-names></name><name><surname>Gerber</surname><given-names>GK</given-names></name><name><surname>Luevano</surname><given-names>JM</given-names></name><name><surname>Gatti</surname><given-names>DM</given-names></name><name><surname>Somes</surname><given-names>L</given-names></name><name><surname>Svenson</surname><given-names>KL</given-names></name><name><surname>Turnbaugh</surname><given-names>PJ</given-names></name></person-group><year iso-8601-date="2015">2015</year><article-title>Diet dominates host genotype in shaping the murine gut microbiota</article-title><source>Cell Host &amp; Microbe</source><volume>17</volume><fpage>72</fpage><lpage>84</lpage><pub-id pub-id-type="doi">10.1016/j.chom.2014.11.010</pub-id><pub-id pub-id-type="pmid">25532804</pub-id></element-citation></ref><ref id="bib9"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Cesar</surname><given-names>S</given-names></name><name><surname>Anjur-Dietrich</surname><given-names>M</given-names></name><name><surname>Yu</surname><given-names>B</given-names></name><name><surname>Li</surname><given-names>E</given-names></name><name><surname>Rojas</surname><given-names>E</given-names></name><name><surname>Neff</surname><given-names>N</given-names></name><name><surname>Cooper</surname><given-names>TF</given-names></name><name><surname>Huang</surname><given-names>KC</given-names></name><name><surname>Hughes</surname><given-names>KT</given-names></name></person-group><year iso-8601-date="2020">2020</year><article-title>Bacterial Evolution in High-Osmolarity Environments</article-title><source>MBio</source><volume>11</volume><elocation-id>e01191-20</elocation-id><pub-id pub-id-type="doi">10.1128/mBio.01191-20</pub-id></element-citation></ref><ref id="bib10"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Chesson</surname><given-names>P</given-names></name></person-group><year iso-8601-date="1990">1990</year><article-title>MacArthur’s consumer-resource model</article-title><source>Theoretical Population Biology</source><volume>37</volume><fpage>26</fpage><lpage>38</lpage><pub-id pub-id-type="doi">10.1016/0040-5809(90)90025-Q</pub-id></element-citation></ref><ref id="bib11"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Cui</surname><given-names>W</given-names></name><name><surname>Marsland</surname><given-names>R</given-names></name><name><surname>Mehta</surname><given-names>P</given-names></name></person-group><year iso-8601-date="2021">2021</year><article-title>Diverse communities behave like typical random ecosystems</article-title><source>Physical Review. E</source><volume>104</volume><elocation-id>034416</elocation-id><pub-id pub-id-type="doi">10.1103/PhysRevE.104.034416</pub-id><pub-id pub-id-type="pmid">34654170</pub-id></element-citation></ref><ref id="bib12"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>David</surname><given-names>LA</given-names></name><name><surname>Materna</surname><given-names>AC</given-names></name><name><surname>Friedman</surname><given-names>J</given-names></name><name><surname>Campos-Baptista</surname><given-names>MI</given-names></name><name><surname>Blackburn</surname><given-names>MC</given-names></name><name><surname>Perrotta</surname><given-names>A</given-names></name><name><surname>Erdman</surname><given-names>SE</given-names></name><name><surname>Alm</surname><given-names>EJ</given-names></name></person-group><year iso-8601-date="2014">2014</year><article-title>Host lifestyle affects human microbiota on daily timescales</article-title><source>Genome Biology</source><volume>15</volume><elocation-id>R89</elocation-id><pub-id pub-id-type="doi">10.1186/gb-2014-15-7-r89</pub-id><pub-id pub-id-type="pmid">25146375</pub-id></element-citation></ref><ref id="bib13"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Descheemaeker</surname><given-names>L</given-names></name><name><surname>de Buyl</surname><given-names>S</given-names></name></person-group><year iso-8601-date="2020">2020</year><article-title>Stochastic logistic models reproduce experimental time series of microbial communities</article-title><source>eLife</source><volume>9</volume><elocation-id>e55650</elocation-id><pub-id pub-id-type="doi">10.7554/eLife.55650</pub-id><pub-id pub-id-type="pmid">32687052</pub-id></element-citation></ref><ref id="bib14"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Edwards</surname><given-names>JA</given-names></name><name><surname>Santos-Medellín</surname><given-names>CM</given-names></name><name><surname>Liechty</surname><given-names>ZS</given-names></name><name><surname>Nguyen</surname><given-names>B</given-names></name><name><surname>Lurie</surname><given-names>E</given-names></name><name><surname>Eason</surname><given-names>S</given-names></name><name><surname>Phillips</surname><given-names>G</given-names></name><name><surname>Sundaresan</surname><given-names>V</given-names></name></person-group><year iso-8601-date="2018">2018</year><article-title>Compositional shifts in root-associated bacterial and archaeal microbiota track the plant life cycle in field-grown rice</article-title><source>PLOS Biology</source><volume>16</volume><elocation-id>e2003862</elocation-id><pub-id pub-id-type="doi">10.1371/journal.pbio.2003862</pub-id><pub-id pub-id-type="pmid">29474469</pub-id></element-citation></ref><ref id="bib15"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Erez</surname><given-names>A</given-names></name><name><surname>Lopez</surname><given-names>JG</given-names></name><name><surname>Weiner</surname><given-names>BG</given-names></name><name><surname>Meir</surname><given-names>Y</given-names></name><name><surname>Wingreen</surname><given-names>NS</given-names></name></person-group><year iso-8601-date="2020">2020</year><article-title>Nutrient levels and trade-offs control diversity in a serial dilution ecosystem</article-title><source>eLife</source><volume>9</volume><elocation-id>e57790</elocation-id><pub-id pub-id-type="doi">10.7554/eLife.57790</pub-id><pub-id pub-id-type="pmid">32915132</pub-id></element-citation></ref><ref id="bib16"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Faith</surname><given-names>JJ</given-names></name><name><surname>Guruge</surname><given-names>JL</given-names></name><name><surname>Charbonneau</surname><given-names>M</given-names></name><name><surname>Subramanian</surname><given-names>S</given-names></name><name><surname>Seedorf</surname><given-names>H</given-names></name><name><surname>Goodman</surname><given-names>AL</given-names></name><name><surname>Clemente</surname><given-names>JC</given-names></name><name><surname>Knight</surname><given-names>R</given-names></name><name><surname>Heath</surname><given-names>AC</given-names></name><name><surname>Leibel</surname><given-names>RL</given-names></name><name><surname>Rosenbaum</surname><given-names>M</given-names></name><name><surname>Gordon</surname><given-names>JI</given-names></name></person-group><year iso-8601-date="2013">2013</year><article-title>The long-term stability of the human gut microbiota</article-title><source>Science (New York, N.Y.)</source><volume>341</volume><elocation-id>1237439</elocation-id><pub-id pub-id-type="doi">10.1126/science.1237439</pub-id><pub-id pub-id-type="pmid">23828941</pub-id></element-citation></ref><ref id="bib17"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Garud</surname><given-names>NR</given-names></name><name><surname>Good</surname><given-names>BH</given-names></name><name><surname>Hallatschek</surname><given-names>O</given-names></name><name><surname>Pollard</surname><given-names>KS</given-names></name></person-group><year iso-8601-date="2019">2019</year><article-title>Evolutionary dynamics of bacteria in the gut microbiome within and across hosts</article-title><source>PLOS Biology</source><volume>17</volume><elocation-id>e3000102</elocation-id><pub-id pub-id-type="doi">10.1371/journal.pbio.3000102</pub-id><pub-id pub-id-type="pmid">30673701</pub-id></element-citation></ref><ref id="bib18"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Gibbons</surname><given-names>SM</given-names></name><name><surname>Kearney</surname><given-names>SM</given-names></name><name><surname>Smillie</surname><given-names>CS</given-names></name><name><surname>Alm</surname><given-names>EJ</given-names></name></person-group><year iso-8601-date="2017">2017</year><article-title>Two dynamic regimes in the human gut microbiome</article-title><source>PLOS Computational Biology</source><volume>13</volume><elocation-id>e1005364</elocation-id><pub-id pub-id-type="doi">10.1371/journal.pcbi.1005364</pub-id><pub-id pub-id-type="pmid">28222117</pub-id></element-citation></ref><ref id="bib19"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Goldford</surname><given-names>JE</given-names></name><name><surname>Lu</surname><given-names>N</given-names></name><name><surname>Bajić</surname><given-names>D</given-names></name><name><surname>Estrela</surname><given-names>S</given-names></name><name><surname>Tikhonov</surname><given-names>M</given-names></name><name><surname>Sanchez-Gorostiaga</surname><given-names>A</given-names></name><name><surname>Segrè</surname><given-names>D</given-names></name><name><surname>Mehta</surname><given-names>P</given-names></name><name><surname>Sanchez</surname><given-names>A</given-names></name></person-group><year iso-8601-date="2018">2018</year><article-title>Emergent simplicity in microbial community assembly</article-title><source>Science (New York, N.Y.)</source><volume>361</volume><fpage>469</fpage><lpage>474</lpage><pub-id pub-id-type="doi">10.1126/science.aat1168</pub-id><pub-id pub-id-type="pmid">30072533</pub-id></element-citation></ref><ref id="bib20"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Good</surname><given-names>BH</given-names></name><name><surname>Martis</surname><given-names>S</given-names></name><name><surname>Hallatschek</surname><given-names>O</given-names></name></person-group><year iso-8601-date="2018">2018</year><article-title>Adaptation limits ecological diversification and promotes ecological tinkering during the competition for substitutable resources</article-title><source>PNAS</source><volume>115</volume><fpage>E10407</fpage><lpage>E10416</lpage><pub-id pub-id-type="doi">10.1073/pnas.1807530115</pub-id><pub-id pub-id-type="pmid">30322918</pub-id></element-citation></ref><ref id="bib21"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Grilli</surname><given-names>J</given-names></name></person-group><year iso-8601-date="2020">2020</year><article-title>Macroecological laws describe variation and diversity in microbial communities</article-title><source>Nature Communications</source><volume>11</volume><elocation-id>4743</elocation-id><pub-id pub-id-type="doi">10.1038/s41467-020-18529-y</pub-id><pub-id pub-id-type="pmid">32958773</pub-id></element-citation></ref><ref id="bib22"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Hart</surname><given-names>SFM</given-names></name><name><surname>Mi</surname><given-names>H</given-names></name><name><surname>Green</surname><given-names>R</given-names></name><name><surname>Xie</surname><given-names>L</given-names></name><name><surname>Pineda</surname><given-names>JMB</given-names></name><name><surname>Momeni</surname><given-names>B</given-names></name><name><surname>Shou</surname><given-names>W</given-names></name></person-group><year iso-8601-date="2019">2019</year><article-title>Uncovering and resolving challenges of quantitative modeling in a simplified community of interacting cells</article-title><source>PLOS Biology</source><volume>17</volume><elocation-id>e3000135</elocation-id><pub-id pub-id-type="doi">10.1371/journal.pbio.3000135</pub-id><pub-id pub-id-type="pmid">30794534</pub-id></element-citation></ref><ref id="bib23"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Ji</surname><given-names>BW</given-names></name><name><surname>Sheth</surname><given-names>RU</given-names></name><name><surname>Dixit</surname><given-names>PD</given-names></name><name><surname>Tchourine</surname><given-names>K</given-names></name><name><surname>Vitkup</surname><given-names>D</given-names></name></person-group><year iso-8601-date="2020">2020</year><article-title>Macroecological dynamics of gut microbiota</article-title><source>Nature Microbiology</source><volume>5</volume><fpage>768</fpage><lpage>775</lpage><pub-id pub-id-type="doi">10.1038/s41564-020-0685-1</pub-id><pub-id pub-id-type="pmid">32284567</pub-id></element-citation></ref><ref id="bib24"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Joseph</surname><given-names>TA</given-names></name><name><surname>Shenhav</surname><given-names>L</given-names></name><name><surname>Xavier</surname><given-names>JB</given-names></name><name><surname>Halperin</surname><given-names>E</given-names></name><name><surname>Pe’er</surname><given-names>I</given-names></name></person-group><year iso-8601-date="2020">2020</year><article-title>Compositional Lotka-Volterra describes microbial dynamics in the simplex</article-title><source>PLOS Computational Biology</source><volume>16</volume><elocation-id>e1007917</elocation-id><pub-id pub-id-type="doi">10.1371/journal.pcbi.1007917</pub-id><pub-id pub-id-type="pmid">32469867</pub-id></element-citation></ref><ref id="bib25"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Lax</surname><given-names>S</given-names></name><name><surname>Abreu</surname><given-names>CI</given-names></name><name><surname>Gore</surname><given-names>J</given-names></name></person-group><year iso-8601-date="2020">2020</year><article-title>Higher temperatures generically favour slower-growing bacterial species in multispecies communities</article-title><source>Nature Ecology &amp; Evolution</source><volume>4</volume><fpage>560</fpage><lpage>567</lpage><pub-id pub-id-type="doi">10.1038/s41559-020-1126-5</pub-id><pub-id pub-id-type="pmid">32123319</pub-id></element-citation></ref><ref id="bib26"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Levy</surname><given-names>R</given-names></name><name><surname>Magis</surname><given-names>AT</given-names></name><name><surname>Earls</surname><given-names>JC</given-names></name><name><surname>Manor</surname><given-names>O</given-names></name><name><surname>Wilmanski</surname><given-names>T</given-names></name><name><surname>Lovejoy</surname><given-names>J</given-names></name><name><surname>Gibbons</surname><given-names>SM</given-names></name><name><surname>Omenn</surname><given-names>GS</given-names></name><name><surname>Hood</surname><given-names>L</given-names></name><name><surname>Price</surname><given-names>ND</given-names></name></person-group><year iso-8601-date="2020">2020</year><article-title>Longitudinal analysis reveals transition barriers between dominant ecological states in the gut microbiome</article-title><source>PNAS</source><volume>117</volume><fpage>13839</fpage><lpage>13845</lpage><pub-id pub-id-type="doi">10.1073/pnas.1922498117</pub-id><pub-id pub-id-type="pmid">32471946</pub-id></element-citation></ref><ref id="bib27"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Li</surname><given-names>Z</given-names></name><name><surname>Liu</surname><given-names>B</given-names></name><name><surname>Li</surname><given-names>SHJ</given-names></name><name><surname>King</surname><given-names>CG</given-names></name><name><surname>Gitai</surname><given-names>Z</given-names></name><name><surname>Wingreen</surname><given-names>NS</given-names></name></person-group><year iso-8601-date="2020">2020</year><article-title>Modeling microbial metabolic trade-offs in a chemostat</article-title><source>PLOS Computational Biology</source><volume>16</volume><elocation-id>e1008156</elocation-id><pub-id pub-id-type="doi">10.1371/journal.pcbi.1008156</pub-id><pub-id pub-id-type="pmid">32857772</pub-id></element-citation></ref><ref id="bib28"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Liao</surname><given-names>C</given-names></name><name><surname>Wang</surname><given-names>T</given-names></name><name><surname>Maslov</surname><given-names>S</given-names></name><name><surname>Xavier</surname><given-names>JB</given-names></name></person-group><year iso-8601-date="2020">2020</year><article-title>Modeling microbial cross-feeding at intermediate scale portrays community dynamics and species coexistence</article-title><source>PLOS Computational Biology</source><volume>16</volume><elocation-id>e1008135</elocation-id><pub-id pub-id-type="doi">10.1371/journal.pcbi.1008135</pub-id><pub-id pub-id-type="pmid">32810127</pub-id></element-citation></ref><ref id="bib29"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Louca</surname><given-names>S</given-names></name><name><surname>Parfrey</surname><given-names>LW</given-names></name><name><surname>Doebeli</surname><given-names>M</given-names></name></person-group><year iso-8601-date="2016">2016</year><article-title>Decoupling function and taxonomy in the global ocean microbiome</article-title><source>Science (New York, N.Y.)</source><volume>353</volume><fpage>1272</fpage><lpage>1277</lpage><pub-id pub-id-type="doi">10.1126/science.aaf4507</pub-id><pub-id pub-id-type="pmid">27634532</pub-id></element-citation></ref><ref id="bib30"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Machado</surname><given-names>D</given-names></name><name><surname>Maistrenko</surname><given-names>OM</given-names></name><name><surname>Andrejev</surname><given-names>S</given-names></name><name><surname>Kim</surname><given-names>Y</given-names></name><name><surname>Bork</surname><given-names>P</given-names></name><name><surname>Patil</surname><given-names>KR</given-names></name><name><surname>Patil</surname><given-names>KR</given-names></name></person-group><year iso-8601-date="2021">2021</year><article-title>Polarization of microbial communities between competitive and cooperative metabolism</article-title><source>Nature Ecology &amp; Evolution</source><volume>5</volume><fpage>195</fpage><lpage>203</lpage><pub-id pub-id-type="doi">10.1038/s41559-020-01353-4</pub-id><pub-id pub-id-type="pmid">33398106</pub-id></element-citation></ref><ref id="bib31"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>May</surname><given-names>RM</given-names></name></person-group><year iso-8601-date="1972">1972</year><article-title>Will a large complex system be stable?</article-title><source>Nature</source><volume>238</volume><fpage>413</fpage><lpage>414</lpage><pub-id pub-id-type="doi">10.1038/238413a0</pub-id><pub-id pub-id-type="pmid">4559589</pub-id></element-citation></ref><ref id="bib32"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Momeni</surname><given-names>B</given-names></name><name><surname>Xie</surname><given-names>L</given-names></name><name><surname>Shou</surname><given-names>W</given-names></name></person-group><year iso-8601-date="2017">2017</year><article-title>Lotka-Volterra pairwise modeling fails to capture diverse pairwise microbial interactions</article-title><source>eLife</source><volume>6</volume><elocation-id>e25051</elocation-id><pub-id pub-id-type="doi">10.7554/eLife.25051</pub-id><pub-id pub-id-type="pmid">28350295</pub-id></element-citation></ref><ref id="bib33"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Ng</surname><given-names>KM</given-names></name><name><surname>Aranda-Díaz</surname><given-names>A</given-names></name><name><surname>Tropini</surname><given-names>C</given-names></name><name><surname>Frankel</surname><given-names>MR</given-names></name><name><surname>Van Treuren</surname><given-names>W</given-names></name><name><surname>O’Loughlin</surname><given-names>CT</given-names></name><name><surname>Merrill</surname><given-names>BD</given-names></name><name><surname>Yu</surname><given-names>FB</given-names></name><name><surname>Pruss</surname><given-names>KM</given-names></name><name><surname>Oliveira</surname><given-names>RA</given-names></name><name><surname>Higginbottom</surname><given-names>SK</given-names></name><name><surname>Neff</surname><given-names>NF</given-names></name><name><surname>Fischbach</surname><given-names>MA</given-names></name><name><surname>Xavier</surname><given-names>KB</given-names></name><name><surname>Sonnenburg</surname><given-names>JL</given-names></name><name><surname>Huang</surname><given-names>KC</given-names></name></person-group><year iso-8601-date="2019">2019</year><article-title>Recovery of the Gut Microbiota after Antibiotics Depends on Host Diet, Community Context, and Environmental Reservoirs</article-title><source>Cell Host &amp; Microbe</source><volume>26</volume><fpage>650</fpage><lpage>665</lpage><pub-id pub-id-type="doi">10.1016/j.chom.2019.10.011</pub-id><pub-id pub-id-type="pmid">31726029</pub-id></element-citation></ref><ref id="bib34"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Niehaus</surname><given-names>L</given-names></name><name><surname>Boland</surname><given-names>I</given-names></name><name><surname>Liu</surname><given-names>M</given-names></name><name><surname>Chen</surname><given-names>K</given-names></name><name><surname>Fu</surname><given-names>D</given-names></name><name><surname>Henckel</surname><given-names>C</given-names></name><name><surname>Chaung</surname><given-names>K</given-names></name><name><surname>Miranda</surname><given-names>SE</given-names></name><name><surname>Dyckman</surname><given-names>S</given-names></name><name><surname>Crum</surname><given-names>M</given-names></name><name><surname>Dedrick</surname><given-names>S</given-names></name><name><surname>Shou</surname><given-names>W</given-names></name><name><surname>Momeni</surname><given-names>B</given-names></name></person-group><year iso-8601-date="2019">2019</year><article-title>Microbial coexistence through chemical-mediated interactions</article-title><source>Nature Communications</source><volume>10</volume><elocation-id>2052</elocation-id><pub-id pub-id-type="doi">10.1038/s41467-019-10062-x</pub-id><pub-id pub-id-type="pmid">31053707</pub-id></element-citation></ref><ref id="bib35"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Pollak</surname><given-names>S</given-names></name><name><surname>Gralka</surname><given-names>M</given-names></name><name><surname>Sato</surname><given-names>Y</given-names></name><name><surname>Schwartzman</surname><given-names>J</given-names></name><name><surname>Lu</surname><given-names>L</given-names></name><name><surname>Cordero</surname><given-names>OX</given-names></name></person-group><year iso-8601-date="2021">2021</year><article-title>Public good exploitation in natural bacterioplankton communities</article-title><source>Science Advances</source><volume>7</volume><elocation-id>eabi4717</elocation-id><pub-id pub-id-type="doi">10.1126/sciadv.abi4717</pub-id></element-citation></ref><ref id="bib36"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Posfai</surname><given-names>A</given-names></name><name><surname>Taillefumier</surname><given-names>T</given-names></name><name><surname>Wingreen</surname><given-names>NS</given-names></name></person-group><year iso-8601-date="2017">2017</year><article-title>Metabolic Trade-Offs Promote Diversity in a Model Ecosystem</article-title><source>Physical Review Letters</source><volume>118</volume><elocation-id>028103</elocation-id><pub-id pub-id-type="doi">10.1103/PhysRevLett.118.028103</pub-id><pub-id pub-id-type="pmid">28128613</pub-id></element-citation></ref><ref id="bib37"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Ratzke</surname><given-names>C</given-names></name><name><surname>Gore</surname><given-names>J</given-names></name></person-group><year iso-8601-date="2018">2018</year><article-title>Modifying and reacting to the environmental pH can drive bacterial interactions</article-title><source>PLOS Biology</source><volume>16</volume><elocation-id>e2004248</elocation-id><pub-id pub-id-type="doi">10.1371/journal.pbio.2004248</pub-id><pub-id pub-id-type="pmid">29538378</pub-id></element-citation></ref><ref id="bib38"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Sekirov</surname><given-names>I</given-names></name><name><surname>Russell</surname><given-names>SL</given-names></name><name><surname>Antunes</surname><given-names>LCM</given-names></name><name><surname>Finlay</surname><given-names>BB</given-names></name></person-group><year iso-8601-date="2010">2010</year><article-title>Gut microbiota in health and disease</article-title><source>Physiological Reviews</source><volume>90</volume><fpage>859</fpage><lpage>904</lpage><pub-id pub-id-type="doi">10.1152/physrev.00045.2009</pub-id><pub-id pub-id-type="pmid">20664075</pub-id></element-citation></ref><ref id="bib39"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Shoemaker</surname><given-names>WR</given-names></name><name><surname>Locey</surname><given-names>KJ</given-names></name><name><surname>Lennon</surname><given-names>JT</given-names></name></person-group><year iso-8601-date="2017">2017</year><article-title>A macroecological theory of microbial biodiversity</article-title><source>Nature Ecology &amp; Evolution</source><volume>1</volume><elocation-id>107</elocation-id><pub-id pub-id-type="doi">10.1038/s41559-017-0107</pub-id><pub-id pub-id-type="pmid">28812691</pub-id></element-citation></ref><ref id="bib40"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Song</surname><given-names>SD</given-names></name><name><surname>Acharya</surname><given-names>KD</given-names></name><name><surname>Zhu</surname><given-names>JE</given-names></name><name><surname>Deveney</surname><given-names>CM</given-names></name><name><surname>Walther-Antonio</surname><given-names>MRS</given-names></name><name><surname>Tetel</surname><given-names>MJ</given-names></name><name><surname>Chia</surname><given-names>N</given-names></name></person-group><year iso-8601-date="2020">2020</year><article-title>Daily Vaginal Microbiota Fluctuations Associated with Natural Hormonal Cycle, Contraceptives, Diet, and Exercise</article-title><source>MSphere</source><volume>5</volume><fpage>e00593</fpage><lpage>e00520</lpage><pub-id pub-id-type="doi">10.1128/mSphere.00593-20</pub-id><pub-id pub-id-type="pmid">32641429</pub-id></element-citation></ref><ref id="bib41"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Taylor</surname><given-names>LR</given-names></name></person-group><year iso-8601-date="1961">1961</year><article-title>Aggregation, Variance and the Mean</article-title><source>Nature</source><volume>189</volume><fpage>732</fpage><lpage>735</lpage><pub-id pub-id-type="doi">10.1038/189732a0</pub-id></element-citation></ref><ref id="bib42"><element-citation publication-type="preprint"><person-group person-group-type="author"><name><surname>Tchourine</surname><given-names>K</given-names></name><name><surname>Carballo-Pacheco</surname><given-names>M</given-names></name><name><surname>Vitkup</surname><given-names>D</given-names></name></person-group><year iso-8601-date="2021">2021</year><article-title>Multiple Macroecological Laws Do Characterize Various Aspects of Microbiota Dynamics</article-title><source>bioRxiv</source><pub-id pub-id-type="doi">10.1101/2021.08.09.455744</pub-id></element-citation></ref><ref id="bib43"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Tian</surname><given-names>L</given-names></name><name><surname>Wang</surname><given-names>XW</given-names></name><name><surname>Wu</surname><given-names>AK</given-names></name><name><surname>Fan</surname><given-names>Y</given-names></name><name><surname>Friedman</surname><given-names>J</given-names></name><name><surname>Dahlin</surname><given-names>A</given-names></name><name><surname>Waldor</surname><given-names>MK</given-names></name><name><surname>Weinstock</surname><given-names>GM</given-names></name><name><surname>Weiss</surname><given-names>ST</given-names></name><name><surname>Liu</surname><given-names>YY</given-names></name></person-group><year iso-8601-date="2020">2020</year><article-title>Deciphering functional redundancy in the human microbiome</article-title><source>Nature Communications</source><volume>11</volume><fpage>1</fpage><lpage>11</lpage><pub-id pub-id-type="doi">10.1038/s41467-020-19940-1</pub-id><pub-id pub-id-type="pmid">33277504</pub-id></element-citation></ref><ref id="bib44"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Tikhonov</surname><given-names>M</given-names></name><name><surname>Monasson</surname><given-names>R</given-names></name></person-group><year iso-8601-date="2017">2017</year><article-title>Collective Phase in Resource Competition in a Highly Diverse Ecosystem</article-title><source>Physical Review Letters</source><volume>118</volume><elocation-id>048103</elocation-id><pub-id pub-id-type="doi">10.1103/PhysRevLett.118.048103</pub-id><pub-id pub-id-type="pmid">28186794</pub-id></element-citation></ref><ref id="bib45"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Tkacz</surname><given-names>A</given-names></name><name><surname>Poole</surname><given-names>P</given-names></name></person-group><year iso-8601-date="2015">2015</year><article-title>Role of root microbiota in plant productivity</article-title><source>Journal of Experimental Botany</source><volume>66</volume><fpage>2167</fpage><lpage>2175</lpage><pub-id pub-id-type="doi">10.1093/jxb/erv157</pub-id><pub-id pub-id-type="pmid">25908654</pub-id></element-citation></ref><ref id="bib46"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Verster</surname><given-names>AJ</given-names></name><name><surname>Ross</surname><given-names>BD</given-names></name><name><surname>Radey</surname><given-names>MC</given-names></name><name><surname>Bao</surname><given-names>Y</given-names></name><name><surname>Goodman</surname><given-names>AL</given-names></name><name><surname>Mougous</surname><given-names>JD</given-names></name><name><surname>Borenstein</surname><given-names>E</given-names></name></person-group><year iso-8601-date="2017">2017</year><article-title>The Landscape of Type VI Secretion across Human Gut Microbiomes Reveals Its Role in Community Composition</article-title><source>Cell Host &amp; Microbe</source><volume>22</volume><fpage>411</fpage><lpage>419</lpage><pub-id pub-id-type="doi">10.1016/j.chom.2017.08.010</pub-id><pub-id pub-id-type="pmid">28910638</pub-id></element-citation></ref><ref id="bib47"><element-citation publication-type="preprint"><person-group person-group-type="author"><name><surname>Wang</surname><given-names>XW</given-names></name><name><surname>Liu</surname><given-names>YY</given-names></name></person-group><year iso-8601-date="2021">2021a</year><article-title>Characterizing Scaling Laws in Gut Microbial Dynamics from Time Series Data: Caution Is Warranted</article-title><source>bioRxiv</source><pub-id pub-id-type="doi">10.1101/2021.01.11.426045</pub-id></element-citation></ref><ref id="bib48"><element-citation publication-type="preprint"><person-group person-group-type="author"><name><surname>Wang</surname><given-names>XW</given-names></name><name><surname>Liu</surname><given-names>YY</given-names></name></person-group><year iso-8601-date="2021">2021b</year><article-title>Origins of Scaling Laws in Microbial Dynamics</article-title><source>bioRxiv</source><pub-id pub-id-type="doi">10.1101/2021.05.24.445465</pub-id></element-citation></ref><ref id="bib49"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Yaffe</surname><given-names>E</given-names></name><name><surname>Relman</surname><given-names>DA</given-names></name></person-group><year iso-8601-date="2020">2020</year><article-title>Tracking microbial evolution in the human gut using Hi-C reveals extensive horizontal gene transfer, persistence and adaptation</article-title><source>Nature Microbiology</source><volume>5</volume><fpage>343</fpage><lpage>353</lpage><pub-id pub-id-type="doi">10.1038/s41564-019-0625-0</pub-id><pub-id pub-id-type="pmid">31873203</pub-id></element-citation></ref><ref id="bib50"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Zhao</surname><given-names>S</given-names></name><name><surname>Lieberman</surname><given-names>TD</given-names></name><name><surname>Poyet</surname><given-names>M</given-names></name><name><surname>Kauffman</surname><given-names>KM</given-names></name><name><surname>Gibbons</surname><given-names>SM</given-names></name><name><surname>Groussin</surname><given-names>M</given-names></name><name><surname>Xavier</surname><given-names>RJ</given-names></name><name><surname>Alm</surname><given-names>EJ</given-names></name></person-group><year iso-8601-date="2019">2019</year><article-title>Adaptive Evolution within Gut Microbiomes of Healthy People</article-title><source>Cell Host &amp; Microbe</source><volume>25</volume><fpage>656</fpage><lpage>667</lpage><pub-id pub-id-type="doi">10.1016/j.chom.2019.03.007</pub-id><pub-id pub-id-type="pmid">31028005</pub-id></element-citation></ref></ref-list></back><sub-article article-type="editor-report" id="sa0"><front-stub><article-id pub-id-type="doi">10.7554/eLife.75168.sa0</article-id><title-group><article-title>Editor's evaluation</article-title></title-group><contrib-group><contrib contrib-type="author"><name><surname>Segata</surname><given-names>Nicola</given-names></name><role specific-use="editor">Reviewing Editor</role><aff><institution-wrap><institution-id institution-id-type="ror">https://ror.org/05trd4x28</institution-id><institution>University of Trento</institution></institution-wrap><country>Italy</country></aff></contrib></contrib-group></front-stub><body><p>This paper introduces an elegant mathematical and ecological framework to model the fluctuations of microbial abundances in microbiomes along time series. The modeling approach considers consumer-resource properties and is regulated by few parameters. Applied to time-series microbiome data the model suggests the existence of recurrent patterns of microbial dynamics that are quite dependent on resource competition.</p></body></sub-article><sub-article article-type="decision-letter" id="sa1"><front-stub><article-id pub-id-type="doi">10.7554/eLife.75168.sa1</article-id><title-group><article-title>Decision letter</article-title></title-group><contrib-group content-type="section"><contrib contrib-type="editor"><name><surname>Segata</surname><given-names>Nicola</given-names></name><role>Reviewing Editor</role><aff><institution-wrap><institution-id institution-id-type="ror">https://ror.org/05trd4x28</institution-id><institution>University of Trento</institution></institution-wrap><country>Italy</country></aff></contrib></contrib-group><contrib-group><contrib contrib-type="reviewer"><name><surname>Gibbons</surname><given-names>Sean</given-names></name><role>Reviewer</role></contrib></contrib-group></front-stub><body><boxed-text id="sa2-box1"><p>In the interests of transparency, eLife publishes the most substantive revision requests and the accompanying author responses.</p></boxed-text><p><bold>Decision letter after peer review:</bold></p><p>[Editors’ note: the authors submitted for reconsideration following the decision after peer review. What follows is the decision letter after the first round of review.]</p><p>Thank you for submitting the paper &quot;Competition for fluctuating resources reproduces statistics of species abundance over time across wide-ranging microbiotas&quot; for consideration by <italic>eLife</italic>. Your article has been reviewed by 2 peer reviewers, and the evaluation has been overseen by a Reviewing Editor and a Senior Editor. The following individuals involved in review of your submission have agreed to reveal their identity: Sean Gibbons (Reviewer #1).</p><p>Comments to the Authors:</p><p>We are very sorry to share that, after extensive consultation with the reviewers, we have decided that this work will not be considered further for publication by <italic>eLife</italic>. Both reviewers and the editor think that the mathemathical model proposed is of potential great relevance for the field, but despite the elegant formulation and the interesting results fo some of the analyses, quite a significant amout of additional work would be needed to address most of the reviewers' points and be considered for publication in <italic>eLife</italic> (see below). We are sorry to convey this negative decision, as we addressing the points of the reviewers most likely goes beyond the usual effort for a revision at <italic>eLife</italic>. We are, however, open to considering a substantially revised manuscript in the future.</p><p><italic>Reviewer #1:</italic></p><p>The authors propose a simple consumer-resource (CR) model, where the dynamics of microbial communities are governed by fluctuations in external resources and by competition for these resources between taxa. The model is elegant in its simplicity, while also being biologically intuitive and subtly clever in its implementation. The authors show how the model accurately predicts many of the macroecological patterns found in microbiome time series. Unlike many papers I've read that focus on macroecological patterns (with some exceptions), the authors do a great job connecting model parameters to measured properties of microbial ecosystems and show how these parameterizations of real-world ecosystems can provide potential mechanistic insights into the ecology of the system. I really enjoyed reading this manuscript. The writing is clear, as are the formalisms and the analyses. The model provided many expected results, but also revealed some surprising insights. This is a promising approach for generating novel hypotheses for how microbial ecosystems behave. Overall, I think this is a valuable contribution. My only caveat is that many different mechanistic models can be constructed to explain a given phenomenon -- so I suggest the authors remain somewhat humble about whether or not 'fluctuating resources' are the major drivers of these complex dynamics. They might be! The fact that such a simple model makes so many predictions is promising. But in the end, this is just one possible model among many.</p><p>Major Strengths/Weaknesses:</p><p>1) I like the simplicity of the CR model. More than this, I like the subtlety with which you handled community dynamics. Many prior studies have erroneously treated microbiome time series as if they directly represent growth curves of all the taxa in the system (e.g. fitting LV models to human gut time series). Your method simulates serial dilution and growth of microbial taxa over several cycles to approximate a steady-state community composition for each sample time point. This fits with my biological intuition.</p><p>2) One minor weakness in the data processing was that the most resolved taxonomic level that was analyzed was the family level. Why not start with genus-level? Genus-level annotations can usually be estimated from 16S reads. Another question that I had was whether or not the model assumes absolute or relative abundances? I'm guessing absolute, in which case, I found the rarefaction and renormalization of the counts to frequencies to be a slight concern. I'd suggest the authors perform a centered log-ratio (CLR) transform (or some other form of isometric log-ratio transform) on the non-rarified count data, and only remove low-frequency taxa after the transformation. I doubt this will substantially impact the results, but this is considered best practice.</p><p>3) The 'origins of distinctive statistical behaviors…' section is really great. The authors do a great job mapping their model parameters to features that can be estimated directly from the empirical time series (i.e. α-div and the β-slope constrain N, M, and S, while δ-l and s-i constrain σ and k). However, I'm not sure I understood your explanation for why low-sparsity leads to a steeper Taylor's Law slope, and how this is essentially equivalent to a competition-free mode. Naively, I'd expect competition to be greater at low sparsity, due to multiple species consuming the same sets of resources.</p><p>4) The non-interacting null model is an appropriate null. However, the authors should be humble about whether or not their competition model is capturing the mechanisms driving community dynamics. For example, direct microbe-microbe killing (antimicrobials or type VI secretion systems) is not captured. Host antimicrobials and immune-system interactions aren't captured. Diet is implicitly captured with the nutrient fluctuations. That being said, I think the model is still reasonable and the insights should be fairly robust -- the environmental fluctuations in the model probably capture a lot of this system-scale variance (in a statistical mechanics kind of way -- the averaging together of a lot of different factors giving rise to a predictable statistical outcome).</p><p>5) There seem to be two assumptions regarding time in your model. First, I think you need to be operating within a stationary/stable system (i.e. where there's no long-term drift), correct? I think that's fine but wanted to clarify. The second assumption is that you're sampling from a steady-state end-point of fast internal growth dynamics within the system. I think this is an excellent assumption in the human or mouse gut, but you might want to think about the timescales of sampling and microbial growth in the various systems you are sampling. If you are sampling within the timescales of the faster dynamics (e.g. possible for in vitro systems…maybe in the vaginal system?), how would this impact your results? You mention that your k values were between 0.5 and 1.0, suggesting that internal dynamics were faster than sampling timescales. Due to the ecological steady-state assumption of your modeling, would it be possible for your parameters to tell you that dynamics were slower than sampling timescales?</p><p>Overall, I think the authors achieve their aims and that their conclusions are supported by their results. This is an elegant and useful modeling framework that should have a sizable impact on the field and provide potential mechanistic insight into existing and future longitudinal microbiome data sets. I found many of the model predictions to be intuitive, and a few to be surprising, which is always a good sweet spot. I'd like to commend the authors on writing a nice manuscript that clearly communicates their results with a set of beautiful and easy-to-read figures.</p><p><italic>Reviewer #2:</italic></p><p>This paper discusses a consumer-resource model, where microbial families are considered consumers and their nutrients are resources. The model is used to simulate microbial abundances over time: batch feeding events allow populations to grow, dilutions in between feeding events reduce populations. Coefficients of the model, such as the number of resources and the rates at which each family can consume them, are fit to data from different microbiomes by comparing summary statistics of simulated and observed time series. Different microbiome time series, e.g. from mice or humans, have different summary statistics. The model can be optimized to simulate time series with summary statistics similar to each of those from different microbiome data sets.</p><p>The model is very simple, allowing the reader to easily understand what is going on. This is a strength of the manuscript. The overlap in resources consumed between consumers in this model is revealed as a crucial parameter because it exhibits the most interesting changes when fitting different microbiome data sets. However, in the model there is no trade off between the rate at which a species may consume a resource and the number of resources it can consume. Therefore, the more different nutrients a species can consume, the fitter it will be. It may be interesting to re-evaluate the major results when this assumption is changed.</p><p>A weakness of the paper is that it overstates the implications of the theoretical findings. Simulated timelines from the presented model can generate summary statistics that look like those in real data sets. This will also be possible with other models, even simpler ones or more complex ones. The article ought to include a more critical discussion and validation with simpler (e.g. pairwise interaction) or more complex (e.g. saturating growth kinetics) models.</p><p>The article is also poorly referenced, e.g. Niehaus et al. 2019 develop a resource driven model for microbial populations (doi.org/10.1038/s41467-019-10062-x), and Momeni et al. 2017 discussed the importance of resource mediated interactions (doi.org/10.7554/<italic>eLife</italic>.25051).</p><p>Finally, the article is not very carefully put together. I received two figures labeled as &quot;Figure 1&quot;. The methods appear unfinished.</p><p>I recommend reducing the amount of fluff terms throughout the manuscript. For example, the sentence from the abstract:</p><p>&quot;Our coarse-grained model parametrizes the intrinsic consumer-resource properties of a community using a small number of macroscopic parameters, including the total number of resources, typical resource fluctuations over time, and the average overlap in resource-consumption profiles across species&quot;</p><p>would read fine without the ill-defined filler words:</p><p>&quot;Our model parametrizes the consumer-resource properties of a community using parameters that include the total number of resources, resource fluctuations over time, and the average overlap in resource-consumption profiles across species.&quot;</p><p>In my opinion, simplicity and clarity strengthen theoretical papers, increasing their impact.</p><p>[Editors’ note: further revisions were suggested prior to acceptance, as described below.]</p><p>Thank you for submitting your article &quot;Competition for fluctuating resources reproduces statistics of species abundance over time across wide-ranging microbiotas&quot; for consideration by <italic>eLife</italic>. Your article has been reviewed by 2 peer reviewers, and the evaluation has been overseen by a Reviewing Editor and Wendy Garrett as the Senior Editor. The following individual involved in review of your submission has agreed to reveal their identity: Sean Gibbons (Reviewer #1).</p><p>The reviewers have discussed their reviews with one another, and the Reviewing Editor has drafted this to help you prepare a revised submission.</p><p>Essential revisions:</p><p>The paper has improved with the revision and it meets the standard for publication in <italic>eLife</italic>. However, the paper is rather technical and in some parts there is the risk of misinterpretation or overestimating/over-interpreting the potential of the model. The authors should better highlight the intrinsic limitations and strong assumptions of the model throughout the paper, starting – for example – from the abstract. It is not a problem of the model or the data per se, but it is rather the way it is communicated considering that the large majority of the readership will have different backgrounds and cannot necessarily understand the limitations directly. Thus, we would like to see a revised manuscript addressing these specific issues as soon as possible.</p><p><italic>Reviewer #1:</italic></p><p>The authors have done a commendable job responding to the reviewer comments. The additional analyses and model simulations have greatly strengthened their work. The authors have provided their code in a more accessible format. And, they have made the suggested improvements in how they discuss their results. I have no further concerns or comments.</p><p><italic>Reviewer #2:</italic></p><p>My main concern remains: a simulation of timeseries is presented that has summary statistics as observed in data. Upon revision, based on my comment that this is not special to the model presented, another model is used; this also reproduces summary statistics similar to those from data. This is not a broad impact result and will, with the current narrative, be easily misunderstood by a non-specialist readership.</p><p>In my opinion, such timeseries summary statistics offer little insight and have limited biological meaning. Thus, my original opinion has not shifted much.</p></body></sub-article><sub-article article-type="reply" id="sa2"><front-stub><article-id pub-id-type="doi">10.7554/eLife.75168.sa2</article-id><title-group><article-title>Author response</article-title></title-group></front-stub><body><p>[Editors’ note: the authors resubmitted a revised version of the paper for consideration. What follows is the authors’ response to the first round of review.]</p><disp-quote content-type="editor-comment"><p>Reviewer #1:</p><p>The authors propose a simple consumer-resource (CR) model, where the dynamics of microbial communities are governed by fluctuations in external resources and by competition for these resources between taxa. The model is elegant in its simplicity, while also being biologically intuitive and subtly clever in its implementation. The authors show how the model accurately predicts many of the macroecological patterns found in microbiome time series. Unlike many papers I've read that focus on macroecological patterns (with some exceptions), the authors do a great job connecting model parameters to measured properties of microbial ecosystems and show how these parameterizations of real-world ecosystems can provide potential mechanistic insights into the ecology of the system. I really enjoyed reading this manuscript. The writing is clear, as are the formalisms and the analyses. The model provided many expected results, but also revealed some surprising insights. This is a promising approach for generating novel hypotheses for how microbial ecosystems behave.</p></disp-quote><p>We thank the reviewer for a careful reading of our manuscript and appreciate the reviewer’s support!</p><disp-quote content-type="editor-comment"><p>Overall, I think this is a valuable contribution. My only caveat is that many different mechanistic models can be constructed to explain a given phenomenon -- so I suggest the authors remain somewhat humble about whether or not 'fluctuating resources' are the major drivers of these complex dynamics. They might be! The fact that such a simple model makes so many predictions is promising. But in the end, this is just one possible model among many.</p></disp-quote><p>We agree with the reviewer that the core of our work is an existence proof, which does not rule out the possibility that other models can also capture experimental data. We have edited the text throughout to better reflect this point.</p><p>Moreover, to further explore other models, we have added extensive new simulations of (1) a consumer-resource model with metabolic trade-offs, (2) a consumer-resource model with saturation kinetics, and (3) generalized Lotka-Volterra (gLV) models involving pairwise interactions. It is challenging to exhaustively analyze any particular modeling framework due to the high dimensionality of parameter space, particularly for gLV models that have many more interaction parameters than our macroscopically parametrized consumer-resource (CR) model. To overcome this obstacle, we exploited the fact that our CR model establishes the existence of a simple model that can recapitulate the statistics in microbiota time series, and analyzed the behavior of other models near the parameter space occupied by our successful model. While this approach cannot rule out the existence of other parameter regimes that recapitulate timeseries statistics for other models, we show that it can nevertheless shed light on the features of other models, such as interspecies interactions in LV models, that are necessary to explain the observed statistics. Our approach also highlights some of the challenges that other models may face in describing experimental data. We describe the results for each of modeling framework below in response to reviewer #2, who had similar concerns. We have also revised the text and added several supplemental figures (Figure S10, S11, S13, S14) to incorporate these analyses.</p><disp-quote content-type="editor-comment"><p>Major Strengths/Weaknesses:</p><p>(1) I like the simplicity of the CR model. More than this, I like the subtlety with which you handled community dynamics. Many prior studies have erroneously treated microbiome time series as if they directly represent growth curves of all the taxa in the system (e.g. fitting LV models to human gut time series). Your method simulates serial dilution and growth of microbial taxa over several cycles to approximate a steady-state community composition for each sample time point. This fits with my biological intuition.</p></disp-quote><p>Thank you! We are glad that the reviewer found the model to be biologically intuitive.</p><disp-quote content-type="editor-comment"><p>(2) One weakness in the data processing was that the most resolved taxonomic level that was analyzed was the family level. Why not start with genus-level? Genus-level annotations can usually be estimated from 16S reads.</p></disp-quote><p>We apologize for the confusion; genus-level annotations can indeed be obtained for the data sets analyzed, but we focused on the family level because it has been suggested to be an appropriate coarse-graining of metabolic capabilities. For instance, prior work found that for diverse soil communities grown in simple medium, family level abundances converged despite substantial variability within families (Goldford <italic>et al. Science</italic> 2018). We therefore reasoned that the family level would be a natural coarse-graining resolution for comparison to a CR model.</p><p>Nonetheless, our model and analysis can straightforwardly be applied to other taxonomic levels, and in the original submission, we included an analysis at the class level that was qualitatively similar as the family level (Figure S3 of this revision). Comprehensively simulating systems with hundreds of taxa (e.g. the hundreds to thousands of species found in some gut and soil microbiotas) would require extensive computation time, not to mention the likelihood of metabolic correlations between species in the same genus. To balance these points with the reviewer’s question, in our revision we included an analysis of the gut microbiota time-series data set from Caporaso <italic>et al.</italic> (as in Figure 2) at the genus level. This analysis (Figure 2—figure supplement 2) showed that our CR model could again largely recapitulate all experimental statistics at the genus level. The only statistic that showed a discrepancy was the dominance of the <italic>Bacteroides</italic> genus that disrupted the rank distribution of mean abundances, and recalculation of relative abundances without the <italic>Bacteroides</italic> restored close agreement with model predictions, providing further support that our model can be used at various taxonomic levels.</p><disp-quote content-type="editor-comment"><p>Another question that I had was whether or not the model assumes absolute or relative abundances? I'm guessing absolute, in which case, I found the rarefaction and renormalization of the counts to frequencies to be a slight concern. I'd suggest the authors perform a centered log-ratio (CLR) transform (or some other form of isometric log-ratio transform) on the non-rarified count data, and only remove low-frequency taxa after the transformation. I doubt this will substantially impact the results, but this is considered best practice.</p></disp-quote><p>We thank the reviewer for bringing to attention the centered log-ratio transform and its uses in analyzing compositional data. First, we reaffirm that in all our analyses, experimental data and numerical simulations were processed and analyzed equivalently, ensuring the validity of the analyses. Our model was formulated using absolute abundances, which were then always normalized to sum to one before comparing to compositional (relative abundance) experimental data. In fact, since absolute abundances within the model were never analyzed directly, the total resource levels can be normalized to sum to one a priori without affecting the results.</p><p>Moreover, given the typical limits of detection of 16S amplicon sequencing data sets, we only examined time series statistics for taxa with relative abundance &gt;10<sup>-4</sup> at any given time point. Previously, we renormalized the relative abundances after removing taxa below the detection threshold. The results without renormalization were unchanged (<xref ref-type="fig" rid="sa2fig1">Author response image 1</xref>) , which is intuitive because taxa below the detection threshold comprise only a tiny fraction of the community.</p><fig id="sa2fig1" position="float"><label>Author response image 1.</label><caption><title>Taxa below the limit of detection do not affect time series statistics.</title><p>Shown are data from Caporaso <italic>et al.</italic> as in Figure 2. The original analysis is shown as dotted black lines. Colored lines denote model predictions without renormalizing the relative abundances after ignoring taxa with relative abundance below the detectability threshold of 10-4; the two lines are virtually indistinguishable in every case.</p></caption><graphic mime-subtype="tiff" mimetype="image" xlink:href="elife-75168-sa2-fig1-v1.tif"/></fig><p>Finally, the denominator in the CLR is the geometric mean, which cannot naturally handle cases with zero reads. It is therefore not a natural metric to describe the time-series statistics of lowabundance taxa that are fluctuating above and below the limit of detection. On the other hand, relative abundances naturally incorporate cases with zero reads. Since we processed and analyzed experimental and simulated data equivalently, statistics such as the residence and return times can be compared consistently across samples and between data and simulations.</p><p>We have revised the text to reflect these points.</p><disp-quote content-type="editor-comment"><p>(3) The 'origins of distinctive statistical behaviors…' section is really great. The authors do a great job mapping their model parameters to features that can be estimated directly from the empirical time series (i.e. α-div and the β-slope constrain N, M, and S, while δ-l and s-i constrain σ and k). However, I'm not sure I understood your explanation for why low-sparsity leads to a steeper Taylor's Law slope, and how this is essentially equivalent to a competition-free mode. Naively, I'd expect competition to be greater at low sparsity, due to multiple species consuming the same sets of resources.</p></disp-quote><p>We would like to stress that our explanation for the value of the slope in Taylor’s law is partial and does not account for all possible effects, and have edited the text to reflect this point. Our reasoning was that since our model has no trade-offs or metabolic constraints between the number of resources consumed and a consumer’s total consumption rate (see e.g. Posfai <italic>et al. PRL</italic> 2017, Good <italic>et al. PNAS</italic> 2018, and response to reviewer #2), the number of resources consumed necessarily strongly affects consumer abundance. This effect dominates at high sparsity, in which consumers typically consume distinct sets of resources and the number of resources consumed is relatively variable, as depicted in Figure S7A. Indeed, the Taylor’s law slope predicted by this no-competition model (Figure S7A) matched closely with simulations of our model at high sparsity (Figure S7B).</p><p>Despite obvious competition in the actual CR model when sparsity is low, we nevertheless attempted to understand the low-sparsity limit by extrapolating the no-competition model to the limiting case of zero sparsity, in which the number of resources consumed is the same for all consumers. Surprisingly, when the mean number of resources consumed is large, the predictions from the no-competition model matched qualitatively with simulations of the actual CR model, suggesting that reduction in the variance of the number of resources consumed partially explains the dependence of Taylor’s law on sparsity. We emphasize that we do not claim that zero sparsity is equivalent to a competition-free model, and we have revised the text to explain this point more clearly.</p><disp-quote content-type="editor-comment"><p>(4) The non-interacting null model is an appropriate null. However, the authors should be humble about whether or not their competition model is capturing the mechanisms driving community dynamics. For example, direct microbe-microbe killing (antimicrobials or type VI secretion systems) is not captured. Host antimicrobials and immune-system interactions aren't captured. Diet is implicitly captured with the nutrient fluctuations. That being said, I think the model is still reasonable and the insights should be fairly robust -- the environmental fluctuations in the model probably capture a lot of this system-scale variance (in a statistical mechanics kind of way -- the averaging together of a lot of different factors giving rise to a predictable statistical outcome).</p></disp-quote><p>We agree with the reviewer that there exist other mechanisms that might affect community dynamics. We have revised the text to emphasize that our model is an existence proof and does not rule out that other mechanisms might drive community dynamics.</p><p>In addition, we tested the robustness of the macroscopic parameters of our model by considering variants incorporating saturation kinetics and metabolic trade-offs (see response to reviewer #2). Despite these modifications, the best-fit parameters for the original model still reproduced data under mild assumptions, suggesting that the insights obtained are robust to model details to a reasonable extent. We have revised the text to include this discussion.</p><disp-quote content-type="editor-comment"><p>(5) There seem to be two assumptions regarding time in your model. First, I think you need to be operating within a stationary/stable system (i.e. where there's no long-term drift), correct? I think that's fine but wanted to clarify. The second assumption is that you're sampling from a steady-state end-point of fast internal growth dynamics within the system. I think this is an excellent assumption in the human or mouse gut, but you might want to think about the timescales of sampling and microbial growth in the various systems you are sampling. If you are sampling within the timescales of the faster dynamics (e.g. possible for in vitro systems…maybe in the vaginal system?), how would this impact your results? You mention that your k values were between 0.5 and 1.0, suggesting that internal dynamics were faster than sampling timescales. Due to the ecological steady-state assumption of your modeling, would it be possible for your parameters to tell you that dynamics were slower than sampling timescales?</p></disp-quote><p>Yes, we assume long-term stability without drift, which we now clarify in the text.</p><p>We were indeed motivated by gut microbiotas when we assumed that the internal time scales between samplings were faster, and we agree that this assumption may not be the case for all systems analyzed here. In particular, the in vitro system was sampled every log<sub>!</sub> 200 ≈ 7.6 generations, and hence may not have reached ecological steady state between samplings. Our model nevertheless produced a good fit (Figure S20), indicating that model results were robust to a relatively broad range of internal time scales (see Figure S1 and the discussion below).</p><p>More systematically, three factors control the relationship between the internal and sampling time scales: the dilution factor, the threshold change for ecological steady state, and the reservoir composition. The dilution factor and threshold affect the number of generations between samplings, while reservoir composition affects the correlation between sampling times. Simulation results were not substantially affected for a relatively broad range of dilution factors and thresholds (Figure S1). On the other hand, if the reservoir inherits a substantial fraction of its composition from the previous sampling time, simulation results can be affected (Figure S2). These results show that the relationship between the internal and sampling time scales can affect time-series statistics in complex ways. It remains an interesting open question to infer internal time scales from microbiota time series, and our work provides a strong starting point to do so. We have revised the text to incorporate this discussion.</p><disp-quote content-type="editor-comment"><p>Overall, I think the authors achieve their aims and that their conclusions are supported by their results. This is an elegant and useful modeling framework that should have a sizable impact on the field and provide potential mechanistic insight into existing and future longitudinal microbiome data sets. I found many of the model predictions to be intuitive, and a few to be surprising, which is always a good sweet spot. I'd like to commend the authors on writing a nice manuscript that clearly communicates their results with a set of beautiful and easy-to-read figures.</p></disp-quote><p>We thank the reviewer for their kind words and helpful review.</p><disp-quote content-type="editor-comment"><p>Reviewer #2:</p><p>This paper discusses a consumer-resource model, where microbial families are considered consumers and their nutrients are resources. The model is used to simulate microbial abundances over time: batch feeding events allow populations to grow, dilutions in between feeding events reduce populations. Coefficients of the model, such as the number of resources and the rates at which each family can consume them, are fit to data from different microbiomes by comparing summary statistics of simulated and observed time series. Different microbiome time series, e.g. from mice or humans, have different summary statistics. The model can be optimized to simulate time series with summary statistics similar to each of those from different microbiome data sets.</p><p>The model is very simple, allowing the reader to easily understand what is going on. This is a strength of the manuscript. The overlap in resources consumed between consumers in this model is revealed as a crucial parameter because it exhibits the most interesting changes when fitting different microbiome data sets.</p></disp-quote><p>We thank the reviewer for their careful reading of our manuscript, and appreciate the reviewer’s support for the strength of our work.</p><disp-quote content-type="editor-comment"><p>However, in the model there is no trade off between the rate at which a species may consume a resource and the number of resources it can consume. Therefore, the more different nutrients a species can consume, the fitter it will be. It may be interesting to re-evaluate the major results when this assumption is changed.</p></disp-quote><p>We appreciate the reviewer’s point and note indeed that metabolic trade-offs have been investigated previously in other contexts (e.g. Posfai <italic>et al. PRL</italic> 2017, Tikhonov and Monasson <italic>PRL</italic> 2017, Good <italic>et al. PNAS</italic> 2018). To explore how metabolic trade-offs affect time-series statistics, we simulated our original model with the constraint that the sum of consumption rates <inline-formula><mml:math id="sa2m1"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:munder><mml:mo>∑</mml:mo><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:munder><mml:msub><mml:mi>R</mml:mi><mml:mrow><mml:mtext>ij</mml:mtext></mml:mrow></mml:msub></mml:mrow></mml:mstyle></mml:math></inline-formula> for consumer і is normalized to a fixed capacity <inline-formula><mml:math id="sa2m2"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:msub><mml:mrow><mml:mrow><mml:mover><mml:mi>R</mml:mi><mml:mo>~</mml:mo></mml:mover></mml:mrow></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mstyle></mml:math></inline-formula>. We further assumed <inline-formula><mml:math id="sa2m3"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:msub><mml:mrow><mml:mrow><mml:mover><mml:mi>R</mml:mi><mml:mo>~</mml:mo></mml:mover></mml:mrow></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mstyle></mml:math></inline-formula> to be randomly drawn from the original growth rates <inline-formula><mml:math id="sa2m4"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:munder><mml:mo>∑</mml:mo><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:munder><mml:msub><mml:mi>R</mml:mi><mml:mrow><mml:mtext>ij</mml:mtext></mml:mrow></mml:msub><mml:msub><mml:mi>Y</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mstyle></mml:math></inline-formula> (consumption rate times resource level), in effect preserving the variation in consumer fitness while removing its correlation to the number of resources consumed. Interestingly, this model largely reproduced all the time-series statistics using the same best-fit parameters of the original model, indicating that the correlation between fitness and the number of resources in the original model is not required to reproduce experimental data (Figure S10 of the revision). We have revised the text to incorporate this finding.</p><disp-quote content-type="editor-comment"><p>A weakness of the paper is that it overstates the implications of the theoretical findings. Simulated timelines from the presented model can generate summary statistics that look like those in real data sets. This will also be possible with other models, even simpler ones or more complex ones. The article ought to include a more critical discussion and validation with simpler (e.g. pairwise interaction) or more complex (e.g. saturating growth kinetics) models.</p></disp-quote><p>We appreciate the reviewer’s point and have now taken more care not to overstate the implications of our findings. We now emphasize in the text that the core of our work is an existence proof of a model that can recapitulate the statistics of experimental time series, and that our work does not rule out the possibility that other models can also capture experimental statistics.</p><p>Moreover, we have endeavored to directly address the reviewer’s points about pairwise interactions in the form of generalized Lotka Volterra (gLV) models and the original CR model with saturating kinetics, as described below and in the text.</p><p>Generalized Lotka-Volterra models: In the gLV model, Ν taxa grow and interact via <inline-formula><mml:math id="sa2m5"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mfrac><mml:msub><mml:mtext>dX</mml:mtext><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mtext>dt</mml:mtext></mml:mfrac><mml:mo>=</mml:mo><mml:msub><mml:mi>X</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:munderover><mml:mo>∑</mml:mo><mml:mrow><mml:mi>j</mml:mi><mml:mo>=</mml:mo><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>N</mml:mi></mml:mrow></mml:munderover><mml:msub><mml:mi>A</mml:mi><mml:mrow><mml:mtext>ij</mml:mtext></mml:mrow></mml:msub><mml:msub><mml:mi>X</mml:mi><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow></mml:mstyle></mml:math></inline-formula> where ✕<sub>&quot;</sub> denotes the abundance of taxon і, r<sub>&quot;</sub> its growth rate, and <italic>A<sub>ij</sub></italic> its interaction coefficient with taxon j. Since this classical model is generally unstable for randomly drawn interaction coefficients (May <italic>Nature</italic> 1972), we focused on instances of the gLV model near the parameter space corresponding to the dynamics of our CR model. This conversion between models was achieved by converting the consumption rates <italic>R<sub>ij</sub></italic> and resource levels <italic>Y<sub>j,0</sub></italic> at each sampling time T to the growth rates r<sub>&quot;</sub> and interaction coefficients A<sub>&quot;#</sub> that characterize the dynamics when consumption rates are similar to the mean value (Good <italic>et al. PNAS</italic> 2018). Under this assumption, the mapping is <inline-formula><mml:math id="sa2m6"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn>2</mml:mn><mml:munder><mml:mo>∑</mml:mo><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:munder><mml:msub><mml:mi>R</mml:mi><mml:mrow><mml:mtext>ij</mml:mtext></mml:mrow></mml:msub><mml:msub><mml:mi>Y</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>o</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mstyle></mml:math></inline-formula> and <inline-formula><mml:math id="sa2m7"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:msub><mml:mi>A</mml:mi><mml:mrow><mml:mtext>ij</mml:mtext></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:msub><mml:mi>R</mml:mi><mml:mrow><mml:mo form="prefix" movablelimits="true">max</mml:mo></mml:mrow></mml:msub></mml:mfrac><mml:munder><mml:mo>∑</mml:mo><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:munder><mml:msub><mml:mi>R</mml:mi><mml:mrow><mml:mtext>ik</mml:mtext></mml:mrow></mml:msub><mml:msub><mml:mi>R</mml:mi><mml:mrow><mml:mtext>jk</mml:mtext></mml:mrow></mml:msub><mml:msub><mml:mi>Y</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mo>,</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mstyle></mml:math></inline-formula> , which we refer to as CR-converted cLV models. The converted interaction coefficients are negative and symmetric, and their magnitudes depend on the niche overlap between the interacting taxa. Since the resource levels <italic>Y<sub>j,</sub></italic><sub>0</sub> are involved in this parameterization, fluctuations in Y<sub>#,%</sub> across sampling times T translate into fluctuations in <italic>r<sub>i</sub></italic> and <italic>A<sub>ij</sub></italic>.</p><p>Finally, since the data being examined is compositional, the gLV model was amended to describe only the dynamics of relative abundances (Joseph <italic>et al. PLoS Comp Biol</italic> 2020) by including a normalizing term Γ(t),</p><p><inline-formula><mml:math id="sa2m8"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mfrac><mml:msub><mml:mtext>dX</mml:mtext><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mtext>dt</mml:mtext></mml:mfrac><mml:mo>=</mml:mo><mml:msub><mml:mi>X</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:munderover><mml:mo>∑</mml:mo><mml:mrow><mml:mi>j</mml:mi><mml:mo>=</mml:mo><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>N</mml:mi></mml:mrow></mml:munderover><mml:msub><mml:mi>A</mml:mi><mml:mrow><mml:mtext>ij</mml:mtext></mml:mrow></mml:msub><mml:msub><mml:mi>X</mml:mi><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>−</mml:mo><mml:mi mathvariant="normal">Γ</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow></mml:mstyle></mml:math></inline-formula>where ✕<italic><sub>i</sub></italic> now describes the relative abundance of taxon і and Γ(t) = ∑<italic><sub>i</sub></italic> r<italic><sub>i</sub></italic>✕<sub><italic>i</italic></sub> + ∑<sub><italic>I,j</italic></sub> A<italic><sub>ij</sub></italic>✕<italic><sub>i</sub></italic>✕<sub><italic>j</italic>.</sub> Relative abundances were initialized with equal values across all taxa, and the normalizing term Γ(t) enforces ∑<sub><italic>i</italic></sub> ✕<italic><sub>j</sub></italic> = 1. The cLV models were simulated for a fixed amount of time such that a similar range of relative abundances is generated as in the CR model at approximate ecological steady state. These CR-converted compositional Lotka-Volterra models generated time series statistics that reproduced the experimental data to a similar extent as the original CR model (Figure S13A). Similarly, the CR-converted cLV models better predicted the experimentally observed distribution of pairwise correlations compared with the non-interacting null model (Figure S13B).</p><p>Finally, we asked whether more general ensembles of r<italic><sub>i</sub></italic> and A<italic><sub>ij</sub></italic> could also reproduce the experimental data. We randomly selected r<italic><sub>i</sub></italic> and A<italic><sub>ij</sub></italic> from normal distributions with means and variances equal to those in the CR-converted cLV models while enforcing symmetric and negative interactions. The resulting cLV models yielded a poor fit to the data (Figure S14). Together, these results suggest that pairwise interactions between taxa are likely sufficient to recapitulate the experimental data, although their parameters must be drawn from particular statistical ensembles.</p><p>Saturating-kinetics model: The CR model with saturating kinetics is the same as the original CR model, except that the dynamical equations are now <inline-formula><mml:math id="sa2m9"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mfrac><mml:mrow><mml:mi>d</mml:mi><mml:msub><mml:mi>X</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mtext>dt</mml:mtext></mml:mfrac><mml:mo>=</mml:mo><mml:msub><mml:mi>X</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:munderover><mml:mo>∑</mml:mo><mml:mrow><mml:mi>j</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>M</mml:mi></mml:mrow></mml:munderover><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mrow><mml:mtext>ij</mml:mtext></mml:mrow></mml:msub><mml:mfrac><mml:msub><mml:mi>Y</mml:mi><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:msub><mml:mi>Y</mml:mi><mml:mrow><mml:mi>s</mml:mi></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>Y</mml:mi><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfrac></mml:mrow></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow></mml:mstyle></mml:math></inline-formula><inline-formula><mml:math id="sa2m10"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mfrac><mml:mrow><mml:mi>d</mml:mi><mml:msub><mml:mi>Y</mml:mi><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mtext>dt</mml:mtext></mml:mfrac><mml:mo>=</mml:mo><mml:mo>−</mml:mo><mml:mfrac><mml:msub><mml:mi>Y</mml:mi><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:msub><mml:mi>Y</mml:mi><mml:mrow><mml:mi>s</mml:mi></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>Y</mml:mi><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfrac><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:munderover><mml:mo>∑</mml:mo><mml:mrow><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>N</mml:mi></mml:mrow></mml:munderover><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mrow><mml:mtext>ij</mml:mtext></mml:mrow></mml:msub><mml:msub><mml:mi>X</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow></mml:mstyle></mml:math></inline-formula> where <inline-formula><mml:math id="sa2m11"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:msub><mml:mi>Y</mml:mi><mml:mrow><mml:mi>s</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mstyle></mml:math></inline-formula> denotes the saturation constant. For simplicity, <inline-formula><mml:math id="sa2m12"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:msub><mml:mi>Y</mml:mi><mml:mrow><mml:mi>s</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mstyle></mml:math></inline-formula> was assumed to be equal for all resources, and set to an intermediate value of <inline-formula><mml:math id="sa2m13"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:msub><mml:mi>Y</mml:mi><mml:mrow><mml:mi>s</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mrow><mml:mo>⟨</mml:mo><mml:msub><mml:mi>Y</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:msub><mml:mo>⟩</mml:mo></mml:mrow><mml:mrow><mml:mo>/</mml:mo></mml:mrow><mml:mn>3</mml:mn></mml:mrow></mml:mstyle></mml:math></inline-formula> such that both saturated and linear kinetics could affect community dynamics. When this model was simulated with the best-fit parameters of the original model, the resulting dynamics were much less variable across sampling times than without saturating kinetics (Figure S11). Intuitively, this result is because the saturated regime is unaffected by small changes in resource levels.</p><p>Indeed, experimental statistics were again reproduced after the strength of environmental fluctuations σ was increased.</p><p>The above results demonstrate how our approach can reveal the features of other models that are necessary (or not) to explain experimental data. We have added the above figures and discussions to the text, expanding the context for our CR model through comparisons with these other models.</p><disp-quote content-type="editor-comment"><p>The article is also poorly referenced, e.g. Niehaus et al. 2019 develop a resource driven model for microbial populations (doi.org/10.1038/s41467-019-10062-x), and Momeni et al. 2017 discussed the importance of resource mediated interactions (doi.org/10.7554/eLife.25051).</p></disp-quote><p>We agree that these papers are important to include and apologize for our oversight. They are now cited appropriately.</p><disp-quote content-type="editor-comment"><p>Finally, the article is not very carefully put together. I received two figures labeled as &quot;Figure 1&quot;. The methods appear unfinished.</p></disp-quote><p>We thank the reviewer for their attention to detail. We have carefully combed through the manuscript to ensure that all figures, citations, and references are correct. The Methods were in fact complete, but we have expanded the section for clarity and to reflect the addition of several models.</p><disp-quote content-type="editor-comment"><p>I recommend reducing the amount of fluff terms throughout the manuscript. For example, the sentence from the abstract:</p><p>&quot;Our coarse-grained model parametrizes the intrinsic consumer-resource properties of a community using a small number of macroscopic parameters, including the total number of resources, typical resource fluctuations over time, and the average overlap in resource-consumption profiles across species&quot;</p><p>would read fine without the ill-defined filler words:</p><p>&quot;Our model parametrizes the consumer-resource properties of a community using parameters that include the total number of resources, resource fluctuations over time, and the average overlap in resource-consumption profiles across species.&quot;</p><p>In my opinion, simplicity and clarity strengthen theoretical papers, increasing their impact.</p></disp-quote><p>We appreciate the reviewer’s point and have edited the text for conciseness throughout. We have edited that particular sentence as suggested but left in the adjective “coarse-grained” as we feel it is important to convey to the reader that the “resources” do not necessarily correspond to individual metabolites.</p><p>[Editors’ note: what follows is the authors’ response to the second round of review.]</p><disp-quote content-type="editor-comment"><p>Essential revisions:</p><p>The paper has improved with the revision and it meets the standard for publication in eLife. However, the paper is rather technical and in some parts there is the risk of misinterpretation or overestimating/over-interpreting the potential of the model. The authors should better highlight the intrinsic limitations and strong assumptions of the model throughout the paper, starting – for example – from the abstract. It is not a problem of the model or the data per se, but it is rather the way it is communicated considering that the large majority of the readership will have different backgrounds and cannot necessarily understand the limitations directly. Thus, we would like to see a revised manuscript addressing these specific issues as soon as possible.</p><p>Reviewer #2:</p><p>My main concern remains: a simulation of timeseries is presented that has summary statistics as observed in data. Upon revision, based on my comment that this is not special to the model presented, another model is used; this also reproduces summary statistics similar to those from data. This is not a broad impact result and will, with the current narrative, be easily misunderstood by a non-specialist readership.</p></disp-quote><p>Our key finding in response to the reviewer’s previous comment was the following: Although the generalized Lotka-Volterra (gLV) model can also reproduce experimental statistics, its parametrization was guided by the CR model. The guidance provided by the consumer-resource (CR) model was crucial because null parametrizations of GLV models that one might use, e.g., normally distributed interaction coefficients, did not reproduce experimental statistics. These results were shown in Figure S13 and S14. In other words, without having first identified the CR models that reproduce data, it would be highly unlikely to find the mathematically related gLV models that also reproduce data. This finding therefore strengthens the implications of our modeling framework, which can aid the investigation of other ecological models.</p><p>We apologize for not stating our findings more clearly and have revised the text throughout for clarity and to avoid mis-interpretation. The extensive changes can be found highlighted in the “highlighted” version of the manuscript file.</p><disp-quote content-type="editor-comment"><p>In my opinion, such timeseries summary statistics offer little insight and have limited biological meaning. Thus, my original opinion has not shifted much.</p></disp-quote><p>A growing body of work has begun to show that time series statistics can be a useful window into the difficult-to-access inner workings of complex microbiotas. We highlight some important results from this body of work and clarified their implications in the introduction. In particular only subsets of models can reproduce experimental statistics, implying that these time series statistics are informative of the underlying dynamics. Our work extends the variety of existing insights garnered from time series statistics and offers a baseline parametrization of CR models for complex microbiotas. Thus, we believe that these results have broad applications, as we elaborate on in the discussion.</p></body></sub-article></article>