<?xml version="1.0" encoding="utf-8"?>
<article xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="JATS-journalpublishing1-mathml3.xsd" dtd-version="1.2" article-type="research article">
<front>
<journal-meta>
<journal-id journal-id-type="publisher">ptpbio</journal-id>
<journal-title-group>
<journal-title>Philos Theor Pract Biol</journal-title>
</journal-title-group>
<issn pub-type="ppub">2475-3025</issn>
<issn pub-type="epub"></issn>
</journal-meta>
<article-meta>
<article-id pub-id-type="publisher-id">5334</article-id>
<article-id pub-id-type="manuscript">main-final.pdf,main-final.odt</article-id>
<article-id pub-id-type="doi">10.3998/ptpbio.5334</article-id>
<title-group>
<article-title>The Price Equation Since Price: An Accessible Account and a Generalization to Categorical Variables</article-title>
</title-group>
<contrib-group>
<contrib contrib-type="author">
<name>
<surname>Mann</surname>
<given-names>Stephen Francis</given-names>
</name>
<aff id="aff1"><institution>Max Planck Institute for Evolutionary Anthropology</institution>, Germany; <email>stephenfmann@gmail.com</email></aff>
</contrib>
</contrib-group>
<pub-date><day>11</day><month>8</month><year>2025</year></pub-date>
<volume>17</volume><issue>1</issue>
<history>
<date date-type="received"><day>5</day><month>12</month><year>2023</year></date>
<date date-type="revised"><day>15</day><month>3</month><year>2024</year></date>
<date date-type="rev-recd"><day></day><month></month><year></year></date>
<date date-type="accepted"><day>29</day><month>8</month><year>2024</year></date>
</history>
<permissions>
<copyright-statement>&#x00A9; 2025 Author(s)</copyright-statement>
<copyright-year>2025</copyright-year>
<license><license-p>CC BY 4.0</license-p>
</license>
</permissions>
<abstract id="ABS1"><p id="P1">The Price equation is usually treated as a description of how the population average value of a trait changes due to selection and other factors. Despite the fact that its generality is often emphasised, the Price equation is typically only applied to numeric traits, like weight and height. After a thorough yet accessible introduction to the numeric form, I derive a version of the Price equation for categorical traits, like colour and shape. The new equation describes how the distribution of types, rather than the population average, changes due to selection and other factors. I argue that this is a useful and conceptually sound extension of the traditional Price equation formalism. Although categorical traits can be represented numerically via dummy coding, I argue that the new version of the equation introduces an important perspective that previous versions lack: selection does not just change averages, it changes distributions.</p></abstract>
<kwd-group>
<kwd>price equation</kwd>
<kwd>selection</kwd>
<kwd>evolutionary biology</kwd>
<kwd>cultural evolution</kwd>
</kwd-group>
<funding-group />
<counts>
<fig-count count="8" />
</counts>
<custom-meta-group>
<custom-meta id="competing-interest">
<meta-name></meta-name>
<meta-value></meta-value>
</custom-meta>
</custom-meta-group>
</article-meta>
</front>
<body>
<sec id="S1"><label>1</label><title>Introduction</title>
<p>The Price equation is one of the best-known results in theoretical biology. As usually introduced, it describes change in the average trait value of a population as a consequence of two neatly distinguishable factors: selection, and everything else. By distinguishing change due to selection from other sources of change, the equation suggests a formal definition corresponding to the informal concept of selection at the heart of evolutionary biology. While formalisms of this kind had been presented before (e.g., <xref ref-type="bibr" rid="R9">Fisher 1930</xref>; <xref ref-type="bibr" rid="R17">Haldane 1932</xref>), one distinguishing aspect of the Price equation is that it is substrate-neutral, indicating an extension of selectionist thinking to domains beyond biology (<xref ref-type="bibr" rid="R33">Strand et al. 2022</xref>; <xref ref-type="bibr" rid="R23">Knudsen 2004</xref>) including cultural evolution (<xref ref-type="bibr" rid="R8">El Mouden et al. 2014</xref>; <xref ref-type="bibr" rid="R21">J&#x00E4;ger 2010</xref>).</p>
<p>Since George Price&#x2019;s derivation of the equation (<xref ref-type="bibr" rid="R29">Price 1970</xref>), much has been written about its interpretation and application, and discussion continues (<xref ref-type="bibr" rid="R27">Okasha and Otsuka 2020</xref>; <xref ref-type="bibr" rid="R15">Gardner 2020</xref>; <xref ref-type="bibr" rid="R34">van Veelen 2020</xref>; <xref ref-type="bibr" rid="R11">Frank 2012a</xref>, <xref ref-type="bibr" rid="R12">2012b</xref>; <xref ref-type="bibr" rid="R25">Luque 2017</xref>). However, discussions of the Price equation treat the traits whose change is at issue as <italic>numeric</italic>. That is, the traits in question are properties like height and weight: they are represented by numeric variables. The quantity whose change the equation describes in these cases is the average trait value across the population, such as the average height or average weight. If, like <xref ref-type="bibr" rid="R30">Price (1995)</xref>, we are tempted to seek a general theory of selection, it does not seem plausible that the only traits subject to selection processes are those associated with numbers. Populations can be subject to selection on any trait whatsoever, including <italic>categorical</italic> traits such as colour and shape. Although techniques such as dummy coding can be employed to represent categorical traits in numerical form, these are workarounds that are used because no better method is available. Since the standard Price equation was developed with numeric traits in mind, this poses the question: is there a better way to represent selection on categorical traits?</p>
<p>Here, I derive a version of the Price equation that applies to categorical traits. Categorical variables representing these traits are one-hot vectors. As I explain below, one-hot vectors are mathematical objects well-suited to representing discrete properties that are not numerically measurable. I show that several known features of the numeric Price equation carry over to the categorical form, including its application to multi-level evolutionary dynamics. This shift in perspective motivates us to think about how selection changes the distribution of types in a population, not just the average value of some measurable quantity.</p>
<p>I begin with an overview of the general approach to selection developed by Price and the derivation of the numeric Price equation (<xref ref-type="sec" rid="S2">section 2</xref>). I then derive a categorical Price equation (<xref ref-type="sec" rid="S3">section 3</xref>) and demonstrate some applications (<xref ref-type="sec" rid="S4">section 4</xref>). <xref ref-type="sec" rid="S5">Section 5</xref> discusses outstanding issues and <xref ref-type="sec" rid="S6">section 6</xref> concludes.</p>
</sec>
<sec id="S2"><label>2</label><title>The Numeric Price Equation</title>
<p>This section lays out the standard form of the Price equation. I give a rather detailed introduction to the formalism, so that readers new to the topic will be able to get up to speed. Readers familiar with the Price equation literature can safely skip to <xref ref-type="sec" rid="S2_4">section 2.4</xref>, where the limitations of the traditional approach are discussed and the new work in the rest of the paper is motivated.</p>
<sec id="S2_1"><label>2.1</label><title>The Framework</title>
<p>In a posthumously published manuscript, George <xref ref-type="bibr" rid="R30">Price (1995)</xref> stated his belief that the concept of selection applies far more generally than evolutionary biology. The putative generality of selection has been discussed by many scholars with varying aims and scope (for a small sample, see D. T. <xref ref-type="bibr" rid="R4">Campbell 1956</xref>; <xref ref-type="bibr" rid="R7">Dennett 1995</xref>; <xref ref-type="bibr" rid="R19">Hull 2001</xref>; <xref ref-type="bibr" rid="R18">Hodgson 2004</xref>; <xref ref-type="bibr" rid="R28">Popper 1972</xref>; <xref ref-type="bibr" rid="R6">Cs&#x00E1;nyi 1980</xref>; J. O. <xref ref-type="bibr" rid="R5">Campbell 2016</xref>). Price agreed with the core contention of these theorists that selection should be construed as a process by which variant types in a population are differentially retained. This informal concept is substrate-neutral and, when the term &#x2018;population&#x2019; is read sufficiently broadly, applies to a great deal of phenomena both in everyday life and across scientific disciplines. Consider the following examples, given by Price, of diverse processes satisfying the informal characterisation:
<list list-type="bullet">
<list-item><p>A grocer has many apples, some good, some bad. A discerning shopper picks only good quality apples, placing them in her basket. Treating the grocer&#x2019;s apples as the initial population and the shopper&#x2019;s chosen apples as the subsequent population, there is higher average quality in the subsequent population. There has therefore been <italic>selection on quality</italic>.</p></list-item>
<list-item><p>A population of organisms possesses many alleles, some better at producing descendants that will survive and reproduce, some worse. In the course of environmental interactions, those organisms with better survival prospects produce successful gametes, i.e., gametes that in fact go on to constitute offspring. The initial population is all the alleles and the subsequent population is the collection of alleles possessed by successful gametes. There is higher average reproductive success among successful gametes&#x2019; alleles, because all have proven to be at least somewhat adept at contributing to successfully reproducing organisms. There has therefore been <italic>selection on reproductive success</italic>.</p></list-item>
<list-item><p>A row of flasks contains a solution at different concentrations. A chemist mixes them by taking more solution from flasks with greater concentration, and less from flasks with lower concentration. The resulting mixture will have a greater concentration than the average of the original set of flasks. There has therefore been <italic>selection on concentration</italic>.</p></list-item>
</list>
To unify these and many other examples Price developed a formal framework within which populational processes from any domain could be represented. He then defined a formal criterion by which it can be determined, for any change in the average trait value of a population over time, whether or not selection has occurred. To do so he introduced formal tools founded on three basic definitions: packages, trait values, and population share.</p>
<p>First, Price conceived of <italic>packages</italic> as the population variants on which selection can operate. Packages are the different types that make up the population whose trait values are changing over time. The packages of which a population is comprised must stand in one-to-one correspondence before and after selection (<xref ref-type="fig" rid="F_1">figure 1</xref>). The populations in question can be made up of concrete objects such as apples or chemical solutions, informational sequences such as alleles, or even abstract entities such as pieces of music. Packages are indexed by <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn1"><mml:mi>i</mml:mi></mml:math></inline-formula>.</p>
<fig id="F_1" position="float"><label>Figure 1:</label><caption><title>Price&#x2019;s selection framework.</title><p>A population contains <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn2"><mml:mi>N</mml:mi></mml:math></inline-formula> types conceived as distinct &#x2018;packages&#x2019; and indexed by <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn3"><mml:mi>i</mml:mi></mml:math></inline-formula>. Each package has population share <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn4"><mml:mrow><mml:msub><mml:mi>p</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> at some earlier time and its descendants have population share <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn5"><mml:mrow><mml:msubsup><mml:mi>p</mml:mi><mml:mi>i</mml:mi><mml:mo>&#x0027;</mml:mo></mml:msubsup></mml:mrow></mml:math></inline-formula> at some later time. The trait <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn6"><mml:mi>z</mml:mi></mml:math></inline-formula> is a measurable property of all entities in the population. Trait value <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn7"><mml:mrow><mml:msub><mml:mi>z</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is the value of this property for the entities in package <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn8"><mml:mi>i</mml:mi></mml:math></inline-formula>, and the subsequent trait value <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn9"><mml:mrow><mml:msubsup><mml:mi>z</mml:mi><mml:mi>i</mml:mi><mml:mo>&#x0027;</mml:mo></mml:msubsup></mml:mrow></mml:math></inline-formula> is the average value of this property across the descendants of package <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn10"><mml:mi>i</mml:mi></mml:math></inline-formula>. Adapted and relabelled from <xref ref-type="bibr" rid="R30">Price (1995</xref>, fig. 4, 392).</p></caption><graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="ptpbio.5334-f0001.jpg" /></fig>
<p></p>
<p>Second, <italic>trait values</italic> are properties of packages. Apples can be of good or bad quality, chemical solutions can have different concentrations, alleles can have different reproductive success. Traits with respect to which selection takes place are labelled <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn11"><mml:mi>z</mml:mi></mml:math></inline-formula>. The trait value of package <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn12"><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:math></inline-formula> before selection is <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn13"><mml:msub><mml:mi>z</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:math></inline-formula>. For example, suppose we define the trait <italic>apple quality</italic> such that the worst apples have <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn14"><mml:mi>z</mml:mi><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:math></inline-formula> and the best apples <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn15"><mml:mi>z</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:math></inline-formula>, with others taking intermediate values. Every individual apple <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn16"><mml:mn>1</mml:mn><mml:mi>,</mml:mi><mml:mo>&#x2026;</mml:mo><mml:mi>,</mml:mi><mml:mi>i</mml:mi><mml:mi>,</mml:mi><mml:mo>&#x2026;</mml:mo><mml:mi>,</mml:mi><mml:mi>N</mml:mi></mml:math></inline-formula> is assigned a trait value <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn17"><mml:msub><mml:mi>z</mml:mi><mml:mi>1</mml:mi></mml:msub><mml:mi>,&#x2026;,</mml:mi><mml:msub><mml:mi>z</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mtext>,&#x2026;,</mml:mtext><mml:msub><mml:mi>z</mml:mi><mml:mi>N</mml:mi></mml:msub></mml:math></inline-formula>. Packages after selection are categorised in terms of which original package they are descended from, and <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn18"><mml:msubsup><mml:mi>z</mml:mi><mml:mi>i</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msubsup></mml:math></inline-formula> denotes the average quality of package <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn19"><mml:mi>i</mml:mi></mml:math></inline-formula>&#x2019;s descendants. For the apples in the grocery example, every apple&#x2019;s descendant is simply itself. Supposing individual apples do not change quality during the time the shopper makes their decision, then <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn20"><mml:msubsup><mml:mi>z</mml:mi><mml:mi>i</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msubsup><mml:mi>=</mml:mi><mml:msub><mml:mi>z</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:math></inline-formula> for all <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn21"><mml:mi>i</mml:mi></mml:math></inline-formula>. On the other hand, supposing handling apples tends to degrade their quality, and the shopper handles every apple in the shop before making a choice, then <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn22"><mml:msubsup><mml:mi>z</mml:mi><mml:mi>i</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msubsup><mml:mi>&#x2264;</mml:mi><mml:msub><mml:mi>z</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:math></inline-formula> for all <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn23"><mml:mi>i</mml:mi></mml:math></inline-formula>.</p>
<p>Finally, <italic>population share</italic> <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn24"><mml:msub><mml:mi>p</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:math></inline-formula> measures how prevalent each package is in the population. In the case of chemical solution, this is just the volume of solution in each flask. For discrete items such as apples, we can model each package as having the same population share. It will be mathematically convenient to define each package&#x2019;s population share such that the sum of population shares is 1. When the population share of every package is equal, each has the value <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn25"><mml:mfrac><mml:mi>1</mml:mi><mml:mi>N</mml:mi></mml:mfrac></mml:math></inline-formula>, where <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn26"><mml:mi>N</mml:mi></mml:math></inline-formula> is the total number of packages (likewise, the total volume of chemical solution could be normalised to sum to 1). It is sometimes helpful to think of <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn27"><mml:msub><mml:mi>p</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:math></inline-formula> as the probability of observing package <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn28"><mml:mi>i</mml:mi></mml:math></inline-formula> if you sampled randomly from the population. This is the case with the apples: if we sample randomly, every apple has an equal chance of being observed, so each has a population share of <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn29"><mml:mfrac><mml:mi>1</mml:mi><mml:mi>N</mml:mi></mml:mfrac></mml:math></inline-formula> . The population share of <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn30"><mml:mi>i</mml:mi></mml:math></inline-formula>&#x2019;s descendant is <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn2a"><mml:msubsup><mml:mi>p</mml:mi><mml:mi>i</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msubsup></mml:math></inline-formula>. Apples not chosen have <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn2b"><mml:msubsup><mml:mi>p</mml:mi><mml:mi>i</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msubsup></mml:math></inline-formula> = 0, because randomly sampling from the shopper&#x2019;s basket yields zero probability of observing an apple that isn&#x2019;t in it. Again the <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn2c"><mml:msubsup><mml:mi>p</mml:mi><mml:mi>i</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msubsup></mml:math></inline-formula>s are defined such that they sum to 1. Assuming at least some apples stay in the shop, the total number of selected apples is smaller than the starting set. Therefore, each <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn2d"><mml:msubsup><mml:mi>p</mml:mi><mml:mi>i</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msubsup></mml:math></inline-formula> is greater than each <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn31"><mml:msub><mml:mi>p</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:math></inline-formula>: apples increase their population share by being selected.</p>
<p>It is important to remember that the terms describing the future population, <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn2e"><mml:msubsup><mml:mi>z</mml:mi><mml:mi>i</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msubsup></mml:math></inline-formula> and <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn32"><mml:msubsup><mml:mi>p</mml:mi><mml:mi>i</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msubsup></mml:math></inline-formula>, relate to descendants of individuals that were type <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn33"><mml:mi>i</mml:mi></mml:math></inline-formula> in the original population, and not to individuals who happen to be type <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn34"><mml:mi>i</mml:mi></mml:math></inline-formula> in the subsequent population (see again <xref ref-type="fig" rid="F_1">figure 1</xref>). For example, if a population of organisms is distinguished by their height, package 1 might contain individuals with a height of <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn35"><mml:msub><mml:mi>z</mml:mi><mml:mi>1</mml:mi></mml:msub><mml:mi>=160</mml:mi></mml:math></inline-formula> cm while package 2 contains individuals with a height of <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn36"><mml:msub><mml:mi>z</mml:mi><mml:mi>2</mml:mi></mml:msub><mml:mi>=170</mml:mi></mml:math></inline-formula> cm. If an individual from package 1 has an offspring who, due to mutation, grows to be 170 cm, they count towards the average subsequent trait value <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn37"><mml:msubsup><mml:mi>z</mml:mi><mml:mi>1</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msubsup></mml:math></inline-formula>, not <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn38"><mml:msubsup><mml:mi>z</mml:mi><mml:mi>2</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msubsup></mml:math></inline-formula>, and contribute to the subsequent population share <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn39"><mml:msubsup><mml:mi>p</mml:mi><mml:mi>1</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msubsup></mml:math></inline-formula>, not <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn40"><mml:msubsup><mml:mi>p</mml:mi><mml:mi>2</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msubsup></mml:math></inline-formula>.</p>
</sec>
<sec id="S2_2"><label>2.2</label><title>Putting the Framework to Work</title>
<p>Further useful quantities can be derived from these basic terms. The average quality of all the apples in the grocer&#x2019;s shop, weighted by their population share, is the total weighted quality divided by the total share (<xref ref-type="bibr" rid="R30">Price 1995</xref>, 391; variables changed for consistency):
<disp-formula id="eqn_1d"><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="block"><mml:mrow><mml:mtable columnalign="left"><mml:mtr><mml:mtd columnalign="right"><mml:mover><mml:mi>z</mml:mi><mml:mi>&#x2212;</mml:mi></mml:mover></mml:mtd><mml:mtd><mml:mo>=</mml:mo></mml:mtd><mml:mtd><mml:mfrac><mml:mrow><mml:mo>&#x2211;</mml:mo><mml:mo>&#xA0;</mml:mo><mml:msub><mml:mi>p</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:msub><mml:mi>z</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow><mml:mrow><mml:mo>&#x2211;</mml:mo><mml:mo>&#xA0;</mml:mo><mml:msub><mml:mi>p</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mo>=</mml:mo></mml:mtd><mml:mtd><mml:mfrac><mml:mrow><mml:mo>&#x2211;</mml:mo><mml:mo>&#xA0;</mml:mo><mml:msub><mml:mi>p</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:msub><mml:mi>z</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow><mml:mn>1</mml:mn></mml:mfrac></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mo>=</mml:mo></mml:mtd><mml:mtd><mml:mo>&#x2211;</mml:mo><mml:mo>&#xA0;</mml:mo><mml:msub><mml:mi>p</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:msub><mml:mi>z</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mtd></mml:mtr></mml:mtable>
</mml:mrow>
</mml:math>
</disp-formula></p><p>The Greek letter capital sigma, <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn42"><mml:mi>&#x2211;</mml:mi></mml:math></inline-formula>, denotes a sum of all the terms indexed by <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn43"><mml:mi>i</mml:mi></mml:math></inline-formula> (this symbol is used because both &#x2018;sigma&#x2019; and &#x2018;sum&#x2019; begin with the letter s). So <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn44"><mml:mi>&#x2211;</mml:mi><mml:mtext>&#x00A0;</mml:mtext><mml:msub><mml:mi>p</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:math></inline-formula> says &#x2018;add together all the values of <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn45"><mml:msub><mml:mi>p</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:math></inline-formula>,&#x2019; while <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn46"><mml:mi>&#x2211;</mml:mi><mml:mtext>&#x00A0;</mml:mtext><mml:msub><mml:mi>p</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:msub><mml:mi>z</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:math></inline-formula> says &#x2018;add together all the products <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn47"><mml:msub><mml:mi>p</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:msub><mml:mi>z</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:math></inline-formula>.&#x2019; After selection, the average quality of apples in the shopper&#x2019;s basket is calculated the same way:
<disp-formula id="eqn_1p"><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="block"><mml:mrow><mml:mtable columnspacing="0.3em" equalrows='true' equalcolumns='true'><mml:mtr><mml:mtd columnalign='right'><mml:mrow><mml:mover accent='true'><mml:msup><mml:mi>z</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup><mml:mo stretchy='true'>&#x00AF;</mml:mo></mml:mover></mml:mrow></mml:mtd><mml:mtd columnalign='center'><mml:mo>=</mml:mo></mml:mtd><mml:mtd columnalign='left'><mml:mrow><mml:mfrac><mml:mrow><mml:mo>&#x2211;</mml:mo><mml:mo>&#x00A0;</mml:mo><mml:msubsup><mml:mi>p</mml:mi><mml:mi>i</mml:mi><mml:mo>&#x0027;</mml:mo></mml:msubsup><mml:msubsup><mml:mi>z</mml:mi><mml:mi>i</mml:mi><mml:mo>&#x0027;</mml:mo></mml:msubsup></mml:mrow><mml:mrow><mml:mo>&#x2211;</mml:mo><mml:mo>&#x00A0;</mml:mo><mml:msubsup><mml:mi>p</mml:mi><mml:mi>i</mml:mi><mml:mo>&#x0027;</mml:mo></mml:msubsup></mml:mrow></mml:mfrac></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd columnalign='right'><mml:mo>&#x00A0;</mml:mo></mml:mtd><mml:mtd columnalign='center'><mml:mo>=</mml:mo></mml:mtd><mml:mtd columnalign='left'><mml:mrow><mml:mo>&#x2211;</mml:mo><mml:mo>&#x00A0;</mml:mo><mml:msubsup><mml:mi>p</mml:mi><mml:mi>i</mml:mi><mml:mo>&#x0027;</mml:mo></mml:msubsup><mml:msubsup><mml:mi>z</mml:mi><mml:mi>i</mml:mi><mml:mo>&#x0027;</mml:mo></mml:msubsup></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:math>
</disp-formula></p><p>If the shopper is discerning, <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn49"><mml:mrow><mml:mover><mml:msup><mml:mi>z</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup><mml:mo stretchy='true'>&#x00AF;</mml:mo></mml:mover></mml:mrow></mml:math></inline-formula> will be larger than <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn50"><mml:mrow><mml:mover><mml:mi>z</mml:mi><mml:mi>&#x2212;</mml:mi></mml:mover></mml:mrow></mml:math></inline-formula>. In this case the <italic>total change</italic> in average quality <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn51"><mml:mrow><mml:mtext>&#x0394;</mml:mtext><mml:mover><mml:mi>z</mml:mi><mml:mi>&#x2212;</mml:mi></mml:mover><mml:mo>=</mml:mo><mml:mover accent='true'><mml:msup><mml:mi>z</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup><mml:mo stretchy='true'>&#x00AF;</mml:mo></mml:mover><mml:mo>&#x2212;</mml:mo><mml:mover><mml:mi>z</mml:mi><mml:mi>&#x2212;</mml:mi></mml:mover></mml:mrow></mml:math></inline-formula> will be positive. Here <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn52"><mml:mtext>&#x0394;</mml:mtext></mml:math></inline-formula> is the Greek letter capital delta, which is often used to signify the change or difference in a value (because both &#x2018;delta&#x2019; and &#x2018;difference&#x2019; begin with d). If the shopper instead chooses randomly, we would expect the average value of their apples to be the same as the average before selection. Then the total change is zero.</p>
<p>Finally, the <italic>selection coefficient</italic> <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn53"><mml:msub><mml:mi>w</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:math></inline-formula> of package <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn54"><mml:mi>i</mml:mi></mml:math></inline-formula> is defined as the ratio of its population share before and after selection, <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn55"><mml:msub><mml:mi>w</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mpadded lspace="-1px"><mml:mfrac><mml:msubsup><mml:mi>p</mml:mi><mml:mi>i</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msubsup>	<mml:mrow><mml:mi>p</mml:mi><mml:mi>i</mml:mi></mml:mrow></mml:mfrac></mml:mpadded></mml:math></inline-formula>. In biological settings it is usually considered synonymous with <italic>relative fitness</italic>. The selection coefficient of an apple that is not chosen is 0, because its <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn56"><mml:msubsup><mml:mi>p</mml:mi><mml:mi>i</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msubsup></mml:math></inline-formula> is defined as 0. The selection coefficient of chosen apples is greater than 1, because each <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn57"><mml:msubsup><mml:mi>p</mml:mi><mml:mi>i</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msubsup></mml:math></inline-formula> is greater than the corresponding <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn58"><mml:msub><mml:mi>p</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:math></inline-formula>. From this definition, package <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn59"><mml:mi>i</mml:mi></mml:math></inline-formula> has been selected when its later population share is larger than its earlier population share; that is, when <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn60"><mml:msub><mml:mi>w</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mi>&#x003E;</mml:mi><mml:mn>1</mml:mn></mml:math></inline-formula>. Conversely the package is selected against when <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn61"><mml:msub><mml:mi>w</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>&#x003C;</mml:mo><mml:mn>1</mml:mn></mml:math></inline-formula>.</p>
</sec>
<sec id="S2_3"><label>2.3</label><title>The Price Equation</title>
<p>When there is a change in the average value of a trait, how do we know whether that change is due to selection? We cannot ignore the fact that processes other than selection affect trait values. Rough handling degrades the quality of apples. Alleles can mutate during transmission, leading them to have diminished reproductive success. A quantity of solvent might evaporate from a solution, leaving it at a slightly higher concentration. All of these processes affect the value of <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn62"><mml:mrow><mml:mover><mml:msup><mml:mi>z</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup><mml:mo stretchy='true'>&#x00AF;</mml:mo></mml:mover></mml:mrow></mml:math></inline-formula>, and so contribute to the total change <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn63"><mml:mrow><mml:mtext>&#x0394;</mml:mtext><mml:mover><mml:mi>z</mml:mi><mml:mi>&#x2212;</mml:mi></mml:mover></mml:mrow></mml:math></inline-formula>.</p>
<p>In order to isolate the effect of selection, it would be helpful to neatly split the total change into two pieces:
<disp-formula id="eqn1"><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="block"><mml:mrow><mml:mtext>&#x0394;</mml:mtext><mml:mover><mml:mi>z</mml:mi><mml:mi>&#x2212;</mml:mi></mml:mover><mml:mo>=</mml:mo><mml:msub><mml:mtext>&#x0394;</mml:mtext><mml:mi>s</mml:mi></mml:msub><mml:mover><mml:mi>z</mml:mi><mml:mi>&#x2212;</mml:mi></mml:mover><mml:mo>+</mml:mo><mml:msub><mml:mtext>&#x0394;</mml:mtext><mml:mi>t</mml:mi></mml:msub><mml:mover><mml:mi>z</mml:mi><mml:mi>&#x2212;</mml:mi></mml:mover></mml:mrow></mml:math>
<label>(1)</label>
</disp-formula></p><p><inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn64"><mml:mrow><mml:msub><mml:mtext>&#x0394;</mml:mtext><mml:mi>s</mml:mi></mml:msub><mml:mover><mml:mi>z</mml:mi><mml:mi>&#x2212;</mml:mi></mml:mover></mml:mrow></mml:math></inline-formula> would be the change in average trait value due to selection, hence the subscript <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn65"><mml:mi>s</mml:mi></mml:math></inline-formula>.<xref ref-type="fn" rid="fn1"><sup>1</sup></xref> <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn66"><mml:mrow><mml:msub><mml:mtext>&#x0394;</mml:mtext><mml:mi>t</mml:mi></mml:msub><mml:mover><mml:mi>z</mml:mi><mml:mi>&#x2212;</mml:mi></mml:mover></mml:mrow></mml:math></inline-formula> would be the change in average trait value due to other factors. Originally these other factors were associated with the concept of transmission bias, hence the <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn67"><mml:mi>t</mml:mi></mml:math></inline-formula>. We&#x2019;ll see later that more than just transmission bias falls under this second term.</p>
<p>Writing down <xref ref-type="disp-formula" rid="eqn1">equation (1)</xref> is all very well. But there seems to be no guarantee that <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn68"><mml:mrow><mml:mtext>&#x0394;</mml:mtext><mml:mover><mml:mi>z</mml:mi><mml:mi>&#x2212;</mml:mi></mml:mover></mml:mrow></mml:math></inline-formula> separates neatly into two parts and no guarantee that one of these parts corresponds to the informal notion of selection. In deriving his eponymous equation, Price showed that <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn69"><mml:mrow><mml:mtext>&#x0394;</mml:mtext><mml:mover><mml:mi>z</mml:mi><mml:mi>&#x2212;</mml:mi></mml:mover></mml:mrow></mml:math></inline-formula> does indeed separate into two parts and further argued that one of these captures change due to selection. <xref ref-type="bibr" rid="R29">Price (1970)</xref> showed that the total change can be written as follows (<xref ref-type="bibr" rid="R26">Okasha (2006</xref>, 22) gives a derivation in terms similar to the notation used here):
<disp-formula id="eqn1z"><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="block"><mml:mtext>&#x394;</mml:mtext><mml:mover><mml:mi>z</mml:mi><mml:mi>&#x2212;</mml:mi></mml:mover><mml:mo>=</mml:mo><mml:munder><mml:munder><mml:mfenced><mml:mrow><mml:mo>&#x2211;</mml:mo><mml:mo>&#xA0;</mml:mo><mml:msup><mml:mi>p</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup><mml:mi>z</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mo>&#x2211;</mml:mo><mml:mo>&#xA0;</mml:mo><mml:mi>p</mml:mi><mml:mi>z</mml:mi></mml:mrow></mml:mfenced><mml:mo>&#x23DF;</mml:mo></mml:munder><mml:mrow><mml:mi>change</mml:mi><mml:mo>&#xA0;</mml:mo><mml:mi>due</mml:mi><mml:mo>&#xA0;</mml:mo><mml:mi>to</mml:mi><mml:mo>&#xA0;</mml:mo><mml:mi>selection</mml:mi></mml:mrow></mml:munder><mml:mo>+</mml:mo><mml:munder><mml:munder><mml:mfenced><mml:mrow><mml:mo>&#x2211;</mml:mo><mml:mo>&#xA0;</mml:mo><mml:msup><mml:mi>p</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup><mml:msup><mml:mi>z</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup><mml:mo>&#x2212;</mml:mo><mml:mo>&#x2211;</mml:mo><mml:mo>&#xA0;</mml:mo><mml:msup><mml:mi>p</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup><mml:mi>z</mml:mi></mml:mrow></mml:mfenced><mml:mo>&#x23DF;</mml:mo></mml:munder><mml:mtext>change&#xA0;due&#xA0;to&#xA0;transmission&#xA0;</mml:mtext></mml:munder></mml:math>
</disp-formula></p><p>Price argued that the first set of brackets should be identified with <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn71"><mml:mrow><mml:msub><mml:mtext>&#x0394;</mml:mtext><mml:mi>s</mml:mi></mml:msub><mml:mover><mml:mi>z</mml:mi><mml:mi>&#x2212;</mml:mi></mml:mover></mml:mrow></mml:math></inline-formula>, the change due to selection, while the second set of brackets should be identified with <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn72"><mml:mrow><mml:msub><mml:mtext>&#x0394;</mml:mtext><mml:mi>t</mml:mi></mml:msub><mml:mover><mml:mi>z</mml:mi><mml:mi>&#x2212;</mml:mi></mml:mover></mml:mrow></mml:math></inline-formula>, all other sources of change. It&#x2019;s not obvious that those terms capture our pretheoretic notion of selection, so the equation bears some examination. Let&#x2019;s take a closer look at the selection term:
<disp-formula id="eqn2"><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="block"><mml:mrow><mml:msub><mml:mtext>&#x0394;</mml:mtext><mml:mi>s</mml:mi></mml:msub><mml:mover><mml:mi>z</mml:mi><mml:mi>&#x2212;</mml:mi></mml:mover><mml:mo>=</mml:mo><mml:mo>&#x2211;</mml:mo><mml:mo>&#x00A0;</mml:mo><mml:msup><mml:mi>p</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup><mml:mi>z</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mo>&#x2211;</mml:mo><mml:mo>&#x00A0;</mml:mo><mml:mi>p</mml:mi><mml:mi>z</mml:mi></mml:mrow></mml:math>
<label>(2)</label>
</disp-formula></p><p>This is a difference between two weighted averages. We are comparing <italic>the trait values of the initial set weighted by the population share of their descendants</italic> with <italic>the trait values of the initial set weighted by their own population share</italic>. If a certain trait value leads to proportionally greater descendants than its current share, its component of this sum will be positive. If a certain trait value leads to proportionally fewer descendants than its current share, its component of this sum will be negative. In short, we are quantifying <italic>the change in population share that can be associated with trait values</italic>. This is precisely the sense in which trait values can be selected.<xref ref-type="fn" rid="fn2"><sup>2</sup></xref></p>
<p>The transmission term accounts for a different source of change:
<disp-formula id="eqn3"><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="block"><mml:mrow><mml:msub><mml:mtext>&#x0394;</mml:mtext><mml:mi>t</mml:mi></mml:msub><mml:mover><mml:mi>z</mml:mi><mml:mi>&#x2212;</mml:mi></mml:mover><mml:mo>=</mml:mo><mml:mo>&#x2211;</mml:mo><mml:mo>&#x00A0;</mml:mo><mml:msup><mml:mi>p</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup><mml:msup><mml:mi>z</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup><mml:mo>&#x2212;</mml:mo><mml:mo>&#x2211;</mml:mo><mml:mo>&#x00A0;</mml:mo><mml:msup><mml:mi>p</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup><mml:mi>z</mml:mi></mml:mrow></mml:math>
<label>(3)</label>
</disp-formula></p><p>This is the difference between the actual subsequent average trait value (<inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn73"><mml:mrow><mml:mo>&#x2211;</mml:mo><mml:msup><mml:mi>p</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup><mml:msup><mml:mi>z</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup></mml:mrow></mml:math></inline-formula>), and what that average would have been if trait values didn&#x2019;t change (i.e. if <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn74"><mml:mrow><mml:msup><mml:mi>z</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup><mml:mo>=</mml:mo><mml:mi>z</mml:mi></mml:mrow></mml:math></inline-formula>, so <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn75"><mml:mrow><mml:mo>&#x2211;</mml:mo><mml:msup><mml:mi>p</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup><mml:mi>z</mml:mi></mml:mrow></mml:math></inline-formula>). The term therefore captures the deviation from perfect retention of package trait values over time. In other words, it describes how trait values within packages change, regardless of changes in population share. This is why the term is said to capture sources of change other than selection.</p>
<p>Here is a worked example. Suppose the shopkeeper has three apples, of good, medium, and bad quality: <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn76"><mml:mrow><mml:mi>z</mml:mi><mml:mo>=</mml:mo><mml:mn>0.9</mml:mn><mml:mo>,</mml:mo><mml:mn>0.5</mml:mn><mml:mo>,</mml:mo><mml:mn>0.1</mml:mn></mml:mrow></mml:math></inline-formula>. A shopper comes along and picks the good apple. Before selection, each apple has the same population share: <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn77"><mml:mrow><mml:mi>p</mml:mi><mml:mo>=</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mn>3</mml:mn></mml:mfrac><mml:mo>,</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mn>3</mml:mn></mml:mfrac><mml:mo>,</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mn>3</mml:mn></mml:mfrac></mml:mrow></mml:math></inline-formula>. The average trait value is <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn78"><mml:mrow><mml:mo>&#x2211;</mml:mo><mml:mi>p</mml:mi><mml:mi>z</mml:mi><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mn>0.9</mml:mn><mml:mo>+</mml:mo><mml:mn>0.5</mml:mn><mml:mo>+</mml:mo><mml:mn>0.1</mml:mn></mml:mrow><mml:mn>3</mml:mn></mml:mfrac><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mn>1.5</mml:mn></mml:mrow><mml:mn>3</mml:mn></mml:mfrac><mml:mo>=</mml:mo><mml:mn>0.5</mml:mn></mml:mrow></mml:math></inline-formula>. After selection, the shopper has chosen just the good apple. Population shares are now <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn79"><mml:mrow><mml:msup><mml:mi>p</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup><mml:mo>=</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mn>0</mml:mn><mml:mo>,</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:math></inline-formula>, and the average trait value is <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn80"><mml:mrow><mml:mo>&#x2211;</mml:mo><mml:msup><mml:mi>p</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup><mml:msup><mml:mi>z</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup><mml:mo>=</mml:mo><mml:mfenced><mml:mrow><mml:mn>1</mml:mn><mml:mo>&#x00D7;</mml:mo><mml:mn>0.9</mml:mn></mml:mrow></mml:mfenced><mml:mo>+</mml:mo><mml:mfenced><mml:mrow><mml:mn>0</mml:mn><mml:mo>&#x00D7;</mml:mo><mml:mn>0.5</mml:mn></mml:mrow></mml:mfenced><mml:mo>+</mml:mo><mml:mfenced><mml:mrow><mml:mn>0</mml:mn><mml:mo>&#x00D7;</mml:mo><mml:mn>0.1</mml:mn></mml:mrow></mml:mfenced><mml:mo>=</mml:mo><mml:mn>0.9</mml:mn></mml:mrow></mml:math></inline-formula>. The total change in average trait value is <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn81"><mml:mrow><mml:mo>&#x2211;</mml:mo><mml:mo>&#x00A0;</mml:mo><mml:msup><mml:mi>p</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup><mml:msup><mml:mi>z</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup><mml:mo>&#x2212;</mml:mo><mml:mo>&#x2211;</mml:mo><mml:mo>&#x00A0;</mml:mo><mml:mi>p</mml:mi><mml:mi>z</mml:mi><mml:mo>=</mml:mo><mml:mn>0.9</mml:mn><mml:mo>&#x2212;</mml:mo><mml:mn>0.5</mml:mn><mml:mo>=</mml:mo><mml:mn>0.4</mml:mn></mml:mrow></mml:math></inline-formula>. The change in average trait value due to selection is <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn82"><mml:mrow><mml:mo>&#x2211;</mml:mo><mml:mo>&#x00A0;</mml:mo><mml:msup><mml:mi>p</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup><mml:mi>z</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mo>&#x2211;</mml:mo><mml:mo>&#x00A0;</mml:mo><mml:mi>p</mml:mi><mml:mi>z</mml:mi><mml:mo>=</mml:mo><mml:mn>0.9</mml:mn><mml:mo>&#x2212;</mml:mo><mml:mn>0.5</mml:mn><mml:mo>=</mml:mo><mml:mn>0.4</mml:mn></mml:mrow></mml:math></inline-formula>. The total change is equal to the change due to selection. They are equal because in this example apples don&#x2019;t independently change in quality over time. All the change is accounted for by selection. Suppose instead apples <italic>do</italic> change their quality over time. In particular, suppose the shopper roughly handles all apples in order to determine which is best. Rough handling degrades apple quality by <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn83"><mml:mrow><mml:mn>0.05</mml:mn></mml:mrow></mml:math></inline-formula>. Then <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn84"><mml:mrow><mml:msup><mml:mi>z</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup><mml:mo>=</mml:mo><mml:mn>0.85</mml:mn><mml:mo>,</mml:mo><mml:mn>0.45</mml:mn><mml:mo>,</mml:mo><mml:mn>0.05</mml:mn></mml:mrow></mml:math></inline-formula>. Now the overall change is <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn85"><mml:mrow><mml:mn>0.85</mml:mn><mml:mo>&#x2212;</mml:mo><mml:mn>0.5</mml:mn><mml:mo>=</mml:mo><mml:mn>0.35</mml:mn></mml:mrow></mml:math></inline-formula>. The change due to selection remains the same, <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn86"><mml:mrow><mml:mn>0.4</mml:mn></mml:mrow></mml:math></inline-formula>. But the change due to other factors is <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn87"><mml:mrow><mml:mo>&#x2212;</mml:mo><mml:mn>0.05</mml:mn></mml:mrow></mml:math></inline-formula>. <xref ref-type="fig" rid="F_2">Figure 2</xref> depicts the two sources of change contributing to the overall change.<xref ref-type="fn" rid="fn3"><sup>3</sup></xref></p>
<fig id="F_2" position="float"><label>Figure 2:</label><caption><title>The numeric Price equation partitions change in average trait value <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn88"><mml:mrow><mml:mtext>&#x0394;</mml:mtext><mml:mover><mml:mi>z</mml:mi><mml:mi>&#x2212;</mml:mi></mml:mover></mml:mrow></mml:math></inline-formula> into two parts: change due to selection, and everything else.</title></caption><graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="ptpbio.5334-f0002.jpg" /></fig>
</sec>
<sec id="S2_4"><label>2.4</label><title>The Price Equation Assumes Variables Are Numeric</title>
<p>The Price equation is almost universally treated as applying to numeric variables. <xref ref-type="fn" rid="fn4"><sup>4</sup></xref> This can be seen from the fact that the change due to selection, <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn89"><mml:mrow><mml:msub><mml:mtext>&#x0394;</mml:mtext><mml:mi>s</mml:mi></mml:msub><mml:mover><mml:mi>z</mml:mi><mml:mo>&#x005F;</mml:mo></mml:mover></mml:mrow></mml:math></inline-formula>, is almost always manipulated into the following statistical form (<xref ref-type="bibr" rid="R26">Okasha 2006</xref>, 22):
<disp-formula id="eqn_1"><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="block"><mml:mrow><mml:msub><mml:mtext>&#x0394;</mml:mtext><mml:mi>s</mml:mi></mml:msub><mml:mover><mml:mi>z</mml:mi><mml:mi>&#x2212;</mml:mi></mml:mover><mml:mo>=</mml:mo><mml:msub><mml:mrow><mml:mtext>cov</mml:mtext></mml:mrow><mml:mi>p</mml:mi></mml:msub><mml:mfenced><mml:mrow><mml:mi>W</mml:mi><mml:mo>,</mml:mo><mml:mi>Z</mml:mi></mml:mrow></mml:mfenced></mml:mrow></mml:math>
</disp-formula></p><p>The term <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn90"><mml:mrow><mml:mtext>c</mml:mtext><mml:mtext>o</mml:mtext><mml:msub><mml:mtext>v</mml:mtext><mml:mi>p</mml:mi></mml:msub><mml:mfenced><mml:mrow><mml:mi>W</mml:mi><mml:mo>,</mml:mo><mml:mi>Z</mml:mi></mml:mrow></mml:mfenced></mml:mrow></mml:math></inline-formula> is the <italic>covariance</italic> between selection coefficients <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn91"><mml:mi>W</mml:mi></mml:math></inline-formula> and trait values <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn92"><mml:mi>Z</mml:mi></mml:math></inline-formula> (which are now being treated as random variables, hence are capitalised). Covariance is a statistical measure of two numeric variables that describes their linear relationship. If they are both high for the same packages and both low for the same packages, we say they positively covary, and their covariance is positive. If one is low while the other is high and vice versa, we say they negatively covary, and their covariance is negative. If the high and low values do not pattern together in any way, covariance is zero.</p>
<p>The covariance between trait values and selection coefficients quantifies the change in the average trait value that is due to selection. This makes intuitive sense: if higher trait values are associated with higher selection coefficients, there will be a greater population share for packages with higher trait values in the next generation. So long as positive covariance is maintained, average trait values will increase over time. On the other hand, if <italic>lower</italic> trait values are associated with higher selection coefficients, average trait values will decrease over time. The covariance formulation is possible because <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn93"><mml:mi>z</mml:mi></mml:math></inline-formula> is assumed to be numeric.<xref ref-type="fn" rid="fn5"><sup>5</sup></xref></p>
<p>The Price equation also enables more nuanced descriptions of the action of selection. When the average trait value changes due to an association with fitness, we say there has been directional selection. However, there can be selection even in cases where the trait value average itself does not change at all. Stabilising selection occurs when a specific trait value is favoured. Suppose that the current average trait value is optimal. Selection might act to prune away values both higher and lower than the optimal, thus reducing the variance of the distribution while keeping the average the same.<xref ref-type="fn" rid="fn6"><sup>6</sup></xref> Capturing stabilising selection with the Price equation is as simple as defining a trait value <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn94"><mml:mrow><mml:msup><mml:mi>z</mml:mi><mml:mtext>*</mml:mtext></mml:msup><mml:mo>=</mml:mo><mml:msup><mml:mrow><mml:mo stretchy='false'>(</mml:mo><mml:mi>z</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mover><mml:mi>z</mml:mi><mml:mi>&#x2212;</mml:mi></mml:mover><mml:mo stretchy='false'>)</mml:mo></mml:mrow><mml:mn>2</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>. When defined this way, <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn95"><mml:mrow><mml:mover accent='true'><mml:mrow><mml:msup><mml:mi>z</mml:mi><mml:mtext>*</mml:mtext></mml:msup></mml:mrow><mml:mo stretchy='true'>&#x00AF;</mml:mo></mml:mover></mml:mrow></mml:math></inline-formula> is the variance of the distribution. Applying the Price equation to <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn96"><mml:mrow><mml:msup><mml:mi>z</mml:mi><mml:mo>*</mml:mo></mml:msup></mml:mrow></mml:math></inline-formula> tells you how <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn95a"><mml:mrow><mml:mover accent='true'><mml:mrow><mml:msup><mml:mi>z</mml:mi><mml:mtext>*</mml:mtext></mml:msup></mml:mrow><mml:mo stretchy='true'>&#x00AF;</mml:mo></mml:mover></mml:mrow></mml:math></inline-formula> changes, thus telling you how the variance of <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn98"><mml:mi>z</mml:mi></mml:math></inline-formula> changes: when selection causes the variance to decrease, <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn99"><mml:mrow><mml:mtext>c</mml:mtext><mml:mtext>o</mml:mtext><mml:msub><mml:mtext>v</mml:mtext><mml:mi>p</mml:mi></mml:msub><mml:mstyle stretchy="false"><mml:mfenced><mml:mrow><mml:mi>W</mml:mi><mml:mo>,</mml:mo><mml:msup><mml:mi>Z</mml:mi><mml:mo>*</mml:mo></mml:msup></mml:mrow></mml:mfenced></mml:mstyle></mml:mrow></mml:math></inline-formula> is negative, indicating stabilising selection. The average and the variance are called <italic>moments</italic> of the trait distribution, and higher moments can be captured by defining further traits <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn100"><mml:mrow><mml:msup><mml:mrow><mml:mo stretchy='false'>(</mml:mo><mml:mi>z</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mover><mml:mi>z</mml:mi><mml:mi>&#x2212;</mml:mi></mml:mover><mml:mo stretchy='false'>)</mml:mo></mml:mrow><mml:mn>3</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn101"><mml:mrow><mml:msup><mml:mrow><mml:mo stretchy='false'>(</mml:mo><mml:mi>z</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mover><mml:mi>z</mml:mi><mml:mi>&#x2212;</mml:mi></mml:mover><mml:mo stretchy='false'>)</mml:mo></mml:mrow><mml:mn>4</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> and so on. Applying the Price equation to each of these constructed traits reveals how selection changes the moments of the distribution (<xref ref-type="bibr" rid="R31">Rice 2004</xref>, 178). And since the moments of a distribution collectively define its overall shape, the set of Price equations describing changes in moments collectively describe the overall change in shape of the distribution. All of this is possible when <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn102"><mml:mi>z</mml:mi></mml:math></inline-formula> is numeric, and so the moments of the distribution are well-defined.<xref ref-type="fn" rid="fn7"><sup>7</sup></xref></p>
<p>So far, so familiar. The rest of the paper concerns a constraint on the Price equation that has remained virtually unacknowledged.<xref ref-type="fn" rid="fn8"><sup>8</sup></xref> Covariance is a relationship between numeric variables. But there can presumably be selection on traits that are best represented as categorical variables. Indeed, the very notion of change in the average value of a trait does not apply when the trait in question is categorical, yet it seems that these traits can still be selected.<xref ref-type="fn" rid="fn9"><sup>9</sup></xref> An example will illustrate this problem. Suppose a child&#x2019;s favourite colour is red, and they are choosing gifts from a shop&#x2019;s collection of balls. There are red, green and blue balls in the shop bin, and the child chooses all the red balls. By analogy with the apple case, there has clearly been selection for colour. Yet there is no natural way to assign the different colours to numbers such that we should say there has been selection for an &#x2018;increase in average trait value&#x2019;. That is because an equally acceptable assignment would yield the result that there has been a <italic>decrease</italic> in average trait value, or no change at all. For example, if we assign red = 0, green = 1, blue = 2, then there has been a decrease in average trait value; if on the other hand we assign red = 1, green = 0, blue = 2, then there has been no change (assuming equally many starting balls); finally, if red = 2, green = 1, blue = 0, then there has been an increase in average trait value. How, then, might Price&#x2019;s framework support a truly general definition of selection?</p>
<p>As mentioned in the introduction, there is a workaround to this problem (discussed by <xref ref-type="bibr" rid="R26">Okasha 2006</xref>, 24). Instead of a single categorical trait &#x2018;colour&#x2019; with values red, green, and blue, we can define three different binary traits &#x2018;red&#x2019;, &#x2018;green&#x2019;, and &#x2018;blue&#x2019;, each of which can be either 1 or 0 (in statistics this is known as dummy coding). A ball gets the value 1 for the red trait if it is red, and 0 for the other traits. Then three different Price equations can be applied, each of which describes selection on one of these dummy traits. If the child chooses the red balls, the three Price equations will reveal that there has been selection in favour of being red, selection against being green, and selection against being blue. This seems to be exactly the result we want, albeit using three equations instead of one. However, the equation I present in <xref ref-type="sec" rid="S3">section 3</xref> is, I believe, a more principled solution to the problem of representing selection on categorical traits. It is more principled because it does not treat a single trait as comprising separate dummy traits. It therefore requires a single equation rather than multiple equations, regardless of how many trait values there are. I compare my solution to the dummy coding approach in <xref ref-type="sec" rid="S5_2">section 5.2</xref> &#x2013; they are in fact quite closely related.</p>
<p>In order to adequately capture selection on categorical traits in a formal framework, we have to change our interpretation of just one of Price&#x2019;s terms. The next section shows how.</p>
</sec>
</sec>
<sec id="S3"><label>3</label><title>A Categorical Price Equation</title>
<sec id="S3_1"><label>3.1</label><title>Capturing Selection: Distributions, Not Averages</title>
<p>I propose that the Price equation can be used to capture selection on categorical traits if we change our interpretation of one of its central terms. We will end up with a description of the <italic>change in the distribution of types</italic> in a population due to selection, as opposed to the change in average trait value. As with change in average trait value, change in the distribution of types can be segregated into change due to selection and change due to other factors. The goal is to represent this change, and this decomposition, in some manner that does not require the <italic>average</italic> value to change in order that there be selection.</p>
<p>The good news is that we can still use key features of the Price equation to do this. To see how, first let each <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn103"><mml:mrow><mml:msub><mml:mi>z</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> be the vector whose values are all zero except for the <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn104"><mml:mi>i</mml:mi></mml:math></inline-formula>th entry, whose value is 1. This is called a one-hot vector, a common way of representing categorical variables. For example, the red, green and blue balls in the shop would be represented by the vectors <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn105"><mml:mrow><mml:msub><mml:mi>z</mml:mi><mml:mn>1</mml:mn></mml:msub><mml:mo>=</mml:mo><mml:mo>&#x2329;</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mn>0</mml:mn><mml:mo>,</mml:mo><mml:mn>0</mml:mn><mml:mo>&#x232A;</mml:mo><mml:mo>,</mml:mo><mml:msub><mml:mi>z</mml:mi><mml:mn>2</mml:mn></mml:msub><mml:mo>=</mml:mo><mml:mo>&#x2329;</mml:mo><mml:mn>0</mml:mn><mml:mo>,</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mn>0</mml:mn><mml:mo>&#x232A;</mml:mo></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn106"><mml:mrow><mml:msub><mml:mi>z</mml:mi><mml:mn>3</mml:mn></mml:msub><mml:mo>=</mml:mo><mml:mfenced close="&#x232A;" open="&#x2329;"><mml:mrow><mml:mn>0</mml:mn><mml:mo>,</mml:mo><mml:mn>0</mml:mn><mml:mo>,</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:mfenced></mml:mrow></mml:math></inline-formula>. The assignment of colours to vector entries is arbitrary, but none of the calculations we will carry out are affected by these assignments. In effect, the vector representation condenses multiple dummy-coding variables into a single vector variable. This enables us to derive a single Price equation for the whole population.</p>
<p>Now the distribution of balls in the shop bin can also be described by a vector. If they are initially evenly distributed, the population distribution is <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn107"><mml:mrow><mml:mi>Z</mml:mi><mml:mo>=</mml:mo><mml:mo>&#x2329;</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mn>3</mml:mn></mml:mfrac><mml:mo>,</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mn>3</mml:mn></mml:mfrac><mml:mo>,</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mn>3</mml:mn></mml:mfrac><mml:mo>&#x232A;</mml:mo></mml:mrow></mml:math></inline-formula>. This can be thought of as describing the probabilities of choosing each package when picking at random from the population. And if we let the individual <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn108"><mml:mrow><mml:msub><mml:mi>p</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> be the individual population proportions as before, the overall distribution is equal to the sum <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn109"><mml:mrow><mml:mo>&#x2211;</mml:mo><mml:mi>p</mml:mi><mml:mi>z</mml:mi></mml:mrow></mml:math></inline-formula>:
<disp-formula id="eqn_2"><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="block"><mml:mrow><mml:mtable columnalign='left' equalrows='true' equalcolumns='true'><mml:mtr columnalign='left'><mml:mtd columnalign='right'><mml:mrow><mml:mo>&#x2211;</mml:mo><mml:mo>&#x00A0;</mml:mo><mml:mi>p</mml:mi><mml:mi>z</mml:mi></mml:mrow></mml:mtd><mml:mtd columnalign='left'><mml:mrow><mml:mo>&#x00A0;</mml:mo><mml:mo>=</mml:mo><mml:mstyle stretchy="true"><mml:mfrac><mml:mn>1</mml:mn><mml:mn>3</mml:mn></mml:mfrac></mml:mstyle><mml:mtext>&#x2329;</mml:mtext><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mn>0</mml:mn><mml:mo>,</mml:mo><mml:mn>0</mml:mn><mml:mtext>&#x232A;</mml:mtext><mml:mo>+</mml:mo><mml:mstyle stretchy="true"><mml:mfrac><mml:mn>1</mml:mn><mml:mn>3</mml:mn></mml:mfrac></mml:mstyle><mml:mtext>&#x2329;</mml:mtext><mml:mn>0</mml:mn><mml:mo>,</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mn>0</mml:mn><mml:mtext>&#x232A;</mml:mtext><mml:mo>+</mml:mo><mml:mstyle stretchy="true"><mml:mfrac><mml:mn>1</mml:mn><mml:mn>3</mml:mn></mml:mfrac></mml:mstyle><mml:mtext>&#x2329;</mml:mtext><mml:mn>0</mml:mn><mml:mo>,</mml:mo><mml:mn>0</mml:mn><mml:mo>,</mml:mo><mml:mn>1</mml:mn><mml:mtext>&#x232A;</mml:mtext></mml:mrow></mml:mtd></mml:mtr><mml:mtr columnalign='left'><mml:mtd columnalign='left'><mml:mrow></mml:mrow></mml:mtd><mml:mtd columnalign='left'><mml:mrow><mml:mo>&#x00A0;</mml:mo><mml:mo>=</mml:mo><mml:mo>&#x2329;</mml:mo><mml:mstyle stretchy="true"><mml:mfrac><mml:mn>1</mml:mn><mml:mn>3</mml:mn></mml:mfrac></mml:mstyle><mml:mo>,</mml:mo><mml:mstyle stretchy="true"><mml:mfrac><mml:mn>1</mml:mn><mml:mn>3</mml:mn></mml:mfrac></mml:mstyle><mml:mo>,</mml:mo><mml:mstyle stretchy="true"><mml:mfrac><mml:mn>1</mml:mn><mml:mn>3</mml:mn></mml:mfrac></mml:mstyle><mml:mo>&#x232A;</mml:mo><mml:mo>=</mml:mo><mml:mtext>Z</mml:mtext></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:math>
</disp-formula></p><p>In short: when <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn110"><mml:mi>z</mml:mi></mml:math></inline-formula> is a numeric variable, <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn111"><mml:mrow><mml:mo>&#x2211;</mml:mo><mml:mi>p</mml:mi><mml:mi>z</mml:mi></mml:mrow></mml:math></inline-formula> is a population average <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn112"><mml:mrow><mml:mover><mml:mi>z</mml:mi><mml:mi>&#x2212;</mml:mi></mml:mover></mml:mrow></mml:math></inline-formula>; when <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn113"><mml:mi>z</mml:mi></mml:math></inline-formula> is a categorical variable (i.e. a one-hot vector), <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn114"><mml:mrow><mml:mo>&#x2211;</mml:mo><mml:mi>p</mml:mi><mml:mi>z</mml:mi></mml:mrow></mml:math></inline-formula> is a population distribution <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn115"><mml:mi>Z</mml:mi></mml:math></inline-formula>. In both cases we are dealing with a weighted sum, it&#x2019;s just that weighted sums are averages for numeric values <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn116"><mml:mi>z</mml:mi></mml:math></inline-formula> and distributions for categorical values <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn117"><mml:mi>z</mml:mi></mml:math></inline-formula>. Since the Price equation expresses relationships among a collection of weighted sums it looks as though it can be written exactly as before. The only difference is it no longer describes the change in average trait value <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn118"><mml:mrow><mml:mtext>&#x0394;</mml:mtext><mml:mover><mml:mi>z</mml:mi><mml:mi>&#x2212;</mml:mi></mml:mover></mml:mrow></mml:math></inline-formula> but the change in population distribution <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn119"><mml:mrow><mml:mtext>&#x0394;</mml:mtext><mml:mi>Z</mml:mi></mml:mrow></mml:math></inline-formula>.</p>
<p>In order to write down the Price equation using vectors to represent categorical types, we need to define the remaining two terms. Fortunately, they are as intuitive as the original definitions. Let each <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn120"><mml:mrow><mml:msubsup><mml:mi>z</mml:mi><mml:mi>i</mml:mi><mml:mo>&#x0027;</mml:mo></mml:msubsup></mml:mrow></mml:math></inline-formula> be the vector whose values are all zero except for entries descended from the <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn121"><mml:mi>i</mml:mi></mml:math></inline-formula>th parent, whose values are the proportions descended from that parent. For example, a red ball typically does not change colour of its own accord, so <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn122"><mml:mrow><mml:msubsup><mml:mi>z</mml:mi><mml:mn>1</mml:mn><mml:mo>&#x0027;</mml:mo></mml:msubsup><mml:mo>=</mml:mo><mml:mo>&#x2329;</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mn>0</mml:mn><mml:mo>,</mml:mo><mml:mn>0</mml:mn><mml:mo>&#x232A;</mml:mo></mml:mrow></mml:math></inline-formula> which represents the fact that every red ball stays red after selection regardless of whether it was picked (<xref ref-type="fig" rid="F_3">figure 3</xref>). On the other hand, if half the red balls spontaneously turn green, the vector would be <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn123"><mml:mrow><mml:msubsup><mml:mi>z</mml:mi><mml:mn>1</mml:mn><mml:mo>&#x0027;</mml:mo></mml:msubsup><mml:mo>=</mml:mo><mml:mo>&#x2329;</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mn>2</mml:mn></mml:mfrac><mml:mo>,</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mn>2</mml:mn></mml:mfrac><mml:mo>,</mml:mo><mml:mn>0</mml:mn><mml:mo>&#x232A;</mml:mo></mml:mrow></mml:math></inline-formula> (<xref ref-type="fig" rid="F_4">figure 4</xref>). Let <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn124"><mml:mrow><mml:msubsup><mml:mi>p</mml:mi><mml:mi>i</mml:mi><mml:mo>&#x0027;</mml:mo></mml:msubsup></mml:mrow></mml:math></inline-formula> be the population share of descendants of <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn125"><mml:mi>i</mml:mi></mml:math></inline-formula>. If only red balls are chosen, then <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn126"><mml:mrow><mml:msubsup><mml:mi>p</mml:mi><mml:mn>1</mml:mn><mml:mo>&#x0027;</mml:mo></mml:msubsup><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:math></inline-formula>. This is true whether or not they change colour. (As before, <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn127"><mml:mrow><mml:msubsup><mml:mi>p</mml:mi><mml:mi>i</mml:mi><mml:mo>&#x0027;</mml:mo></mml:msubsup></mml:mrow></mml:math></inline-formula> ignores information about trait values, and <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn128"><mml:mrow><mml:msubsup><mml:mi>z</mml:mi><mml:mi>i</mml:mi><mml:mo>&#x0027;</mml:mo></mml:msubsup></mml:mrow></mml:math></inline-formula> ignores information about population share.)</p>
<fig id="F_3" position="float"><label>Figure 3:</label><caption><title>Selection on a categorical trait.</title><p>A shop contains equal numbers of red, green and blue balls. A child selects only the red balls. There has been selection on colour, which can be represented by defining each trait value <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn129"><mml:mrow><mml:msub><mml:mi>z</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> as a one-hot vector.</p></caption><graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="ptpbio.5334-f0003.jpg" /></fig>
<fig id="F_4" position="float"><label>Figure 4:</label><caption><title>Selection on a categorical trait with mutation.</title><p>See the main text for a calculation of the two terms of the categorical Price equation in this case.</p></caption><graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="ptpbio.5334-f0004.jpg" /></fig>
<p></p>
<p>Now <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn130"><mml:mrow><mml:msubsup><mml:mi>p</mml:mi><mml:mi>i</mml:mi><mml:mo>&#x0027;</mml:mo></mml:msubsup><mml:msubsup><mml:mi>z</mml:mi><mml:mi>i</mml:mi><mml:mo>&#x0027;</mml:mo></mml:msubsup></mml:mrow></mml:math></inline-formula> is a vector describing the proportions of descendants of package <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn131"><mml:mi>i</mml:mi></mml:math></inline-formula>, weighted by their population share in the subsequent population. And <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn132"><mml:mrow><mml:msub><mml:mo>&#x2211;</mml:mo><mml:mi>i</mml:mi></mml:msub><mml:msubsup><mml:mi>p</mml:mi><mml:mi>i</mml:mi><mml:mo>&#x0027;</mml:mo></mml:msubsup><mml:msubsup><mml:mi>z</mml:mi><mml:mi>i</mml:mi><mml:mo>&#x0027;</mml:mo></mml:msubsup></mml:mrow></mml:math></inline-formula> is the vector describing the new population: essentially, it sums all the non-green balls that turned green together with the green balls that stayed green in order to get a total population share for green balls, and it performs a corresponding sum for red and blue balls. The result is the population distribution after selection, <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn133"><mml:msup><mml:mi>Z</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup></mml:math></inline-formula>.</p>
</sec>
<sec id="S3_2"><label>3.2</label><title>A Price Equation for Vectors</title>
<p>Having defined the key terms I&#x2019;ll drop the subscripts for ease of reading. We just saw that <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn134"><mml:mrow><mml:mo>&#x2211;</mml:mo><mml:mi>p</mml:mi><mml:mi>z</mml:mi></mml:mrow></mml:math></inline-formula> is a vector describing the distribution of types in the population before selection and <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn135"><mml:mrow><mml:mo>&#x2211;</mml:mo><mml:msup><mml:mi>p</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup><mml:msup><mml:mi>z</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup></mml:mrow></mml:math></inline-formula> is the equivalent vector after selection. Their difference is a vector describing the total change in population proportions. This just is the left hand side of the Price equation, except that here the weighted sums are distribution vectors rather than averages.</p>
<p>Does the Price derivation still work? Yes: assuming <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn136"><mml:mrow><mml:mo>&#x2211;</mml:mo><mml:msup><mml:mi>p</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup><mml:mi>z</mml:mi></mml:mrow></mml:math></inline-formula> is well-defined, the derivation is perfectly valid. Do the derived terms still capture our pretheoretic distinction between change due to selection and change due to other factors? Consider the selection term on a categorical interpretation:
<disp-formula id="eqn4"><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="block"><mml:mrow><mml:msub><mml:mtext>&#x0394;</mml:mtext><mml:mi>s</mml:mi></mml:msub><mml:mi>Z</mml:mi><mml:mo>=</mml:mo><mml:mo>&#x2211;</mml:mo><mml:mo>&#x00A0;</mml:mo><mml:msup><mml:mi>p</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup><mml:mi>z</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mo>&#x2211;</mml:mo><mml:mo>&#x00A0;</mml:mo><mml:mi>p</mml:mi><mml:mi>z</mml:mi></mml:mrow></mml:math>
<label>(4)</label>
</disp-formula></p><p>Because each <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn137"><mml:mi>z</mml:mi></mml:math></inline-formula> is a one-hot vector indexing its package, this describes how much the population share of each package changes. When the child chooses the red balls:
<disp-formula id="eqn4x"><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="block"><mml:mrow><mml:mtable columnalign='left'><mml:mtr columnalign='left'><mml:mtd columnalign='right'><mml:mrow><mml:msub><mml:mtext>&#x0394;</mml:mtext><mml:mi>s</mml:mi></mml:msub><mml:mi>Z</mml:mi></mml:mrow></mml:mtd><mml:mtd columnalign='center'><mml:mo>=</mml:mo></mml:mtd><mml:mtd columnalign='left'><mml:mrow><mml:mo>&#x2211;</mml:mo><mml:mo>&#x00A0;</mml:mo><mml:msup><mml:mi>p</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup><mml:mi>z</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mo>&#x2211;</mml:mo><mml:mo>&#x00A0;</mml:mo><mml:mi>p</mml:mi><mml:mi>z</mml:mi></mml:mrow></mml:mtd></mml:mtr><mml:mtr columnalign='left'><mml:mtd columnalign='left'/><mml:mtd columnalign='left'><mml:mrow><mml:mo>=</mml:mo></mml:mrow></mml:mtd><mml:mtd columnalign='left'><mml:mrow><mml:mn>1</mml:mn><mml:mo>&#x00D7;</mml:mo><mml:mfenced close="]" open="["><mml:mrow><mml:mtable equalrows='true' equalcolumns='true'><mml:mtr><mml:mtd><mml:mn>1</mml:mn></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mn>0</mml:mn></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mn>0</mml:mn></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:mfenced><mml:mo>+</mml:mo><mml:mn>0</mml:mn><mml:mo>&#x00D7;</mml:mo><mml:mfenced close="]" open="["><mml:mrow><mml:mtable equalrows='true' equalcolumns='true'><mml:mtr><mml:mtd><mml:mn>0</mml:mn></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mn>1</mml:mn></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mn>0</mml:mn></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:mfenced><mml:mo>+</mml:mo><mml:mn>0</mml:mn><mml:mo>&#x00D7;</mml:mo><mml:mfenced close="]" open="["><mml:mrow><mml:mtable equalrows='true' equalcolumns='true'><mml:mtr><mml:mtd><mml:mn>0</mml:mn></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mn>0</mml:mn></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mn>1</mml:mn></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:mfenced></mml:mrow></mml:mtd></mml:mtr><mml:mtr columnalign='left'><mml:mtd columnalign='left'><mml:mrow></mml:mrow></mml:mtd><mml:mtd columnalign='left'><mml:mrow></mml:mrow></mml:mtd><mml:mtd columnalign='left'><mml:mrow><mml:mo>&#x2212;</mml:mo><mml:mfenced><mml:mrow><mml:mfrac><mml:mn>1</mml:mn><mml:mn>3</mml:mn></mml:mfrac><mml:mo>&#x00D7;</mml:mo><mml:mfenced close="]" open="["><mml:mrow><mml:mtable equalrows='true' equalcolumns='true'><mml:mtr><mml:mtd><mml:mn>1</mml:mn></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mn>0</mml:mn></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mn>0</mml:mn></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:mfenced><mml:mo>+</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mn>3</mml:mn></mml:mfrac><mml:mo>&#x00D7;</mml:mo><mml:mfenced close="]" open="["><mml:mrow><mml:mtable equalrows='true' equalcolumns='true'><mml:mtr><mml:mtd><mml:mn>0</mml:mn></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mn>1</mml:mn></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mn>0</mml:mn></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:mfenced><mml:mo>+</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mn>3</mml:mn></mml:mfrac><mml:mo>&#x00D7;</mml:mo><mml:mfenced close="]" open="["><mml:mrow><mml:mtable equalrows='true' equalcolumns='true'><mml:mtr><mml:mtd><mml:mn>0</mml:mn></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mn>0</mml:mn></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mn>1</mml:mn></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:mfenced></mml:mrow></mml:mfenced></mml:mrow></mml:mtd></mml:mtr><mml:mtr columnalign='left'><mml:mtd columnalign='left'/><mml:mtd columnalign='left'><mml:mrow><mml:mo>=</mml:mo></mml:mrow></mml:mtd><mml:mtd columnalign='left'><mml:mrow><mml:mfenced close="]" open="["><mml:mrow><mml:mtable equalrows='true' equalcolumns='true'><mml:mtr><mml:mtd><mml:mn>1</mml:mn></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mn>0</mml:mn></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mn>0</mml:mn></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:mfenced><mml:mo>&#x2212;</mml:mo><mml:mfenced close="]" open="["><mml:mrow><mml:mtable equalrows='true' equalcolumns='true'><mml:mtr><mml:mtd><mml:mrow><mml:mfrac><mml:mn>1</mml:mn><mml:mn>3</mml:mn></mml:mfrac></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mfrac><mml:mn>1</mml:mn><mml:mn>3</mml:mn></mml:mfrac></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mfrac><mml:mn>1</mml:mn><mml:mn>3</mml:mn></mml:mfrac></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:mfenced><mml:mo>=</mml:mo><mml:mfenced close="]" open="["><mml:mrow><mml:mtable equalrows='true' equalcolumns='true'><mml:mtr><mml:mtd><mml:mrow><mml:mfrac><mml:mn>2</mml:mn><mml:mn>3</mml:mn></mml:mfrac></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mo>&#x2212;</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mn>3</mml:mn></mml:mfrac></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mo>&#x2212;</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mn>3</mml:mn></mml:mfrac></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:mfenced></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:math>
</disp-formula></p><p>The resulting vector represents the fact that the red balls have increased their population share by <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn139"><mml:mrow><mml:mfrac><mml:mn>2</mml:mn><mml:mn>3</mml:mn></mml:mfrac></mml:mrow></mml:math></inline-formula>, while the other two colours have each lost <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn140"><mml:mrow><mml:mfrac><mml:mn>1</mml:mn><mml:mn>3</mml:mn></mml:mfrac></mml:mrow></mml:math></inline-formula>. These gains and losses happened purely due to selection (in this case the child&#x2019;s choice of balls).</p>
<p>The transmission term works too:
<disp-formula id="eqn5"><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="block"><mml:mrow><mml:msub><mml:mtext>&#x0394;</mml:mtext><mml:mi>t</mml:mi></mml:msub><mml:mi>Z</mml:mi><mml:mo>=</mml:mo><mml:mo>&#x2211;</mml:mo><mml:mo>&#x00A0;</mml:mo><mml:msup><mml:mi>p</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup><mml:msup><mml:mi>z</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup><mml:mo>&#x2212;</mml:mo><mml:mo>&#x2211;</mml:mo><mml:mo>&#x00A0;</mml:mo><mml:msup><mml:mi>p</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup><mml:mi>z</mml:mi></mml:mrow></mml:math>
<label>(5)</label>
</disp-formula></p><p>This says: imagine each package had reproduced perfectly (<inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn141"><mml:mrow><mml:mo>&#x2211;</mml:mo><mml:msup><mml:mi>p</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup><mml:mi>z</mml:mi></mml:mrow></mml:math></inline-formula>), and look at how different that is from what each of them actually did (<inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn142"><mml:mrow><mml:mo>&#x2211;</mml:mo><mml:msup><mml:mi>p</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup><mml:msup><mml:mi>z</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup></mml:mrow></mml:math></inline-formula>). If half the red balls spontaneously turn green (and the other balls retain their colours), this sum becomes:
<disp-formula id="eqn_3"><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="block"><mml:mrow><mml:mtable columnalign='left'>
<mml:mtr columnalign='left'>
<mml:mtd columnalign='right'><mml:mrow><mml:msub><mml:mtext>&#x0394;</mml:mtext><mml:mi>t</mml:mi></mml:msub><mml:mi>Z</mml:mi></mml:mrow></mml:mtd>
<mml:mtd columnalign='center'><mml:mo>=</mml:mo></mml:mtd>
<mml:mtd columnalign='left'><mml:mrow><mml:mo>&#x00A0;</mml:mo><mml:mo>&#x2211;</mml:mo><mml:mo>&#x00A0;</mml:mo><mml:msup><mml:mi>p</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup><mml:msup><mml:mi>z</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup><mml:mo>&#x2212;</mml:mo><mml:mo>&#x2211;</mml:mo><mml:mo>&#x00A0;</mml:mo><mml:msup><mml:mi>p</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup><mml:mi>z</mml:mi></mml:mrow></mml:mtd></mml:mtr>

<mml:mtr columnalign='left'>
<mml:mtd columnalign='left'/>
<mml:mtd columnalign='center'><mml:mo>=</mml:mo></mml:mtd>
<mml:mtd columnalign='left'><mml:mrow><mml:mn>1</mml:mn><mml:mo>&#x00D7;</mml:mo><mml:mfenced close="]" open="["><mml:mrow><mml:mtable equalrows='true' equalcolumns='true'>

<mml:mtr>
<mml:mtd columnalign='left'><mml:mrow><mml:mfrac><mml:mn>1</mml:mn><mml:mn>2</mml:mn></mml:mfrac></mml:mrow></mml:mtd></mml:mtr>
<mml:mtr>
<mml:mtd columnalign='left'><mml:mrow><mml:mfrac><mml:mn>1</mml:mn><mml:mn>2</mml:mn></mml:mfrac></mml:mrow></mml:mtd></mml:mtr>
<mml:mtr>
<mml:mtd columnalign='left'><mml:mn>0</mml:mn></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:mfenced><mml:mo>+</mml:mo><mml:mn>0</mml:mn><mml:mo>&#x00D7;</mml:mo><mml:mfenced close="]" open="["><mml:mrow><mml:mtable equalrows='true' equalcolumns='true'>
<mml:mtr>
<mml:mtd columnalign='left'><mml:mn>0</mml:mn></mml:mtd></mml:mtr>
<mml:mtr>
<mml:mtd columnalign='left'><mml:mn>1</mml:mn></mml:mtd></mml:mtr>
<mml:mtr>
<mml:mtd columnalign='left'><mml:mn>0</mml:mn></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:mfenced><mml:mo>+</mml:mo><mml:mn>0</mml:mn><mml:mo>&#x00D7;</mml:mo><mml:mfenced close="]" open="["><mml:mrow><mml:mtable equalrows='true' equalcolumns='true'>
<mml:mtr>
<mml:mtd columnalign='left'><mml:mn>0</mml:mn></mml:mtd></mml:mtr>
<mml:mtr>
<mml:mtd columnalign='left'><mml:mn>0</mml:mn></mml:mtd></mml:mtr>
<mml:mtr>
<mml:mtd columnalign='left'><mml:mn>1</mml:mn></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:mfenced></mml:mrow></mml:mtd></mml:mtr>
<mml:mtr columnalign='left'>
<mml:mtd columnalign='left'><mml:mrow></mml:mrow></mml:mtd>
<mml:mtd columnalign='left'><mml:mrow></mml:mrow></mml:mtd>
<mml:mtd columnalign='left'><mml:mrow><mml:mo>&#x00A0;</mml:mo><mml:mo>&#x2212;</mml:mo><mml:mfenced><mml:mrow><mml:mn>1</mml:mn><mml:mo>&#x00D7;</mml:mo><mml:mfenced close="]" open="["><mml:mrow><mml:mtable equalrows='true' equalcolumns='true'>
<mml:mtr>
<mml:mtd columnalign='left'><mml:mn>1</mml:mn></mml:mtd></mml:mtr>
<mml:mtr>
<mml:mtd columnalign='left'><mml:mn>0</mml:mn></mml:mtd></mml:mtr>
<mml:mtr>
<mml:mtd columnalign='left'><mml:mn>0</mml:mn></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:mfenced><mml:mo>+</mml:mo><mml:mn>0</mml:mn><mml:mo>&#x00D7;</mml:mo><mml:mfenced close="]" open="["><mml:mrow><mml:mtable equalrows='true' equalcolumns='true'>
<mml:mtr>
<mml:mtd columnalign='left'><mml:mn>0</mml:mn></mml:mtd></mml:mtr>
<mml:mtr>
<mml:mtd columnalign='left'><mml:mn>1</mml:mn></mml:mtd></mml:mtr>
<mml:mtr>
<mml:mtd columnalign='left'><mml:mn>0</mml:mn></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:mfenced><mml:mo>+</mml:mo><mml:mn>0</mml:mn><mml:mo>&#x00D7;</mml:mo><mml:mfenced close="]" open="["><mml:mrow><mml:mtable equalrows='true' equalcolumns='true'>
<mml:mtr>
<mml:mtd columnalign='left'><mml:mn>0</mml:mn></mml:mtd></mml:mtr>
<mml:mtr>
<mml:mtd columnalign='left'><mml:mn>0</mml:mn></mml:mtd></mml:mtr>
<mml:mtr>
<mml:mtd columnalign='left'><mml:mn>1</mml:mn></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:mfenced></mml:mrow></mml:mfenced></mml:mrow></mml:mtd></mml:mtr>
<mml:mtr columnalign='left'>
<mml:mtd columnalign='left'/>
<mml:mtd columnalign='center'><mml:mo>=</mml:mo></mml:mtd>
<mml:mtd columnalign='left'><mml:mrow><mml:mfenced close="]" open="["><mml:mrow><mml:mtable equalrows='true' equalcolumns='true'>
<mml:mtr>
<mml:mtd columnalign='left'><mml:mrow><mml:mfrac><mml:mn>1</mml:mn><mml:mn>2</mml:mn></mml:mfrac></mml:mrow></mml:mtd></mml:mtr>
<mml:mtr>
<mml:mtd columnalign='left'><mml:mrow><mml:mfrac><mml:mn>1</mml:mn><mml:mn>2</mml:mn></mml:mfrac></mml:mrow></mml:mtd></mml:mtr>
<mml:mtr>
<mml:mtd columnalign='left'><mml:mn>0</mml:mn></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:mfenced><mml:mo>&#x2212;</mml:mo><mml:mfenced close="]" open="["><mml:mrow><mml:mtable equalrows='true' equalcolumns='true'>
<mml:mtr>
<mml:mtd columnalign='left'><mml:mn>1</mml:mn></mml:mtd></mml:mtr>
<mml:mtr>
<mml:mtd columnalign='left'><mml:mn>0</mml:mn></mml:mtd></mml:mtr>


<mml:mtr>
<mml:mtd columnalign='left'><mml:mn>0</mml:mn></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:mfenced><mml:mo>=</mml:mo><mml:mfenced close="]" open="["><mml:mrow><mml:mtable equalrows='true' equalcolumns='true'>
<mml:mtr>
<mml:mtd columnalign='left'><mml:mrow><mml:mo>&#x2212;</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mn>2</mml:mn></mml:mfrac></mml:mrow></mml:mtd></mml:mtr>
<mml:mtr>
<mml:mtd columnalign='left'><mml:mrow><mml:mfrac><mml:mn>1</mml:mn><mml:mn>2</mml:mn></mml:mfrac></mml:mrow></mml:mtd></mml:mtr>
<mml:mtr>
<mml:mtd columnalign='left'><mml:mn>0</mml:mn></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:mfenced></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:math>
</disp-formula></p><p>The resulting vector represents the fact that red balls have lost a population share of <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn143"><mml:mrow><mml:mfrac><mml:mn>1</mml:mn><mml:mn>2</mml:mn></mml:mfrac></mml:mrow></mml:math></inline-formula>, and green balls have gained an equivalent share, due to sources of change other than selection (see again <xref ref-type="fig" rid="F_4">figure 4</xref>). The total change in this case is <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn144"><mml:mrow><mml:mstyle stretchy="false"><mml:mfenced close="]" open="["><mml:mrow><mml:mfrac><mml:mn>2</mml:mn><mml:mn>3</mml:mn></mml:mfrac><mml:mo>,</mml:mo><mml:mo>&#x2212;</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mn>3</mml:mn></mml:mfrac><mml:mo>,</mml:mo><mml:mo>&#x2212;</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mn>3</mml:mn></mml:mfrac><mml:mstyle stretchy="false"><mml:mfenced close="[" open="]"><mml:mo>+</mml:mo></mml:mfenced></mml:mstyle><mml:mo>&#x2212;</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mn>2</mml:mn></mml:mfrac><mml:mo>,</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mn>2</mml:mn></mml:mfrac><mml:mo>,</mml:mo><mml:mn>0</mml:mn><mml:mstyle stretchy="false"><mml:mfenced close="[" open="]"><mml:mo>=</mml:mo></mml:mfenced></mml:mstyle><mml:mfrac><mml:mn>1</mml:mn><mml:mn>6</mml:mn></mml:mfrac><mml:mo>,</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mn>6</mml:mn></mml:mfrac><mml:mo>,</mml:mo><mml:mo>&#x2212;</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mn>3</mml:mn></mml:mfrac></mml:mrow></mml:mfenced></mml:mstyle></mml:mrow></mml:math></inline-formula>. Indeed, both red and green balls have increased their population share by <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn145"><mml:mrow><mml:mfrac><mml:mn>1</mml:mn><mml:mn>6</mml:mn></mml:mfrac></mml:mrow></mml:math></inline-formula> (they initially had four out of twelve, or one third of the population, and now have two out of four, or one half) and blue balls have decreased their population share by one third (they initially had four out of twelve and now have zero). The categorical Price equation decomposition is depicted in <xref ref-type="fig" rid="F_5">figure 5</xref>.</p>
<fig id="F_5" position="float"><label>Figure 5:</label><caption><title>The categorical Price equation partitions change in population distribution <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn146"><mml:mrow><mml:mtext>&#x0394;</mml:mtext><mml:mi>Z</mml:mi></mml:mrow></mml:math></inline-formula> into two parts: change due to selection, and everything else.</title></caption><graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="ptpbio.5334-f0005.jpg" /></fig>
<p></p>
<p>Because the categorical equation makes no assumptions beyond splitting the population into different types, it can capture changes in distribution even when applied to numeric traits. As long as the population can be segregated into discrete types, the categorical equation can be applied. Discretization can be achieved by considering ranges of numeric variables; for example, the height of an individual can be taken to fall into ranges of 1&#x2013;1.1 metres, 1.1&#x2013;1.2 metres, and so on. Then any changes in the distribution of the population with respect to these discrete categories will be represented by the categorical equation, regardless whether or not the overall population average height changes. The question of which ranges to use is a modelling decision that depends on the purposes to which the equation is being put in a particular case. The take-home message is that the categorical equation is broad enough to apply to both categorical traits and appropriately discretized numeric traits (the difference between categorical and numeric traits is sometimes captured in terms of &#x2018;levels of measurement&#x2019;; see <xref ref-type="sec" rid="S5_3">section 5.3</xref> for further discussion).</p>
<p>Vectors have been employed in the Price equation before. <xref ref-type="bibr" rid="R24">Lande and Arnold (1983)</xref> explored correlated selection between traits using a vector where each entry corresponds to a single numeric trait. Their goal was to partition selective forces acting on a trait into direct effects (where selection favours a trait because of some phenotypic effect it has) and indirect effects (where selection favours a trait because it is correlated with another trait upon which selection is having a direct effect). The resulting statistical apparatus has a further application: to capture complex multi-trait fitness effects. For example, <xref ref-type="bibr" rid="R3">Brodie (1992)</xref> employed it to discover a correlation between the colour patterns and anti-predator behaviour of garter snakes. This is not due to an accidental genetic correlation, but because the fitness of a garter snake&#x2019;s phenotype is a complex combination of both traits. It appears that non-striped snakes ought to perform an evasive behaviour called a &#x2018;reversal&#x2019; while striped snakes should avoid doing so; the fitness function of each trait is modulated by the trait value of the other.</p>
<p><xref ref-type="bibr" rid="R12">Frank (2012b)</xref> and <xref ref-type="bibr" rid="R13">Frank and Godsoe (2020)</xref> also employ vectors as part of their exposition of the Price equation, but in that case the vector entries are different values of a particular trait (corresponding to different individuals in the population) rather than different traits. There might be connections with my one-hot approach; Frank often describes the vector <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn147"><mml:mi>z</mml:mi></mml:math></inline-formula> as a &#x201C;coordinate system&#x201D; that evolves in tandem with population proportions. I will have to leave a more detailed comparison for another time.</p>
<p>I believe the foregoing constitutes a prima facie case for the usefulness of the categorical form of the Price equation. Objections are discussed in <xref ref-type="sec" rid="S5">section 5</xref>; before then, <xref ref-type="sec" rid="S4">section 4</xref> describes further properties of the equation, in particular its application to multi-level selection.</p>
</sec>
</sec>
<sec id="S4"><label>4</label><title>Properties of the Categorical Price Equation</title>
<sec id="S4_1"><label>4.1</label><title>Multi-level Dynamics: Expanding the Selection Term</title>
<p>So far I&#x2019;ve assumed packages have multiple individuals within them, all of which are the same type. We can relax this assumption to start to understand how multi-level selection can be represented in the framework. Multi-level selection concerns processes operating at hierarchical levels, with a population of entities at a lower level belonging to discrete entities at a higher level. Following <xref ref-type="bibr" rid="R26">Okasha (2006)</xref>, we&#x2019;ll call the lower-level entities <italic>particles</italic> and the higher-level entities <italic>collectives</italic>. This will entail two different systems of packaging, with lower-level packages collected into higher-level packages (<xref ref-type="fig" rid="F_6">figure 6</xref>). For the formal results below to hold, each particle must belong to exactly one collective, hence each particle package must be nested within exactly one collective package. Additionally the descendant package of a particle package must belong to the corresponding descendant package of the collective package to which it belongs (as in <xref ref-type="fig" rid="F_6">figure 6</xref>).</p>
<fig id="F_6" position="float"><label>Figure 6:</label><caption><title>Price&#x2019;s framework applied to multi-level selection.</title><p>Circles are particles. Dashed boxes are particle packages. Solid boxes are collective packages. As in the original framework, each initial package corresponds to exactly one subsequent package after selection (shown by dashed arrows for particles and solid arrows for collectives). In this example, there has been selection within collectives 1 and 3 (different particles have different numbers of descendants) but not collective 2 (all particles have exactly two descendants). There has also been selection between collectives, because each initial collective has the same population share while the subsequent collectives have different population shares. The framework requires that the population share of a collective be defined in terms of the number of particles it contains; see the main text for discussion.</p></caption><graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="ptpbio.5334-f0006.jpg" /></fig>
<p></p>
<p>Building on previous work, <xref ref-type="bibr" rid="R26">Okasha (2006</xref>, <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn148"><mml:mo>&#x00A7;</mml:mo></mml:math></inline-formula>2) discusses two concepts of multi-level selection, corresponding to two kinds of fitness that can be attributed to collectives. In the first concept, collective fitness is simply the average fitness of the individual particles within the collective. Since particle fitness is defined in terms of number of offspring particles, this first concept of collective fitness is a measure of the number of offspring <italic>particles</italic> produced by a collective. In the second concept, collective fitness is the number of offspring <italic>collectives</italic> produced by a collective. For the second concept to be distinct from the first, it must be possible to count offspring collectives without weighting them by size (<xref ref-type="bibr" rid="R26">Okasha 2006</xref>, 54). However, as I am employing the Price framework, the one-to-one package assignment implies that the number of offspring collectives of any collective is fixed at 1. The fitness of a collective is determined by its present and future population share rather than its absolute offspring, and so the second concept of collective fitness cannot be applied without it collapsing to the first. Future work could investigate whether the framework can be expanded to recapture the distinction.</p>
<p>Turning to the question of multi-level selection, recall that the framework treats both particles and collectives as packages. By using two different packaging systems we find that the selection term (<xref ref-type="disp-formula" rid="eqn4">equation (4)</xref>) of the categorical Price equation can be decomposed into parts that describe <italic>selection between collectives</italic> and <italic>selection within collectives</italic>. This corresponds to the decomposition discussed by <xref ref-type="bibr" rid="R26">Okasha (2006</xref>, <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn149"><mml:mo>&#x00A7;</mml:mo></mml:math></inline-formula>2.3.1), but does not require invoking numeric terms like covariance or expectation. Let&#x2019;s see how it works.</p>
<p>First we&#x2019;ll index particles across the whole population with <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn150"><mml:mi>i</mml:mi></mml:math></inline-formula>. Recall that <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn151"><mml:mrow><mml:msub><mml:mi>z</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is a one-hot vector picking out the category particle <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn152"><mml:mi>i</mml:mi></mml:math></inline-formula> belongs to, and <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn153"><mml:mrow><mml:msub><mml:mi>p</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is the particle&#x2019;s population share. Now divide all the particles into <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn154"><mml:mi>k</mml:mi></mml:math></inline-formula> collectives. Within each collective, particles are indexed with the letter <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn155"><mml:mi>j</mml:mi></mml:math></inline-formula>. The collectives don&#x2019;t need to be evenly sized. Each particle gets its unique global index <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn156"><mml:mi>i</mml:mi></mml:math></inline-formula>, and its unique collective index <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn157"><mml:mrow><mml:mi>k</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:math></inline-formula>. <xref ref-type="table" rid="T1">Table 1</xref> shows two sets of indices for a population of eight particles arranged into three unevenly sized collectives.</p>
<table-wrap id="T1" position="float" orientation="portrait">
<label>Table 1:</label><caption><p>A population of eight particles has two indexing systems. The particles are divided into collectives, with collectives 1 and 2 possessing three particles each and collective 3 possessing two particles. The global index is the same as the normal package index, with one particle per package. The local index specifies the collective <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn158"><mml:mi>k</mml:mi></mml:math></inline-formula> to which the particle belongs, followed by its unique index within that collective <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn159"><mml:mi>j</mml:mi></mml:math></inline-formula>.</p></caption>
<table frame="hsides" rules="groups">
<colgroup>
<col align="left" valign="middle" />
<col align="left" valign="middle" />
</colgroup>
<thead>
<tr>
<th align="left" valign="top"><p>Global index <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn160"><mml:mi>i</mml:mi></mml:math></inline-formula></p></th>
<th align="left" valign="top"><p>Local index <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn161"><mml:mrow><mml:mi>k</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:math></inline-formula></p></th>
</tr>
</thead>
<tbody>
<tr>
<td align="left" valign="top"><p>1</p></td>
<td align="left" valign="top"><p>11</p></td>
</tr>
<tr>
<td align="left" valign="top"><p>2</p></td>
<td align="left" valign="top"><p>12</p></td>
</tr>
<tr>
<td align="left" valign="top"><p>3</p></td>
<td align="left" valign="top"><p>13</p></td>
</tr>
<tr>
<td align="left" valign="top"><p>4</p></td>
<td align="left" valign="top"><p>21</p></td>
</tr>
<tr>
<td align="left" valign="top"><p>5</p></td>
<td align="left" valign="top"><p>22</p></td>
</tr>
<tr>
<td align="left" valign="top"><p>6</p></td>
<td align="left" valign="top"><p>23</p></td>
</tr>
<tr>
<td align="left" valign="top"><p>7</p></td>
<td align="left" valign="top"><p>31</p></td>
</tr>
<tr>
<td align="left" valign="top"><p>8</p></td>
<td align="left" valign="top"><p>32</p></td>
</tr>
</tbody>
</table>
</table-wrap>
<p>Now we can define trait values and population shares according to the different indexing schemes. First, since every particle has its one-hot vector describing its categorical trait value, this is the same in both indexing schemes: <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn162"><mml:mrow><mml:msub><mml:mi>z</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>z</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>. But the population share is not the same as the particle&#x2019;s collective share. <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn163"><mml:mrow><mml:msub><mml:mi>p</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> says how much of the population is composed of this particle, but <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn164"><mml:mrow><mml:msub><mml:mi>p</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> only says how much of the local collective it makes up. I might be a small fish relative to the ocean, but a large fish relative to my local pond. A particle&#x2019;s global population share and its local collective share can be related via the collective&#x2019;s own population share: how much of the population the entire collective takes up (how big the pond is relative to the ocean). We&#x2019;ll denote this by <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn165"><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mi>k</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>. Then a particle&#x2019;s population share is a product of its collective share and the collective&#x2019;s population share. In other words, how well-represented I am in the population is equal to how well-represented I am in my collective multiplied by how well-represented my collective is in the population:
<disp-formula id="eqn_4"><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="block"><mml:mrow><mml:msub><mml:mi>p</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>p</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:msub><mml:mi>P</mml:mi><mml:mi>k</mml:mi></mml:msub></mml:mrow></mml:math>
</disp-formula></p><p>One more definition and then we can derive the multi-level result. A collective&#x2019;s trait value, <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn166"><mml:mrow><mml:msub><mml:mi>Z</mml:mi><mml:mi>k</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, is simply the vector describing the proportion of types that make it up. If it contains only one type of particle it will be one-hot. But it might contain multiple types. Because the particles&#x2019; shares in the collective are constrained to sum to 1, the collective&#x2019;s trait vector will be a list of numbers that sum to 1. Each entry in the vector describes what proportion of particles of that category are in the collective. The trait vector can therefore be defined as <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn167"><mml:mrow><mml:msub><mml:mi>Z</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mo>&#x2211;</mml:mo><mml:mi>j</mml:mi></mml:msub><mml:msub><mml:mi>p</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:msub><mml:mi>z</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>.</p>
<p>Once these definitions are on the table, how can we distinguish selection within a collective from selection between collectives? Noting that the selection term for particles in the whole population, <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn168"><mml:mrow><mml:munder><mml:mo>&#x2211;</mml:mo><mml:mi>i</mml:mi></mml:munder><mml:msubsup><mml:mi>p</mml:mi><mml:mi>i</mml:mi><mml:mo>&#x0027;</mml:mo></mml:msubsup><mml:msub><mml:mi>z</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>&#x2212;</mml:mo><mml:munder><mml:mo>&#x2211;</mml:mo><mml:mi>i</mml:mi></mml:munder><mml:msub><mml:mi>p</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:msub><mml:mi>z</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, can be written more concisely as <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn169"><mml:mrow><mml:msub><mml:mo>&#x2211;</mml:mo><mml:mi>i</mml:mi></mml:msub><mml:msub><mml:mi>z</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mstyle stretchy="false"><mml:mfenced><mml:mrow><mml:msubsup><mml:mi>p</mml:mi><mml:mi>i</mml:mi><mml:mo>&#x0027;</mml:mo></mml:msubsup><mml:mo>&#x2212;</mml:mo><mml:msub><mml:mi>p</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:mfenced></mml:mstyle></mml:mrow></mml:math></inline-formula>, here is an interesting identity whose derivation can be found in the <xref ref-type="app" rid="app1">appendix</xref>:
<disp-formula id="eqn6"><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="block"><mml:mtable columnalign="left"><mml:mtr><mml:mtd columnalign="right"><mml:msub><mml:mtext>&#x394;</mml:mtext><mml:mi>s</mml:mi></mml:msub><mml:mi>Z</mml:mi></mml:mtd><mml:mtd><mml:mo>=</mml:mo></mml:mtd><mml:mtd><mml:munder><mml:mo>&#x2211;</mml:mo><mml:mi>i</mml:mi></mml:munder><mml:msub><mml:mi>z</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mfenced><mml:mrow><mml:msubsup><mml:mi>p</mml:mi><mml:mi>i</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msubsup><mml:mo>&#x2212;</mml:mo><mml:msub><mml:mi>p</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:mfenced></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mo>=</mml:mo></mml:mtd><mml:mtd><mml:munder><mml:munder><mml:mrow><mml:munder><mml:mo>&#x2211;</mml:mo><mml:mi>k</mml:mi></mml:munder><mml:msub><mml:mi>Z</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:mfenced><mml:mrow><mml:msubsup><mml:mi>P</mml:mi><mml:mi>k</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msubsup><mml:mo>&#x2212;</mml:mo><mml:msub><mml:mi>P</mml:mi><mml:mi>k</mml:mi></mml:msub></mml:mrow></mml:mfenced></mml:mrow><mml:mo>&#x23DF;</mml:mo></mml:munder><mml:mtable equalrows="true" equalcolumns="true" columnalign="center"><mml:mtr><mml:mtd><mml:mtext>Selection&#xA0;between&#xA0;</mml:mtext></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mtext>&#xA0;collectives</mml:mtext></mml:mtd></mml:mtr></mml:mtable></mml:munder><mml:mo>+</mml:mo><mml:munder><mml:munder><mml:mrow><mml:munder><mml:mo>&#x2211;</mml:mo><mml:mi>k</mml:mi></mml:munder><mml:msubsup><mml:mi>P</mml:mi><mml:mi>k</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msubsup><mml:munder><mml:mo>&#x2211;</mml:mo><mml:mi>j</mml:mi></mml:munder><mml:msub><mml:mi>z</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mfenced><mml:mrow><mml:mi>p</mml:mi><mml:msub><mml:mo>&#x2032;</mml:mo><mml:mrow><mml:mi>k</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>&#x2212;</mml:mo><mml:msub><mml:mi>p</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfenced></mml:mrow><mml:mo>&#x23DF;</mml:mo></mml:munder><mml:mtable columnalign="center"><mml:mtr><mml:mtd><mml:mtext>Weighted&#xA0;selection&#xA0;</mml:mtext></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mtext>within&#xA0;each&#xA0;collective</mml:mtext></mml:mtd></mml:mtr></mml:mtable></mml:munder></mml:mtd></mml:mtr></mml:mtable></mml:math>
<label>(6)</label>
</disp-formula></p><p>The easiest way to understand this equation is to think about the values of the component terms in a few different situations. First, imagine the collectives are all homogeneous, each containing exactly one type of particle (<xref ref-type="fig" rid="F_7">figure 7</xref>). Since all particles within a collective will have exactly the same number of offspring, they will all have exactly the same collective share after selection. And since they are the only particle type in that collective, this will be equal to their original collective share. (There are three red balls and each splits into two; each originally had a collective share of <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn170"><mml:mrow><mml:mfrac><mml:mn>1</mml:mn><mml:mn>3</mml:mn></mml:mfrac></mml:mrow></mml:math></inline-formula> and each of their descendants has a collective share of <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn171"><mml:mrow><mml:mfrac><mml:mn>2</mml:mn><mml:mn>6</mml:mn></mml:mfrac><mml:mo>=</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mn>3</mml:mn></mml:mfrac></mml:mrow></mml:math></inline-formula>.) Therefore <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn172"><mml:mrow><mml:msubsup><mml:mi>p</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mi>j</mml:mi></mml:mrow><mml:mo>&#x0027;</mml:mo></mml:msubsup><mml:mo>=</mml:mo><mml:msub><mml:mi>p</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> for every particle in every collective, and the second term is zero. This makes perfect sense: when collectives are homogeneous, the only selection that can take place is between collectives, and so <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn173"><mml:mrow><mml:munder><mml:mo>&#x2211;</mml:mo><mml:mi>i</mml:mi></mml:munder><mml:msub><mml:mi>z</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mfenced><mml:mrow><mml:msubsup><mml:mi>p</mml:mi><mml:mi>i</mml:mi><mml:mo>&#x0027;</mml:mo></mml:msubsup><mml:mo>&#x2212;</mml:mo><mml:msub><mml:mi>p</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:mfenced><mml:mo>=</mml:mo><mml:munder><mml:mo>&#x2211;</mml:mo><mml:mi>k</mml:mi></mml:munder><mml:msub><mml:mi>Z</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:mfenced><mml:mrow><mml:msubsup><mml:mi>P</mml:mi><mml:mi>k</mml:mi><mml:mo>&#x0027;</mml:mo></mml:msubsup><mml:mo>&#x2212;</mml:mo><mml:msub><mml:mi>P</mml:mi><mml:mi>k</mml:mi></mml:msub></mml:mrow></mml:mfenced></mml:mrow></mml:math></inline-formula>.</p>
<fig id="F_7" position="float"><label>Figure 7:</label><caption><title>Multi-level selection with homogeneous collectives.</title><p>There is between-collective selection because different collectives have the same initial population share but different subsequent population shares. The first component of <xref ref-type="disp-formula" rid="eqn6">equation (6)</xref> is therefore a vector with some nonzero entries. There is no within-collective selection since every particle within a given collective has the same number of offspring. The second component of <xref ref-type="disp-formula" rid="eqn6">equation (6)</xref> is therefore a vector whose entries are all zero.</p></caption><graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="ptpbio.5334-f0007.jpg" /></fig>
<p></p>
<p>Now imagine that collectives all contain within them a microcosm of the whole population. Say for example the population has three red, three green and three blue balls, and there are three collectives with one of each type of ball (<xref ref-type="fig" rid="F_8">figure 8</xref>). There can be no selection between collectives because they are all identical to each other. No matter the fitnesses of the particles within, each collective&#x2019;s population share after selection <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn174"><mml:mrow><mml:msubsup><mml:mi>P</mml:mi><mml:mi>k</mml:mi><mml:mo>&#x0027;</mml:mo></mml:msubsup></mml:mrow></mml:math></inline-formula> must be identical to its population share before selection <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn175"><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mi>k</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>. The first term is therefore zero, and all the selection takes place within each collective. In general there can be a mixture of selection effects between and within collectives (as in <xref ref-type="fig" rid="F_6">figure 6</xref>); then both terms are non-zero.</p>
<fig id="F_8" position="float"><label>Figure 8:</label><caption><title>Multi-level selection where each collective is a microcosm of the population.</title><p>There is no selection between collectives because each collective has equal population share before and after selection. The first component of <xref ref-type="disp-formula" rid="eqn6">equation (6)</xref> is therefore a vector whose entries are all zero. There is selection within each collective because the different particles&#x2019; descendants have different collective share within each descendant collective. The second component of <xref ref-type="disp-formula" rid="eqn6">equation (6)</xref> is therefore a vector with some nonzero entries.</p></caption><graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="ptpbio.5334-f0008.jpg" /></fig>
<p></p>
<p>These results have previously been derived for the numeric Price equation. They are exciting regardless of whether the trait in question is numeric or categorical, because they display a kind of self-similarity. The term describing selection between collectives has the same form as the term describing selection across the entire population. We can therefore gather collectives together into super-collectives, and further split <xref ref-type="disp-formula" rid="eqn6">equation (6)</xref> into three terms: one describing selection between super-collectives, one describing selection among first-order collectives within super-collectives, and one describing selection among particles within a collective. As has been noted for the numeric Price equation, there is no principled restriction on the number of levels that can be represented.</p>
</sec>
<sec id="S4_2"><label>4.2</label><title>Multi-level Dynamics: Decomposing the Transmission Term</title>
<p>Consider the Price equation at the collective level (omitting subscripts <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn176"><mml:mi>k</mml:mi></mml:math></inline-formula>):
<disp-formula id="eqn7"><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="block"><mml:mrow><mml:munder><mml:munder><mml:mrow><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x2211;</mml:mo></mml:mstyle><mml:mo>&#x00A0;</mml:mo><mml:msup><mml:mi>P</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup><mml:msup><mml:mi>Z</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup><mml:mo>&#x2212;</mml:mo><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x2211;</mml:mo></mml:mstyle><mml:mo>&#x00A0;</mml:mo><mml:mi>P</mml:mi><mml:mi>Z</mml:mi></mml:mrow><mml:mo stretchy='true'>&#xFE38;</mml:mo></mml:munder><mml:mrow><mml:mtable equalrows='true' equalcolumns='true'><mml:mtr><mml:mtd><mml:mrow><mml:mtext>&#x00A0;Total&#x00A0;change&#x00A0;at&#x00A0;</mml:mtext></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mtext>&#x00A0;collective&#x00A0;level&#x00A0;</mml:mtext></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:munder><mml:mo>=</mml:mo><mml:munder><mml:munder><mml:mrow><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x2211;</mml:mo></mml:mstyle><mml:mo>&#x00A0;</mml:mo><mml:mi>Z</mml:mi><mml:mfenced><mml:mrow><mml:msup><mml:mi>P</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup><mml:mo>&#x2212;</mml:mo><mml:mi>P</mml:mi></mml:mrow></mml:mfenced></mml:mrow><mml:mo stretchy='true'>&#xFE38;</mml:mo></mml:munder><mml:mrow><mml:mtable equalrows='true' equalcolumns='true'><mml:mtr><mml:mtd><mml:mrow><mml:mtext>&#x00A0;Solection&#x00A0;at&#x00A0;</mml:mtext></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mtext>&#x00A0;collective&#x00A0;level&#x00A0;</mml:mtext></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:munder><mml:mo>+</mml:mo><mml:munder><mml:munder><mml:mrow><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x2211;</mml:mo></mml:mstyle><mml:mo>&#x00A0;</mml:mo><mml:msup><mml:mi>P</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup><mml:mfenced><mml:mrow><mml:msup><mml:mi>Z</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup><mml:mo>&#x2212;</mml:mo><mml:mi>Z</mml:mi></mml:mrow></mml:mfenced></mml:mrow><mml:mo stretchy='true'>&#xFE38;</mml:mo></mml:munder><mml:mrow><mml:mtable equalrows='true' equalcolumns='true'><mml:mtr><mml:mtd><mml:mrow><mml:mtext>&#x00A0;Transmission&#x00A0;bias&#x00A0;at&#x00A0;</mml:mtext></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mtext>&#x00A0;collective&#x00A0;level&#x00A0;</mml:mtext></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:munder></mml:mrow></mml:math>
<label>(7)</label>
</disp-formula></p><p>The transmission bias is the average across subsequent collectives, <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn177"><mml:mrow><mml:msub><mml:mo>&#x2211;</mml:mo><mml:mi>k</mml:mi></mml:msub><mml:msubsup><mml:mi>P</mml:mi><mml:mi>k</mml:mi><mml:mo>&#x0027;</mml:mo></mml:msubsup></mml:mrow></mml:math></inline-formula>, of how the aggregate trait changed within each collective, <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn178"><mml:mrow><mml:msubsup><mml:mi>Z</mml:mi><mml:mi>k</mml:mi><mml:mo>&#x0027;</mml:mo></mml:msubsup><mml:mo>&#x2212;</mml:mo><mml:msub><mml:mi>Z</mml:mi><mml:mi>k</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>. But how the aggregate trait changed within each collective is just the Price equation for particles within collectives:
<disp-formula id="eqn_1a"><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="block"><mml:mtable columnalign='left'><mml:mtr columnalign='left'><mml:mtd columnalign='right'><mml:mrow><mml:msubsup><mml:mi>Z</mml:mi><mml:mi>k</mml:mi><mml:mo>&#x0027;</mml:mo></mml:msubsup><mml:mo>&#x2212;</mml:mo><mml:msub><mml:mi>Z</mml:mi><mml:mi>k</mml:mi></mml:msub></mml:mrow></mml:mtd><mml:mtd columnalign='center'><mml:mo>=</mml:mo></mml:mtd><mml:mtd columnalign='left'><mml:mrow><mml:munder><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x2211;</mml:mo></mml:mstyle><mml:mi>j</mml:mi></mml:munder><mml:msubsup><mml:mi>p</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mi>j</mml:mi></mml:mrow><mml:mo>&#x0027;</mml:mo></mml:msubsup><mml:msup><mml:mi>z</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup><mml:msub><mml:mo>&#x00A0;</mml:mo><mml:mrow><mml:mi>k</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>&#x2212;</mml:mo><mml:munder><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x2211;</mml:mo></mml:mstyle><mml:mi>j</mml:mi></mml:munder><mml:msub><mml:mi>p</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:msub><mml:mi>z</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr columnalign='left'><mml:mtd columnalign='right'><mml:mrow></mml:mrow></mml:mtd><mml:mtd columnalign='center'><mml:mo>=</mml:mo></mml:mtd><mml:mtd columnalign='left'><mml:mrow><mml:munder><mml:munder><mml:mrow><mml:munder><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x2211;</mml:mo></mml:mstyle><mml:mi>j</mml:mi></mml:munder><mml:msub><mml:mi>z</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mfenced><mml:mrow><mml:msubsup><mml:mi>p</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mi>j</mml:mi></mml:mrow><mml:mo>&#x0027;</mml:mo></mml:msubsup><mml:mo>&#x2212;</mml:mo><mml:msub><mml:mi>p</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfenced></mml:mrow><mml:mo stretchy='true'>&#xFE38;</mml:mo></mml:munder><mml:mrow><mml:mtable equalrows='true' equalcolumns='true'><mml:mtr><mml:mtd><mml:mrow><mml:mtext>&#x00A0;Particle&#x00A0;selection&#x00A0;</mml:mtext></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mtext>&#x00A0;within&#x00A0;collective&#x00A0;</mml:mtext><mml:mi>k</mml:mi></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:munder><mml:mo>+</mml:mo><mml:munder><mml:munder><mml:mrow><mml:munder><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x2211;</mml:mo></mml:mstyle><mml:mi>j</mml:mi></mml:munder><mml:msubsup><mml:mi>p</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mi>j</mml:mi></mml:mrow><mml:mo>&#x0027;</mml:mo></mml:msubsup><mml:mfenced><mml:mrow><mml:msup><mml:mi>z</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup><mml:msub><mml:mo>&#x00A0;</mml:mo><mml:mrow><mml:mi>k</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>&#x2212;</mml:mo><mml:msub><mml:mi>z</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfenced></mml:mrow><mml:mo stretchy='true'>&#xFE38;</mml:mo></mml:munder><mml:mrow><mml:mtable equalrows='true' equalcolumns='true'><mml:mtr><mml:mtd><mml:mrow><mml:mtext>&#x00A0;Particle&#x00A0;transmission&#x00A0;bias&#x00A0;</mml:mtext></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mtext>&#x00A0;within&#x00A0;collective&#x00A0;</mml:mtext><mml:mi>k</mml:mi></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:munder></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math>
</disp-formula></p><p>(The equivalent decomposition for the numeric Price equation has been noted by <xref ref-type="bibr" rid="R10">Frank (1998</xref>, 15) and <xref ref-type="bibr" rid="R1">Bourrat (2021</xref>, 18) among others, and is alluded to by <xref ref-type="bibr" rid="R26">Okasha (2006</xref>, 70).) What this means is that a hierarchy of self-similar equations appears, describing non-selective sources of change at one level as a combination of selection and non-selective sources at the next level down. This self-similarity continues until the trait value can no longer be appropriately described as an aggregate of the trait values at a lower level. While a collection of coloured balls can be described as having some proportion of red, green and blue balls, it&#x2019;s not clear that a single red ball can reasonably be described as having some proportion of coloured ball-parts. (Of course, if there were some process by which portions of balls could change colour, it may well be appropriate to represent them this way, and the decomposition would extend one level further.)</p>
<p>In sum, both the selection term and the transmission term display a kind of self-similarity. The difference between them has to do with the direction in the hierarchy in which groupings are considered. Starting from a certain hierarchical level, the selection term is self-similar when we consider groupings above this level (by collecting packages into collectives, super-collectives, and so on). The transmission term is self-similar when we consider groupings below this level (by looking at each package and treating it as if it were its own population, with its own mini-packages, subject to its own Price equation).</p>
</sec>
<sec id="S4_3"><label>4.3</label><title>Migration</title>
<p>Because the categorical Price equation does not contain <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn179"><mml:mrow><mml:msub><mml:mi>w</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, it is possible to consider packages for which <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn180"><mml:mrow><mml:msub><mml:mi>p</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:math></inline-formula>. Of course, if both <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn181"><mml:mrow><mml:msub><mml:mi>p</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn182"><mml:mrow><mml:msubsup><mml:mi>p</mml:mi><mml:mi>i</mml:mi><mml:mo>&#x0027;</mml:mo></mml:msubsup><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:math></inline-formula> then the component of the equation for package <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn183"><mml:mi>i</mml:mi></mml:math></inline-formula> is 0, representing a situation in which the package is not part of the population at all. Since a modeller would simply not include such a package in their calculations, we can ignore this case. A more interesting situation occurs when <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn184"><mml:mrow><mml:msub><mml:mi>p</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:math></inline-formula> but <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn185"><mml:mrow><mml:msubsup><mml:mi>p</mml:mi><mml:mi>i</mml:mi><mml:mo>&#x0027;</mml:mo></mml:msubsup><mml:mo>&#x003E;</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:math></inline-formula>. This represents package <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn186"><mml:mi>i</mml:mi></mml:math></inline-formula> migrating into the population: initially it was absent (had zero population share), subsequently it is present and has nonzero population share.</p>
<p>One might think a problem would arise when assigning a value to <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn187"><mml:mrow><mml:msub><mml:mi>z</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> here. Supposing that the migratory package in fact had a different trait value before it migrated versus after it arrived, an accurate representation of the facts would attribute different values to <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn188"><mml:mrow><mml:msub><mml:mi>z</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn189"><mml:mrow><mml:msubsup><mml:mi>z</mml:mi><mml:mi>i</mml:mi><mml:mo>&#x0027;</mml:mo></mml:msubsup></mml:mrow></mml:math></inline-formula>. And this would seem to entail overcounting change: the initial population does not contain the migratory package at all, so it shouldn&#x2019;t matter for the calculation of populational change what <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn190"><mml:mrow><mml:msub><mml:mi>z</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> happened to be. Happily, the fact that the original trait value of the migratory package shouldn&#x2019;t matter is reflected in the mathematics. Here&#x2019;s what happens to component <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn191"><mml:mi>i</mml:mi></mml:math></inline-formula> of the categorical Price equation when we set <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn192"><mml:mrow><mml:msub><mml:mi>p</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:math></inline-formula>:
<disp-formula id="eqn_2b"><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="block"><mml:mrow><mml:mtable columnalign='left' equalrows='true' equalcolumns='true'><mml:mtr columnalign='left'><mml:mtd columnalign='right'><mml:mrow><mml:msub><mml:mrow><mml:mo stretchy='false'>(</mml:mo><mml:mtext>&#x0394;</mml:mtext><mml:mtext>Z</mml:mtext><mml:mo stretchy='false'>)</mml:mo></mml:mrow><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:mtd><mml:mtd columnalign='left'><mml:mrow><mml:mo>&#x00A0;</mml:mo><mml:mo>=</mml:mo><mml:msub><mml:mi>z</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mfenced><mml:mrow><mml:msubsup><mml:mi>p</mml:mi><mml:mi>i</mml:mi><mml:mo>&#x0027;</mml:mo></mml:msubsup><mml:mo>&#x2212;</mml:mo><mml:msub><mml:mi>p</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:mfenced><mml:mo>+</mml:mo><mml:msubsup><mml:mi>p</mml:mi><mml:mi>i</mml:mi><mml:mo>&#x0027;</mml:mo></mml:msubsup><mml:mfenced><mml:mrow><mml:msubsup><mml:mi>z</mml:mi><mml:mi>i</mml:mi><mml:mo>&#x0027;</mml:mo></mml:msubsup><mml:mo>&#x2212;</mml:mo><mml:msub><mml:mi>z</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:mfenced></mml:mrow></mml:mtd></mml:mtr><mml:mtr columnalign='left'><mml:mtd columnalign='left'><mml:mrow></mml:mrow></mml:mtd><mml:mtd columnalign='left'><mml:mrow><mml:mo>&#x00A0;</mml:mo><mml:mo>=</mml:mo><mml:msubsup><mml:mi>p</mml:mi><mml:mi>i</mml:mi><mml:mo>&#x0027;</mml:mo></mml:msubsup><mml:msub><mml:mi>z</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>+</mml:mo><mml:msubsup><mml:mi>p</mml:mi><mml:mi>i</mml:mi><mml:mo>&#x0027;</mml:mo></mml:msubsup><mml:msubsup><mml:mi>z</mml:mi><mml:mi>i</mml:mi><mml:mo>&#x0027;</mml:mo></mml:msubsup><mml:mo>&#x2212;</mml:mo><mml:msubsup><mml:mi>p</mml:mi><mml:mi>i</mml:mi><mml:mo>&#x0027;</mml:mo></mml:msubsup><mml:msub><mml:mi>z</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr columnalign='left'><mml:mtd columnalign='left'><mml:mrow></mml:mrow></mml:mtd><mml:mtd columnalign='left'><mml:mrow><mml:mo>&#x00A0;</mml:mo><mml:mo>=</mml:mo><mml:msubsup><mml:mi>p</mml:mi><mml:mi>i</mml:mi><mml:mo>&#x0027;</mml:mo></mml:msubsup><mml:msubsup><mml:mi>z</mml:mi><mml:mi>i</mml:mi><mml:mo>&#x0027;</mml:mo></mml:msubsup></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:math>
</disp-formula></p><p>The change to the population distribution <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn193"><mml:mi>Z</mml:mi></mml:math></inline-formula> caused by a migratory package falls squarely within the transmission bias term. This is further motivation to interpret the term as &#x2018;other sources of change&#x2019;; transmission bias being just one kind of non-selective change.<xref ref-type="fn" rid="fn10"><sup>10</sup></xref></p>
</sec>
</sec>
<sec id="S5"><label>5</label><title>Problems, Objections, Omissions</title>
<sec id="S5_1"><label>5.1</label><title>Are There Categorical Traits?</title>
<p>I&#x2019;ve used colour as an example of a categorical trait, but one might wonder whether this is a good idea, given that particular colours can be represented as a numeric combination of some set of basis colours. For example, the red, green and blue shades I&#x2019;ve been using can be assigned numbers from the traditional RGB colour model. The red colour in my figures has an RGB value of (234, 153, 153), the green is (182, 215, 168), and the blue is (159, 197, 232). These colours could be represented using other &#x2018;basis&#x2019; features too, with different numeric combinations placing each in a region of the resultant space. Doesn&#x2019;t this suggest that I am wrong to complain about the lack of a categorical Price equation, if these traits are tacitly numeric after all?</p>
<p>To respond, perhaps colour is not the best example of a categorical trait. A reviewer suggested flavour instead. Suppose the child is choosing between flavours of ice cream: vanilla, strawberry and chocolate (we may assume Neapolitan is unavailable). The change in flavour distribution from the vendor&#x2019;s trays to the child&#x2019;s cone reflects a selection process that implements a flavour preference. The vector representation applies as before, and in this case there is no familiar decomposition of flavours into a numeric flavour space.</p>
<p>However, there is a further worry that <italic>any</italic> putative categorical trait could be represented in a numeric space of high enough dimension. Techniques developed in artificial intelligence to deal with categorical data seem to reveal that any feature can in principle be placed into a numeric space. For example, the semantic values of words can be extracted from huge text corpora by placing each word into a position in a high-dimensional &#x2018;semantic space&#x2019;. Nearby words have similar semantic contents, while operations on numeric vectors sometimes yield surprisingly consistent relationships, such as &#x2018;king - man + woman = queen&#x2019;. Perhaps even flavours could be represented this way, if the appropriate bases were found for a space of sufficiently high dimension. If seemingly categorical traits can be placed into numeric spaces, this undercuts the motivation for seeking a categorical Price equation in the first place.</p>
<p>To respond to this further worry, it is of course true that some traits which at first seem categorical can be represented in high-dimensional numeric spaces. Let&#x2019;s concede, for the sake of argument, that any categorical trait can be represented within such a space. Then one could apply a version of the Price equation with high-dimensional numeric vectors, rather than (or in addition to) the categorical one-hot vectors I&#x2019;ve been advocating. As has already been shown, the equation is perfectly well-defined in this case: its derivation does not make any assumptions about what form <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn194"><mml:mi>z</mml:mi></mml:math></inline-formula> takes, only that it obey a few basic algebraic rules. Just as <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn195"><mml:mi>z</mml:mi></mml:math></inline-formula> can be a number or a one-hot vector, it can be a vector of any kind. What happens in this case is that <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn196"><mml:mrow><mml:mo>&#x2211;</mml:mo><mml:mi>p</mml:mi><mml:mi>z</mml:mi></mml:mrow></mml:math></inline-formula> is still a vector, but each of its entries is the average value of the entries for each of the individuals in the population. In other words, for a population of red, green and blue balls represented within a three-dimensional RGB space, the population vector will define a point in that space which takes the average value of the R component (continuing the example, this would be 192), the average value of the G component (188), and the average value of the B component (184). The result is a rather uninteresting light grey. Supposing that after selection we are left with red balls only, the average RGB value of the subsequent population is just the red balls&#x2019; RGB value. The Price equation tells us that we have moved from a light grey to a red. This information could well be useful depending on the purposes we want to put the Price equation to; similarly, we might get use from this multidimensional numeric Price equation with respect to any categorical trait once it is represented in high dimensional space.</p>
<p>The question is whether this is the only correct or useful application of the Price equation. If the objection is that categorical traits <italic>can</italic> be represented this way, it doesn&#x2019;t harm my main point, because categorical traits can also be represented as one-hot vectors. The question the theorist should ask is not &#x201C;which is the uniquely correct representation?&#x201D;, because both are available; instead, the question is &#x201C;which representation is most useful for my purposes?&#x201D; My contention is that we can always apply the categorical version of the Price equation &#x2013; should we have reason to &#x2013; in order to see how population distributions change. We can apply it to seemingly categorical traits regardless of whether they have a high-dimensional numeric representation, and we can apply it to traits that are obviously numeric, by ignoring magnitude relationships between numbers and discretizing the population into unique categories (as described in <xref ref-type="sec" rid="S3_2">section 3.2</xref>). We can always ask about a change in distribution rather than a change in average numeric value. All of these points remain true regardless of whether the premise of the objection holds; that is, whether or not it turns out that every seemingly categorical trait can be represented in a high-dimensional numeric space.</p>
</sec>
<sec id="S5_2"><label>5.2</label><title>Are One-Hot Vectors Really Better than Dummy Coding?</title>
<p>By stacking 1s and 0s into vectors, one might object, I have done nothing more than repackage the dummy coding approach. Recall that dummy coding treats each categorical variable as a collection of binary variables. Instead of the variable &#x2018;colour&#x2019; with values red, green and blue, we have three variables &#x2018;red&#x2019;, &#x2018;green&#x2019; and &#x2018;blue&#x2019;, each with values 1 and 0. Each individual has a value of either 1 or 0 for each of the three dummy variables depending on its colour. Rewriting the example of red balls being selected using dummy coding reveals three Price equations. I argued that the vector approach is preferable because it captures the changes in population distribution in a single equation. But it turns out that the vector equation simply stacks the three dummy equations on top of each other. The vector components correspond to the trait values red, green and blue, and the numbers that appear in each of these slots are exactly the numbers that appear in the corresponding dummy equations for the &#x2018;red&#x2019;, &#x2018;green&#x2019; and &#x2018;blue&#x2019; dummy variables.</p>
<p>Furthermore, as a reviewer suggested, the dummy coding approach captures the fact that the covariance between a trait value and fitness exactly measures the change due to selection of that trait in the population. One might think it is the equality between the covariance term and the change due to selection that is most notable about Price&#x2019;s discovery, rather than the algebraic rearrangement of terms (see also <xref ref-type="fn" rid="fn9">footnote 9</xref> above). Since the categorical equation is obtained by merely rearranging terms, and since it does not capture the correspondence between covariance with fitness and change due to selection, it seems as though the equation loses what is most insightful about the Price equation. Given these facts, by what right do I claim the vector approach as superior, when it is little more than a repackaging of the dummy coding approach?</p>
<p>I am willing to concede that the vector representation of categorical variables is a relatively slight change from the dummy coding approach. Yet it is an extension that builds positively upon existing work. For one thing, it is aesthetically pleasing to employ a single equation with N-dimensional vectors rather than N equations. The population of balls does not, as a matter of fact, harbour three overlapping traits: it has a single trait with three values. The dummy coding approach misses that fact, while the vector approach captures it explicitly. As a result, the dummy coding approach doesn&#x2019;t allow explicit representation of the constraint that individuals can only have one value of a particular categorical variable. Using one-hot vectors to represent individuals embodies this constraint.</p>
<p>Another reason to prefer the vector representation is that it allows us to access geometric properties of populations. In the numeric multivariate case discussed earlier in this section, representing traits as vectors would allow us to measure the distance between individuals in the resulting multidimensional space. Various measures can be employed in multidimensional settings to describe the distance between two composite colours in RGB space, for example the Euclidean distance. Distinguishing the individual dimensions &#x2013; decomposing the vector into component parts &#x2013; misses the structure of the overall space. These distances may or may not be theoretically important for future applications, but I contend we should at least keep them in play rather than neglecting them without cause. Since categorical traits are an extreme case of multidimensional representation (one in which each individual lies exclusively on an axis of the space, hence is picked out by a one-hot vector), for mathematical consistency it is appropriate to use vectors when representing them.</p>
<p>Finally, emphasising that selection changes population distributions, not just trait value averages, prompts us to think more broadly about the Price equation&#x2019;s application. The fact that the interesting properties described in <xref ref-type="sec" rid="S4">section 4</xref> still hold should be sufficient to warrant further interest. While the categorical equation loses the relationship with covariance, fitness is still what is causing trait distribution changes due to selection. It is just that, in my presentation, covariance has been dethroned as the ultimate expression of that change. To those who take Price&#x2019;s key insight to be the covariance term, it may seem that something has been lost in my formulation. I think that what has been lost needed to be lost in order to capture the general case. Selection does not just change averages, it changes distributions.</p>
</sec>
<sec id="S5_3"><label>5.3</label><title>Levels of Measurement</title>
<p>A reviewer suggested applying this treatment to different levels of measurement. &#x2018;Levels of measurement&#x2019; here refers to a four-way distinction between types of variable: categorical (also called nominal), ordinal, interval, and ratio. Categorical variables distinguish categories into which a value can fall, but do not have any numerical meaning. Ordinal variables define a ranking scale on which values can be higher or lower, but do not assume consistent distances between the rankings. So for example the finishing positions in a race can be represented by an ordinal variable: 1st place finished before 2nd and 2nd finished before 3rd, but the time discrepancies between the finishers might be radically different and these discrepancies are not captured by the variable. Interval variables do capture differences between their values. Temperature measured in degrees Celsius is an interval variable because the difference between 20 degrees and 30 degrees is in some sense the same as the difference between 30 degrees and 40 degrees. However, interval variables do not enable comparisons in terms of ratios: it does not make sense to say 40 degrees is twice as hot as 20 degrees, because the location of zero is arbitrary on this scale. Ratio variables are those for which both numeric differences and ratios are meaningful. Height is a ratio variable because it makes sense to say that one person is twice as tall as another. What I have been calling &#x2018;numeric&#x2019; subsumes the interval and ratio categories.</p>
<p>We now have versions of the Price equation describing change in population properties relating to two out of these four levels (<xref ref-type="table" rid="T2">table 2</xref>). The numeric Price equation describes changes in population average. Because both interval and ratio variables have meaningful averages, the original Price equation applies to any variable of those two kinds. The version of the Price equation introduced in this paper describes changes in population distributions with respect to categorical variables. It applies to any categorical variable that can be defined over a population. Because each level of measurement has the same properties as those of the levels above, each Price equation applies to variables at its level and all levels below. So the numeric equation applies at the interval level and below (encompassing the ratio level), and the categorical equation applies at the categorical level and below (encompassing the ordinal, interval, and ratio levels).</p>
<table-wrap id="T2" position="float" orientation="portrait">
<label>Table 2:</label><caption><p>Levels of measurement to which the categorical and numeric versions of the Price equation apply. It is an open question whether there are further versions of the equation, one that applies at the ordinal level and below, and one that applies solely at the ratio level.</p></caption>
<table frame="hsides" rules="groups">
<colgroup>
<col align="left" valign="middle" />
<col align="left" valign="middle" />
<col align="left" valign="middle" />
<col align="left" valign="middle" />
<col align="left" valign="middle" />
<col align="left" valign="middle" />
</colgroup>
<tbody>
<tr>
<td align="justify" valign="top" />
<td align="justify" valign="top" />
<td align="left" valign="top"><p>Categorical</p></td>
<td align="left" valign="top"><p>Ordinal</p></td>
<td align="left" valign="top"><p>Interval</p></td>
<td align="left" valign="top"><p>Ratio</p></td>
</tr>
<tr>
<td align="left" valign="top"><p>Equation</p></td>
<td align="left" valign="top"><p>Categorical</p></td>
<td align="left" valign="top"><p>Yes</p></td>
<td align="left" valign="top"><p>Yes</p></td>
<td align="left" valign="top"><p>Yes</p></td>
<td align="left" valign="top"><p>Yes</p></td>
</tr>
<tr>
<td align="justify" valign="top" />
<td align="left" valign="top"><p><italic>Ordinal?</italic></p></td>
<td align="left" valign="top"><p><italic>No</italic></p></td>
<td align="left" valign="top"><p><italic>Yes</italic></p></td>
<td align="left" valign="top"><p><italic>Yes</italic></p></td>
<td align="left" valign="top"><p><italic>Yes</italic></p></td>
</tr>
<tr>
<td align="justify" valign="top" />
<td align="left" valign="top"><p>Numeric</p></td>
<td align="left" valign="top"><p>No</p></td>
<td align="left" valign="top"><p>No</p></td>
<td align="left" valign="top"><p>Yes</p></td>
<td align="left" valign="top"><p>Yes</p></td>
</tr>
<tr>
<td align="justify" valign="top" />
<td align="left" valign="top"><p><italic>Ratio?</italic></p></td>
<td align="left" valign="top"><p><italic>No</italic></p></td>
<td align="left" valign="top"><p><italic>No</italic></p></td>
<td align="left" valign="top"><p><italic>No</italic></p></td>
<td align="left" valign="top"><p><italic>Yes</italic></p></td>
</tr>
</tbody>
</table>
</table-wrap>
<p>Are there versions of the Price equation that apply at the ordinal level and the ratio level &#x2013; do the italicised rows of <xref ref-type="table" rid="T2">table 2</xref> correspond to genuine options? For the answer to be yes, there must be a variable <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn197"><mml:mi>z</mml:mi></mml:math></inline-formula> of the relevant kind (i.e. ordinal; ratio) for which a legitimate population-level property <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn198"><mml:mrow><mml:mi>Z</mml:mi><mml:mo>=</mml:mo><mml:mtext>&#x03A3;</mml:mtext><mml:mi>p</mml:mi><mml:mi>z</mml:mi></mml:mrow></mml:math></inline-formula> can be defined. To my mind there is no particular reason why such traits must exist. The levels of measurement are a convenient categorisation for statisticians who need to distinguish variable types for the purposes of applying appropriate statistical tests. There is no guarantee that this four-way distinction will deliver four unique types of trait <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn199"><mml:mi>z</mml:mi></mml:math></inline-formula> that each define a meaningful population property <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn200"><mml:mrow><mml:mi>Z</mml:mi><mml:mo>=</mml:mo><mml:mtext>&#x03A3;</mml:mtext><mml:mi>p</mml:mi><mml:mi>z</mml:mi></mml:mrow></mml:math></inline-formula>. For ordinal data in particular it seems unlikely that <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn201"><mml:mrow><mml:mtext>&#x03A3;</mml:mtext><mml:mi>p</mml:mi><mml:mi>z</mml:mi></mml:mrow></mml:math></inline-formula> could be meaningful. Even if <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn202"><mml:mi>p</mml:mi></mml:math></inline-formula> could be defined, the average would tend to be a number somewhere in between the ordinal values. Such a number would be meaningless on an ordinal scale, because there is no guarantee that the differences between ordinal values are the same. Obtaining a value of 2.5 could entail something wildly different about where between 2 and 3 this value lies, compared to a value of 3.5 and what that entails about where between 3 and 4 the value lies. For this reason statisticians working with ordinal data tend to employ the median rather than the mean. Sometimes a weighted median is employed. But the median of an ordinal dataset, whether weighted or not, cannot be written as <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn203"><mml:mrow><mml:mtext>&#x03A3;</mml:mtext><mml:mi>p</mml:mi><mml:mi>z</mml:mi></mml:mrow></mml:math></inline-formula>. Changes in the median cannot be captured by a Price equation.<xref ref-type="fn" rid="fn11"><sup>11</sup></xref></p>
<p>In sum, while there might be a role for other versions of the Price equation that apply at different levels of measurement, it seems to me unlikely that there will be a proprietary equation for the ordinal level. I leave the question of the ratio level to future work.</p>
</sec>
<sec id="S5_4"><label>5.4</label><title>Multi-parental Inheritance and Neighbour-Modulated Fitness</title>
<p>There are of course a great deal more processes relevant to evolutionary theory than have been discussed here. I have omitted discussion of random drift entirely. <xref ref-type="fn" rid="fn12"><sup>12</sup></xref> Another significant process is multi-parental inheritance. To represent multi-parental inheritance we must either avoid the assumption that each descendant particle is associated with exactly one ancestor, or treat individuals as comprised of multiple particles. The latter would allow us to decompose each individual into a collection of discrete particles, each of which derives from a unique ancestor particle. This might be what <xref ref-type="bibr" rid="R30">Price (1995</xref>, 393 fig. 5) had in mind when he applied his framework to genetic selection, and it might even be warranted in that case. However, it&#x2019;s not clear that such an approach will be sufficiently general if the goal is (as I take it to be) carving out a concept of selection that plays the same role in every possible evolutionary system. It seems as though there can be selection in cases where particles have multiple parents, and cannot obviously be broken down into particles on a lower level, all of which necessarily have a unique parent particle.</p>
<p>The question of multiparental inheritance has been tackled by <xref ref-type="bibr" rid="R22">Kerr and Godfrey-Smith (2009)</xref>. They introduce formalism explicitly describing which particles in the initial and subsequent population are connected to each other. Representing connections allows for particles in the initial population that are not connected to any in the subsequent population (corresponding to extinction) and particles in the subsequent population that are not connected to any in the initial population (corresponding to migration). Because multiple connections are allowed, multiparental relationships can be represented. In this sense, Kerr &amp; Godfrey-Smith&#x2019;s approach encompasses a broader set of cases than I have considered. However, they retain the traditional focus on numeric traits, such that a descendant inherits the average trait value of its parents. Thinking about how their connectionist approach could be employed to represent multiparental inheritance of categorical traits, clearly the key question is how exactly the trait can be said to be &#x2018;inherited&#x2019; from multiple parents if it is supposed to be categorical. There are several possibilities here. In some systems the child might inherit a blend of the two traits, while in others it might inherit one trait probabilistically depending on the strength of the connection. These considerations may be especially relevant in cultural evolution settings, where any individual in a population can in principle inherit a cultural trait from any other individual with whom it socially interacts. Future work should investigate prospects for representing categorical traits using a connection-based approach.</p>
<p>The second huge topic not yet addressed is neighbour-modulated fitness. No account of selection is going to be complete unless it takes into account the contextual effects of nearby particles on the future population share of a focal particle. The most obvious biological application of this phenomenon is social behaviour (<xref ref-type="bibr" rid="R16">Gardner, West, and Wild 2011</xref>), but even the simplest cases demonstrate neighbour-modulated fitness: whether an apple is chosen by the shopper may depend on whether it is the best apple in the shop, which in turn depends on the trait values of the other apples. Some of the questions that arise here, but by no means all, can be answered by reference to the multi-level approach (<xref ref-type="bibr" rid="R14">Gardner 2015</xref>). Future work should draw on existing approaches to understand how selection operates on categorical traits when fitness is affected by a particle&#x2019;s neighbours.</p>
</sec>
</sec>
<sec id="S6"><label>6</label><title>Recapitulation</title>
<p>George Price introduced a deceptively simple framework with deep significance for theoretical biology and beyond. Starting with basic definitions of package, trait value, and population share, Price derived an equation which describes how the population average value of a trait changes due to selection and other factors. The insight at the heart of this result is often taken to be the quantification of selection as the covariance between trait value and fitness. However, this step of the derivation requires that the trait value in question be numeric. I have argued that the Price equation need not be restricted to traits that can be represented numerically. A conceptually satisfactory version of the equation can be derived, making essentially the same assumptions, by treating the trait which is subject to change as categorical. This is done by using one-hot vectors to represent categorical traits, and treating weighted sums as population distributions rather than averages. Phenomena relevant to questions of populational change, such as multi-level selection and migration, can be represented in the resulting framework. There is a great deal of work left to do.</p>
</sec>
</body>
<back>
<app-group>
<app id="app1">
<label>Appendix</label>
<title>Derivation of the Multi-level Selection Equation</title>
<p>This derivation is based on a suggestion from <xref ref-type="bibr" rid="R35">Wade (1985</xref>, 63). The selection term with particles indexed across the whole population is:
<disp-formula id="eqn_3c"><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="block"><mml:mrow><mml:msub><mml:mtext>&#x0394;</mml:mtext><mml:mi>s</mml:mi></mml:msub><mml:mi>Z</mml:mi><mml:mo>=</mml:mo><mml:munder><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x2211;</mml:mo></mml:mstyle><mml:mi>i</mml:mi></mml:munder><mml:msub><mml:mi>z</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mfenced><mml:mrow><mml:msubsup><mml:mi>p</mml:mi><mml:mi>i</mml:mi><mml:mo>&#x0027;</mml:mo></mml:msubsup><mml:mo>&#x2212;</mml:mo><mml:msub><mml:mi>p</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:mfenced></mml:mrow></mml:math>
</disp-formula></p><p>Instead of counting particles across the population, we want to segregate them into <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn204"><mml:mi>k</mml:mi></mml:math></inline-formula> collectives. Within each collective, particles are indexed by <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn205"><mml:mi>j</mml:mi></mml:math></inline-formula>. Since <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn206"><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mi>k</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is the population share of collective <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn207"><mml:mi>k</mml:mi></mml:math></inline-formula>, it follows that <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn208"><mml:mrow><mml:msub><mml:mi>p</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>p</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:msub><mml:mi>P</mml:mi><mml:mi>k</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>. Similarly, <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn209"><mml:mrow><mml:msubsup><mml:mi>p</mml:mi><mml:mi>i</mml:mi><mml:mo>&#x0027;</mml:mo></mml:msubsup><mml:mo>=</mml:mo><mml:msubsup><mml:mi>p</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mi>j</mml:mi></mml:mrow><mml:mo>&#x0027;</mml:mo></mml:msubsup><mml:msubsup><mml:mi>P</mml:mi><mml:mi>k</mml:mi><mml:mo>&#x0027;</mml:mo></mml:msubsup></mml:mrow></mml:math></inline-formula>. Trait values stay the same regardless of indexing, so <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn210"><mml:mrow><mml:msub><mml:mi>z</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>z</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>. The selection term therefore becomes:
<disp-formula id="eqn_4d"><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="block"><mml:mrow><mml:msub><mml:mtext>&#x0394;</mml:mtext><mml:mi>s</mml:mi></mml:msub><mml:mi>Z</mml:mi><mml:mo>=</mml:mo><mml:munder><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x2211;</mml:mo></mml:mstyle><mml:mi>k</mml:mi></mml:munder><mml:munder><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x2211;</mml:mo></mml:mstyle><mml:mi>j</mml:mi></mml:munder><mml:msub><mml:mi>z</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mfenced><mml:mrow><mml:msubsup><mml:mi>p</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mi>j</mml:mi></mml:mrow><mml:mo>&#x0027;</mml:mo></mml:msubsup><mml:msubsup><mml:mi>P</mml:mi><mml:mi>k</mml:mi><mml:mo>&#x0027;</mml:mo></mml:msubsup><mml:mo>&#x2212;</mml:mo><mml:msub><mml:mi>p</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:msub><mml:mi>P</mml:mi><mml:mi>k</mml:mi></mml:msub></mml:mrow></mml:mfenced></mml:mrow></mml:math>
</disp-formula></p><p>From here onwards we will remove the subscripts for ease of reading. Every upper-case letter can be considered to have the subscript <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn211"><mml:mi>k</mml:mi></mml:math></inline-formula>, and every lower-case letter can be considered to have the subscript <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn212"><mml:mrow><mml:mi>k</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:math></inline-formula>. We can rearrange terms to get the following:
<disp-formula id="eqn_5"><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="block"><mml:mrow><mml:mtable columnalign='left'><mml:mtr columnalign='left'><mml:mtd columnalign='right'><mml:mrow><mml:msub><mml:mtext>&#x0394;</mml:mtext><mml:mi>s</mml:mi></mml:msub><mml:mi>Z</mml:mi></mml:mrow></mml:mtd><mml:mtd columnalign='left'><mml:mrow><mml:mo>&#x00A0;</mml:mo><mml:mo>=</mml:mo><mml:munder><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x2211;</mml:mo></mml:mstyle><mml:mi>k</mml:mi></mml:munder><mml:munder><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x2211;</mml:mo></mml:mstyle><mml:mi>j</mml:mi></mml:munder><mml:mi>z</mml:mi><mml:msup><mml:mi>p</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup><mml:msup><mml:mi>P</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup><mml:mo>&#x2212;</mml:mo><mml:munder><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x2211;</mml:mo></mml:mstyle><mml:mi>k</mml:mi></mml:munder><mml:munder><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x2211;</mml:mo></mml:mstyle><mml:mi>j</mml:mi></mml:munder><mml:mi>z</mml:mi><mml:mi>p</mml:mi><mml:mi>P</mml:mi></mml:mrow></mml:mtd></mml:mtr><mml:mtr columnalign='left'><mml:mtd columnalign='left'><mml:mrow></mml:mrow></mml:mtd><mml:mtd columnalign='left'><mml:mrow><mml:mo>&#x00A0;</mml:mo><mml:mo>=</mml:mo><mml:munder><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x2211;</mml:mo></mml:mstyle><mml:mi>k</mml:mi></mml:munder><mml:msup><mml:mi>P</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup><mml:munder><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x2211;</mml:mo></mml:mstyle><mml:mi>j</mml:mi></mml:munder><mml:mi>z</mml:mi><mml:msup><mml:mi>p</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup><mml:mo>&#x2212;</mml:mo><mml:munder><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x2211;</mml:mo></mml:mstyle><mml:mi>k</mml:mi></mml:munder><mml:mi>P</mml:mi><mml:munder><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x2211;</mml:mo></mml:mstyle><mml:mi>j</mml:mi></mml:munder><mml:mi>z</mml:mi><mml:mi>p</mml:mi></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:math>
</disp-formula></p><p>At this point we make a similar move as in the original Price equation derivation, by adding and subtracting identical terms:
<disp-formula id="eqn_6"><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="block"><mml:mrow><mml:msub><mml:mtext>&#x0394;</mml:mtext><mml:mi>s</mml:mi></mml:msub><mml:mi>Z</mml:mi><mml:mo>=</mml:mo><mml:munder><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x2211;</mml:mo></mml:mstyle><mml:mi>k</mml:mi></mml:munder><mml:msup><mml:mi>P</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup><mml:munder><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x2211;</mml:mo></mml:mstyle><mml:mi>j</mml:mi></mml:munder><mml:mi>z</mml:mi><mml:msup><mml:mi>p</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup><mml:mo>&#x2212;</mml:mo><mml:munder><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x2211;</mml:mo></mml:mstyle><mml:mi>k</mml:mi></mml:munder><mml:mi>P</mml:mi><mml:munder><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x2211;</mml:mo></mml:mstyle><mml:mi>j</mml:mi></mml:munder><mml:mi>z</mml:mi><mml:mi>p</mml:mi><mml:mo mathcolor="blue">+</mml:mo><mml:munder><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo mathcolor="blue">&#x2211;</mml:mo></mml:mstyle><mml:mi mathcolor="blue">k</mml:mi></mml:munder><mml:msup><mml:mi mathcolor="blue">P</mml:mi><mml:mo mathcolor="blue">&#x2032;</mml:mo></mml:msup><mml:mi mathcolor="blue">Z</mml:mi><mml:mo mathcolor="blue">&#x2212;</mml:mo><mml:munder><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo mathcolor="blue">&#x2211;</mml:mo></mml:mstyle><mml:mi mathcolor="blue">k</mml:mi></mml:munder><mml:msup><mml:mi mathcolor="blue">P</mml:mi><mml:mo mathcolor="blue">&#x2032;</mml:mo></mml:msup><mml:mi mathcolor="blue">Z</mml:mi></mml:mrow></mml:math>
</disp-formula></p><p>We can restate some of these terms, switching between expressions pertaining to particles and expressions pertaining to collectives:
<disp-formula id="eqn_7"><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="block"><mml:mrow><mml:msub><mml:mtext>&#x0394;</mml:mtext><mml:mi>s</mml:mi></mml:msub><mml:mi>Z</mml:mi><mml:mo>=</mml:mo><mml:munder><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x2211;</mml:mo></mml:mstyle><mml:mi>k</mml:mi></mml:munder><mml:msup><mml:mi>P</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup><mml:munder><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x2211;</mml:mo></mml:mstyle><mml:mi>j</mml:mi></mml:munder><mml:mi>z</mml:mi><mml:msup><mml:mi>p</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup><mml:mo>&#x2212;</mml:mo><mml:munder><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x2211;</mml:mo></mml:mstyle><mml:mi>k</mml:mi></mml:munder><mml:mi>P</mml:mi><mml:mi mathcolor="blue">Z</mml:mi><mml:mo>+</mml:mo><mml:munder><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x2211;</mml:mo></mml:mstyle><mml:mi>k</mml:mi></mml:munder><mml:msup><mml:mi>P</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup><mml:mi>Z</mml:mi><mml:mo>&#x2212;</mml:mo><mml:munder><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x2211;</mml:mo></mml:mstyle><mml:mi>k</mml:mi></mml:munder><mml:msup><mml:mi>P</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup><mml:munder><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo mathcolor="blue">&#x2211;</mml:mo></mml:mstyle><mml:mi mathcolor="blue">j</mml:mi></mml:munder><mml:mi mathcolor="blue">z</mml:mi><mml:mi mathcolor="blue">p</mml:mi></mml:mrow></mml:math>
</disp-formula></p><p>Then, as in the derivation of the original Price equation, we put like terms together:
<disp-formula id="eqn_8"><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="block"><mml:mtable columnalign='left'><mml:mtr columnalign='left'><mml:mtd columnalign='right'><mml:mrow><mml:msub><mml:mtext>&#x0394;</mml:mtext><mml:mi>s</mml:mi></mml:msub><mml:mi>Z</mml:mi></mml:mrow></mml:mtd><mml:mtd columnalign='left'><mml:mo>=</mml:mo></mml:mtd><mml:mtd columnalign='left'><mml:mrow><mml:mfenced><mml:mrow><mml:munder><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x2211;</mml:mo></mml:mstyle><mml:mi>k</mml:mi></mml:munder><mml:msup><mml:mi>P</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup><mml:mi>Z</mml:mi><mml:mo>&#x2212;</mml:mo><mml:munder><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x2211;</mml:mo></mml:mstyle><mml:mi>k</mml:mi></mml:munder><mml:mi>P</mml:mi><mml:mi>Z</mml:mi></mml:mrow></mml:mfenced><mml:mo>+</mml:mo><mml:mfenced><mml:mrow><mml:munder><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x2211;</mml:mo></mml:mstyle><mml:mi>k</mml:mi></mml:munder><mml:msup><mml:mi>P</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup><mml:munder><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x2211;</mml:mo></mml:mstyle><mml:mi>j</mml:mi></mml:munder><mml:mi>z</mml:mi><mml:msup><mml:mi>p</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup><mml:mo>&#x2212;</mml:mo><mml:munder><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x2211;</mml:mo></mml:mstyle><mml:mi>k</mml:mi></mml:munder><mml:msup><mml:mi>P</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup><mml:munder><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x2211;</mml:mo></mml:mstyle><mml:mi>j</mml:mi></mml:munder><mml:mi>z</mml:mi><mml:mi>p</mml:mi></mml:mrow></mml:mfenced></mml:mrow></mml:mtd></mml:mtr><mml:mtr columnalign='left'><mml:mtd columnalign='left'><mml:mrow></mml:mrow></mml:mtd><mml:mtd columnalign='left'><mml:mo>=</mml:mo></mml:mtd><mml:mtd columnalign='left'><mml:mrow><mml:munder><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x2211;</mml:mo></mml:mstyle><mml:mi>k</mml:mi></mml:munder><mml:mfenced><mml:mrow><mml:msup><mml:mi>P</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup><mml:mi>Z</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mi>P</mml:mi><mml:mi>Z</mml:mi></mml:mrow></mml:mfenced><mml:mo>+</mml:mo><mml:munder><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x2211;</mml:mo></mml:mstyle><mml:mi>k</mml:mi></mml:munder><mml:msup><mml:mi>P</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup><mml:munder><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x2211;</mml:mo></mml:mstyle><mml:mi>j</mml:mi></mml:munder><mml:mfenced><mml:mrow><mml:mi>z</mml:mi><mml:msup><mml:mi>p</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup><mml:mo>&#x2212;</mml:mo><mml:mi>z</mml:mi><mml:mi>p</mml:mi></mml:mrow></mml:mfenced></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math>
</disp-formula></p><p>And the equation as reported in the text appears when we do some factoring (with the subscripts explicitly included):
<disp-formula id="eqn_9"><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="block"><mml:mrow><mml:msub><mml:mtext>&#x0394;</mml:mtext><mml:mi>s</mml:mi></mml:msub><mml:mi>Z</mml:mi><mml:mo>=</mml:mo><mml:munder><mml:munder><mml:mrow><mml:munder><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x2211;</mml:mo></mml:mstyle><mml:mi>k</mml:mi></mml:munder><mml:msub><mml:mi>Z</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:mfenced><mml:mrow><mml:msubsup><mml:mi>P</mml:mi><mml:mi>k</mml:mi><mml:mo>&#x0027;</mml:mo></mml:msubsup><mml:mo>&#x2212;</mml:mo><mml:msub><mml:mi>P</mml:mi><mml:mi>k</mml:mi></mml:msub></mml:mrow></mml:mfenced></mml:mrow><mml:mo stretchy='true'>&#xFE38;</mml:mo></mml:munder><mml:mrow><mml:mtable equalrows='true' equalcolumns='true'><mml:mtr><mml:mtd><mml:mrow><mml:mtext>&#x00A0;Selection&#x00A0;between&#x00A0;</mml:mtext></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mtext>&#x00A0;collectives&#x00A0;</mml:mtext></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:munder><mml:mo>+</mml:mo><mml:munder><mml:munder><mml:mrow><mml:munder><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x2211;</mml:mo></mml:mstyle><mml:mi>k</mml:mi></mml:munder><mml:msubsup><mml:mi>P</mml:mi><mml:mi>k</mml:mi><mml:mo>&#x0027;</mml:mo></mml:msubsup><mml:munder><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x2211;</mml:mo></mml:mstyle><mml:mi>j</mml:mi></mml:munder><mml:msub><mml:mi>z</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mfenced><mml:mrow><mml:msubsup><mml:mi>p</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mi>j</mml:mi></mml:mrow><mml:mo>&#x0027;</mml:mo></mml:msubsup><mml:mo>&#x2212;</mml:mo><mml:msub><mml:mi>p</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfenced></mml:mrow><mml:mo stretchy='true'>&#xFE38;</mml:mo></mml:munder><mml:mrow><mml:mtable equalrows='true' equalcolumns='true'><mml:mtr><mml:mtd><mml:mrow><mml:mtext>&#x00A0;Weighted&#x00A0;selection&#x00A0;</mml:mtext></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mtext>&#x00A0;within&#x00A0;each&#x00A0;collective&#x00A0;</mml:mtext></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:munder></mml:mrow></mml:math>
</disp-formula>
</p>
</app>
</app-group>
<sec id="S15">
<title>Glossary</title>
<list list-type="bullet">
<title>Indices</title>
<list-item><p><inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn213"><mml:mi>i</mml:mi></mml:math></inline-formula>: Index for counting packages; index for counting particles in the whole population</p></list-item>
<list-item><p><inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn214"><mml:mi>j</mml:mi></mml:math></inline-formula>: Index for counting particles within a collective</p></list-item>
<list-item><p><inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn215"><mml:mi>k</mml:mi></mml:math></inline-formula>: Index for counting collectives</p></list-item>
</list>
<list list-type="bullet">
<title>Basic terms</title>
<list-item><p><inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn216"><mml:mrow><mml:msub><mml:mi>p</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>: population share of package <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn217"><mml:mi>i</mml:mi></mml:math></inline-formula> in the initial population. Constrained so that <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn218"><mml:mrow><mml:msub><mml:mo>&#x2211;</mml:mo><mml:mi>i</mml:mi></mml:msub><mml:msub><mml:mi>p</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:math></inline-formula></p></list-item>
<list-item><p><inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn219"><mml:mrow><mml:msub><mml:mi>z</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>: trait value of package <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn220"><mml:mi>i</mml:mi></mml:math></inline-formula> in the initial population</p></list-item>
<list-item><p><inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn221"><mml:mrow><mml:msubsup><mml:mi>p</mml:mi><mml:mi>i</mml:mi><mml:mo>&#x0027;</mml:mo></mml:msubsup></mml:mrow></mml:math></inline-formula>: population share of descendants of package <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn222"><mml:mi>i</mml:mi></mml:math></inline-formula> in the subsequent population. Constrained so that <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn223"><mml:mrow><mml:msub><mml:mo>&#x2211;</mml:mo><mml:mi>i</mml:mi></mml:msub><mml:msubsup><mml:mi>p</mml:mi><mml:mi>i</mml:mi><mml:mo>&#x0027;</mml:mo></mml:msubsup><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:math></inline-formula></p></list-item>
<list-item><p><inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn224"><mml:mrow><mml:msubsup><mml:mi>z</mml:mi><mml:mi>i</mml:mi><mml:mo>&#x0027;</mml:mo></mml:msubsup></mml:mrow></mml:math></inline-formula>: average trait value of descendants of package <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn225"><mml:mi>i</mml:mi></mml:math></inline-formula> in the subsequent population</p></list-item>
</list>
<list list-type="bullet">
<title>Derived terms</title>
<list-item><p><inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn226"><mml:mrow><mml:msub><mml:mi>w</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>: selection coefficient of package <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn227"><mml:mi>i</mml:mi></mml:math></inline-formula>. Defined as <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn228"><mml:mrow><mml:mfrac><mml:mrow><mml:msubsup><mml:mi>p</mml:mi><mml:mi>i</mml:mi><mml:mo>&#x0027;</mml:mo></mml:msubsup></mml:mrow><mml:mrow><mml:msub><mml:mi>p</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mrow></mml:math></inline-formula></p></list-item>
<list-item><p><inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn229"><mml:mrow><mml:mover><mml:mi>z</mml:mi><mml:mi>&#x2212;</mml:mi></mml:mover></mml:mrow></mml:math></inline-formula>: Average trait value in the initial population. Defined as <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn230"><mml:mrow><mml:msub><mml:mo>&#x2211;</mml:mo><mml:mi>i</mml:mi></mml:msub><mml:msub><mml:mi>p</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:msub><mml:mi>z</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula></p></list-item>
<list-item><p><inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn231"><mml:mrow><mml:mover accent='true'><mml:msup><mml:mi>z</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup><mml:mo stretchy='true'>&#x00AF;</mml:mo></mml:mover></mml:mrow></mml:math></inline-formula>: Average trait value in the subsequent population. Defined as <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn232"><mml:mrow><mml:msub><mml:mo>&#x2211;</mml:mo><mml:mi>i</mml:mi></mml:msub><mml:msubsup><mml:mi>p</mml:mi><mml:mi>i</mml:mi><mml:mo>&#x0027;</mml:mo></mml:msubsup><mml:msubsup><mml:mi>z</mml:mi><mml:mi>i</mml:mi><mml:mo>&#x0027;</mml:mo></mml:msubsup></mml:mrow></mml:math></inline-formula></p></list-item>
<list-item><p><inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn233"><mml:mrow><mml:mtext>&#x0394;</mml:mtext><mml:mover><mml:mi>z</mml:mi><mml:mi>&#x2212;</mml:mi></mml:mover></mml:mrow></mml:math></inline-formula>: Change in average trait value. Defined as <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn234"><mml:mrow><mml:mover accent='true'><mml:msup><mml:mi>z</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup><mml:mo stretchy='true'>&#x00AF;</mml:mo></mml:mover><mml:mo>&#x2212;</mml:mo><mml:mover><mml:mi>z</mml:mi><mml:mi>&#x2212;</mml:mi></mml:mover></mml:mrow></mml:math></inline-formula></p></list-item>
<list-item><p><inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn236a"><mml:mrow><mml:msub><mml:mtext>&#x0394;</mml:mtext><mml:mi>s</mml:mi></mml:msub><mml:mover><mml:mi>z</mml:mi><mml:mi>&#x2212;</mml:mi></mml:mover></mml:mrow></mml:math></inline-formula>: Change in average trait value due to selection</p></list-item>
<list-item><p><inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn236"><mml:mrow><mml:msub><mml:mtext>&#x0394;</mml:mtext><mml:mi>t</mml:mi></mml:msub><mml:mover><mml:mi>z</mml:mi><mml:mi>&#x2212;</mml:mi></mml:mover></mml:mrow></mml:math></inline-formula>: Change in average trait value due to factors other than selection</p></list-item>
</list>
<list list-type="bullet">
<title>Statistical terms</title>
<list-item><p><inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn237"><mml:mi>W</mml:mi></mml:math></inline-formula>: Selection coefficient considered as a random variable</p></list-item>
<list-item><p><inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn238"><mml:mi>Z</mml:mi></mml:math></inline-formula>: Trait value considered as a random variable</p></list-item>
<list-item><p><italic>Vector terms</italic></p></list-item>
<list-item><p><inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn239"><mml:mrow><mml:msub><mml:mi>z</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>: Categorical trait for type <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn240"><mml:mi>i</mml:mi></mml:math></inline-formula>, represented as a one-hot vector</p></list-item>
<list-item><p><inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn241"><mml:mi>Z</mml:mi></mml:math></inline-formula>: Population distribution of categorical traits before selection. Defined as <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn242"><mml:mrow><mml:msub><mml:mo>&#x2211;</mml:mo><mml:mi>i</mml:mi></mml:msub><mml:msub><mml:mi>p</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:msub><mml:mi>z</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula></p></list-item>
<list-item><p><inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn243"><mml:mrow><mml:msubsup><mml:mi>z</mml:mi><mml:mi>i</mml:mi><mml:mo>&#x0027;</mml:mo></mml:msubsup></mml:mrow></mml:math></inline-formula>: Distribution of trait values over type <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn244"><mml:mi>i</mml:mi></mml:math></inline-formula>&#x2019;s descendants after selection</p></list-item>
<list-item><p><inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn245"><mml:msup><mml:mi>Z</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup></mml:math></inline-formula>: Population distribution of categorical traits after selection. Defined as <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn246"><mml:mrow><mml:msub><mml:mo>&#x2211;</mml:mo><mml:mi>i</mml:mi></mml:msub><mml:msubsup><mml:mi>p</mml:mi><mml:mi>i</mml:mi><mml:mo>&#x0027;</mml:mo></mml:msubsup><mml:msubsup><mml:mi>z</mml:mi><mml:mi>i</mml:mi><mml:mo>&#x0027;</mml:mo></mml:msubsup></mml:mrow></mml:math></inline-formula></p></list-item>
</list>
<list list-type="bullet">
<title>Multi-level terms</title>
<list-item><p><inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn247"><mml:mrow><mml:msub><mml:mi>p</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>: Population share of particle <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn248"><mml:mi>i</mml:mi></mml:math></inline-formula>. Constrained so that <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn249"><mml:mrow><mml:msub><mml:mo>&#x2211;</mml:mo><mml:mi>i</mml:mi></mml:msub><mml:msub><mml:mi>p</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:math></inline-formula></p></list-item>
<list-item><p><inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn250"><mml:mrow><mml:msub><mml:mi>p</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>: Collective share of particle <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn251"><mml:mi>j</mml:mi></mml:math></inline-formula> in collective <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn252"><mml:mi>k</mml:mi></mml:math></inline-formula>. Constrained so that <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn253"><mml:mrow><mml:msub><mml:mo>&#x2211;</mml:mo><mml:mi>j</mml:mi></mml:msub><mml:msub><mml:mi>p</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:math></inline-formula> for all <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn254"><mml:mi>k</mml:mi></mml:math></inline-formula></p></list-item>
<list-item><p><inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn255"><mml:mrow><mml:msub><mml:mi>z</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>: Trait value of particle <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn256"><mml:mi>i</mml:mi></mml:math></inline-formula>. Equal to <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn257"><mml:mrow><mml:msub><mml:mi>z</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> when <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn258"><mml:mi>i</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn259"><mml:mrow><mml:mi>k</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:math></inline-formula> index the same particle</p></list-item>
<list-item><p><inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn260"><mml:mrow><mml:msub><mml:mi>z</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>: Trait value of particle <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn261"><mml:mi>j</mml:mi></mml:math></inline-formula> in collective <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn262"><mml:mi>k</mml:mi></mml:math></inline-formula>. Equal to <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn263"><mml:mrow><mml:msub><mml:mi>z</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> when <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn264"><mml:mi>i</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn265"><mml:mrow><mml:mi>k</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:math></inline-formula> index the same particle</p></list-item>
<list-item><p><inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn266"><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mi>k</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>: Population share of collective <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn267"><mml:mi>k</mml:mi></mml:math></inline-formula>. Defined as the sum of the population shares of its constituent particles</p></list-item>
<list-item><p><inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn268"><mml:mrow><mml:msub><mml:mi>Z</mml:mi><mml:mi>k</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>: The trait value associated with collective <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn269"><mml:mi>k</mml:mi></mml:math></inline-formula>. Defined as <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn270"><mml:mrow><mml:msub><mml:mo>&#x2211;</mml:mo><mml:mi>j</mml:mi></mml:msub><mml:msub><mml:mi>p</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:msub><mml:mi>z</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>. In categorical settings it is a vector describing the proportions of different particle types in collective <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn271"><mml:mi>k</mml:mi></mml:math></inline-formula></p></list-item>
<list-item><p><inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn272"><mml:mrow><mml:msubsup><mml:mi>P</mml:mi><mml:mi>k</mml:mi><mml:mo>&#x0027;</mml:mo></mml:msubsup></mml:mrow></mml:math></inline-formula>: Population share of descendant collective of collective <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn273"><mml:mi>k</mml:mi></mml:math></inline-formula>. Defined as the sum of the population shares of its constituent particles</p></list-item>
<list-item><p><inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn274"><mml:mrow><mml:msubsup><mml:mi>Z</mml:mi><mml:mi>k</mml:mi><mml:mo>&#x0027;</mml:mo></mml:msubsup></mml:mrow></mml:math></inline-formula>: Trait value associated with descendant collective of collective <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn275"><mml:mi>k</mml:mi></mml:math></inline-formula>. Defined as <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn276"><mml:mrow><mml:msub><mml:mo>&#x2211;</mml:mo><mml:mi>j</mml:mi></mml:msub><mml:msubsup><mml:mi>p</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mi>j</mml:mi></mml:mrow><mml:mo>&#x0027;</mml:mo></mml:msubsup><mml:msubsup><mml:mi>z</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mi>j</mml:mi></mml:mrow><mml:mo>&#x0027;</mml:mo></mml:msubsup></mml:mrow></mml:math></inline-formula>. In categorical settings it is a vector describing the proportions of different particle types in the descendant of collective <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn277"><mml:mi>k</mml:mi></mml:math></inline-formula></p></list-item>
</list>
</sec>
<ack id="ack1"><title>Acknowledgments</title>
<p>A great deal of discussion and input led to the writing of this paper, most prominently from Hedvig Skirg&#x00E5;rd, Angela Chira, Sandra Auderset, Cristian Ju&#x00E1;rez, Viktor Martinovi&#x0107;, and the participants of the workshop &#x201C;Predicting Evolution: The Price Equation and its Applications&#x201D; in Hanover in March 2023. The manuscript was much improved thanks to comments from Manolo Mart&#x00ED;nez, Sergio Balari, Aida Roige, Oriol Roca-Mart&#x00ED;n, Josh Myers, Karl Bergman, and especially Cameron Rouse Turner. Lastly, a great deal of good advice and healthy criticism was provided by three anonymous reviewers, and has been gratefully incorporated into the final paper.</p>
<p>This work was supported by Juan de la Cierva grant FJC2020-044240-I and Mar&#x00ED;a de Maeztu grant CEX2021-001169-M funded by MICIU/AEI/10.13039/501100011033.</p>
</ack>
<fn-group>
<fn id="fn1"><label>1</label><p>As is well known, the term labelled <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn170v"><mml:mrow><mml:msub><mml:mtext>&#x0394;</mml:mtext><mml:mi>s</mml:mi></mml:msub><mml:mover><mml:mi>z</mml:mi><mml:mo>&#x2212;</mml:mo></mml:mover></mml:mrow></mml:math></inline-formula> here turns out to include certain kinds of change due to random drift (<xref ref-type="bibr" rid="R26">Okasha 2006</xref>, &#x00A7;&#x2061;1.4.1). For reasons of space I do not discuss drift in this paper. The models can be treated as simplifications of real-life processes in which drift is stipulated not to occur.</p></fn>
<fn id="fn2"><label>2</label><p>Here and throughout, terms describing selection do not distinguish between selection-for and selection-of. In other words, the change in population share is associated with trait values but is not necessarily caused by them (<xref ref-type="bibr" rid="R32">Sober 1984</xref>, &#x00A7;&#x2061;3.2). It is well known that the Price equation cannot by itself determine whether trait values were causally responsible for selection; this will also be true of the categorical version presented below. For the purposes of this paper I sideline this issue.</p></fn>
<fn id="fn3"><label>3</label><p>What if the shopper chooses randomly, but happens to choose the best apple by accident? This would also lead to a positive value for the selection term, but we would not think of it as &#x2018;selection&#x2019;. This kind of case is akin to drift. Again, I stipulate that drift does not occur in these models. All changes that fall under the selection term are due to inherent properties of the entities in question (or at least relational properties between the entities and some aspect of the selection process, such as the shopper&#x2019;s visual field). How to model the difference between selection and drift is discussed by <xref ref-type="bibr" rid="R26">Okasha (2006</xref>, &#x00A7;&#x2061;1.4.1). How to determine whether a real-life process is a process of selection or drift &#x2013; and whether there is always a clean-cut distinction &#x2013; is a huge question not to be treated here.</p></fn>
<fn id="fn4"><label>4</label><p>One possible exception is <xref ref-type="bibr" rid="R26">Okasha (2006</xref>, 24), who mentions using the Price equation to model selection on blue-coloured entities in a population. However, he does this by converting the trait &#x2018;blueness&#x2019; into a numeric variable using a dummy-coding scheme (to be introduced later in this section), so perhaps this does not count. I am unaware of discussion of the Price equation and categorical traits that does not counsel translating those traits into numeric variables. Even <xref ref-type="bibr" rid="R30">Price (1995</xref>, 394), when talking about selection for &#x201C;attributes of mood and subject matter&#x201D; in pieces of music, suggests that they must be &#x201C;quantitatively evaluated&#x201D;.</p></fn>
<fn id="fn5"><label>5</label><p>An overlooked issue arises in the derivation of the covariance term, which requires substituting <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn276d"><mml:mrow><mml:msubsup><mml:mi>p</mml:mi><mml:mi>i</mml:mi><mml:mo>&#x0027;</mml:mo>
</mml:msubsup>
</mml:mrow>
</mml:math></inline-formula> for <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn276f"><mml:mrow><mml:msub><mml:mi>p</mml:mi><mml:mi>i</mml:mi>
</mml:msub><mml:msub><mml:mi>w</mml:mi><mml:mi>i</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math></inline-formula>. It is possible that <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn276g"><mml:mrow><mml:msub><mml:mi>p</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn276h"><mml:mrow><mml:msubsup><mml:mi>p</mml:mi><mml:mi>i</mml:mi><mml:mo>&#x2032;</mml:mo></mml:msubsup></mml:mrow></mml:math></inline-formula> are well-defined while <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn276j"><mml:mrow><mml:msub><mml:mi>w</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is not. For example, if <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn276k"><mml:mrow><mml:msub><mml:mi>p</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn276l"><mml:mrow><mml:msubsup><mml:mi>p</mml:mi><mml:mi>i</mml:mi><mml:mo>&#x0027;</mml:mo></mml:msubsup><mml:mo>&#x003E;</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:math></inline-formula>, the substitution is problematic. Intuitively this combination of values represents migration into the population, which I discuss further in <xref ref-type="sec" rid="S4_3">section 4.3</xref>. Halting the derivation before reaching the covariance term enables migration to be represented.</p></fn>
<fn id="fn6"><label>6</label><p>In this simplified example, directional and stabilising selection are mutually exclusive. Depending on the definition used, directional selection may be compatible with stabilising selection (<xref ref-type="bibr" rid="R31">Rice 2004</xref>, 176).</p></fn>
<fn id="fn7"><label>7</label><p>In the rest of the paper I will continue to speak of the Price equation describing the change in the average value of a trait. This tacitly includes all the moments of a distribution, because the moments are defined as averages of the constructed traits <inline-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="ineqn276m"><mml:mrow><mml:msup><mml:mrow><mml:mo stretchy='false'>(</mml:mo><mml:mi>z</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mover><mml:mi>z</mml:mi><mml:mo>&#x2212;</mml:mo></mml:mover><mml:mo stretchy='false'>)</mml:mo></mml:mrow><mml:mn>2</mml:mn></mml:msup><mml:mo>,</mml:mo><mml:msup><mml:mrow><mml:mo stretchy='false'>(</mml:mo><mml:mi>z</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mover><mml:mi>z</mml:mi><mml:mo>&#x2212;</mml:mo></mml:mover><mml:mo stretchy='false'>)</mml:mo></mml:mrow><mml:mn>3</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>, and so on (<xref ref-type="bibr" rid="R31">Rice 2004</xref>, 176&#x2013;8).</p></fn>
<fn id="fn8"><label>8</label><p>Precursors include <xref ref-type="bibr" rid="R20">Jablonka and Lamb (2020</xref>, 69), who call for an &#x201C;appropriately extended Price equation, reframed in informational terms,&#x201D; and <xref ref-type="bibr" rid="R2">Bourrat (2024</xref>, 14), who suggests extending the work of <xref ref-type="bibr" rid="R11">Frank (2012a)</xref> on the relationship between the Price equation and information theory. My primary motivation is also understanding the informational perspective on selection; the categorical form of the Price equation described herein is a preliminary step toward that goal.</p></fn>
<fn id="fn9"><label>9</label><p>Several commentators on this paper have independently suggested that what is most significant about the Price equation is its quantification of selection in terms of covariance. The decomposition into two terms is for them of less interest &#x2013; a stepping stone to the genuinely impressive result. I was somewhat surprised by this view as it so directly contrasts with my own: I believe the focus on covariance has (at least partially) obscured the fact that selection can operate on traits that are not numeric, while the distinction between change due to selection and change due to transmission remains a fundamentally interesting formal achievement. Because the manuscript was largely complete before the breadth and depth of the opposing view became apparent to me, I have not dedicated space here to defending my own perspective. Instead I will demonstrate how to derive a categorical version of what I still think is worth calling the (or a) &#x2018;Price equation&#x2019;, even though it does not contain a covariance term. I hope that the reader will recognise value in this representation, and that through its derivation and the subsequent discussion more light will be shed on the relative value of these two aspects of the Price equation.</p></fn>
<fn id="fn10"><label>10</label><p><xref ref-type="bibr" rid="R22">Kerr and Godfrey-Smith (2009)</xref> present a different generalization of the Price equation that also allows migration to be represented. See <xref ref-type="sec" rid="S5_4">section 5.4</xref> for details of their approach and a potential extension of the categorical framework in light of their results. It should also be noted that while the numeric Price equation can similarly represent migration (by halting the derivation before substituting the covariance term), <xref ref-type="bibr" rid="R30">Price (1995)</xref> did not mention migration in his wide-ranging discussion of the equation and its applications. I thus raise the issue here not to claim a novel result, but to emphasise that the framework&#x2019;s scope of application is broader than Price himself perhaps realised.</p></fn>
<fn id="fn11"><label>11</label><p><xref ref-type="bibr" rid="R13">Frank and Godsoe (2020</xref>, 2) suggest that the median can be written in this form, but they appear to be referring to either interval or ratio variables rather than ordinal.</p></fn>
<fn id="fn12"><label>12</label><p>The effects of drift can appear in either of the two terms of the Price equation, depending on the cause of drift in the case in question. Thanks to an anonymous reviewer for pointing this out.</p></fn>
</fn-group>
<ref-list>
<title>Literature cited</title>
<ref id="R1"><mixed-citation publication-type="book"><person-group person-group-type="author"><string-name><surname>Bourrat</surname>, <given-names>Pierrick</given-names></string-name></person-group>. <year>2021</year>. <source>Fa</source><source>cts, Conventions, and the Levels of Selection</source>. <series>Elements in the Philosophy of Biology</series>. <publisher-name>Cambridge University Press</publisher-name>. <ext-link xmlns:xlink="http://www.w3.org/1999/xlink" ext-link-type="doi" xlink:type="simple" xlink:href="https://doi.org/10.1017/9781108885812">https://doi.org/10.1017/9781108885812</ext-link>.</mixed-citation></ref>
<ref id="R2"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Bourrat</surname>, <given-names>Pierrick</given-names></string-name></person-group>. <year>2024</year>. &#x201C;<article-title>Adding Causality to the Information-Theoretic Perspective on Individuality</article-title>.&#x201D; <source>European Journal for Philosophy of Science</source> <volume>14</volume> (<issue>1</issue>): <fpage>9</fpage>. <ext-link xmlns:xlink="http://www.w3.org/1999/xlink" ext-link-type="doi" xlink:type="simple" xlink:href="https://doi.org/10.1007/s13194-023-00566-1">https://doi.org/10.1007/s13194-023-00566-1</ext-link>.</mixed-citation></ref>
<ref id="R3"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Brodie</surname>, <given-names>Edmund D.</given-names>, <suffix>III</suffix></string-name></person-group>. <year>1992</year>. &#x201C;<article-title>Correlational Selection for Color Pattern and Antipredator Behavior in the Garter Snake Thamnophis Ordinoides</article-title>.&#x201D; <source>Evolution</source> <volume>46</volume>: <fpage>1284</fpage>&#x2013;<lpage>98</lpage>. <ext-link xmlns:xlink="http://www.w3.org/1999/xlink" ext-link-type="doi" xlink:type="simple" xlink:href="https://doi.org/10.1111/j.1558-5646.1992.tb01124.x">https://doi.org/10.1111/j.1558-5646.1992.tb01124.x</ext-link>.</mixed-citation></ref>
<ref id="R4"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Campbell</surname>, <given-names>Donald T.</given-names></string-name></person-group> <year>1956</year>. &#x201C;<article-title>Perception as Substitute Trial and Error</article-title>.&#x201D; <source>Psychological Review</source> <volume>63</volume>: <fpage>330</fpage>&#x2013;<lpage>42</lpage>. <ext-link xmlns:xlink="http://www.w3.org/1999/xlink" ext-link-type="doi" xlink:type="simple" xlink:href="https://doi.org/10.1037/h0047553">https://doi.org/10.1037/h0047553</ext-link>.</mixed-citation></ref>
<ref id="R5"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Campbell</surname>, <given-names>John O.</given-names></string-name></person-group> <year>2016</year>. &#x201C;<article-title>Universal Darwinism As a Process of Bayesian Inference</article-title>.&#x201D; <source>Frontiers in Systems Neuroscience</source> <volume>10</volume>. <ext-link xmlns:xlink="http://www.w3.org/1999/xlink" ext-link-type="doi" xlink:type="simple" xlink:href="https://doi.org/10.3389/fnsys.2016.00049">https://doi.org/10.3389/fnsys.2016.00049</ext-link>.</mixed-citation></ref>
<ref id="R6"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Cs&#x00E1;nyi</surname>, <given-names>V.</given-names></string-name></person-group> <year>1980</year>. &#x201C;<article-title>General Theory of Evolution</article-title>.&#x201D; <source>Acta Biologica Academiae Scientiarum Hungaricae</source> <volume>31</volume>: <fpage>409</fpage>&#x2013;<lpage>34</lpage>.</mixed-citation></ref>
<ref id="R7"><mixed-citation publication-type="book"><person-group person-group-type="author"><string-name><surname>Dennett</surname>, <given-names>Daniel Clement</given-names></string-name></person-group>. <year>1995</year>. <source>Darwin&#x2019;s Dangerous Idea: Evolution and the Meanings of Life</source>. <publisher-name>Penguin UK</publisher-name>.</mixed-citation></ref>
<ref id="R8"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>El Mouden</surname>, <given-names>C.</given-names></string-name>, <string-name><given-names>J.-B.</given-names> <surname>Andr&#x00E9;</surname></string-name>, <string-name><given-names>Olivier</given-names> <surname>Morin</surname></string-name>, and <string-name><given-names>D.</given-names> <surname>Nettle</surname></string-name></person-group>. <year>2014</year>. &#x201C;<article-title>Cultural Transmission and the Evolution of Human Behaviour: A General Approach Based on the Price Equation</article-title>.&#x201D; <source>Journal of Evolutionary Biology</source> <volume>27</volume> (<issue>2</issue>): <fpage>231</fpage>&#x2013;<lpage>41</lpage>. <ext-link xmlns:xlink="http://www.w3.org/1999/xlink" ext-link-type="doi" xlink:type="simple" xlink:href="https://doi.org/10.1111/jeb.12296">https://doi.org/10.1111/jeb.12296</ext-link>.</mixed-citation></ref>
<ref id="R9"><mixed-citation publication-type="book"><person-group person-group-type="author"><string-name><surname>Fisher</surname>, <given-names>Sir Ronald Aylmer</given-names></string-name></person-group>. <year>1930</year>. <source>The Genetical Theory of Natural Selection</source>. <publisher-name>Clarendon Press</publisher-name>.</mixed-citation></ref>
<ref id="R10"><mixed-citation publication-type="book"><person-group person-group-type="author"><string-name><surname>Frank</surname>, <given-names>Steven A.</given-names></string-name></person-group> <year>1998</year>. <source>Foundations of Social Evolution</source>. <publisher-name>Princeton University Press</publisher-name>.</mixed-citation></ref>
<ref id="R11"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Frank</surname>, <given-names>Steven A.</given-names></string-name></person-group> <year>2012</year>a. &#x201C;<article-title>Natural Selection. III. Selection versus Transmission and the Levels of Selection</article-title>.&#x201D; <source>Journal of Evolutionary Biology</source> <volume>25</volume> (<issue>2</issue>): <fpage>227</fpage>&#x2013;<lpage>43</lpage>. <ext-link xmlns:xlink="http://www.w3.org/1999/xlink" ext-link-type="doi" xlink:type="simple" xlink:href="https://doi.org/10.1111/j.1420-9101.2011.02431.x">https://doi.org/10.1111/j.1420-9101.2011.02431.x</ext-link>.</mixed-citation></ref>
<ref id="R12"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Frank</surname>, <given-names>Steven A.</given-names></string-name></person-group> <year>2012</year>b. &#x201C;<article-title>Natural Selection. IV. The Price Equation</article-title>.&#x201D; <source>Journal of Evolutionary Biology</source> <volume>25</volume>: <fpage>1002</fpage>&#x2013;<lpage>19</lpage>. <ext-link xmlns:xlink="http://www.w3.org/1999/xlink" ext-link-type="doi" xlink:type="simple" xlink:href="https://doi.org/10.1111/j.1420-9101.2012.02498.x">https://doi.org/10.1111/j.1420-9101.2012.02498.x</ext-link>.</mixed-citation></ref>
<ref id="R13"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Frank</surname>, <given-names>Steven A.</given-names></string-name>, and <string-name><given-names>William</given-names> <surname>Godsoe</surname></string-name></person-group>. <year>2020</year>. &#x201C;<article-title>The Generalized Price Equation: Forces That Change Population Statistics</article-title>.&#x201D; <source>Frontiers in Ecology and Evolution</source> <volume>8</volume>. <ext-link xmlns:xlink="http://www.w3.org/1999/xlink" ext-link-type="doi" xlink:type="simple" xlink:href="https://doi.org/10.3389/fevo.2020.00240">https://doi.org/10.3389/fevo.2020.00240</ext-link>.</mixed-citation></ref>
<ref id="R14"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Gardner</surname>, <given-names>Andy</given-names></string-name></person-group>. <year>2015</year>. &#x201C;<article-title>The Genetical Theory of Multilevel Selection</article-title>.&#x201D; <source>Journal of Evolutionary Biology</source> <volume>28</volume>: <fpage>305</fpage>&#x2013;<lpage>19</lpage>. <ext-link xmlns:xlink="http://www.w3.org/1999/xlink" ext-link-type="doi" xlink:type="simple" xlink:href="https://doi.org/10.1111/jeb.12566">https://doi.org/10.1111/jeb.12566</ext-link>.</mixed-citation></ref>
<ref id="R15"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Gardner</surname>, <given-names>Andy</given-names></string-name></person-group>. <year>2020</year>. &#x201C;<article-title>Price&#x2019;s Equation Made Clear</article-title>.&#x201D; <source>Philosophical Transactions of the Royal Society B: Biological Sciences</source> <volume>375</volume> (<issue>1797</issue>): <fpage>20190361</fpage>. <ext-link xmlns:xlink="http://www.w3.org/1999/xlink" ext-link-type="doi" xlink:type="simple" xlink:href="https://doi.org/10.1098/rstb.2019.0361">https://doi.org/10.1098/rstb.2019.0361</ext-link>.</mixed-citation></ref>
<ref id="R16"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Gardner</surname>, <given-names>Andy</given-names></string-name>, <string-name><given-names>Stuart A.</given-names> <surname>West</surname></string-name>, and <string-name><given-names>G.</given-names> <surname>Wild</surname></string-name></person-group>. <year>2011</year>. &#x201C;<article-title>The Genetical Theory of Kin Selection</article-title>.&#x201D; <source>Journal of Evolutionary Biology</source> <volume>24</volume>: <fpage>1020</fpage>&#x2013;<lpage>43</lpage>. <ext-link xmlns:xlink="http://www.w3.org/1999/xlink" ext-link-type="doi" xlink:type="simple" xlink:href="https://doi.org/10.1111/j.1420-9101.2011.02236.x">https://doi.org/10.1111/j.1420-9101.2011.02236.x</ext-link>.</mixed-citation></ref>
<ref id="R17"><mixed-citation publication-type="book"><person-group person-group-type="author"><string-name><surname>Haldane</surname>, <given-names>John Burdon Sanderson</given-names></string-name></person-group>. <year>1932</year>. <source>The Causes of Evolution</source>. <publisher-name>Harper &amp; Brothers</publisher-name>.</mixed-citation></ref>
<ref id="R18"><mixed-citation publication-type="book"><person-group person-group-type="author"><string-name><surname>Hodgson</surname>, <given-names>Geoffrey M.</given-names></string-name></person-group> <year>2004</year>. <source>The Evolution of Institutional Economics: Agency, Structure, and Darwinism in American Institutionalism</source>. <publisher-name>Psychology Press</publisher-name>.</mixed-citation></ref>
<ref id="R19"><mixed-citation publication-type="book"><person-group person-group-type="author"><string-name><surname>Hull</surname>, <given-names>David L.</given-names></string-name></person-group> <year>2001</year>. <source>Science and Selection: Essays on Biological Evolution and the Philosophy of Science</source>. <publisher-name>Cambridge University Press</publisher-name>.</mixed-citation></ref>
<ref id="R20"><mixed-citation publication-type="book"><person-group person-group-type="author"><string-name><surname>Jablonka</surname>, <given-names>Eva</given-names></string-name>, and <string-name><given-names>Marion J.</given-names> <surname>Lamb</surname></string-name></person-group>. <year>2020</year>. <source>Inheritance Systems and the Extended Evolutionary Synthesis</source>. <publisher-name>Cambridge University Press</publisher-name>. <ext-link xmlns:xlink="http://www.w3.org/1999/xlink" ext-link-type="doi" xlink:type="simple" xlink:href="https://doi.org/10.1017/9781108685412">https://doi.org/10.1017/9781108685412</ext-link>.</mixed-citation></ref>
<ref id="R21"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>J&#x00E4;ger</surname>, <given-names>Gerhard</given-names></string-name></person-group>. <year>2010</year>. &#x201C;<article-title>Applications of the Price Equation to Language Evolution</article-title>.&#x201D; In <source>The Evolution of Language,</source> <fpage>192</fpage>&#x2013;<lpage>97</lpage>. Proceedings of <conf-name>the 8th International Conference (EVOLANG8)</conf-name>. <conf-loc>Utrecht, Netherlands: WORLD SCIENTIFIC</conf-loc>. <ext-link xmlns:xlink="http://www.w3.org/1999/xlink" ext-link-type="doi" xlink:type="simple" xlink:href="https://doi.org/10.1142/97898142952220025">https://doi.org/10.1142/97898142952220025</ext-link>.</mixed-citation></ref>
<ref id="R22"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Kerr</surname>, <given-names>Benjamin</given-names></string-name>, and <string-name><given-names>Peter</given-names> <surname>Godfrey-Smith</surname></string-name></person-group>. <year>2009</year>. &#x201C;<article-title>Generalization of the Price Equation for Evolutionary Change</article-title>.&#x201D; <source>Evolution</source> <volume>63</volume> (<issue>2</issue>): <fpage>531</fpage>&#x2013;<lpage>36</lpage>. <ext-link xmlns:xlink="http://www.w3.org/1999/xlink" ext-link-type="doi" xlink:type="simple" xlink:href="https://doi.org/10.1111/j.1558-5646.2008.00570.x">https://doi.org/10.1111/j.1558-5646.2008.00570.x</ext-link>.</mixed-citation></ref>
<ref id="R23"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Knudsen</surname>, <given-names>Thorbj&#x00F8;rn</given-names></string-name></person-group>. <year>2004</year>. &#x201C;<article-title>General Selection Theory and Economic Evolution: The Price Equation and the Replicator/Interactor Distinction</article-title>.&#x201D; <source>Journal of Economic Methodology</source> <volume>11</volume> (<issue>2</issue>): <fpage>147</fpage>&#x2013;<lpage>73</lpage>. <ext-link xmlns:xlink="http://www.w3.org/1999/xlink" ext-link-type="doi" xlink:type="simple" xlink:href="https://doi.org/10.1080/13501780410001694109">https://doi.org/10.1080/13501780410001694109</ext-link>.</mixed-citation></ref>
<ref id="R24"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Lande</surname>, <given-names>Russell</given-names></string-name>, and <string-name><given-names>Stevan J.</given-names> <surname>Arnold</surname></string-name></person-group>. <year>1983</year>. &#x201C;<article-title>The Measurement of Selection on Correlated Characters</article-title>.&#x201D; <source>Evolution</source> <volume>37</volume>: <fpage>1210</fpage>&#x2013;<lpage>26</lpage>. <ext-link xmlns:xlink="http://www.w3.org/1999/xlink" ext-link-type="doi" xlink:type="simple" xlink:href="https://doi.org/10.2307/2408842">https://doi.org/10.2307/2408842</ext-link>.</mixed-citation></ref>
<ref id="R25"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Luque</surname>, <given-names>Victor J.</given-names></string-name></person-group> <year>2017</year>. &#x201C;<article-title>One Equation to Rule Them All: A Philosophical Analysis of the Price Equation</article-title>.&#x201D; <source>Biology &amp; Philosophy</source> <volume>32</volume> (<issue>1</issue>): <fpage>97</fpage>&#x2013;<lpage>125</lpage>. <ext-link xmlns:xlink="http://www.w3.org/1999/xlink" ext-link-type="doi" xlink:type="simple" xlink:href="https://doi.org/10.1007/s10539-016-9538-y">https://doi.org/10.1007/s10539-016-9538-y</ext-link>.</mixed-citation></ref>
<ref id="R26"><mixed-citation publication-type="book"><person-group person-group-type="author"><string-name><surname>Okasha</surname>, <given-names>Samir</given-names></string-name></person-group>. <year>2006</year>. <source>Evolution and the Levels of Selection</source>. <publisher-loc>Oxford</publisher-loc>: <publisher-name>Oxford University Press</publisher-name>.</mixed-citation></ref>
<ref id="R27"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Okasha</surname>, <given-names>Samir</given-names></string-name>, and <string-name><given-names>Jun</given-names> <surname>Otsuka</surname></string-name></person-group>. <year>2020</year>. &#x201C;<article-title>The Price Equation and the Causal Analysis of Evolutionary Change</article-title>.&#x201D; <source>Philosophical Transactions of the Royal Society B: Biological Sciences</source> <volume>375</volume> (<issue>1797</issue>): <fpage>20190365</fpage>. <ext-link xmlns:xlink="http://www.w3.org/1999/xlink" ext-link-type="doi" xlink:type="simple" xlink:href="https://doi.org/10.1098/rstb.2019.0365">https://doi.org/10.1098/rstb.2019.0365</ext-link>.</mixed-citation></ref>
<ref id="R28"><mixed-citation publication-type="book"><person-group person-group-type="author"><string-name><surname>Popper</surname>, <given-names>Karl Raimund</given-names></string-name></person-group>. <year>1972</year>. <source>Objective Knowledge: An Evolutionary Approach</source>. <publisher-loc>Oxford</publisher-loc>: <publisher-name>Clarendon Press</publisher-name>.</mixed-citation></ref>
<ref id="R29"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Price</surname>, <given-names>George R.</given-names></string-name></person-group> <year>1970</year>. &#x201C;<article-title>Selection and Covariance</article-title>.&#x201D; <source>Nature</source> <volume>227</volume> (<issue>5257</issue>): <fpage>520</fpage>&#x2013;<lpage>21</lpage>. <ext-link xmlns:xlink="http://www.w3.org/1999/xlink" ext-link-type="doi" xlink:type="simple" xlink:href="https://doi.org/10.1038/227520a0">https://doi.org/10.1038/227520a0</ext-link>.</mixed-citation></ref>
<ref id="R30"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Price</surname>, <given-names>George R.</given-names></string-name></person-group> <year>1995</year>. &#x201C;<article-title>The Nature of Selection</article-title>.&#x201D; <source>Journal of Theoretical Biology</source> <volume>175</volume> (<issue>3</issue>): <fpage>389</fpage>&#x2013;<lpage>96</lpage>. <ext-link xmlns:xlink="http://www.w3.org/1999/xlink" ext-link-type="doi" xlink:type="simple" xlink:href="https://doi.org/10.1006/jtbi.1995.0149">https://doi.org/10.1006/jtbi.1995.0149</ext-link>.</mixed-citation></ref>
<ref id="R31"><mixed-citation publication-type="book"><person-group person-group-type="author"><string-name><surname>Rice</surname>, <given-names>Sean H.</given-names></string-name></person-group> <year>2004</year>. <source>Evolutionary Theory: Mathematical and Conceptual Foundations</source>. <publisher-name>Sinauer</publisher-name>.</mixed-citation></ref>
<ref id="R32"><mixed-citation publication-type="book"><person-group person-group-type="author"><string-name><surname>Sober</surname>, <given-names>Elliott</given-names></string-name></person-group>. <year>1984</year>. <source>The Nature of Selection</source>. <publisher-name>MIT Press</publisher-name>.</mixed-citation></ref>
<ref id="R33"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Strand</surname>, <given-names>Paul S.</given-names></string-name>, <string-name><given-names>Mike J. F.</given-names> <surname>Robinson</surname></string-name>, <string-name><given-names>Kevin R.</given-names> <surname>Fiedler</surname></string-name>, <string-name><given-names>Ryan</given-names> <surname>Learn</surname></string-name>, and <string-name><given-names>Patrick</given-names> <surname>Anselme</surname></string-name></person-group>. <year>2022</year>. &#x201C;<article-title>Quantifying the Instrumental and Noninstrumental Underpinnings of Pavlovian Responding with the Price Equation</article-title>.&#x201D; <source>Psychonomic Bulletin &amp; Review</source> <volume>29</volume> (<issue>4</issue>): <fpage>1295</fpage>&#x2013;<lpage>306</lpage>. <ext-link xmlns:xlink="http://www.w3.org/1999/xlink" ext-link-type="doi" xlink:type="simple" xlink:href="https://doi.org/10.3758/s13423-021-02047-z">https://doi.org/10.3758/s13423-021-02047-z</ext-link>.</mixed-citation></ref>
<ref id="R34"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Van Veelen</surname>, <given-names>Matthijs</given-names></string-name></person-group>. <year>2020</year>. &#x201C;<article-title>The Problem with the Price Equation</article-title>.&#x201D; <source>Philosophical Transactions of the Royal Society B: Biological Sciences</source> <volume>375</volume> (<issue>1797</issue>): <fpage>20190355</fpage>. <ext-link xmlns:xlink="http://www.w3.org/1999/xlink" ext-link-type="doi" xlink:type="simple" xlink:href="https://doi.org/10.1098/rstb.2019.0355">https://doi.org/10.1098/rstb.2019.0355</ext-link>.</mixed-citation></ref>
<ref id="R35"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Wade</surname>, <given-names>Michael J.</given-names></string-name></person-group> <year>1985</year>. &#x201C;<article-title>Soft Selection, Hard Selection, Kin Selection, and Group Selection</article-title>.&#x201D; <source>The American Naturalist</source>. <ext-link xmlns:xlink="http://www.w3.org/1999/xlink" ext-link-type="doi" xlink:type="simple" xlink:href="https://doi.org/10.1086/284328">https://doi.org/10.1086/284328</ext-link>.</mixed-citation></ref></ref-list>
</back>
</article>
