<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.1 20151215//EN" "http://jats.nlm.nih.gov/archiving/1.1/JATS-archivearticle1.dtd">
<?xml-stylesheet href="../../_sys/simpleJATS.xsl" type="text/xsl"?>
<article article-type="research-article" dtd-version="1.1" xml:lang="en" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">
<front>
<journal-meta>
<journal-id journal-id-type="pmc">vypr</journal-id>
<journal-id journal-id-type="nlm-ta">Vienna Yearbook of Population Research</journal-id>
<journal-id journal-id-type="publisher-id">VYPR</journal-id>
<journal-title-group>
<journal-title>Vienna Yearbook of Population Research 2025</journal-title>
<journal-subtitle>Population inequality matters</journal-subtitle>
</journal-title-group>
<issn pub-type="epub">1728-5305</issn>
<publisher>
<publisher-name>Austrian Academy of Sciences</publisher-name>
<publisher-loc>Vienna</publisher-loc>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="publisher-id">p-j2pg-fm66</article-id>
<article-id pub-id-type="doi">10.1553/p-j2pg-fm66</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Research Article</subject>
</subj-group>
</article-categories>
<title-group>
<article-title>Inequality, heterogeneity, and chance: Multiple factors and their interactions</article-title>
</title-group>
<contrib-group>
<contrib contrib-type="author" corresp="yes">
<contrib-id contrib-id-type="orcid">https://orcid.org/0000-0003-4394-6894</contrib-id>
<name>
<surname>Caswell</surname>
<given-names>Hal</given-names>
</name>
<xref ref-type="aff" rid="aff1"/>
<xref ref-type="aff" rid="aff2"/>
</contrib>
<contrib contrib-type="author">
<contrib-id contrib-id-type="orcid">https://orcid.org/0000-0002-2034-8763</contrib-id>
<name>
<surname>van Daalen</surname>
<given-names>Silke F.</given-names>
</name>
<xref ref-type="aff" rid="aff2"/>
<xref ref-type="aff" rid="aff3"/>
</contrib>
<aff id="aff1"><label>1</label><institution>Institute for Biodiversity and Ecosystem Dynamics, University of Amsterdam, Amsterdam</institution>, <country>The Netherlands</country></aff>
<aff id="aff2"><label>2</label><institution>Biology Department, Woods Hole Oceanographic Institution, Woods Hole MA</institution>, <country>USA</country></aff>
<aff id="aff3"><label>3</label><institution>Wageningen Marine Research, IJmuiden</institution>, <country>The Netherlands</country></aff>
</contrib-group>
<author-notes>
<corresp id="cor1">Hal Caswell, <email>hcaswell@whoi.edu</email>
</corresp>
</author-notes>
<pub-date pub-type="epub" date-type="pub" iso-8601-date="2025-03-10">
<day>10</day>
<month>03</month>
<year>2025</year>
</pub-date>
<volume>23</volume>
<issue>1</issue>
<fpage>1</fpage>
<lpage>27</lpage>
<permissions>
<copyright-statement>&#x00A9; The Author(s) 2025</copyright-statement>
<copyright-year>2025</copyright-year>
<copyright-holder>The Author(s)</copyright-holder>
<license license-type="open-access" xlink:href="http://creativecommons.org/licenses/by/4.0/">
<license-p><bold>Open Access</bold> This article is published under the terms of the Creative Commons Attribution 4.0 International License (<ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://creativecommons.org/licenses/by/4.0/">https://creativecommons.org/licenses/by/4.0/</ext-link>) that allows the sharing, use and adaptation in any medium, provided that the user gives appropriate credit, provides a link to the license, and indicates if changes were made.</license-p>
</license>
</permissions>
<self-uri content-type="pdf" xlink:href="Caswell.pdf"/>
<abstract>
<title>ABSTRACT</title>
<p>A heterogeneous population is a mixture of groups differing in vital rates. In such a population, some of the variance in demographic outcomes (e.g.,&#x00A0;longevity, lifetime reproduction) is due to heterogeneity and some is the result of stochastic demographic processes. Many studies have partitioned variance into its between-group and within-group components, but have focused on single factors. Especially for longevity, variance due to stochasticity is far greater than variance due to heterogeneity. Here we extend such analyses to multiple-factor studies, making it possible to calculate the contributions to variance of each factor and each of the interactions among factors. We treat the population as a mixture and use the marginal mixing distributions to compute variance components. Examples are presented: longevity as a function of sex, race and U.S. state of residence; and lifetime reproduction among a set of developed countries and as a result of resource availability and pesticide exposure.</p>
</abstract>
<kwd-group>
<kwd>Heterogeneity</kwd>
<kwd>Stochasticity</kwd>
<kwd>Variance partitioning</kwd>
<kwd>Longevity</kwd>
<kwd>Lifetime reproductive output</kwd>
<kwd>Markov chains with rewards</kwd>
</kwd-group>
<custom-meta-group>
<custom-meta>
<meta-name>Online</meta-name>
<meta-value>Open Access</meta-value>
</custom-meta>
</custom-meta-group>
</article-meta>
</front>
<body>
<sec id="sec1">
<title>Introduction</title>
<p>A heterogeneous population is a mixture made up of groups of individuals that differ in the demographic rates to which they are subject (<xref ref-type="fig" rid="fig1">Figure&#x00A0;1</xref>). Each group is characterised by a mean and a variance of some demographic outcome. That heterogeneity among individuals contributes to the variance, also among individuals, at the population level. Longevity is one example of a demographic outcome. Variance in longevity is of interest to demographers as a form of inequality (e.g.,&#x00A0;<xref ref-type="bibr" rid="r57">Vaupel, 1988</xref>; <xref ref-type="bibr" rid="r17">Edwards and Tuljapurkar, 2005</xref>; <xref ref-type="bibr" rid="r59">Vaupel et&#x00A0;al., 2011</xref>; <xref ref-type="bibr" rid="r55">van Raalte et&#x00A0;al., 2018</xref>; <xref ref-type="bibr" rid="r35">Permanyer and Scholl, 2019</xref>; <xref ref-type="bibr" rid="r34">Permanyer et&#x00A0;al., 2023</xref>). Longevity can be generalised to include healthy longevity (with health defined in many ways) or occupancy of medical, infection, or other kinds of states (<xref ref-type="bibr" rid="r14">Caswell and Zarulli, 2018</xref>; <xref ref-type="bibr" rid="r13">Caswell and van Daalen, 2021</xref>). Variance in longevity has implications for health systems, pensions, estate planning, etc.</p>
<fig id="f1" position="float">
<label>Figure 1</label>
<caption><title>The structure of a heterogeneous population as a mixture of groups, each present in some proportion. Each group has a group-specific mean and variance for some demographic outcome, denoted here by <inline-formula><mml:math display="inline"><mml:mrow><mml:mi>&#x03BE;</mml:mi></mml:mrow></mml:math></inline-formula>.</title></caption>
<graphic xlink:href="f1.png"/>
</fig>
<p>Lifetime reproduction, the number of offspring produced by a female over her lifetime, is an outcome of interest to evolutionary and anthropological demographers as a measure of the opportunity for selection (<xref ref-type="bibr" rid="r16">Crow, 1958</xref>; <xref ref-type="bibr" rid="r52">van Daalen and Caswell, 2024</xref>). It is often reported for hunter-gatherer populations (<xref ref-type="bibr" rid="r23">Hill and Hurtado, 1996</xref>; <xref ref-type="bibr" rid="r4">Blurton-Jones, 2016</xref>; <xref ref-type="bibr" rid="r6">Brown et&#x00A0;al., 2009</xref>) or historical populations (<xref ref-type="bibr" rid="r31">Moorad et&#x00A0;al., 2011</xref>; <xref ref-type="bibr" rid="r15">Courtiol et&#x00A0;al., 2012</xref>).</p>
<p>It is convenient to think of a finite number of groups, but the concepts and theory are essentially the same for continuous heterogeneity. A familiar example is the gamma-Gompertz distribution of mortality, which can be discretised to allow variances to be calculated (<xref ref-type="bibr" rid="r11">Caswell, 2014</xref>).</p>
<sec id="sec1.1">
<title>Variance and its sources</title>
<p>Because demographic rates contain probabilities, demographic outcomes are random variables. Because a heterogeneous population is a mixture, the distribution of the outcome is a mixture of the distributions within each group. This mixture is characterised by the moments of each group and the distribution of individuals among the groups. The latter distribution is called the <italic>mixing distribution</italic>.</p>
<p>The variance in outcome in a heterogeneous population reflects both stochasticity within each group and heterogeneity among groups (remember that the groups are homogeneous, and thus differences in outcome within a group are due to are strictly due to chance). In any outcome calculated from a life table, a Markov chain, or some equivalent machinery, individual stochasticity is the only source of within-group variance, because the calculation explicitly applies the same probabilities to every individual at every age. See Caswell (<xref ref-type="bibr" rid="r12">2023</xref>) and references therein for a discussion of the roles of heterogeneity and stochasticity and the issues of interpretation that arise from them.</p>
<p>Variances in outcomes are often called &#x201C;inequalities,&#x201D; although that identification is more subtle than is usually appreciated (<xref ref-type="bibr" rid="r12">Caswell, 2023</xref>). Not all differences are inequalities.<xref ref-type="fn" rid="fn1"><sup>1</sup></xref> In economic terms (e.g.,&#x00A0;<xref ref-type="bibr" rid="r3">Atkinson, 2015</xref>), variance due to heterogeneity corresponds to inequality of opportunity. Individuals in, e.g.,&#x00A0;different income groups have different opportunities to live a long life. Variance due to stochasticity corresponds to inequality of outcome. Individuals in the same income group may differ in longevity because of the random outcomes of mortality risks, even though they all experience the same group-specific risks.</p>
<p>The relative magnitude of the contributions of stochasticity and heterogeneity depend on many factors, including the type and magnitude of the heterogeneity. Thus it is essential to partition the variance into within-group and between-group components.</p>
<p>Our intent is not to review the concepts of heterogeneity, stochasticity, and inequality, as a previous paper has explored these issues in some detail (<xref ref-type="bibr" rid="r12">Caswell, 2023</xref>). That paper surveyed the contributions of heterogeneity (among groups) and individual stochasticity (with groups) to: (1) variance in human longevity among latent frailty classes, income groups, education groups, and neighbourhood deprivation groups; (2) variance in adult longevity among insects differing in early life nutrition; (3) variance in longevity and lifetime reproduction in a wild seabird population; (4) variance in longevity and lifetime reproduction in laboratory populations of a rotifer, with groups defined by maternal age; (5) variance in healthy longevity with groups defined by European countries; and (6) variance in longevity and lifetime reproduction with groups defined by species and/or populations of plants and animals.</p>
<p>Instead, our goal is to provide the calculations necessary to extend variance partitioning from single factors to multiple interacting factors. Studies of the variance in longevity and in lifetime reproduction typically define heterogeneity in terms of a single factor. When studies examine multiple factors, they are usually treated one at a time. However, individuals are heterogeneous in multiple factors operating simultaneously, and the resulting variance is affected by all of those factors and their interactions. The inability to evaluate the contributions of interactions is a major limitation to the study of heterogeneity, and our goal here is to show how to analyse multi-factor studies, in which individuals are heterogeneous in two or more factors. We will present some two-factor and three-factor examples of the calculation. There is no limitation to the number of factors.</p>
</sec>
<sec id="sec1.2">
<title>Variance partitioning</title>
<p>The variance in outcome among a heterogeneous set of individuals can be partitioned into between-group and within-group components using classical results from conditional probability. Consider a heterogeneous population that is a mixture of groups, the relative abundances of which are given by a mixing distribution <inline-formula><mml:math display="inline"><mml:mrow><mml:mi mathvariant="bold-italic">&#x03C0;</mml:mi></mml:mrow></mml:math></inline-formula>. Let <inline-formula><mml:math display="inline"><mml:mrow><mml:mi>&#x03BE;</mml:mi></mml:mrow></mml:math></inline-formula> denote some outcome. The variance in <inline-formula><mml:math display="inline"><mml:mrow><mml:mi>&#x03BE;</mml:mi></mml:mrow></mml:math></inline-formula> is 
<disp-formula id="d1"><mml:math display="block"><mml:mrow><mml:mi>V</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>&#x03BE;</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>=</mml:mo><mml:msub><mml:mrow><mml:mi>E</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x03C0;</mml:mi></mml:mrow></mml:msub><mml:mo minsize="3ex" stretchy="true">[</mml:mo><mml:mi>V</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>&#x03BE;</mml:mi><mml:mo stretchy="false">|</mml:mo><mml:mi>group</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo minsize="3ex" stretchy="true">]</mml:mo><mml:mo>+</mml:mo><mml:msub><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x03C0;</mml:mi></mml:mrow></mml:msub><mml:mo minsize="3ex" stretchy="true">[</mml:mo><mml:mi>E</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>&#x03BE;</mml:mi><mml:mo stretchy="false">|</mml:mo><mml:mi>group</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo minsize="3ex" stretchy="true">]</mml:mo></mml:mrow></mml:math><label>(1)</label></disp-formula>
<disp-formula id="d2"><mml:math display="block"><mml:mrow><mml:mo>=</mml:mo><mml:msub><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi>within</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>&#x03BE;</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>+</mml:mo><mml:msub><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi>between</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>&#x03BE;</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>.</mml:mo></mml:mrow></mml:math><label>(2)</label></disp-formula>The within-group variance <inline-formula><mml:math display="inline"><mml:mrow><mml:msub><mml:mi>V</mml:mi><mml:mrow><mml:mi>within</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> is the expectation of the variance within each group, weighted by the distribution <inline-formula><mml:math display="inline"><mml:mi mathvariant="bold-italic">&#x03C0;</mml:mi></mml:math></inline-formula>. The between-group variance <inline-formula><mml:math display="inline"><mml:mrow><mml:msub><mml:mi>V</mml:mi><mml:mrow><mml:mi>between</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> is the variance among the group means, again weighted by the distribution <inline-formula><mml:math display="inline"><mml:mrow><mml:mi mathvariant="bold-italic">&#x03C0;</mml:mi></mml:mrow></mml:math></inline-formula>. This variance decomposition is a standard result in conditional probability (e.g.,&#x00A0;<xref ref-type="bibr" rid="r37">R&#x00E9;nyi, 1970</xref>; <xref ref-type="bibr" rid="r22">Fr&#x00FC;hwirth-Schnatter, 2006</xref>) and in analysis of variance (ANOVA) (e.g.,&#x00A0;<xref ref-type="bibr" rid="r26">Kempthorne, 1957</xref>). Indeed, the decomposition was introduced, along with the term &#x201C;variance&#x201D; itself, by Fisher (<xref ref-type="bibr" rid="r20">1918</xref>). This analysis has now been used repeatedly to examine demographic inequality among groups defined by a single factor (a &#x201C;one-way&#x201D; design).</p>
</sec>
<sec id="sec1.3">
<title>Demographic outcomes: Longevity and lifetime reproductive output</title>
<p>We will show results in this paper for variance decomposition for longevity and lifetime reproductive output (LRO). The means and variances (and other moments) of longevity are readily calculated by expressing the demographic rates in terms of absorbing Markov chains (pioneered by <xref ref-type="bibr" rid="r19">Feichtinger, 1971</xref>; see Caswell, <xref ref-type="bibr" rid="r7">2001</xref>, <xref ref-type="bibr" rid="r8">2006</xref>, <xref ref-type="bibr" rid="r9">2009</xref>). It is now known that, as a general rule, even extreme differences among groups, including those created by important socioeconomic variables, account for only a small fraction of the variance in longevity (see the overview in <xref ref-type="bibr" rid="r12">Caswell, 2023</xref>).</p>
<p>The means and variances (and other moments) of LRO can be calculated using Markov chains with rewards (<xref ref-type="bibr" rid="r10">Caswell, 2011</xref>; <xref ref-type="bibr" rid="r50">van Daalen and Caswell, 2017</xref>). Stochasticity in LRO reflects both survival (which determines how long a woman has to reproduce) and fertility (which determines whether or not she reproduces at each age). These two components can be separated, and in developed, low-mortality countries the variance in LRO is increasingly accounted for by stochasticity in fertility (<xref ref-type="bibr" rid="r49">van Daalen and Caswell, 2015</xref>). However, the contributions of heterogeneity and stochasticity to the variance in LRO are not yet well understood. In one case, in which the groups are defined by maternal age in a laboratory population, the variance components depend strongly on the environmental conditions (<xref ref-type="bibr" rid="r53">van Daalen et&#x00A0;al., 2022</xref>). We will provide some examples below, in Section <xref ref-type="sec" rid="sec5.2">Lifetime reproductive output</xref>.</p>
</sec>
</sec>
<sec id="sec2">
<title>Variance components</title>
<sec id="sec2.1">
<title>Notation</title>
<p>The following notation is used throughout this paper. Matrices are denoted by upper-case bold characters (e.g.,&#x00A0;<inline-formula><mml:math display="inline"><mml:mi mathvariant="bold">U</mml:mi></mml:math></inline-formula>) and vectors are denoted by lower-case bold characters (e.g.,&#x00A0;<inline-formula><mml:math display="inline"><mml:mi mathvariant="bold">a</mml:mi></mml:math></inline-formula>). Vectors are column vectors by default; <inline-formula><mml:math display="inline"><mml:mrow><mml:msup><mml:mrow><mml:mi mathvariant="bold">x</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="normal">T</mml:mi></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> is the transpose of <inline-formula><mml:math display="inline"><mml:mi mathvariant="bold">x</mml:mi></mml:math></inline-formula>. The vector <inline-formula><mml:math display="inline"><mml:mn mathvariant="bold">1</mml:mn></mml:math></inline-formula> is a vector of ones, and the matrix <inline-formula><mml:math display="inline"><mml:mi mathvariant="bold">I</mml:mi></mml:math></inline-formula> is the identity matrix. When necessary, subscripts are used to denote the size of a vector or matrix; e.g.,&#x00A0;<inline-formula><mml:math display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold">I</mml:mi><mml:mi>&#x03C9;</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is an identity matrix of size <inline-formula><mml:math display="inline"><mml:mrow><mml:mi>&#x03C9;</mml:mi><mml:mo>&#x00D7;</mml:mo><mml:mi>&#x03C9;</mml:mi></mml:mrow></mml:math></inline-formula>. Matrices and vectors with a tilde (e.g.,&#x00A0;<inline-formula><mml:math display="inline"><mml:mover accent="true"><mml:mi mathvariant="bold">U</mml:mi><mml:mo stretchy="false">&#x02DC;</mml:mo></mml:mover></mml:math></inline-formula> or <inline-formula><mml:math display="inline"><mml:mover accent="true"><mml:mi mathvariant="bold">a</mml:mi><mml:mo stretchy="false">&#x02DC;</mml:mo></mml:mover></mml:math></inline-formula>) are block-structured; in this paper, blocks correspond to different factors. The notation <inline-formula><mml:math display="inline"><mml:mrow><mml:mo stretchy="false">&#x2225;</mml:mo><mml:mi mathvariant="bold">x</mml:mi><mml:mo stretchy="false">&#x2225;</mml:mo></mml:mrow></mml:math></inline-formula> denotes the 1-norm of <inline-formula><mml:math display="inline"><mml:mi mathvariant="bold">x</mml:mi></mml:math></inline-formula> (i.e.,&#x00A0;the sum of the absolute values of the entries). The symbol <inline-formula><mml:math display="inline"><mml:mo>&#x2297;</mml:mo></mml:math></inline-formula> denotes the Kronecker product. The vec operator stacks the columns of a <inline-formula><mml:math display="inline"><mml:mrow><mml:mi>m</mml:mi><mml:mo>&#x00D7;</mml:mo><mml:mi>n</mml:mi></mml:mrow></mml:math></inline-formula> matrix into a <inline-formula><mml:math display="inline"><mml:mrow><mml:mi>m</mml:mi><mml:mi>n</mml:mi><mml:mo>&#x00D7;</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:math></inline-formula> column vector. When applied to an array with more than two dimensions, it stacks columns from all dimensions. We will make use of a reshape operator that is the inverse of the vec operator, changing the vector back into the array; see equation&#x00A0;(<xref ref-type="disp-formula" rid="d17">17</xref>). On occasion, <sc>Matlab</sc> notation will be used to refer to the entries, rows, and columns of matrices. For example, <inline-formula><mml:math display="inline"><mml:mrow><mml:mi mathvariant="bold">F</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula> is the <inline-formula><mml:math display="inline"><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula> entry of <inline-formula><mml:math display="inline"><mml:mi mathvariant="bold">F</mml:mi></mml:math></inline-formula>, while <inline-formula><mml:math display="inline"><mml:mrow><mml:mi mathvariant="bold">F</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mn>:</mml:mn><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math display="inline"><mml:mrow><mml:mi mathvariant="bold">F</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mo>:</mml:mo><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula> refer to the <inline-formula><mml:math display="inline"><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:math></inline-formula>th row and <inline-formula><mml:math display="inline"><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:math></inline-formula>th column of the matrix.</p>
<p>Element-by-element operations apply to arrays of any dimension. The symbol <inline-formula><mml:math display="inline"><mml:mrow><mml:mo>&#x25CB;</mml:mo></mml:mrow></mml:math></inline-formula> denotes the Hadamard, or element-by-element product (implemented by .* in <sc>Matlab</sc> and by * in R). The symbol <inline-formula><mml:math display="inline"><mml:mo>&#x2298;</mml:mo></mml:math></inline-formula> is used to denote the Hadamard, or element-by-element quotient. Thus, for two matrices <inline-formula><mml:math display="inline"><mml:mi mathvariant="bold">A</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math display="inline"><mml:mi mathvariant="bold">B</mml:mi></mml:math></inline-formula>,
<disp-formula id="d3"><mml:math display="block"><mml:mrow><mml:mi mathvariant="bold">A</mml:mi><mml:mo>&#x25CB;</mml:mo><mml:mi mathvariant="bold">B</mml:mi><mml:mo>=</mml:mo><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mrow><mml:mi>a</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:msub><mml:mrow><mml:mi>b</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo><mml:mspace depth="0.0ex" height="0.0ex" width="2.0em"/><mml:mi mathvariant="bold">A</mml:mi><mml:mo>&#x2298;</mml:mo><mml:mi mathvariant="bold">B</mml:mi><mml:mo>=</mml:mo><mml:mo>(</mml:mo><mml:mfrac><mml:mrow><mml:msub><mml:mrow><mml:mi>a</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>b</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfrac><mml:mo>)</mml:mo></mml:mrow></mml:math><label>(3)</label></disp-formula>with the obvious restrictions that the objects must be of the same size and, that for the quotient, none of the entries of <inline-formula><mml:math display="inline"><mml:mi mathvariant="bold">B</mml:mi></mml:math></inline-formula> can be zero.</p>
</sec>
<sec id="sec2.2">
<title>Weighted means and variances</title>
<p>Let <inline-formula><mml:math display="inline"><mml:mi mathvariant="bold">x</mml:mi></mml:math></inline-formula> be a vector of numbers and <inline-formula><mml:math display="inline"><mml:mi mathvariant="bold-italic">&#x03C0;</mml:mi></mml:math></inline-formula> a probability vector of the same length. The mean and variance of the entries of <inline-formula><mml:math display="inline"><mml:mi mathvariant="bold">x</mml:mi></mml:math></inline-formula>, over the mixing distribution <inline-formula><mml:math display="inline"><mml:mi mathvariant="bold-italic">&#x03C0;</mml:mi></mml:math></inline-formula> are, in matrix notation,
<disp-formula id="d4"><mml:math display="block"><mml:mrow><mml:msub><mml:mrow><mml:mi>E</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="bold-italic">&#x03C0;</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi mathvariant="bold">x</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>=</mml:mo><mml:msup><mml:mrow><mml:mi mathvariant="bold-italic">&#x03C0;</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="normal">T</mml:mi></mml:mrow></mml:msup><mml:mi mathvariant="bold">x</mml:mi></mml:mrow></mml:math><label>(4)</label></disp-formula>
<disp-formula id="d5"><mml:math display="block"><mml:mrow><mml:msub><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="bold-italic">&#x03C0;</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi mathvariant="bold">x</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>=</mml:mo><mml:msup><mml:mrow><mml:mi mathvariant="bold-italic">&#x03C0;</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="normal">T</mml:mi></mml:mrow></mml:msup><mml:mo stretchy="false">(</mml:mo><mml:mi mathvariant="bold">x</mml:mi><mml:mo>&#x25CB;</mml:mo><mml:mi mathvariant="bold">x</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>&#x2212;</mml:mo><mml:msup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:msup><mml:mrow><mml:mi mathvariant="bold-italic">&#x03C0;</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="normal">T</mml:mi></mml:mrow></mml:msup><mml:mi mathvariant="bold">x</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup></mml:mrow><mml:mo>.</mml:mo></mml:math><label>(5)</label></disp-formula>The second of these terms, the variance of <inline-formula><mml:math display="inline"><mml:mrow><mml:mi>X</mml:mi></mml:mrow></mml:math></inline-formula> over a mixing distribution, will appear so commonly that we define it as a function <inline-formula><mml:math display="inline"><mml:mrow><mml:mi mathvariant="double-struck">V</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi mathvariant="bold">x</mml:mi><mml:mo>,</mml:mo><mml:mtext>&#x2009;</mml:mtext><mml:mi mathvariant="bold-italic">&#x03C0;</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula> that returns the variance, over the distribution <inline-formula><mml:math display="inline"><mml:mi mathvariant="bold-italic">&#x03C0;</mml:mi></mml:math></inline-formula>, of the vector <inline-formula><mml:math display="inline"><mml:mi mathvariant="bold">x</mml:mi></mml:math></inline-formula>: 
<disp-formula id="d6"><mml:math display="block"><mml:mrow><mml:mi mathvariant="double-struck">V</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi mathvariant="bold">x</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="bold-italic">&#x03C0;</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>&#x2261;</mml:mo><mml:msup><mml:mrow><mml:mi mathvariant="bold-italic">&#x03C0;</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="normal">T</mml:mi></mml:mrow></mml:msup><mml:mo stretchy="false">(</mml:mo><mml:mi mathvariant="bold">x</mml:mi><mml:mo>&#x25CB;</mml:mo><mml:mi mathvariant="bold">x</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>&#x2212;</mml:mo><mml:msup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:msup><mml:mrow><mml:mi mathvariant="bold-italic">&#x03C0;</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="normal">T</mml:mi></mml:mrow></mml:msup><mml:mi mathvariant="bold">x</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup><mml:mo>.</mml:mo></mml:mrow></mml:math><label>(6)</label></disp-formula>
</p>
</sec>
<sec id="sec2.3">
<title>One-factor designs</title>
<p>Let us review the simplest case: a one-factor design in which a population (or some other set of individuals) is divided into groups based on a single factor that we call A (e.g.,&#x00A0;income), with levels <inline-formula><mml:math display="inline"><mml:mrow><mml:mi>a</mml:mi><mml:mo>=</mml:mo><mml:msub><mml:mrow><mml:mi>a</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>a</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mo>&#x2026;</mml:mo><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>a</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>. The population is a mixture with a mixing distribution <inline-formula><mml:math display="inline"><mml:mrow><mml:mi>&#x03C0;</mml:mi></mml:mrow></mml:math></inline-formula>. Let <inline-formula><mml:math display="inline"><mml:mrow><mml:mi>&#x03BE;</mml:mi></mml:mrow></mml:math></inline-formula> be the demographic outcome of interest. The vectors containing the means and variances of <inline-formula><mml:math display="inline"><mml:mrow><mml:mi>&#x03BE;</mml:mi></mml:mrow></mml:math></inline-formula> are 
<disp-formula id="d7"><mml:math display="block"><mml:mrow><mml:mi mathvariant="bold">m</mml:mi><mml:mo>=</mml:mo><mml:mo minsize="12ex" stretchy="true">(</mml:mo><mml:mtable><mml:mtr><mml:mtd><mml:mrow><mml:mi>E</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>&#x03BE;</mml:mi><mml:mo stretchy="false">|</mml:mo><mml:msub><mml:mrow><mml:mi>a</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mo>&#x22EE;</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mi>E</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>&#x03BE;</mml:mi><mml:mo stretchy="false">|</mml:mo><mml:msub><mml:mrow><mml:mi>a</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable><mml:mo minsize="12ex" stretchy="true">)</mml:mo><mml:mo>=</mml:mo><mml:mo minsize="12ex" stretchy="true">(</mml:mo><mml:mtable><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mrow><mml:mi>m</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mo>&#x22EE;</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mrow><mml:mi>m</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:mtd></mml:mtr></mml:mtable><mml:mo minsize="12ex" stretchy="true">)</mml:mo></mml:mrow></mml:math><label>(7)</label></disp-formula>
<disp-formula id="d8"><mml:math display="block"><mml:mrow><mml:mi mathvariant="bold">v</mml:mi><mml:mo>=</mml:mo><mml:mo minsize="12ex" stretchy="true">(</mml:mo><mml:mtable><mml:mtr><mml:mtd><mml:mrow><mml:mi>V</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>&#x03BE;</mml:mi><mml:mo stretchy="false">|</mml:mo><mml:msub><mml:mrow><mml:mi>a</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mo>&#x22EE;</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mi>V</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>&#x03BE;</mml:mi><mml:mo stretchy="false">|</mml:mo><mml:msub><mml:mrow><mml:mi>a</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable><mml:mo minsize="12ex" stretchy="true">)</mml:mo><mml:mo>=</mml:mo><mml:mo minsize="12ex" stretchy="true">(</mml:mo><mml:mtable><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mrow><mml:mi>v</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mo>&#x22EE;</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mrow><mml:mi>v</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:mtd></mml:mtr></mml:mtable><mml:mo minsize="12ex" stretchy="true">)</mml:mo></mml:mrow></mml:math><label>(8)</label></disp-formula>In terms of these vectors, the variance decomposition in equation&#x00A0;(<xref ref-type="disp-formula" rid="d2">2</xref>) becomes 
<disp-formula id="d9"><mml:math display="block"><mml:mrow><mml:msub><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi>within</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:msup><mml:mrow><mml:mi mathvariant="bold-italic">&#x03C0;</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="normal">T</mml:mi></mml:mrow></mml:msup><mml:mi mathvariant="bold">v</mml:mi></mml:mrow></mml:math><label>(9)</label></disp-formula>
<disp-formula id="d10"><mml:math display="block"><mml:mrow><mml:msub><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi>between</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:msup><mml:mrow><mml:mi mathvariant="bold-italic">&#x03C0;</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="normal">T</mml:mi></mml:mrow></mml:msup><mml:mo stretchy="false">(</mml:mo><mml:mi mathvariant="bold">m</mml:mi><mml:mo>&#x25CB;</mml:mo><mml:mi mathvariant="bold">m</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>&#x2212;</mml:mo><mml:msup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:msup><mml:mrow><mml:mi mathvariant="bold-italic">&#x03C0;</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="normal">T</mml:mi></mml:mrow></mml:msup><mml:mi mathvariant="bold">m</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math><label>(10)</label></disp-formula>
<disp-formula id="d11"><mml:math display="block"><mml:mrow><mml:mo>=</mml:mo><mml:mi mathvariant="double-struck">V</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi mathvariant="bold">m</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="bold-italic">&#x03C0;</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>.</mml:mo></mml:math><label>(11)</label></disp-formula>The relative contribution of the within- and between-group components to the variance <inline-formula><mml:math display="inline"><mml:mrow><mml:mi>V</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>&#x03BE;</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula> is measured by 
<disp-formula id="d12"><mml:math display="block"><mml:mrow><mml:mi mathvariant="script">K</mml:mi><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:msub><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi>between</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi>within</mml:mi></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi>between</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfrac></mml:mrow></mml:math><label>(12)</label></disp-formula>which measures the fraction of the total variance due to heterogeneity among groups. The ratio is referred to as the intraclass correlation coefficient in quantitative genetics (<xref ref-type="bibr" rid="r18">Falconer, 1960</xref>). Its square root is called the correlation ratio in probability theory (<xref ref-type="bibr" rid="r37">R&#x00E9;nyi, 1970</xref>).</p>
</sec>
</sec>
<sec id="sec3">
<title>Factorial designs: Two factors</title>
<p>The multi-factor analysis is based on multi-way tables of the means, variances, and mixing distribution. The calculation of variance components uses marginal distributions calculated from those tables. Consider two factors, labelled A and B (e.g.,&#x00A0;sex and race) with <inline-formula><mml:math display="inline"><mml:mrow><mml:msub><mml:mi>n</mml:mi><mml:mi>A</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math display="inline"><mml:mrow><mml:msub><mml:mi>n</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> levels, respectively. For example, for sex <inline-formula><mml:math display="inline"><mml:mrow><mml:msub><mml:mi>n</mml:mi><mml:mi>A</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> might be two, and for race <inline-formula><mml:math display="inline"><mml:mrow><mml:msub><mml:mi>n</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> could be two, or five, or some other number depending on the information collected in vital statistics registries. The means, variances, and mixing distributions are defined in the two-dimensional arrays 
<disp-formula id="d13"><mml:math display="block"><mml:mrow><mml:mi mathvariant="bold">M</mml:mi><mml:mo>=</mml:mo><mml:mo minsize="10ex" stretchy="true">(</mml:mo><mml:mtable><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mrow><mml:mi>m</mml:mi></mml:mrow><mml:mrow><mml:mn>1,1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mo>&#x22EF;</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mrow><mml:mi>m</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mo>&#x22EE;</mml:mo></mml:mtd><mml:mtd/><mml:mtd><mml:mo>&#x22EE;</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mrow><mml:mi>m</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mo>&#x22EF;</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mrow><mml:mi>m</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:mtd></mml:mtr></mml:mtable><mml:mo minsize="10ex" stretchy="true">)</mml:mo></mml:mrow></mml:math><label>(13)</label></disp-formula>
<disp-formula id="d14"><mml:math display="block"><mml:mrow><mml:mi mathvariant="bold">V</mml:mi><mml:mo>=</mml:mo><mml:mo minsize="10ex" stretchy="true">(</mml:mo><mml:mtable><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mrow><mml:mi>v</mml:mi></mml:mrow><mml:mrow><mml:mn>1,1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mo>&#x22EF;</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mrow><mml:mi>v</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mo>&#x22EE;</mml:mo></mml:mtd><mml:mtd/><mml:mtd><mml:mo>&#x22EE;</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mrow><mml:mi>v</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mo>&#x22EF;</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mrow><mml:mi>v</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:mtd></mml:mtr></mml:mtable><mml:mo minsize="10ex" stretchy="true">)</mml:mo></mml:mrow></mml:math><label>(14)</label></disp-formula>
<disp-formula id="d15"><mml:math display="block"><mml:mrow><mml:mi mathvariant="bold">&#x03A0;</mml:mi><mml:mo>=</mml:mo><mml:mo minsize="10ex" stretchy="true">(</mml:mo><mml:mtable><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mrow><mml:mi>&#x03C0;</mml:mi></mml:mrow><mml:mrow><mml:mn>1,1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mo>&#x22EF;</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mrow><mml:mi>&#x03C0;</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mo>&#x22EE;</mml:mo></mml:mtd><mml:mtd/><mml:mtd><mml:mo>&#x22EE;</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mrow><mml:mi>&#x03C0;</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mo>&#x22EF;</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mrow><mml:mi>&#x03C0;</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:mtd></mml:mtr></mml:mtable><mml:mo minsize="10ex" stretchy="true">)</mml:mo><mml:mo>.</mml:mo></mml:mrow></mml:math><label>(15)</label></disp-formula>Each of these arrays is of dimension <inline-formula><mml:math display="inline"><mml:mrow><mml:msub><mml:mi>n</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>&#x00D7;</mml:mo><mml:msub><mml:mi>n</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>. The mixing distribution array satisfies 
<disp-formula id="d16"><mml:math display="block"><mml:mrow><mml:munder><mml:mrow><mml:mo>&#x2211;</mml:mo></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:munder><mml:mtext>&#x2009;</mml:mtext><mml:mi mathvariant="bold">&#x03A0;</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>=</mml:mo><mml:mn>1</mml:mn><mml:mo>.</mml:mo></mml:mrow></mml:math><label>(16)</label></disp-formula></p>
<p>The vec operator applied to any of these arrays produces a vector, of dimension <inline-formula><mml:math display="inline"><mml:mrow><mml:msub><mml:mi>n</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:msub><mml:mi>n</mml:mi><mml:mi>B</mml:mi></mml:msub><mml:mo>&#x00D7;</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:math></inline-formula>, by stacking the columns of the array. The inverse of the vec operator is the reshape operator, which takes as its arguments a vector and a pair of dimensions, and produces an array of those dimensions; thus 
<disp-formula id="d17"><mml:math display="block"><mml:mrow><mml:mi>reshape</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>vec</mml:mi><mml:mtext>&#x2009;</mml:mtext><mml:mi mathvariant="bold">M</mml:mi><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo><mml:mo>=</mml:mo><mml:mi mathvariant="bold">M</mml:mi><mml:mo>.</mml:mo></mml:mrow></mml:math><label>(17)</label></disp-formula>
</p>
<sec id="sec3.1">
<title>Within-group and between-group variances</title>
<p>Treating each of the <inline-formula><mml:math display="inline"><mml:mrow><mml:msub><mml:mi>n</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:msub><mml:mi>n</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> combination of factors A and B as a group, the within- and between-group variance components are calculated from the entries of <inline-formula><mml:math display="inline"><mml:mi mathvariant="bold">M</mml:mi></mml:math></inline-formula>, <inline-formula><mml:math display="inline"><mml:mi mathvariant="bold">V</mml:mi></mml:math></inline-formula>, and <inline-formula><mml:math display="inline"><mml:mi mathvariant="bold">&#x03A0;</mml:mi></mml:math></inline-formula>. The within-group variance is the mean, over the mixing distribution, of the variances in each group,
<disp-formula id="d18"><mml:math display="block"><mml:mrow><mml:msub><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi>within</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:msup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>vec</mml:mi><mml:mtext>&#x2009;</mml:mtext><mml:mi mathvariant="bold">&#x03A0;</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mrow><mml:mi mathvariant="normal">T</mml:mi></mml:mrow></mml:msup><mml:mi>vec</mml:mi><mml:mtext>&#x2009;</mml:mtext><mml:mi mathvariant="bold">V</mml:mi><mml:mo>.</mml:mo></mml:mrow></mml:math><label>(18)</label></disp-formula>The between-group variance is given by applying equation&#x00A0;(<xref ref-type="disp-formula" rid="d6">6</xref>) to the means of all the factor combinations: 
<disp-formula id="d19"><mml:math display="block"><mml:mrow><mml:msub><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi>between</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi mathvariant="double-struck">V</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>vec</mml:mi><mml:mtext>&#x2009;</mml:mtext><mml:mi mathvariant="bold">M</mml:mi><mml:mo>,</mml:mo><mml:mi>vec</mml:mi><mml:mtext>&#x2009;</mml:mtext><mml:mi mathvariant="bold">&#x03A0;</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>.</mml:mo></mml:mrow></mml:math><label>(19)</label></disp-formula>This between-group variance measures the overall contribution of heterogeneity, over all the groups, of all the factors, with individuals distributed according to <inline-formula><mml:math display="inline"><mml:mi mathvariant="bold">&#x03A0;</mml:mi></mml:math></inline-formula>. It makes no distinction between the contributions of A, B, and the AB interaction, but if the goal is a measure of how heterogeneity in factors contributes to inequality of outcomes, <inline-formula><mml:math display="inline"><mml:mrow><mml:msub><mml:mi>V</mml:mi><mml:mrow><mml:mi>between</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> is the answer.</p>
</sec>
<sec id="sec3.2">
<title>Partitioning the between-group variance into factor effects</title>
<p>In the two-factor case, <inline-formula><mml:math display="inline"><mml:mrow><mml:msub><mml:mi>V</mml:mi><mml:mrow><mml:mi>between</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> is due to contributions from each factor (<inline-formula><mml:math display="inline"><mml:mrow><mml:msub><mml:mi>V</mml:mi><mml:mi mathvariant="normal">A</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>V</mml:mi><mml:mi mathvariant="normal">B</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>) and their interaction (<inline-formula><mml:math display="inline"><mml:mrow><mml:msub><mml:mi>V</mml:mi><mml:mrow><mml:mi>AB</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>). These components are calculated from the marginal means and marginal mixing distributions corresponding to each factor and the interaction. Use subscripts to identify the marginal means (e.g.,&#x00A0;<inline-formula><mml:math display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold">m</mml:mi><mml:mi mathvariant="normal">A</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> as the vector of means for each level of A, marginalising over levels of B), and let <inline-formula><mml:math display="inline"><mml:mrow><mml:mi>a</mml:mi><mml:mo>,</mml:mo><mml:mi>b</mml:mi></mml:mrow></mml:math></inline-formula> denote the levels of A and B, respectively. The array of marginal means for factor A is obtained by calculating the average, weighted by the mixing distribution, over the levels of factor B. Recalling the definitions of the Hadamard product and the Hadamard quotient in Section <xref ref-type="sec" rid="sec2.1">Notation</xref>, we have 
<disp-formula id="d20"><mml:math display="block"><mml:mrow><mml:msub><mml:mrow><mml:mi mathvariant="bold">m</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="normal">A</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mo minsize="5ex" stretchy="true">[</mml:mo><mml:munder><mml:mrow><mml:mo>&#x2211;</mml:mo></mml:mrow><mml:mrow><mml:mi>b</mml:mi></mml:mrow></mml:munder><mml:mo stretchy="false">(</mml:mo><mml:mi mathvariant="bold">M</mml:mi><mml:mo>&#x25CB;</mml:mo><mml:mi mathvariant="bold">&#x03A0;</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo minsize="5ex" stretchy="true">]</mml:mo><mml:mo>&#x2298;</mml:mo><mml:mo minsize="5ex" stretchy="true">[</mml:mo><mml:munder><mml:mrow><mml:mo>&#x2211;</mml:mo></mml:mrow><mml:mrow><mml:mi>b</mml:mi></mml:mrow></mml:munder><mml:mtext>&#x2009;</mml:mtext><mml:mi mathvariant="bold">&#x03A0;</mml:mi><mml:mo minsize="5ex" stretchy="true">]</mml:mo><mml:mspace depth="0.0ex" height="0.0ex" width="2.0em"/><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>&#x00D7;</mml:mo><mml:mn>1</mml:mn><mml:mo>.</mml:mo></mml:mrow></mml:math><label>(20)</label></disp-formula>The same pattern holds for the marginal mean for B: 
<disp-formula id="d21"><mml:math display="block"><mml:mrow><mml:msub><mml:mrow><mml:mi mathvariant="bold">m</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="normal">B</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mo minsize="5ex" stretchy="true">[</mml:mo><mml:munder><mml:mrow><mml:mo>&#x2211;</mml:mo></mml:mrow><mml:mrow><mml:mi>a</mml:mi></mml:mrow></mml:munder><mml:mo stretchy="false">(</mml:mo><mml:mi mathvariant="bold">M</mml:mi><mml:mo>&#x25CB;</mml:mo><mml:mi mathvariant="bold">&#x03A0;</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo minsize="5ex" stretchy="true">]</mml:mo><mml:mo>&#x2298;</mml:mo><mml:mo minsize="5ex" stretchy="true">[</mml:mo><mml:munder><mml:mrow><mml:mo>&#x2211;</mml:mo></mml:mrow><mml:mrow><mml:mi>a</mml:mi></mml:mrow></mml:munder><mml:mtext>&#x2009;</mml:mtext><mml:mi mathvariant="bold">&#x03A0;</mml:mi><mml:mo minsize="5ex" stretchy="true">]</mml:mo><mml:mspace depth="0.0ex" height="0.0ex" width="2.0em"/><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo>&#x00D7;</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:math><label>(21)</label></disp-formula>and for the marginal mean for AB 
<disp-formula id="d22"><mml:math display="block"><mml:mrow><mml:msub><mml:mrow><mml:mi mathvariant="bold">m</mml:mi></mml:mrow><mml:mrow><mml:mi>AB</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mo stretchy="false">[</mml:mo><mml:mi mathvariant="bold">M</mml:mi><mml:mo>&#x25CB;</mml:mo><mml:mi mathvariant="bold">&#x03A0;</mml:mi><mml:mo stretchy="false">]</mml:mo><mml:mo>&#x2298;</mml:mo><mml:mi mathvariant="bold">&#x03A0;</mml:mi><mml:mspace depth="0.0ex" height="0.0ex" width="2.0em"/><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>&#x00D7;</mml:mo><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo>.</mml:mo></mml:mrow></mml:math><label>(22)</label></disp-formula>The marginal mean for factor A is obtained by summing over levels of B; the marginal mean for factor B is obtained by summing over levels of A. The marginal mean for the combination AB is not really marginal, because there are no other factors over which to sum. The marginal means for factors A and B are one-dimensional vectors. The marginal mean for the AB interaction is a two-dimensional array (it is, in fact, just the array <inline-formula><mml:math display="inline"><mml:mi mathvariant="bold">M</mml:mi></mml:math></inline-formula>).</p>
<p>The marginal mixing distributions are obtained from the array <inline-formula><mml:math display="inline"><mml:mi mathvariant="bold">&#x03A0;</mml:mi></mml:math></inline-formula>,
<disp-formula id="d23"><mml:math display="block"><mml:mrow><mml:msub><mml:mrow><mml:mi mathvariant="bold-italic">&#x03C0;</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="normal">A</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:munder><mml:mrow><mml:mo>&#x2211;</mml:mo></mml:mrow><mml:mrow><mml:mi>b</mml:mi></mml:mrow></mml:munder><mml:mtext>&#x2009;</mml:mtext><mml:mi mathvariant="bold">&#x03A0;</mml:mi><mml:mspace depth="0.0ex" height="0.0ex" width="2.0em"/><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>&#x00D7;</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:math><label>(23)</label></disp-formula>
<disp-formula id="d24"><mml:math display="block"><mml:mrow><mml:msub><mml:mrow><mml:mi mathvariant="bold-italic">&#x03C0;</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="normal">B</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:munder><mml:mrow><mml:mo>&#x2211;</mml:mo></mml:mrow><mml:mrow><mml:mi>a</mml:mi></mml:mrow></mml:munder><mml:mtext>&#x2009;</mml:mtext><mml:mi mathvariant="bold">&#x03A0;</mml:mi><mml:mspace depth="0.0ex" height="0.0ex" width="2.0em"/><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo>&#x00D7;</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:math><label>(24)</label></disp-formula>
<disp-formula id="d25"><mml:math display="block"><mml:mrow><mml:msub><mml:mrow><mml:mi mathvariant="bold-italic">&#x03C0;</mml:mi></mml:mrow><mml:mrow><mml:mi>AB</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi mathvariant="bold">&#x03A0;</mml:mi><mml:mspace depth="0.0ex" height="0.0ex" width="2.0em"/><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>&#x00D7;</mml:mo><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo>.</mml:mo></mml:math><label>(25)</label></disp-formula>
</p>
<p><sc>Matlab</sc> makes these calculations easy to implement; the command corresponding to equation&#x00A0;(<xref ref-type="disp-formula" rid="d20">20</xref>), for example, is 
<disp-formula id="d26"><mml:math display="block"><mml:mrow><mml:mi mathvariant="monospace">mA</mml:mi><mml:mo>=</mml:mo><mml:mi mathvariant="monospace">sum</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi mathvariant="monospace">M</mml:mi><mml:mtext>&#x2009;</mml:mtext><mml:mo>.</mml:mo><mml:mo>*</mml:mo><mml:mi mathvariant="monospace">Pi</mml:mi><mml:mo>,</mml:mo><mml:mo stretchy="false">[</mml:mo><mml:mn mathvariant="monospace">2</mml:mn><mml:mo stretchy="false">]</mml:mo><mml:mo stretchy="false">)</mml:mo><mml:mtext>&#x2009;</mml:mtext><mml:mo>.</mml:mo><mml:mo stretchy="false">/</mml:mo><mml:mi mathvariant="monospace">sum</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi mathvariant="monospace">Pi</mml:mi><mml:mo>,</mml:mo><mml:mo stretchy="false">[</mml:mo><mml:mn mathvariant="monospace">2</mml:mn><mml:mo stretchy="false">]</mml:mo><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>.</mml:mo></mml:math><label>(26)</label></disp-formula>
</p>
<p>Finally, the variance components due to factors A and B and the interaction AB are calculated by applying the function <inline-formula><mml:math display="inline"><mml:mrow><mml:mi mathvariant="double-struck">V</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mo form="prefix">&#x00B7;</mml:mo><mml:mo>,</mml:mo><mml:mo form="prefix">&#x00B7;</mml:mo><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula> defined in equation&#x00A0;(<xref ref-type="disp-formula" rid="d6">6</xref>) to the marginal means and marginal mixing distributions: 
<disp-formula id="d27"><mml:math display="block"><mml:mrow><mml:msub><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="normal">A</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi mathvariant="double-struck">V</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mrow><mml:mi mathvariant="bold">m</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="normal">A</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi mathvariant="bold-italic">&#x03C0;</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="normal">A</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math><label>(27)</label></disp-formula>
<disp-formula id="d28"><mml:math display="block"><mml:mrow><mml:msub><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="normal">B</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi mathvariant="double-struck">V</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mrow><mml:mi mathvariant="bold">m</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="normal">B</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi mathvariant="bold-italic">&#x03C0;</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="normal">B</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math><label>(28)</label></disp-formula>
<disp-formula id="d29"><mml:math display="block"><mml:mrow><mml:msub><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi>AB</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi mathvariant="double-struck">V</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>vec</mml:mi><mml:mtext>&#x2009;</mml:mtext><mml:msub><mml:mrow><mml:mi mathvariant="bold">m</mml:mi></mml:mrow><mml:mrow><mml:mi>A</mml:mi><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mi>vec</mml:mi><mml:mtext>&#x2009;</mml:mtext><mml:msub><mml:mrow><mml:mi mathvariant="bold-italic">&#x03C0;</mml:mi></mml:mrow><mml:mrow><mml:mi>A</mml:mi><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo><mml:mo>&#x2212;</mml:mo><mml:msub><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="normal">A</mml:mi></mml:mrow></mml:msub><mml:mo>&#x2212;</mml:mo><mml:msub><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="normal">B</mml:mi></mml:mrow></mml:msub><mml:mo>.</mml:mo></mml:mrow></mml:math><label>(29)</label></disp-formula>The marginal mean array <inline-formula><mml:math display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold">m</mml:mi><mml:mrow><mml:mi>AB</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> contains the effects of A and B as well as the interaction; thus the interaction variance <inline-formula><mml:math display="inline"><mml:mrow><mml:msub><mml:mi>V</mml:mi><mml:mrow><mml:mi>AB</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> is obtained by subtracting <inline-formula><mml:math display="inline"><mml:mrow><mml:msub><mml:mi>V</mml:mi><mml:mi mathvariant="normal">A</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math display="inline"><mml:mrow><mml:msub><mml:mi>V</mml:mi><mml:mi mathvariant="normal">B</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> from the variance among all factor combinations.</p>
</sec>
<sec id="sec3.3">
<title>Requirements for the factorial mixing distribution</title>
<p>The calculation of <inline-formula><mml:math display="inline"><mml:mrow><mml:msub><mml:mi>V</mml:mi><mml:mrow><mml:mi>between</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> treats <inline-formula><mml:math display="inline"><mml:mrow><mml:mi>vec</mml:mi><mml:mtext>&#x2009;</mml:mtext><mml:mi mathvariant="bold">M</mml:mi></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math display="inline"><mml:mrow><mml:mi>vec</mml:mi><mml:mtext>&#x2009;</mml:mtext><mml:mi mathvariant="bold">V</mml:mi></mml:mrow></mml:math></inline-formula> as vectors containing values for each of the groups. There is no restriction on the mixing distribution <inline-formula><mml:math display="inline"><mml:mi mathvariant="bold">&#x03A0;</mml:mi></mml:math></inline-formula> except, of course, that its entries sum to one.</p>
<p>Here, however, we want to partition <inline-formula><mml:math display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold">V</mml:mi><mml:mrow><mml:mi>between</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> into its components, and to do this the mixing distribution <inline-formula><mml:math display="inline"><mml:mi mathvariant="bold">&#x03A0;</mml:mi></mml:math></inline-formula> requires some careful attention. Statistics texts are unanimous in stressing the importance of equal sample sizes in all treatment combinations in the analysis of variance (ANOVA) in a factorial experiment. The sample sizes play the role of the mixing distribution in our probability calculations. It has long been known (<xref ref-type="bibr" rid="r61">Yates, 1934</xref>) that unequal sample sizes make it impossible to calculate variance components. A recent text explains <disp-quote>
<p>&#x201C;When the sample sizes for each cell are unequal, the two-way analysis of variance for factor effects becomes complex. The component sums of squares in the analysis of variance are no longer orthogonal; that is, they do not sum to the total sum of squares. The least squares method for obtaining the best estimates of the parameters is rather complicated in the fixed effects model and the best analysis has not been and probably will not be found for the random effects models&#x201D; (<xref ref-type="bibr" rid="r39">Sahai and Ageel, 2012</xref>).</p>
</disp-quote>
</p>
<p>There exist two classes of mixing distributions that permit the calculation of variance components. One is the flat, or balanced distribution, which corresponds to equal sample sizes and assigns equal weight to all factor combinations. The other is the class of rank-one, or proportional mixing distributions (<xref ref-type="bibr" rid="r61">Yates, 1934</xref>; <xref ref-type="bibr" rid="r28">Kirk, 1982</xref>, and many others). Such a mixing distribution, when written as an array as in equation&#x00A0;(<xref ref-type="disp-formula" rid="d15">15</xref>), has proportional rows and proportional columns. The flat distribution is a special case of the rank-one distribution.</p>
<p>A rank-one mixing distribution array can be assembled from its marginals. Let <inline-formula><mml:math display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">&#x03C0;</mml:mi><mml:mi mathvariant="normal">A</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">&#x03C0;</mml:mi><mml:mi mathvariant="normal">B</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> be the marginal distributions among the levels of factors A, B. The mixing distribution array is 
<disp-formula id="d30"><mml:math display="block"><mml:mrow><mml:mi mathvariant="bold">&#x03A0;</mml:mi><mml:mo>=</mml:mo><mml:mi>reshape</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mrow><mml:mi mathvariant="bold-italic">&#x03C0;</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="normal">B</mml:mi></mml:mrow></mml:msub><mml:mo>&#x2297;</mml:mo><mml:msub><mml:mrow><mml:mi mathvariant="bold-italic">&#x03C0;</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="normal">A</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo><mml:mo>.</mml:mo></mml:mrow></mml:math><label>(30)</label></disp-formula>Every column is proportional to <inline-formula><mml:math display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">&#x03C0;</mml:mi><mml:mi mathvariant="normal">A</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and every row is proportional to <inline-formula><mml:math display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">&#x03C0;</mml:mi><mml:mi mathvariant="normal">B</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>. Note the order of the subscripts.</p>
<sec id="sec3.3.1">
<title>The mixing distribution is a useful tool</title>
<p>Our goal is to understand the sources of variance in some outcome within some population. But what population? The mixing distribution describes the structure of the population that we are interested in, and over which the variance is to be calculated, in terms of the proportions of the population in each of the heterogeneity groups. The proper question is not what the <italic>correct</italic> mixing distribution is, but rather what mixing distribution answers the question we are interested in.</p>
<p>A flat mixing distribution gives every group equal representation when studying the effects of heterogeneity. It is a particularly powerful tool, not because many populations are comprised of equal numbers in every group<xref ref-type="fn" rid="fn2"><sup>2</sup></xref> but for the same reason that equal sample sizes are desirable in designed experiments. If you want to quantify the effects of some set of factors, it is wise to design your experiment with equal sample sizes in each treatment combination, because doing so maximises the ability to extract information obtained from the ranges of both variables. Thus, a variance component calculation can be thought of as a kind of numerical experiment to evaluate the effects of factors and their interactions.</p>
<p>Alternatively, the mixing distribution may reflect the relative population sizes of groups (subject to the proportional restriction). If some groups are much larger than others, the population variance will reflect the variance within those groups to a much greater extent than the variance within the much smaller groups, as an example presented below shows.</p>
</sec>
</sec>
</sec>
<sec id="sec4">
<title>Factorial designs: Three factors</title>
<p>Variance partitioning for three factors follows the same pattern as that for two factors. We briefly present the formulas here; the extension to an arbitrary number of factors should be clear.</p>
<p>Consider three factors that are labelled A, B, and C (e.g.,&#x00A0;sex, race, and state of residence), with levels <inline-formula><mml:math display="inline"><mml:mrow><mml:msub><mml:mi>n</mml:mi><mml:mi>A</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math display="inline"><mml:mrow><mml:msub><mml:mi>n</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, and <inline-formula><mml:math display="inline"><mml:mrow><mml:msub><mml:mi>n</mml:mi><mml:mi>C</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>. The arrays <inline-formula><mml:math display="inline"><mml:mi mathvariant="bold">M</mml:mi></mml:math></inline-formula> of means, <inline-formula><mml:math display="inline"><mml:mi mathvariant="bold">V</mml:mi></mml:math></inline-formula> of variances, and <inline-formula><mml:math display="inline"><mml:mi mathvariant="bold">&#x03A0;</mml:mi></mml:math></inline-formula> of mixing probabilities are now three-dimensional. Again, the mixing distribution array satisfies 
<disp-formula id="d31"><mml:math display="block"><mml:mrow><mml:munder><mml:mo>&#x2211;</mml:mo><mml:mrow><mml:mi>a</mml:mi><mml:mo>,</mml:mo><mml:mi>b</mml:mi><mml:mo>,</mml:mo><mml:mi>c</mml:mi></mml:mrow></mml:munder><mml:mtext>&#x2009;</mml:mtext><mml:mi mathvariant="bold">&#x03A0;</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>a</mml:mi><mml:mo>,</mml:mo><mml:mi>b</mml:mi><mml:mo>,</mml:mo><mml:mi>c</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>=</mml:mo><mml:mn>1</mml:mn><mml:mo>.</mml:mo></mml:mrow></mml:math><label>(31)</label></disp-formula>The vec operator produces a vector of dimension <inline-formula><mml:math display="inline"><mml:mrow><mml:msub><mml:mi>n</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:msub><mml:mi>n</mml:mi><mml:mi>B</mml:mi></mml:msub><mml:msub><mml:mi>n</mml:mi><mml:mi>C</mml:mi></mml:msub><mml:mo>&#x00D7;</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:math></inline-formula> by stacking the columns of the array in the order A, then B, and then C.</p>
<p>The mixing distribution array must be assembled from its marginals. Let <inline-formula><mml:math display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">&#x03C0;</mml:mi><mml:mi mathvariant="normal">A</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi mathvariant="bold-italic">&#x03C0;</mml:mi><mml:mi mathvariant="normal">B</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi mathvariant="bold-italic">&#x03C0;</mml:mi><mml:mi mathvariant="normal">C</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> be the marginal mixing distributions among the levels of factors A, B, and C, respectively. Then the rank-one mixing distribution array, generalising that for two factors in (25) is 
<disp-formula id="d32"><mml:math display="block"><mml:mrow><mml:mi mathvariant="bold">&#x03A0;</mml:mi><mml:mo>=</mml:mo><mml:mi>reshape</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mrow><mml:mi mathvariant="bold-italic">&#x03C0;</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="normal">C</mml:mi></mml:mrow></mml:msub><mml:mo>&#x2297;</mml:mo><mml:msub><mml:mrow><mml:mi mathvariant="bold-italic">&#x03C0;</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="normal">B</mml:mi></mml:mrow></mml:msub><mml:mo>&#x2297;</mml:mo><mml:msub><mml:mrow><mml:mi mathvariant="bold-italic">&#x03C0;</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="normal">A</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>C</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo><mml:mo>.</mml:mo></mml:mrow></mml:math><label>(32)</label></disp-formula>The extension to more than three factors follows the same logic.</p>
<sec id="sec4.1">
<title>Within- and between-group variances</title>
<p>As in Section <xref ref-type="sec" rid="sec3">Factorial designs: Two factors</xref>, the within-group and between-group variances are calculated by treating all <inline-formula><mml:math display="inline"><mml:mrow><mml:msub><mml:mi>n</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:msub><mml:mi>n</mml:mi><mml:mi>B</mml:mi></mml:msub><mml:msub><mml:mi>n</mml:mi><mml:mi>C</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> factor combinations as groups. Then, just as in the two-factor case,
<disp-formula id="d33"><mml:math display="block"><mml:mrow><mml:msub><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi>within</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:msup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>vec</mml:mi><mml:mtext>&#x2009;</mml:mtext><mml:mi mathvariant="bold">&#x03A0;</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mrow><mml:mi mathvariant="normal">T</mml:mi></mml:mrow></mml:msup><mml:mi>vec</mml:mi><mml:mtext>&#x2009;</mml:mtext><mml:mi mathvariant="bold">V</mml:mi></mml:mrow></mml:math><label>(33)</label></disp-formula>
<disp-formula id="d34"><mml:math display="block"><mml:mrow><mml:msub><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi>between</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi mathvariant="double-struck">V</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>vec</mml:mi><mml:mtext>&#x2009;</mml:mtext><mml:mi mathvariant="bold">M</mml:mi><mml:mo>,</mml:mo><mml:mi>vec</mml:mi><mml:mtext>&#x2009;</mml:mtext><mml:mi mathvariant="bold">&#x03A0;</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>.</mml:mo></mml:mrow></mml:math><label>(34)</label></disp-formula>As in the two-factor case, <inline-formula><mml:math display="inline"><mml:mrow><mml:msub><mml:mi>V</mml:mi><mml:mrow><mml:mi>between</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> gives the contribution to variance of all the heterogeneity among groups, but no information on the contributions of the factors and their interactions.</p>
</sec>
<sec id="sec4.2">
<title>Components of the between-group variance</title>
<p>The between-group variance <inline-formula><mml:math display="inline"><mml:mrow><mml:msub><mml:mi>V</mml:mi><mml:mrow><mml:mi>between</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> is partitioned into components due to the main effects of each factor (<inline-formula><mml:math display="inline"><mml:mrow><mml:msub><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="normal">A</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="normal">B</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="normal">C</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>), the two-way interactions (<inline-formula><mml:math display="inline"><mml:mrow><mml:msub><mml:mi>V</mml:mi><mml:mrow><mml:mi>AB</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>V</mml:mi><mml:mrow><mml:mi>AC</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>V</mml:mi><mml:mrow><mml:mi>BC</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>) between pairs of factors, and the three-way interaction (<inline-formula><mml:math display="inline"><mml:mrow><mml:msub><mml:mi>V</mml:mi><mml:mrow><mml:mi>ABC</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>). These components are calculated from the marginal means and marginal mixing distributions corresponding to each factor and each interaction.</p>
<p>The array of marginal means for factor A is obtained by averaging over the dimensions other than those for factor A: 
<disp-formula id="d35"><mml:math display="block"><mml:mrow><mml:msub><mml:mrow><mml:mi mathvariant="bold">m</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="normal">A</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mo minsize="5ex" stretchy="true">[</mml:mo><mml:munder><mml:mrow><mml:mo>&#x2211;</mml:mo></mml:mrow><mml:mrow><mml:mi>b</mml:mi></mml:mrow></mml:munder><mml:munder><mml:mrow><mml:mo>&#x2211;</mml:mo></mml:mrow><mml:mrow><mml:mi>c</mml:mi></mml:mrow></mml:munder><mml:mo stretchy="false">(</mml:mo><mml:mi mathvariant="bold">M</mml:mi><mml:mo>&#x25CB;</mml:mo><mml:mi mathvariant="bold">&#x03A0;</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo minsize="5ex" stretchy="true">]</mml:mo><mml:mo>&#x2298;</mml:mo><mml:mo minsize="5ex" stretchy="true">[</mml:mo><mml:munder><mml:mrow><mml:mo>&#x2211;</mml:mo></mml:mrow><mml:mrow><mml:mi>b</mml:mi></mml:mrow></mml:munder><mml:munder><mml:mrow><mml:mo>&#x2211;</mml:mo></mml:mrow><mml:mrow><mml:mi>c</mml:mi></mml:mrow></mml:munder><mml:mtext>&#x2009;</mml:mtext><mml:mi mathvariant="bold">&#x03A0;</mml:mi><mml:mo minsize="5ex" stretchy="true">]</mml:mo><mml:mspace depth="0.0ex" height="0.0ex" width="2.0em"/><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>&#x00D7;</mml:mo><mml:mn>1</mml:mn><mml:mo>.</mml:mo></mml:mrow></mml:math><label>(35)</label></disp-formula>The same pattern holds for the other marginal means: 
<disp-formula id="d36"><mml:math display="block"><mml:mrow><mml:msub><mml:mrow><mml:mi mathvariant="bold">m</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="normal">B</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mo minsize="5ex" stretchy="true">[</mml:mo><mml:munder><mml:mrow><mml:mo>&#x2211;</mml:mo></mml:mrow><mml:mrow><mml:mi>a</mml:mi></mml:mrow></mml:munder><mml:munder><mml:mrow><mml:mo>&#x2211;</mml:mo></mml:mrow><mml:mrow><mml:mi>c</mml:mi></mml:mrow></mml:munder><mml:mo stretchy="false">(</mml:mo><mml:mi mathvariant="bold">M</mml:mi><mml:mo>&#x25CB;</mml:mo><mml:mi mathvariant="bold">&#x03A0;</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo minsize="5ex" stretchy="true">]</mml:mo><mml:mo>&#x2298;</mml:mo><mml:mo minsize="5ex" stretchy="true">[</mml:mo><mml:munder><mml:mrow><mml:mo>&#x2211;</mml:mo></mml:mrow><mml:mrow><mml:mi>a</mml:mi></mml:mrow></mml:munder><mml:munder><mml:mrow><mml:mo>&#x2211;</mml:mo></mml:mrow><mml:mrow><mml:mi>c</mml:mi></mml:mrow></mml:munder><mml:mtext>&#x2009;</mml:mtext><mml:mi mathvariant="bold">&#x03A0;</mml:mi><mml:mo minsize="5ex" stretchy="true">]</mml:mo><mml:mspace depth="0.0ex" height="0.0ex" width="2.0em"/><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo>&#x00D7;</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:math><label>(36)</label></disp-formula>
<disp-formula id="d37"><mml:math display="block"><mml:mrow><mml:msub><mml:mrow><mml:mi mathvariant="bold">m</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="normal">C</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mo minsize="5ex" stretchy="true">[</mml:mo><mml:munder><mml:mrow><mml:mo>&#x2211;</mml:mo></mml:mrow><mml:mrow><mml:mi>a</mml:mi></mml:mrow></mml:munder><mml:munder><mml:mrow><mml:mo>&#x2211;</mml:mo></mml:mrow><mml:mrow><mml:mi>b</mml:mi></mml:mrow></mml:munder><mml:mo stretchy="false">(</mml:mo><mml:mi mathvariant="bold">M</mml:mi><mml:mo>&#x25CB;</mml:mo><mml:mi mathvariant="bold">&#x03A0;</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo minsize="5ex" stretchy="true">]</mml:mo><mml:mo>&#x2298;</mml:mo><mml:mo minsize="5ex" stretchy="true">[</mml:mo><mml:munder><mml:mrow><mml:mo>&#x2211;</mml:mo></mml:mrow><mml:mrow><mml:mi>a</mml:mi></mml:mrow></mml:munder><mml:munder><mml:mrow><mml:mo>&#x2211;</mml:mo></mml:mrow><mml:mrow><mml:mi>b</mml:mi></mml:mrow></mml:munder><mml:mtext>&#x2009;</mml:mtext><mml:mi mathvariant="bold">&#x03A0;</mml:mi><mml:mo minsize="5ex" stretchy="true">]</mml:mo><mml:mspace depth="0.0ex" height="0.0ex" width="2.0em"/><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>C</mml:mi></mml:mrow></mml:msub><mml:mo>&#x00D7;</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:math><label>(37)</label></disp-formula>
<disp-formula id="d38"><mml:math display="block"><mml:mrow><mml:msub><mml:mrow><mml:mi mathvariant="bold">m</mml:mi></mml:mrow><mml:mrow><mml:mi>AB</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mo minsize="5ex" stretchy="true">[</mml:mo><mml:munder><mml:mrow><mml:mo>&#x2211;</mml:mo></mml:mrow><mml:mrow><mml:mi>c</mml:mi></mml:mrow></mml:munder><mml:mo stretchy="false">(</mml:mo><mml:mi mathvariant="bold">M</mml:mi><mml:mo>&#x25CB;</mml:mo><mml:mi mathvariant="bold">&#x03A0;</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo minsize="5ex" stretchy="true">]</mml:mo><mml:mo>&#x2298;</mml:mo><mml:mo minsize="5ex" stretchy="true">[</mml:mo><mml:munder><mml:mrow><mml:mo>&#x2211;</mml:mo></mml:mrow><mml:mrow><mml:mi>c</mml:mi></mml:mrow></mml:munder><mml:mtext>&#x2009;</mml:mtext><mml:mi mathvariant="bold">&#x03A0;</mml:mi><mml:mo minsize="5ex" stretchy="true">]</mml:mo><mml:mspace depth="0.0ex" height="0.0ex" width="2.0em"/><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>&#x00D7;</mml:mo><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math><label>(38)</label></disp-formula>
<disp-formula id="d39"><mml:math display="block"><mml:mrow><mml:msub><mml:mrow><mml:mi mathvariant="bold">m</mml:mi></mml:mrow><mml:mrow><mml:mi>AC</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mo minsize="5ex" stretchy="true">[</mml:mo><mml:munder><mml:mrow><mml:mo>&#x2211;</mml:mo></mml:mrow><mml:mrow><mml:mi>b</mml:mi></mml:mrow></mml:munder><mml:mo stretchy="false">(</mml:mo><mml:mi mathvariant="bold">M</mml:mi><mml:mo>&#x25CB;</mml:mo><mml:mi mathvariant="bold">&#x03A0;</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo minsize="5ex" stretchy="true">]</mml:mo><mml:mo>&#x2298;</mml:mo><mml:mo minsize="5ex" stretchy="true">[</mml:mo><mml:munder><mml:mrow><mml:mo>&#x2211;</mml:mo></mml:mrow><mml:mrow><mml:mi>b</mml:mi></mml:mrow></mml:munder><mml:mtext>&#x2009;</mml:mtext><mml:mi mathvariant="bold">&#x03A0;</mml:mi><mml:mo minsize="5ex" stretchy="true">]</mml:mo><mml:mspace depth="0.0ex" height="0.0ex" width="2.0em"/><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>&#x00D7;</mml:mo><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>C</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math><label>(39)</label></disp-formula>
<disp-formula id="d40"><mml:math display="block"><mml:mrow><mml:msub><mml:mrow><mml:mi mathvariant="bold">m</mml:mi></mml:mrow><mml:mrow><mml:mi>BC</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mo minsize="5ex" stretchy="true">[</mml:mo><mml:munder><mml:mrow><mml:mo>&#x2211;</mml:mo></mml:mrow><mml:mrow><mml:mi>a</mml:mi></mml:mrow></mml:munder><mml:mo stretchy="false">(</mml:mo><mml:mi mathvariant="bold">M</mml:mi><mml:mo>&#x25CB;</mml:mo><mml:mi mathvariant="bold">&#x03A0;</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo minsize="5ex" stretchy="true">]</mml:mo><mml:mo>&#x2298;</mml:mo><mml:mo minsize="5ex" stretchy="true">[</mml:mo><mml:munder><mml:mrow><mml:mo>&#x2211;</mml:mo></mml:mrow><mml:mrow><mml:mi>a</mml:mi></mml:mrow></mml:munder><mml:mtext>&#x2009;</mml:mtext><mml:mi mathvariant="bold">&#x03A0;</mml:mi><mml:mo minsize="5ex" stretchy="true">]</mml:mo><mml:mspace depth="0.0ex" height="0.0ex" width="2.0em"/><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo>&#x00D7;</mml:mo><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>C</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math><label>(40)</label></disp-formula>
<disp-formula id="d41"><mml:math display="block"><mml:mrow><mml:msub><mml:mrow><mml:mi mathvariant="bold">m</mml:mi></mml:mrow><mml:mrow><mml:mi>ABC</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mo stretchy="false">[</mml:mo><mml:mo stretchy="false">(</mml:mo><mml:mi mathvariant="bold">M</mml:mi><mml:mo>&#x25CB;</mml:mo><mml:mi mathvariant="bold">&#x03A0;</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo stretchy="false">]</mml:mo><mml:mo>&#x2298;</mml:mo><mml:mi mathvariant="bold">&#x03A0;</mml:mi><mml:mspace depth="0.0ex" height="0.0ex" width="2.0em"/><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>&#x00D7;</mml:mo><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo>&#x00D7;</mml:mo><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>C</mml:mi></mml:mrow></mml:msub><mml:mo>.</mml:mo></mml:mrow></mml:math><label>(41)</label></disp-formula>
</p>
<p>The marginal mixing distributions are obtained from the array <inline-formula><mml:math display="inline"><mml:mi mathvariant="bold">&#x03A0;</mml:mi></mml:math></inline-formula>,
<disp-formula id="d42"><mml:math display="block"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">&#x03C0;</mml:mi><mml:mi mathvariant="normal">A</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:munder><mml:mo>&#x2211;</mml:mo><mml:mi>b</mml:mi></mml:munder><mml:munder><mml:mo>&#x2211;</mml:mo><mml:mi>c</mml:mi></mml:munder><mml:mtext>&#x2009;</mml:mtext><mml:mi mathvariant="bold">&#x03A0;</mml:mi><mml:mspace depth="0.0ex" height="0.0ex" width="2.0em"/><mml:msub><mml:mi>n</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>&#x00D7;</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:math><label>(42)</label></disp-formula>
<disp-formula id="d43"><mml:math display="block"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">&#x03C0;</mml:mi><mml:mi mathvariant="normal">B</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:munder><mml:mo>&#x2211;</mml:mo><mml:mi>a</mml:mi></mml:munder><mml:munder><mml:mo>&#x2211;</mml:mo><mml:mi>c</mml:mi></mml:munder><mml:mtext>&#x2009;</mml:mtext><mml:mi mathvariant="bold">&#x03A0;</mml:mi><mml:mspace depth="0.0ex" height="0.0ex" width="2.0em"/><mml:msub><mml:mi>n</mml:mi><mml:mi>B</mml:mi></mml:msub><mml:mo>&#x00D7;</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:math><label>(43)</label></disp-formula>
<disp-formula id="d44"><mml:math display="block"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">&#x03C0;</mml:mi><mml:mi mathvariant="normal">C</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:munder><mml:mo>&#x2211;</mml:mo><mml:mi>a</mml:mi></mml:munder><mml:munder><mml:mo>&#x2211;</mml:mo><mml:mi>b</mml:mi></mml:munder><mml:mtext>&#x2009;</mml:mtext><mml:mi mathvariant="bold">&#x03A0;</mml:mi><mml:mspace depth="0.0ex" height="0.0ex" width="2.0em"/><mml:msub><mml:mi>n</mml:mi><mml:mi>C</mml:mi></mml:msub><mml:mo>&#x00D7;</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:math><label>(44)</label></disp-formula>
<disp-formula id="d45"><mml:math display="block"><mml:mrow><mml:msub><mml:mrow><mml:mi mathvariant="bold-italic">&#x03C0;</mml:mi></mml:mrow><mml:mrow><mml:mi>AB</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:munder><mml:mrow><mml:mo>&#x2211;</mml:mo></mml:mrow><mml:mrow><mml:mi>c</mml:mi></mml:mrow></mml:munder><mml:mtext>&#x2009;</mml:mtext><mml:mi mathvariant="bold">&#x03A0;</mml:mi><mml:mspace depth="0.0ex" height="0.0ex" width="2.0em"/><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>&#x00D7;</mml:mo><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math><label>(45)</label></disp-formula>
<disp-formula id="d46"><mml:math display="block"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">&#x03C0;</mml:mi><mml:mrow><mml:mi>AC</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:munder><mml:mo>&#x2211;</mml:mo><mml:mi>b</mml:mi></mml:munder><mml:mtext>&#x2009;</mml:mtext><mml:mi mathvariant="bold">&#x03A0;</mml:mi><mml:mspace depth="0.0ex" height="0.0ex" width="2.0em"/><mml:msub><mml:mi>n</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>&#x00D7;</mml:mo><mml:msub><mml:mi>n</mml:mi><mml:mi>C</mml:mi></mml:msub></mml:mrow></mml:math><label>(46)</label></disp-formula>
<disp-formula id="d47"><mml:math display="block"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">&#x03C0;</mml:mi><mml:mrow><mml:mi>BC</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:munder><mml:mo>&#x2211;</mml:mo><mml:mi>a</mml:mi></mml:munder><mml:mtext>&#x2009;</mml:mtext><mml:mi mathvariant="bold">&#x03A0;</mml:mi><mml:mspace depth="0.0ex" height="0.0ex" width="2.0em"/><mml:msub><mml:mi>n</mml:mi><mml:mi>B</mml:mi></mml:msub><mml:mo>&#x00D7;</mml:mo><mml:msub><mml:mi>n</mml:mi><mml:mi>C</mml:mi></mml:msub></mml:mrow></mml:math><label>(47)</label></disp-formula>
<disp-formula id="d48"><mml:math display="block"><mml:mrow><mml:msub><mml:mrow><mml:mi mathvariant="bold-italic">&#x03C0;</mml:mi></mml:mrow><mml:mrow><mml:mi>ABC</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi mathvariant="bold">&#x03A0;</mml:mi><mml:mspace depth="0.0ex" height="0.0ex" width="2.0em"/><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>&#x00D7;</mml:mo><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo>&#x00D7;</mml:mo><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>C</mml:mi></mml:mrow></mml:msub><mml:mo>.</mml:mo></mml:mrow></mml:math><label>(48)</label></disp-formula>
</p>
<p>The calculations are readily expressed as <sc>Matlab</sc> commands; for example, the command corresponding to equation&#x00A0;(<xref ref-type="disp-formula" rid="d35">35</xref>) is 
<disp-formula id="d49"><mml:math display="block"><mml:mrow><mml:mi mathvariant="monospace">mA</mml:mi><mml:mo>=</mml:mo><mml:mi mathvariant="monospace">sum</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi mathvariant="monospace">M</mml:mi><mml:mtext>&#x2009;</mml:mtext><mml:mo>.</mml:mo><mml:mo>*</mml:mo><mml:mi mathvariant="monospace">Pi</mml:mi><mml:mo>,</mml:mo><mml:mo stretchy="false">[</mml:mo><mml:mn mathvariant="monospace">2</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="monospace">3</mml:mn><mml:mo stretchy="false">]</mml:mo><mml:mo stretchy="false">)</mml:mo><mml:mtext>&#x2009;</mml:mtext><mml:mo>.</mml:mo><mml:mo stretchy="false">/</mml:mo><mml:mi mathvariant="monospace">sum</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi mathvariant="monospace">Pi</mml:mi><mml:mo>,</mml:mo><mml:mo stretchy="false">[</mml:mo><mml:mn mathvariant="monospace">2</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="monospace">3</mml:mn><mml:mo stretchy="false">]</mml:mo><mml:mo stretchy="false">)</mml:mo><mml:mo>.</mml:mo></mml:mrow></mml:math><label>(49)</label></disp-formula>The second argument ([2,&#x2009;3]) in the <monospace>sum</monospace> command indicates the dimensions over which summation takes place.</p>
<p>The variance components due to each of the factors and interactions are calculated by applying the function <inline-formula><mml:math display="inline"><mml:mrow><mml:mi mathvariant="double-struck">V</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mo form="prefix">&#x00B7;</mml:mo><mml:mo>,</mml:mo><mml:mo form="prefix">&#x00B7;</mml:mo><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula> in equation&#x00A0;(<xref ref-type="disp-formula" rid="d6">6</xref>) to the vectors obtained by applying the vec operator to the marginal mean arrays 
<disp-formula id="d50"><mml:math display="block"><mml:mrow><mml:msub><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="normal">A</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi mathvariant="double-struck">V</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mrow><mml:mi mathvariant="bold">m</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="normal">A</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi mathvariant="bold-italic">&#x03C0;</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="normal">A</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math><label>(50)</label></disp-formula>
<disp-formula id="d51"><mml:math display="block"><mml:mrow><mml:msub><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="normal">B</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi mathvariant="double-struck">V</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mrow><mml:mi mathvariant="bold">m</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="normal">B</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi mathvariant="bold-italic">&#x03C0;</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="normal">B</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math><label>(51)</label></disp-formula>
<disp-formula id="d52"><mml:math display="block"><mml:mrow><mml:msub><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="normal">C</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi mathvariant="double-struck">V</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mrow><mml:mi mathvariant="bold">m</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="normal">A</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi mathvariant="bold-italic">&#x03C0;</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="normal">A</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math><label>(52)</label></disp-formula>
<disp-formula id="d53"><mml:math display="block"><mml:mrow><mml:msub><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi>AB</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi mathvariant="double-struck">V</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>vec</mml:mi><mml:mtext>&#x2009;</mml:mtext><mml:msub><mml:mrow><mml:mi mathvariant="bold">m</mml:mi></mml:mrow><mml:mrow><mml:mi>AB</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mi>vec</mml:mi><mml:mtext>&#x2009;</mml:mtext><mml:msub><mml:mrow><mml:mi mathvariant="bold-italic">&#x03C0;</mml:mi></mml:mrow><mml:mrow><mml:mi>AB</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo><mml:mo>&#x2212;</mml:mo><mml:msub><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="normal">A</mml:mi></mml:mrow></mml:msub><mml:mo>&#x2212;</mml:mo><mml:msub><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="normal">B</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math><label>(53)</label></disp-formula>
<disp-formula id="d54"><mml:math display="block"><mml:mrow><mml:msub><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi>AC</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi mathvariant="double-struck">V</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>vec</mml:mi><mml:mtext>&#x2009;</mml:mtext><mml:msub><mml:mrow><mml:mi mathvariant="bold">m</mml:mi></mml:mrow><mml:mrow><mml:mi>AC</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mi>vec</mml:mi><mml:mtext>&#x2009;</mml:mtext><mml:msub><mml:mrow><mml:mi mathvariant="bold-italic">&#x03C0;</mml:mi></mml:mrow><mml:mrow><mml:mi>AC</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo><mml:mo>&#x2212;</mml:mo><mml:msub><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="normal">A</mml:mi></mml:mrow></mml:msub><mml:mo>&#x2212;</mml:mo><mml:msub><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="normal">C</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math><label>(54)</label></disp-formula>
<disp-formula id="d55"><mml:math display="block"><mml:mrow><mml:msub><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi>BC</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi mathvariant="double-struck">V</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>vec</mml:mi><mml:mtext>&#x2009;</mml:mtext><mml:msub><mml:mrow><mml:mi mathvariant="bold">m</mml:mi></mml:mrow><mml:mrow><mml:mi>BC</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mi>vec</mml:mi><mml:mtext>&#x2009;</mml:mtext><mml:msub><mml:mrow><mml:mi mathvariant="bold-italic">&#x03C0;</mml:mi></mml:mrow><mml:mrow><mml:mi>BC</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo><mml:mo>&#x2212;</mml:mo><mml:msub><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="normal">B</mml:mi></mml:mrow></mml:msub><mml:mo>&#x2212;</mml:mo><mml:msub><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="normal">C</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math><label>(55)</label></disp-formula>
<disp-formula id="d56"><mml:math display="block"><mml:mrow><mml:msub><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi>ABC</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi mathvariant="double-struck">V</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>vec</mml:mi><mml:mtext>&#x2009;</mml:mtext><mml:msub><mml:mrow><mml:mi mathvariant="bold">m</mml:mi></mml:mrow><mml:mrow><mml:mi>ABC</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mi>vec</mml:mi><mml:mtext>&#x2009;</mml:mtext><mml:msub><mml:mrow><mml:mi mathvariant="bold-italic">&#x03C0;</mml:mi></mml:mrow><mml:mrow><mml:mi>ABC</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo><mml:mo>&#x2212;</mml:mo><mml:msub><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="normal">A</mml:mi></mml:mrow></mml:msub><mml:mo>&#x2212;</mml:mo><mml:msub><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="normal">B</mml:mi></mml:mrow></mml:msub><mml:mo>&#x2212;</mml:mo><mml:msub><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="normal">C</mml:mi></mml:mrow></mml:msub><mml:mo>&#x2212;</mml:mo><mml:msub><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi>AB</mml:mi></mml:mrow></mml:msub><mml:mo>&#x2212;</mml:mo><mml:msub><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi>AC</mml:mi></mml:mrow></mml:msub><mml:mo>&#x2212;</mml:mo><mml:msub><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi>BC</mml:mi></mml:mrow></mml:msub><mml:mo>.</mml:mo></mml:mrow></mml:math><label>(56)</label></disp-formula>The arrays for the two-way interactions also include the one-factor effects, so the one-factor variances are subtracted to obtain the two-factor variances. The variance due to the three-factor interaction has the one-factor and two-factor variances subtracted.</p>
</sec>
<sec id="sec4.3">
<title>The interpretation of interactions</title>
<p>The interpretation of interactions in factorial experiments has always been a challenge (e.g. <xref ref-type="bibr" rid="r43">Steel and Torrie, 1960</xref>; <xref ref-type="bibr" rid="r39">Sahai and Ageel, 2012</xref>). A large component of the variance due to an AB interaction makes it difficult to say what the effects of A and B are because the effect of A depends on the level of B, and vice versa. The situation becomes even more difficult, of course, for three-way or higher interactions. If the contributions of interactions to variance are small, they can be ignored. Note that we have no operational definition of &#x201C;small&#x201D; such as is provided in ANOVA by tests of the statistical significance of the interactions. However, the difficulty of interpreting interactions does not change the fact that they are substantively interesting. Knowing that two factors interact is an important substantive finding and invites further study to understand how that interaction works.</p>
<p>Note that if the factors have additive effects on <inline-formula><mml:math display="inline"><mml:mrow><mml:mi>&#x03BE;</mml:mi></mml:mrow></mml:math></inline-formula>, the interaction variances are all zero (Caswell, unpublished results).</p>
</sec>
</sec>
<sec id="sec5">
<title>Examples</title>
<p>Here, we present several examples of multi-factor variance decompositions: two studies of longevity and two studies of lifetime reproductive output. At this point, the results are intended to serve only as examples of choices of mixing distributions and of the kinds of results obtained. As is always the case when a new analytical method is deployed, the interpretation of the results is still developing.</p>
<sec id="sec5.1">
<title>Longevity and lifespan</title>
<p>Variance in longevity, often referred to as inequality or disparity in lifespan, has been analysed across a variety of social, economic, and biological variables. Partitioning of the variance into components has revealed that, even when group differences are very large, they contribute only a small fraction of the total variance (see an overview in <xref ref-type="bibr" rid="r12">Caswell, 2023</xref>). Because longevity is the outcome of a lifetime of repeated probabilistic survival events, it is subject to a large degree of individual stochasticity.</p>
<p>However, these analyses have been limited to single factors. Here, we report two examples of multi-factor studies: one examining variance due to sex and race, and the other examining sex, race, and state of residence. In these examples, we calculated the mean and variance of longevity using Markov chain methods (<xref ref-type="bibr" rid="r19">Feichtinger, 1971</xref>; <xref ref-type="bibr" rid="r7">Caswell, 2001</xref>, <xref ref-type="bibr" rid="r8">2006</xref>), but they could equally have been calculated from a set of life tables.</p>
<sec id="sec5.1.1">
<title>Variance in longevity: Sex and race</title>
<p>Differences in longevity between males and females are well known; in almost every case, women live longer on average than men. Differences among racial and ethnic groups are also well known. Here we explore the variance in longevity among males and females across racial and ethnic categories in the United States. The 2020 life tables for the United States (<xref ref-type="bibr" rid="r1">Arias and Xu, 2022</xref>) classify individuals as male or female and into five racial and ethnic categories: Hispanic (H), Non-Hispanic American Indian and Alaska Native (NHAIAN), Non-Hispanic Asian (NHA), Non-Hispanic Black (NHB), and Non-Hispanic White (NHW). The arrays of mean longevity (life expectancy) and variance in longevity are 
<disp-formula id="d57"><mml:math display="block"><mml:mrow><mml:mi mathvariant="bold">M</mml:mi><mml:mo>=</mml:mo><mml:msup><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mtable columnalign="right"><mml:mtr columnalign="right"><mml:mtd columnalign="right"><mml:mrow><mml:mn>74.6</mml:mn></mml:mrow></mml:mtd><mml:mtd columnalign="right"><mml:mrow><mml:mn>63.8</mml:mn></mml:mrow></mml:mtd><mml:mtd columnalign="right"><mml:mrow><mml:mn>81.1</mml:mn></mml:mrow></mml:mtd><mml:mtd columnalign="right"><mml:mrow><mml:mn>67.8</mml:mn></mml:mrow></mml:mtd><mml:mtd columnalign="right"><mml:mrow><mml:mn>74.8</mml:mn></mml:mrow></mml:mtd></mml:mtr><mml:mtr columnalign="right"><mml:mtd columnalign="right"><mml:mrow><mml:mn>81.3</mml:mn></mml:mrow></mml:mtd><mml:mtd columnalign="right"><mml:mrow><mml:mn>70.7</mml:mn></mml:mrow></mml:mtd><mml:mtd columnalign="right"><mml:mrow><mml:mn>85.9</mml:mn></mml:mrow></mml:mtd><mml:mtd columnalign="right"><mml:mrow><mml:mn>75.3</mml:mn></mml:mrow></mml:mtd><mml:mtd columnalign="right"><mml:mrow><mml:mn>80.1</mml:mn></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mrow><mml:mi mathvariant="normal">T</mml:mi></mml:mrow></mml:msup></mml:mrow></mml:math><label>(57)</label></disp-formula>
<disp-formula id="d58"><mml:math display="block"><mml:mrow><mml:mi mathvariant="bold">V</mml:mi><mml:mo>=</mml:mo><mml:msup><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mtable columnalign="right"><mml:mtr columnalign="right"><mml:mtd columnalign="right"><mml:mrow><mml:mn>289</mml:mn></mml:mrow></mml:mtd><mml:mtd columnalign="right"><mml:mrow><mml:mn>408</mml:mn></mml:mrow></mml:mtd><mml:mtd columnalign="right"><mml:mrow><mml:mn>217</mml:mn></mml:mrow></mml:mtd><mml:mtd columnalign="right"><mml:mrow><mml:mn>371</mml:mn></mml:mrow></mml:mtd><mml:mtd columnalign="right"><mml:mrow><mml:mn>294</mml:mn></mml:mrow></mml:mtd></mml:mtr><mml:mtr columnalign="right"><mml:mtd columnalign="right"><mml:mrow><mml:mn>220</mml:mn></mml:mrow></mml:mtd><mml:mtd columnalign="right"><mml:mrow><mml:mn>391</mml:mn></mml:mrow></mml:mtd><mml:mtd columnalign="right"><mml:mrow><mml:mn>163</mml:mn></mml:mrow></mml:mtd><mml:mtd columnalign="right"><mml:mrow><mml:mn>315</mml:mn></mml:mrow></mml:mtd><mml:mtd columnalign="right"><mml:mrow><mml:mn>235</mml:mn></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mrow><mml:mi mathvariant="normal">T</mml:mi></mml:mrow></mml:msup></mml:mrow></mml:math><label>(58)</label></disp-formula>with males in the first row and females in the second row. These differences in life expectancy among ethnic groups and between the sexes are typical for those variables.</p>
<p>Two mixing distributions suggest themselves, asking different questions. A flat mixing distribution treats each sex&#x2013;race combination equally in calculating its contribution to the variance. It provides information on how the differences in the conditions experienced by these groups contribute to the variance among individuals in length of life, and thus tells us something about the sex&#x2013;race groups per se. However, the groups have quite different levels of representation in the U.S. population. A mixing distribution proportional to the population sizes of each racial group, with sexes treated as equal, provides a decomposition of the variance in longevity among a hypothetical set of individuals who are, at birth, distributed over races proportional to the racial population sizes. (A mixing distribution with racial groups proportional to the number of births for each race would be similar, but not identical.) It tells us something about how the different conditions experienced by the groups <italic>and</italic> the population structure of those groups contribute to the variance in length of life.</p>
<p>Using population figures from 2020 (<xref ref-type="bibr" rid="r48">U.S. Census Bureau, Population Division, 2022</xref>), and setting the abundance of the sexes as equal, the marginal distributions for the flat mixing distribution are 
<disp-formula id="d59"><mml:math display="block"><mml:mrow><mml:msub><mml:mrow><mml:mi mathvariant="bold-italic">&#x03C0;</mml:mi></mml:mrow><mml:mrow><mml:mi>race</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mo minsize="16ex" stretchy="true">(</mml:mo><mml:mtable><mml:mtr><mml:mtd><mml:mrow><mml:mn>0.2</mml:mn></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mn>0.2</mml:mn></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mn>0.2</mml:mn></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mn>0.2</mml:mn></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mn>0.2</mml:mn></mml:mrow></mml:mtd></mml:mtr></mml:mtable><mml:mo minsize="16ex" stretchy="true">)</mml:mo><mml:mspace depth="0.0ex" height="0.0ex" width="2.0em"/><mml:msub><mml:mrow><mml:mi mathvariant="bold-italic">&#x03C0;</mml:mi></mml:mrow><mml:mrow><mml:mi>sex</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mo>(</mml:mo><mml:mtable><mml:mtr><mml:mtd><mml:mrow><mml:mn>0.5</mml:mn></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mn>0.5</mml:mn></mml:mrow></mml:mtd></mml:mtr></mml:mtable><mml:mo>)</mml:mo><mml:mo>.</mml:mo></mml:mrow></mml:math><label>(59)</label></disp-formula>The marginal distributions for the population-weighted mixing distribution are 
<disp-formula id="d60"><mml:math display="block"><mml:mrow><mml:msub><mml:mrow><mml:mi mathvariant="bold-italic">&#x03C0;</mml:mi></mml:mrow><mml:mrow><mml:mi>race</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mo minsize="15ex" stretchy="true">(</mml:mo><mml:mtable><mml:mtr><mml:mtd><mml:mrow><mml:mn>0.1859</mml:mn></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mn>0.0076</mml:mn></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mn>0.0607</mml:mn></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mn>0.1300</mml:mn></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mn>0.6158</mml:mn></mml:mrow></mml:mtd></mml:mtr></mml:mtable><mml:mo minsize="15ex" stretchy="true">)</mml:mo><mml:mspace depth="0.0ex" height="0.0ex" width="2.0em"/><mml:msub><mml:mrow><mml:mi mathvariant="bold-italic">&#x03C0;</mml:mi></mml:mrow><mml:mrow><mml:mi>sex</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mo>(</mml:mo><mml:mtable><mml:mtr><mml:mtd><mml:mrow><mml:mn>0.5</mml:mn></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mn>0.5</mml:mn></mml:mrow></mml:mtd></mml:mtr></mml:mtable><mml:mo>)</mml:mo><mml:mo>.</mml:mo></mml:mrow></mml:math><label>(60)</label></disp-formula>In the rank-one mixing distribution, the Hispanic and NH White groups account for 80% of the mixture, giving much less weight to the other racial categories. The rank-one mixing distribution is given by 
<disp-formula id="d61"><mml:math display="block"><mml:mrow><mml:mi mathvariant="bold">&#x03A0;</mml:mi><mml:mo>=</mml:mo><mml:mi>reshape</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mrow><mml:mi mathvariant="bold-italic">&#x03C0;</mml:mi></mml:mrow><mml:mrow><mml:mi>sex</mml:mi></mml:mrow></mml:msub><mml:mo>&#x2297;</mml:mo><mml:msub><mml:mrow><mml:mi mathvariant="bold-italic">&#x03C0;</mml:mi></mml:mrow><mml:mrow><mml:mi>race</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mn>5</mml:mn><mml:mo>,</mml:mo><mml:mn>2</mml:mn><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math><label>(61)</label></disp-formula>
<disp-formula id="d62"><mml:math display="block"><mml:mrow><mml:mo>=</mml:mo><mml:mo minsize="15ex" stretchy="true">(</mml:mo><mml:mtable><mml:mtr><mml:mtd><mml:mrow><mml:mn>0.0930</mml:mn></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mn>0.0930</mml:mn></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mn>0.0038</mml:mn></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mn>0.0038</mml:mn></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mn>0.0304</mml:mn></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mn>0.0304</mml:mn></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mn>0.0650</mml:mn></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mn>0.0650</mml:mn></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mn>0.3079</mml:mn></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mn>0.3079</mml:mn></mml:mrow></mml:mtd></mml:mtr></mml:mtable><mml:mo minsize="15ex" stretchy="true">)</mml:mo><mml:mo>.</mml:mo></mml:mrow></mml:math><label>(62)</label></disp-formula>
</p>
<p>The variance decompositions obtained from the flat and the population-weighted mixing distributions are given in <xref ref-type="table" rid="tab1">Table&#x00A0;1</xref>. Under the flat mixing distribution, the between-group variance accounts for 12.5% of the total variance. Racial differences contribute about three times the variance of sex differences, and the interaction contributes only a small fraction. When we shift our attention to the population-weighted mixing distribution, we see that the contribution of racial-ethnic heterogeneity shrinks from 31.5 to 7.4, as a result of the dominance of the population by the Hispanic and Non-Hispanic White groups. When the two factors are combined, heterogeneity accounts for only 5.6% of the variance.</p>
<table-wrap id="tab1" position="float">
<label>Table 1</label>
<caption><title>The components of variance in longevity due to race, sex, and their interaction, for the population of the United States, 2020, The population-weighted mixing distribution is constructed by setting the marginal distribution of races proportional to their representation in the U.S. population in 2020.</title></caption>
<table frame="hsides" rules="none">
<colgroup>
<col valign="top" align="left"/>
<col valign="top" align="left"/>
</colgroup>
<thead valign="top">
<tr>
<th colspan="2" align="left">Flat mixing</th>
</tr>
<tr>
<th align="left">Component</th>
<th align="center">Variance</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">A = Race</td>
<td align="center">31.5</td>
</tr>
<tr>
<td align="left">B = Sex</td>
<td align="center">9.7</td>
</tr>
<tr>
<td align="left">AB = Race &#x00D7; sex</td>
<td align="center">0.3</td>
</tr>
<tr>
<td align="left">(between-group)</td>
<td align="center">41.5</td>
</tr>
<tr>
<td align="left">Stochasticity</td>
<td align="center">290.3</td>
</tr>
<tr>
<td align="left">Total</td>
<td align="center">331.8</td>
</tr>
<tr>
<td align="left">
<inline-formula><mml:math display="inline"><mml:mrow><mml:mi mathvariant="script">K</mml:mi></mml:mrow></mml:math></inline-formula>
</td>
<td align="center">0.125</td>
</tr>
</tbody>
</table>
<table frame="hsides" rules="none">
<colgroup>
<col valign="top" align="left"/>
<col valign="top" align="left"/>
</colgroup>
<thead valign="top">
<tr>
<th colspan="2" align="left">Population-weighted mixing</th>
</tr>
<tr>
<th align="left">Component</th>
<th align="center">Variance</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">A = Race</td>
<td align="center">7.4</td>
</tr>
<tr>
<td align="left">B = Sex</td>
<td align="center">8.5</td>
</tr>
<tr>
<td align="left">AB = Race &#x00D7; sex</td>
<td align="center">0.2</td>
 </tr>
<tr>
<td align="left">(between-group)</td>
<td align="center">16.1</td>
</tr>
<tr>
<td align="left">Stochasticity</td>
<td align="center">269.3</td>
</tr>
<tr>
<td align="left">Total</td>
<td align="center">285.4</td>
</tr>
<tr>
<td align="left">
<inline-formula><mml:math display="inline"><mml:mrow><mml:mi mathvariant="script">K</mml:mi></mml:mrow></mml:math></inline-formula>
</td>
<td align="center">0.056</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
<sec id="sec5.1.2">
<title>Variance in longevity: Sex, race, and state of residence</title>
<p>In a country as large and diverse as the United States, there can be appreciable regional differences in mortality. The U.S. Census Bureau provides male and female life tables for each of the 50 states and the District of Columbia (<xref ref-type="bibr" rid="r2">Arias et&#x00A0;al., 2022</xref>). The differences in life expectancy among states are large, and are partly a reflection of the political affiliations and policies of the states, with occupants of more liberal states experiencing longer life expectancies (<xref ref-type="bibr" rid="r30">Montez and Farina, 2021</xref>; <xref ref-type="bibr" rid="r29">Montez et&#x00A0;al., 2020</xref>). An earlier study, conducted at the level of U.S. counties, found such large differences that the authors suggested the existence of &#x201C;eight Americas&#x201D; (<xref ref-type="bibr" rid="r32">Murray et&#x00A0;al., 2006</xref>).</p>
<p>As an example of a three-factor analysis, we consider United States life tables by sex, race, and state of residence as given in (<xref ref-type="bibr" rid="r60">Wei et&#x00A0;al., 2012</xref>). Unfortunately, the results are not directly comparable with the race&#x00D7;sex results in <xref ref-type="table" rid="tab1">Table&#x00A0;1</xref> because only two racial groups, White and Black, were reported in these data. Moreover, in Wei et&#x00A0;al. (<xref ref-type="bibr" rid="r60">2012</xref>), only 41 states were included because the sample sizes for the Black population in the other states were considered too small to provide reliable estimates of mortality. However, we present an analysis as an example of the potential for a three-factor interaction.</p>
<p>
<xref ref-type="table" rid="tab2">Table&#x00A0;2</xref> shows the variance decomposition with a flat mixing distribution. The largest main effect variance component is due to sex, followed by race and then state of residence. The two-way interactions are small, as is the three-way interaction. Taken together, the interactions account for just over 5% of the between-group variance. Within-group stochasticity again accounts for most of the variance, and the variance ratio <inline-formula><mml:math display="inline"><mml:mrow><mml:mi mathvariant="script">K</mml:mi><mml:mo>=</mml:mo><mml:mn>0.059</mml:mn></mml:mrow></mml:math></inline-formula>. That is, the combined effects of the three factors and their interactions account for only 5.9% of the variance in longevity.</p>
<table-wrap id="tab2" position="float">
<label>Table 2</label>
<caption><title>Components of variance in longevity due to sex, race, and U.S. state of residence.</title></caption>
<table frame="hsides" rules="none">
<colgroup>
<col valign="top" align="left"/>
<col valign="top" align="left"/>
</colgroup>
<thead valign="top">
<tr>
<th colspan="2" align="left">Flat mixing</th>
</tr>
<tr>
<th align="left">Component</th>
<th align="center">Variance</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">A = sex</td>
<td align="center">9.23</td>
</tr>
<tr>
<td align="left">B = race</td>
<td align="center">7.50</td>
</tr>
<tr>
<td align="left">C = state</td>
<td align="center">1.37</td>
</tr>
<tr>
<td align="left">AB = sex &#x00D7; race</td>
<td align="center">0.061</td>
</tr>
<tr>
<td align="left">AC = sex &#x00D7; state</td>
<td align="center">0.209</td>
</tr>
<tr>
<td align="left">BC = race &#x00D7; state</td>
<td align="center">0.567</td>
</tr>
<tr>
<td align="left">ABC = sex &#x00D7; race &#x00D7; state</td>
<td align="center">0.170</td>
</tr>
<tr>
<td align="left">(between-groups)</td>
<td align="center">19.11</td>
</tr>
<tr>
<td align="left">Stochasticity</td>
<td align="center">303.04</td>
</tr>
<tr>
<td align="left">Total</td>
<td align="center">322.14</td>
</tr>
<tr>
<td align="left">
<inline-formula><mml:math display="inline"><mml:mrow><mml:mi mathvariant="script">K</mml:mi></mml:mrow></mml:math></inline-formula>
</td>
<td align="center">0.059</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
</sec>
<sec id="sec5.2">
<title>Lifetime reproductive output</title>
<p>Lifetime reproductive output (LRO), sometimes called lifetime reproductive success (LRS), is the number of offspring produced by a female over her lifetime. When offspring are measured as female children and are subject to mortality, the mean of LRO is the net reproductive rate <inline-formula><mml:math display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mn>0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> (or NRR). When offspring are measured as children of either sex and mortality is excluded, the mean of LRO is the total fertility rate (TFR). See Keilman et&#x00A0;al. (<xref ref-type="bibr" rid="r25">2014</xref>) for a discussion of measures of lifetime reproduction including different combinations of sexes, and Caswell (<xref ref-type="bibr" rid="r9">2009</xref>, p.&#x00A0;1771) for the criteria that must be met for the net reproductive rate.</p>
<p>Lifetime reproductive &#x201C;output&#x201D; is a purposely flexible term. Output could be defined as children of either sex, or of both sexes, or of any other categories. Thus, it is important to specify how output is defined. Other categories can be analysed the same way. If, for example, we were interested in left-handed blue-eyed children and had age-specific numbers of such births per female, the lifetime output of such children could be calculated. Lifetime production of left-handed blue-eyed children is purposely frivolous, but the same logic applies to, for example, children born with trisomy-21 (the chromosome duplication that causes Down syndrome). The statistics of the lifetime production of children with trisomy-21 could be very interesting indeed.</p>
<p>Because survival and reproduction include stochastic processes, LRO is a random variable, with a variance, skewness and higher moments. This variance could be considered a &#x201C;reproductive inequality&#x201D; just as variance in longevity is considered &#x201C;lifespan inequality.&#x201D; However, this type of inequality of outcome seems to have drawn little interest (but see early work on the concentration of reproduction by <xref ref-type="bibr" rid="r58">Vaupel and Goodwin, 1987</xref> and <xref ref-type="bibr" rid="r41">Shkolnikov et&#x00A0;al., 2007</xref>). Variation in outcomes such as childlessness and completed parity has attracted attention, and integrating these outcomes into a variance partitioning framework is an interesting research challenge.</p>
<p>The variance among individuals in lifetime reproduction has been approached by population biologists in several ways (e.g.,&#x00A0;<xref ref-type="bibr" rid="r10">Caswell, 2011</xref>; <xref ref-type="bibr" rid="r44">Steiner and Tuljapurkar, 2012</xref>; <xref ref-type="bibr" rid="r50">van Daalen and Caswell, 2017</xref>; <xref ref-type="bibr" rid="r42">Snyder and Ellner, 2018</xref>; <xref ref-type="bibr" rid="r47">Tuljapurkar et al., 2020</xref>). Here we use Markov chains with rewards (MCWR), which provide the mean and variance (indeed, all the moments) of lifetime reproduction. See Caswell (<xref ref-type="bibr" rid="r10">2011</xref>); van Daalen and Caswell (<xref ref-type="bibr" rid="r50">2017</xref>, <xref ref-type="bibr" rid="r51">2020</xref>) for details of the calculation. Briefly, individual development, survival and transitions among the possible life history states are described by an absorbing Markov chain. Rewards, in the form of offspring produced along the life history trajectory, are accumulated until death. The model provides the mean and variance of lifetime fertility as a function of the demographic rates, depending on the fate of the individual and on the outcomes of its chances of reproduction at each point in its lifetime.</p>
<p>While some comparisons of the variance, skewness and other statistics of LRO for humans and other species, have been reported (<xref ref-type="bibr" rid="r10">Caswell, 2011</xref>; <xref ref-type="bibr" rid="r49">van Daalen and Caswell, 2015</xref>; <xref ref-type="bibr" rid="r50">van Daalen and Caswell, 2017</xref>; <xref ref-type="bibr" rid="r52">van Daalen and Caswell, 2024</xref>; <xref ref-type="bibr" rid="r56">Varas Enr&#x00ED;quez et&#x00A0;al., 2022</xref>), only a few studies have partitioned variance in LRO into contributions from heterogeneity and stochasticity. One example is the study by van Daalen et&#x00A0;al. (<xref ref-type="bibr" rid="r53">2022</xref>) of the contribution of heterogeneity in maternal age to variance in LRO in a rotifer.</p>
<p>As with longevity, our goal here is to extend one-factor analyses to multi-factor studies in which the variance in lifetime reproduction can be partitioned into contributions from heterogeneity and stochasticity. We show two examples. One is a comparison of lifetime fertility among human females in 31 developed countries over a 40-year time interval, treating country and time as factors. The other is a laboratory study of the effects of food limitation and pesticide exposure on a rotifer.</p>
<sec id="sec5.2.1">
<title>Variance in reproduction over time and among countries</title>
<p>van Daalen and Caswell (<xref ref-type="bibr" rid="r49">2015</xref>) used Markov chains with rewards to explore the statistics of lifetime reproduction (mean, variance, skewness, standardised variance) in a set of developed countries during the second demographic transition, using data from the Human Mortality Database and the Human Fertility Database.</p>
<p>Strictly as an example of the calculations, we present an analysis of a two-factor variance decomposition, choosing as factors years (the two years 1960 and 2000) and countries (the 31 countries for which data were available for both years).<xref ref-type="fn" rid="fn3"><sup>3</sup></xref> We computed the within-group and between-group components of variance, comparing two mixing distributions. One is flat, treating each country-year combination as equally important. The other creates marginal mixing distributions proportional to population size measured at age zero. This accounts for the distribution of population sizes of individuals beginning their &#x201C;lifetime reproduction&#x201D; that would result from randomly selecting newborn females in proportion to their abundance.</p>
<p>
<xref ref-type="table" rid="tab3">Table&#x00A0;3</xref> shows the components of variance due to years, countries, and the interaction of countries and years. It also shows the within-factor variance due to stochasticity.</p>
<table-wrap id="tab3" position="float">
<label>Table 3</label>
<caption><title>Components of variance in lifetime reproduction as affected by the factors year (1960 compared with 2000) and country. Based on data from van Daalen and Caswell (<xref ref-type="bibr" rid="r49">2015</xref>).</title></caption>
<table frame="hsides" rules="none">
<colgroup>
<col valign="top" align="left"/>
<col valign="top" align="left"/>
</colgroup>
<thead>
<tr>
<th colspan="2" align="left">Flat mixing</th>
</tr>
<tr>
<th align="left">Component</th>
<th align="center">Variance</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">A = year</td>
<td align="center">0.330</td>
</tr>
<tr>
<td align="left">B = country</td>
<td align="center">0.135</td>
</tr>
<tr>
<td align="left">AB = year &#x00D7; country</td>
<td align="center">0.046</td>
</tr>
<tr>
<td align="left">(between-groups)</td>
<td align="center">0.513</td>
</tr>
<tr>
<td align="left">Stochasticity</td>
<td align="center">1.976</td>
</tr>
<tr>
<td align="left">Total</td>
<td align="center">2.487</td>
</tr>
<tr>
<td align="left">
<inline-formula><mml:math display="inline"><mml:mrow><mml:mi mathvariant="script">K</mml:mi></mml:mrow></mml:math></inline-formula>
</td>
<td align="center">0.206</td>
</tr>
</tbody>
</table>
<table frame="hsides" rules="none">
<colgroup>
<col valign="top" align="left"/>
<col valign="top" align="left"/>
</colgroup>
<thead valign="top">
<tr>
<th colspan="2" align="left">Population-weighted</th>
</tr>
<tr>
<th align="left">Component</th>
<th align="center">Variance</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">A = year</td>
<td align="center">0.348</td>
</tr>
<tr>
<td align="left">B = country</td>
<td align="center">0.229</td>
</tr>
<tr>
<td align="left">AB = year &#x00D7; country</td>
<td align="center">0.035</td>
</tr>
<tr>
<td align="left">(between-groups)</td>
<td align="center">0.612</td>
</tr>
<tr>
<td align="left">Stochasticity</td>
<td align="center">2.170</td>
</tr>
<tr>
<td align="left">Total</td>
<td align="center">2.782</td>
</tr>
<tr>
<td align="left">
<inline-formula><mml:math display="inline"><mml:mrow><mml:mi mathvariant="script">K</mml:mi></mml:mrow></mml:math></inline-formula>
</td>
<td align="center">0.220</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>With a flat mixing distribution, the variance due to years is more than twice the variance due to countries. The interaction of years and countries is very small. The within-factor variance due to stochasticity is large, and the variance ratio <inline-formula><mml:math display="inline"><mml:mrow><mml:mi mathvariant="script">K</mml:mi><mml:mo>=</mml:mo><mml:mn>0.21</mml:mn></mml:mrow></mml:math></inline-formula>. That is, only 21% of the variance in lifetime reproduction is due to the historical changes over this 40-year period and the political and social differences among countries over these two years. Almost 80% of the variance is due to stochasticity from the random outcome of survival and fertility. Within that 21% of the variance due to heterogeneity, 91% is due to main effects.</p>
<p>Using the population-weighted rank-one mixing distribution makes only small changes in the variance components. The component due to years is similar to that with a flat mixing distribution. The component due to countries is larger with the population-weighted mixing distribution than with the flat mixing distribution. This contrasts with the results for longevity in <xref ref-type="table" rid="tab1">Table&#x00A0;1</xref>, in which weighting the races by population size reduced, rather than increased, the variance due to race. The interaction is again very small, and the variance ratio <inline-formula><mml:math display="inline"><mml:mrow><mml:mi mathvariant="script">K</mml:mi><mml:mo>=</mml:mo><mml:mn>0.22</mml:mn></mml:mrow></mml:math></inline-formula> is very similar to that with the flat mixing distribution.</p>
</sec>
<sec id="sec5.2.2">
<title>Variance in reproduction due to diet and pesticide exposure</title>
<p>There is a rich biodemographic literature that applies demographic methods to laboratory populations of animals in order to evaluate the population effects of exposure to toxic substances. We present one such example here to demonstrate how exposure to conditions that are known to affect human fertility can be analysed in a case where experimentation is real, not imaginary.</p>
<p>Rotifers are microscopic invertebrate animals commonly used as bioindicator species for water quality, and are increasingly used as model organisms for the study of ageing, maternal effects, and maternal investment (<xref ref-type="bibr" rid="r5">Bock et&#x00A0;al., 2019</xref>). They have a relatively short lifespan (<inline-formula><mml:math display="inline"><mml:mrow><mml:mo>&#x224D;</mml:mo><mml:mn>2</mml:mn></mml:mrow></mml:math></inline-formula> weeks), but high maternal investment into a small number of offspring.</p>
<p>In a classic experiment by Rao and Sarma (<xref ref-type="bibr" rid="r36">1986</xref>), the rotifer <italic>Brachionus patulus</italic> was exposed to five different concentrations of the pesticide DDT under low and high food resource levels. Age-specific survival and fertility schedules were reported for all combinations of DDT treatment and food levels. The resulting arrays of means and variances of LRO are 
<disp-formula id="d63"><mml:math display="block"><mml:mrow><mml:mi mathvariant="bold">M</mml:mi><mml:mo>=</mml:mo><mml:mo>(</mml:mo><mml:mtable columnalign="right"><mml:mtr columnalign="right"><mml:mtd columnalign="right"><mml:mrow><mml:mn>4.59</mml:mn></mml:mrow></mml:mtd><mml:mtd columnalign="right"><mml:mrow><mml:mn>4.87</mml:mn></mml:mrow></mml:mtd><mml:mtd columnalign="right"><mml:mrow><mml:mn>0.79</mml:mn></mml:mrow></mml:mtd><mml:mtd columnalign="right"><mml:mrow><mml:mn>0.04</mml:mn></mml:mrow></mml:mtd><mml:mtd columnalign="right"><mml:mrow><mml:mn>0.01</mml:mn></mml:mrow></mml:mtd></mml:mtr><mml:mtr columnalign="right"><mml:mtd columnalign="right"><mml:mrow><mml:mn>12.64</mml:mn></mml:mrow></mml:mtd><mml:mtd columnalign="right"><mml:mrow><mml:mn>11.38</mml:mn></mml:mrow></mml:mtd><mml:mtd columnalign="right"><mml:mrow><mml:mn>9.50</mml:mn></mml:mrow></mml:mtd><mml:mtd columnalign="right"><mml:mrow><mml:mn>3.79</mml:mn></mml:mrow></mml:mtd><mml:mtd columnalign="right"><mml:mrow><mml:mn>1.49</mml:mn></mml:mrow></mml:mtd></mml:mtr></mml:mtable><mml:mo>)</mml:mo></mml:mrow></mml:math><label>(63)</label></disp-formula>
<disp-formula id="d64"><mml:math display="block"><mml:mrow><mml:mi mathvariant="bold">V</mml:mi><mml:mo>=</mml:mo><mml:mo>(</mml:mo><mml:mtable columnalign="right"><mml:mtr columnalign="right"><mml:mtd columnalign="right"><mml:mrow><mml:mn>12.95</mml:mn></mml:mrow></mml:mtd><mml:mtd columnalign="right"><mml:mrow><mml:mn>12.45</mml:mn></mml:mrow></mml:mtd><mml:mtd columnalign="right"><mml:mrow><mml:mn>1.69</mml:mn></mml:mrow></mml:mtd><mml:mtd columnalign="right"><mml:mrow><mml:mn>0.08</mml:mn></mml:mrow></mml:mtd><mml:mtd columnalign="right"><mml:mrow><mml:mn>0.01</mml:mn></mml:mrow></mml:mtd></mml:mtr><mml:mtr columnalign="right"><mml:mtd columnalign="right"><mml:mrow><mml:mn>34.93</mml:mn></mml:mrow></mml:mtd><mml:mtd columnalign="right"><mml:mrow><mml:mn>39.89</mml:mn></mml:mrow></mml:mtd><mml:mtd columnalign="right"><mml:mrow><mml:mn>28.10</mml:mn></mml:mrow></mml:mtd><mml:mtd columnalign="right"><mml:mrow><mml:mn>16.11</mml:mn></mml:mrow></mml:mtd><mml:mtd columnalign="right"><mml:mrow><mml:mn>5.48</mml:mn></mml:mrow></mml:mtd></mml:mtr></mml:mtable><mml:mo>)</mml:mo><mml:mo>.</mml:mo></mml:mrow></mml:math><label>(64)</label></disp-formula>
</p>
<p>The two rows represent low and high food levels, respectively. The columns represent the five increasing levels of DDT exposure (0, 15, 30, 45, <inline-formula><mml:math display="inline"><mml:mrow><mml:mn>60</mml:mn><mml:mtext>&#x2009;</mml:mtext><mml:mtext>&#x2009;</mml:mtext><mml:mi>&#x03BC;</mml:mi><mml:mi mathvariant="normal">g</mml:mi><mml:mo stretchy="false">/</mml:mo><mml:mi mathvariant="normal">l</mml:mi></mml:mrow></mml:math></inline-formula> of DDT).</p>
<p>In this experiment, both DDT exposure and low food levels reduce mean lifetime reproduction. The effect of the pesticide exposure is greater at low food levels than at high food levels. The variance in LRO decreases with increasing DDT exposure and at low food levels. The variance is much larger than the mean, implying that the distribution of LRO is overdispersed relative to the Poisson distribution. This is a frequent pattern in analyses of LRO; it often results from some portion of the population failing to reproduce at all (e.g.,&#x00A0;<xref ref-type="bibr" rid="r47">Tuljapurkar et al., 2020</xref>; <xref ref-type="bibr" rid="r50">van Daalen and Caswell, 2017</xref>).</p>
<p>The uniform mixing distribution is appropriate to a designed experiment like this. The resulting variance decomposition is shown in <xref ref-type="table" rid="tab4">Table&#x00A0;4</xref>. The biggest component is that due to pesticide exposure, while the food level contribution is slightly smaller. The between-group variance, including the two main effects and their interaction, accounts for 57% of the variance in the experiment, which is higher than any of the percentages found to date for variance in longevity. The contribution of the food&#x00D7;DDT interaction is small, making up 9% of the total between-group variance.</p>
<table-wrap id="tab4" position="float">
<label>Table 4</label>
<caption><title>Components of variance in lifetime reproduction as affected by food level and DDT exposure. Data from the experimental study of Rao and Sarma (<xref ref-type="bibr" rid="r36">1986</xref>).</title></caption>
<table frame="hsides" rules="none">
<colgroup>
<col valign="top" align="left"/>
<col valign="top" align="left"/>
</colgroup>
<thead>
<tr>
<th colspan="2" align="left">Flat mixing</th>
</tr>
<tr>
<th align="left">Component</th>
<th align="center">Variance</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">A = food level</td>
<td align="center">8.12</td>
</tr>
<tr>
<td align="left">B = DDT exposure</td>
<td align="center">10.09</td>
</tr>
<tr>
<td align="left">AB = food &#x00D7; DDT</td>
<td align="center">1.84</td>
</tr>
<tr>
<td align="left">(between-groups)</td>
<td align="center">20.06</td>
</tr>
<tr>
<td align="left">Stochasticity</td>
<td align="center">15.17</td>
</tr>
<tr>
<td align="left">Total</td>
<td align="center">35.22</td>
</tr>
<tr>
<td align="left">
<inline-formula><mml:math display="inline"><mml:mrow><mml:mi mathvariant="script">K</mml:mi></mml:mrow></mml:math></inline-formula>
</td>
<td align="center">0.57</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
</sec>
</sec>
<sec id="sec6">
<title>Discussion</title>
<p>Despite the obvious importance of variation, demography has often focused on expected values. Life expectancy is the expected value of longevity, the net reproductive rate <inline-formula><mml:math display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mn>0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> is the expected value of lifetime reproduction, and the total fertility rate TFR is the expected value of lifetime reproduction conditional on survival to the end of reproduction. The focus is expanding as questions of inequality become more important. Addressing these questions naturally leads to partitioning variation into components due to differences among individuals in the rates to which they are subject (heterogeneity) and components due to the stochastic outcomes of those rates among individuals subject to the same rates.</p>
<p>The current state of the art focuses on contributions of factors treated one at a time (sex, education, income, nutrition, etc.). Many studies of variance in longevity have found that the contribution of heterogeneity, even in factors known to have important effects on individuals, is dwarfed by the contribution of stochasticity. While variance in lifetime reproduction has been studied less, it appears that heterogeneity may make larger contributions to this demographic outcome.</p>
<p>Variance decomposition requires the means and variances of the outcome for all combinations of the factors. Although the means and variances can be obtained in many different ways, Markov chains with rewards are a particularly powerful method. They can be applied to lifetime reproduction, to longevity in single- or multi-state models, and to healthy longevity in both prevalence-based (e.g.,&#x00A0;<xref ref-type="bibr" rid="r14">Caswell and Zarulli, 2018</xref> and <xref ref-type="bibr" rid="r62">Zarulli and Caswell, 2022</xref> for disability, <xref ref-type="bibr" rid="r33">Owoeye et&#x00A0;al., 2020</xref> for malnutrition) and incidence-based (<xref ref-type="bibr" rid="r13">Caswell and van Daalen, 2021</xref> for stages of cancer) models.</p>
<p>In this paper we have provided the results needed to apply these means and variances in studies of multiple factors operating simultaneously. The protocol for the variance decomposition follows a simple series of steps, independent of the number of factors considered.</p>
<sec id="sec6.1">
<title>A protocol for factorial variance decomposition</title>
<p>
<list list-type="order">
<list-item>
<label>1.</label>
<p>Define the factors that characterise the heterogeneity among individuals (e.g.,&#x00A0;sex, race, income, education, resource levels) and the levels of each factor.</p>
</list-item>
<list-item>
<label>2.</label>
<p>Choose a demographic outcome of interest (e.g.,&#x00A0;longevity, lifetime reproductive output).</p>
</list-item>
<list-item>
<label>3.</label>
<p>Compute the means and variances of this demographic outcome for all combinations of the factors, using Markov chains, Markov chains with rewards, or life tables as deemed appropriate.</p>
</list-item>
<list-item>
<label>4.</label>
<p>Create the arrays <inline-formula><mml:math display="inline"><mml:mi mathvariant="bold">M</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math display="inline"><mml:mi mathvariant="bold">V</mml:mi></mml:math></inline-formula> containing the means and variances, as in equations&#x00A0;(<xref ref-type="disp-formula" rid="d13">13</xref>) and (<xref ref-type="disp-formula" rid="d14">14</xref>). The dimension of these arrays is the number of factors in the study (i.e.,&#x00A0;for <inline-formula><mml:math display="inline"><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:math></inline-formula> factors, <inline-formula><mml:math display="inline"><mml:mi mathvariant="bold">M</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math display="inline"><mml:mi mathvariant="bold">V</mml:mi></mml:math></inline-formula> are <inline-formula><mml:math display="inline"><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:math></inline-formula>-dimensional).</p>
</list-item>
<list-item>
<label>5.</label>
<p>Think about the question of interest and specify a set of individuals over which the variances are to be computed: <list list-type="alpha-lower">
<list-item>
<label>(a)</label>
<p>a set consisting of equal representation of all factor combinations (the flat mixing distribution); or</p>
</list-item>
<list-item>
<label>(b)</label>
<p>a set defined by a rank-one combination of marginal distributions.</p>
</list-item>
</list>
</p>
</list-item>
<list-item>
<label>6.</label>
<p>Create the array <inline-formula><mml:math display="inline"><mml:mi mathvariant="bold">&#x03A0;</mml:mi></mml:math></inline-formula>, containing the <inline-formula><mml:math display="inline"><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:math></inline-formula>-dimensional mixing distribution, as in (<xref ref-type="disp-formula" rid="d15">15</xref>).</p>
</list-item>
<list-item>
<label>7.</label>
<p>Treating all the factor combinations as groups, calculate the overall within- and between-factor variance components <inline-formula><mml:math display="inline"><mml:mrow><mml:msub><mml:mi>V</mml:mi><mml:mrow><mml:mi>within</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math display="inline"><mml:mrow><mml:msub><mml:mi>V</mml:mi><mml:mrow><mml:mi>between</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> using equations&#x00A0;(<xref ref-type="disp-formula" rid="d9">9</xref>) and (<xref ref-type="disp-formula" rid="d10">10</xref>).</p>
</list-item>
<list-item>
<label>8.</label>
<p>Partition the between-group variance into components: <list list-type="alpha-lower">
<list-item>
<label>(a)</label>
<p>compute marginal mean arrays for each factor and each factor interaction, as in equations&#x00A0;(<xref ref-type="disp-formula" rid="d20">20</xref>)&#x2013;(<xref ref-type="disp-formula" rid="d22">22</xref>);</p>
</list-item>
<list-item>
<label>(b)</label>
<p>create the corresponding marginal mixing distributions, as in equations&#x00A0;(<xref ref-type="disp-formula" rid="d23">23</xref>)&#x2013;(<xref ref-type="disp-formula" rid="d25">25</xref>); and</p>
</list-item>
<list-item>
<label>(c)</label>
<p>compute the variance components for each factor and each interaction, as in equations&#x00A0;(<xref ref-type="disp-formula" rid="d27">27</xref>)&#x2013;(<xref ref-type="disp-formula" rid="d29">29</xref>).</p>
</list-item>
</list>
</p>
</list-item>
</list>
</p>
</sec>
<sec id="sec6.2">
<title>Variance as a measure of inequality</title>
<p>There are many ways to measure the variation (&#x201C;inequality&#x201D; in a broad sense) of some quantity. Economists have developed many indices to address specifically economic issues related to income, transfers, and so on (e.g.,&#x00A0;<xref ref-type="bibr" rid="r40">Sen, 1997</xref>; <xref ref-type="bibr" rid="r24">Jenkins and van Kerm, 2009</xref>; <xref ref-type="bibr" rid="r3">Atkinson, 2015</xref>). In demographic contexts, these measures are highly correlated (<xref ref-type="bibr" rid="r54">Van Raalte and Caswell, 2013</xref>). Thus if the aim is to focus only on the value of the index, there is little basis on which to choose among them. But if the aim is to go beyond the values, there are properties of the variance that make it an attractive choice.</p>
<p>As is well known, the variance is decomposable into within- and between-group components (as are indices based on entropy). Additive decomposability is more than a mathematical nicety; it is fundamental to our attempts to understand how heterogeneity contributes to inequality of outcomes. It was for this purpose that Fisher introduced it as the basis for the analysis of experimental data (<xref ref-type="bibr" rid="r21">Fisher, 1936</xref>). Statistical ANOVA has developed into an enormous variety of study designs, referred to as &#x201C;experimental designs&#x201D; in the experimental sciences. In our context, these designs correspond to arrangements of factors within and across populations. The factorial study design we explore here only scratches the surface of the possibilities.</p>
<p>The most popular alternative to the variance is the Gini coefficient. The Gini coefficient is based on the mean of the absolute values of the deviations between pairs of variates (e.g.,&#x00A0;individuals) selected from the distribution. Because of this, Permanyer et&#x00A0;al. (<xref ref-type="bibr" rid="r34">2023</xref>) call the Gini coefficient an individual measure. They contrast it with the variance, which they call a group measure because the variance is usually written as the mean of the squared deviations from the mean, rather than as a difference among individual values. However, the variance and the Gini coefficient are both individual measures in this sense. The mean difference between two individuals from the distribution <inline-formula><mml:math display="inline"><mml:mrow><mml:mi>f</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mo>&#x00B7;</mml:mo><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula> is 
<disp-formula id="d65"><mml:math display="block"><mml:mrow><mml:msub><mml:mrow><mml:mi mathvariant="normal">&#x0394;</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:msubsup><mml:mrow><mml:mo>&#x222B;</mml:mo></mml:mrow><mml:mrow><mml:mo>&#x2212;</mml:mo><mml:mi>&#x221E;</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x221E;</mml:mi></mml:mrow></mml:msubsup><mml:msubsup><mml:mrow><mml:mo>&#x222B;</mml:mo></mml:mrow><mml:mrow><mml:mo>&#x2212;</mml:mo><mml:mi>&#x221E;</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x221E;</mml:mi></mml:mrow></mml:msubsup><mml:mo stretchy="false">|</mml:mo><mml:mi>x</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mi>y</mml:mi><mml:mo stretchy="false">|</mml:mo><mml:mtext>&#x2009;</mml:mtext><mml:mi>f</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>x</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mi>f</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>y</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mi>d</mml:mi><mml:mi>x</mml:mi><mml:mi>d</mml:mi><mml:mi>y</mml:mi><mml:mo>.</mml:mo></mml:mrow></mml:math><label>(65)</label></disp-formula>The Gini coefficient is a standardised, dimensionless version of the mean difference 
<disp-formula id="d66"><mml:math display="block"><mml:mrow><mml:mi>G</mml:mi><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:msub><mml:mi mathvariant="normal">&#x0394;</mml:mi><mml:mn>1</mml:mn></mml:msub></mml:mrow><mml:mrow><mml:mn>2</mml:mn><mml:msub><mml:mi>&#x03BC;</mml:mi><mml:mn>1</mml:mn></mml:msub></mml:mrow></mml:mfrac></mml:mrow></mml:math><label>(66)</label></disp-formula>where <inline-formula><mml:math display="inline"><mml:mrow><mml:msub><mml:mi>&#x03BC;</mml:mi><mml:mn>1</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> is the mean.</p>
<p>The variance can also be written as a difference among individuals, &#x201C;without reference to deviations from a central value, the mean&#x201D; (<xref ref-type="bibr" rid="r27">Kendall and Stuart, 1969</xref>, p.&#x00A0;47) as 
<disp-formula id="d67"><mml:math display="block"><mml:mrow><mml:mi>V</mml:mi><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:mfrac><mml:msubsup><mml:mrow><mml:mo>&#x222B;</mml:mo></mml:mrow><mml:mrow><mml:mo>&#x2212;</mml:mo><mml:mi>&#x221E;</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x221E;</mml:mi></mml:mrow></mml:msubsup><mml:msubsup><mml:mrow><mml:mo>&#x222B;</mml:mo></mml:mrow><mml:mrow><mml:mo>&#x2212;</mml:mo><mml:mi>&#x221E;</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x221E;</mml:mi></mml:mrow></mml:msubsup><mml:msup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>x</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mi>y</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup><mml:mtext>&#x2009;</mml:mtext><mml:mi>f</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>x</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mi>f</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>y</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mi>d</mml:mi><mml:mi>x</mml:mi><mml:mi>d</mml:mi><mml:mi>y</mml:mi><mml:mo>.</mml:mo></mml:mrow></mml:math><label>(67)</label></disp-formula>
</p>
<p>The similarity between the mean difference and the variance is clear; the former uses absolute values of the differences between individuals, while the latter uses the squares of the differences. Just as the Gini coefficient is a standardised mean difference, the variance can be standardised as the familiar coefficient of variation 
<disp-formula id="d68"><mml:math display="block"><mml:mrow><mml:mi>C</mml:mi><mml:mi>V</mml:mi><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:msqrt><mml:mi>V</mml:mi></mml:msqrt></mml:mrow><mml:mrow><mml:msub><mml:mi>&#x03BC;</mml:mi><mml:mn>1</mml:mn></mml:msub></mml:mrow></mml:mfrac></mml:mrow></mml:math><label>(68)</label></disp-formula>or the standardised variance 
<disp-formula id="d69"><mml:math display="block"><mml:mrow><mml:msub><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi>s</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:msubsup><mml:mrow><mml:mi>&#x03BC;</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup></mml:mrow></mml:mfrac><mml:mo>.</mml:mo></mml:mrow></mml:math><label>(69)</label></disp-formula>
</p>
<p>The standardised variance is known in evolution and anthropology as Crow&#x2019;s index of the opportunity for selection (<xref ref-type="bibr" rid="r16">Crow, 1958</xref>; <xref ref-type="bibr" rid="r15">Courtiol et&#x00A0;al., 2012</xref>; <xref ref-type="bibr" rid="r52">van Daalen and Caswell, 2024</xref>). Like the variance, it is additively decomposable into between-group and within-group components as a measure of inequality (<xref ref-type="bibr" rid="r38">Rosenbluth, 1951</xref>).</p>
<p>The variance also has the advantage of being a central moment of the distribution, inviting connections to other moments. These moments highlight other aspects of the distribution (e.g.,&#x00A0;skewness), and at least some of them can also be decomposed into within- and between-group components. There seems to be no comparable linkage of absolute deviations to such other properties of the distribution.</p>
</sec>
<sec id="sec6.3">
<title>Remarks</title>
<p>The variance partitioning presented here is related to, but is not the same as, statistical analysis of variance (ANOVA). Our results do not provide hypothesis tests, because they lack an underlying sampling theory to obtain distributions of the variance components under a null hypothesis. If they did, most of the between-group components would be statistically insignificant. However, the factors investigated in demographic studies are usually known a priori to be of social or biological importance. The observation that the contribution of heterogeneity to variance is small does not imply that the factors are not worthy of attention; rather, it merely implies that stochasticity is itself an important factor and is worthy of study (see <xref ref-type="bibr" rid="r12">Caswell 2023</xref>, Section&#x00A0;8.5).</p>
<p>The mixing distribution plays a central role in variance partitioning. It is tempting to wonder if the results are somehow an artefact of that distribution. Insight into the potential effect of the mixing distribution can be obtained by generating marginal distributions at random, combining them to form a rank-one distribution, and then computing the variance ratio. <xref ref-type="fig" rid="fig2">Figure&#x00A0;2</xref> shows the distribution of the variance ratio <inline-formula><mml:math display="inline"><mml:mi mathvariant="script">K</mml:mi></mml:math></inline-formula> obtained from a sample of 10,000 mixing distributions distributed uniformly over the simplex, for the case of the U.S. sex, race, and states (<xref ref-type="table" rid="tab2">Table&#x00A0;2</xref>). This is a sample from the set of all possible rank-one mixing distributions (including many that are demographically absurd). Even so, the largest variance ratio in this sample is only 0.075. Since the variance ratio with a flat mixing distribution, is <inline-formula><mml:math display="inline"><mml:mrow><mml:mi mathvariant="script">K</mml:mi><mml:mo>=</mml:mo><mml:mn>0.059</mml:mn></mml:mrow></mml:math></inline-formula>, it seems unlikely from <xref ref-type="fig" rid="fig2">Figure&#x00A0;2</xref> that this ratio could be increased very much by any other choice of mixing distribution.</p>
<fig id="f2" position="float">
<label>Figure 2</label>
<caption><title>Frequency distribution of the variance ratio <inline-formula><mml:math display="inline"><mml:mi mathvariant="script">K</mml:mi></mml:math></inline-formula>, from a sample of 10,000 random, uniformly distributed samples of all possible rank-one mixing distributions over sex, race, and U.S. states. The vertical line indicates the observed value.</title></caption>
<graphic xlink:href="f2.png"/>
</fig>
<p>A rank-one mixing distribution is required in order to partition the between-group variance into contributions from main effects and interactions. However, the calculation of the between-group variance itself, as in equation&#x00A0;(<xref ref-type="disp-formula" rid="d19">19</xref>), places no restriction on the mixing distribution. It simply treats all the treatment combinations as levels of a single factor, reducing that portion of the calculation to a one-way design.</p>
<p>A recent survey of single-factor studies found that heterogeneity usually explained only 5%&#x2013;10% of the variance in longevity (<xref ref-type="bibr" rid="r12">Caswell, 2023</xref>). The results of the present paper suggest that including multiple factors and their interactions may not increase <inline-formula><mml:math display="inline"><mml:mi mathvariant="script">K</mml:mi></mml:math></inline-formula> very much. Further comparative research is needed. The variance ratio for lifetime reproduction appears to be larger than that for longevity, and the variance components for LRO appear to be strongly influenced by conditions. van Daalen et&#x00A0;al. (<xref ref-type="bibr" rid="r53">2022</xref>) found that heterogeneity in maternal age in a rotifer explained about 26% of the variance in LRO under laboratory conditions, but as little as 2% under most conditions that would lead to a stationary population. The sensitivity analysis of variance components (<xref ref-type="bibr" rid="r51">van Daalen and Caswell, 2020</xref>) may be helpful for exploring these relationships.</p>
<p>We encourage the use of the methods we present here to explore the contributions of multiple factors and their interactions to variance in demographic outcomes. Patterns await discovery.</p>
</sec>
</sec>
</body>
<back>
<ack>
<title>Acknowledgements</title>
<p>This research has been supported by the European Research Council through the European Union&#x2019;s Horizon 2020 research and innovation program under ERC Advanced Grant 788195 (FORMKIN). SFvD was also supported by the Postdoctoral Scholar Program at Woods Hole Oceanographic Institution, with funding provided by the Doherty Foundation. We thank two anonymous reviewers for helpful comments. HC acknowledges with gratitude the late Dr. John L. Gill of Michigan State University.</p>
</ack>
<notes>
<title>Notes</title>
<fn-group>
<fn id="fn1"><label>1</label><p>Economists do not, as a rule, spend much time discussing what kinds of differences should be called inequalities. However, Therborn (<xref ref-type="bibr" rid="r45">2012</xref>, <xref ref-type="bibr" rid="r46">2014</xref>) proposed three criteria that distinguish inequality from mere differences: (1) inequalities must admit at least ordinal classification so that items may be ranked as greater or lesser; (2) inequalities are not just categories, but violate some &#x201C;moral norm of equality among human beings;&#x201D; and (3) inequalities are potentially abolishable.</p></fn>
<fn id="fn2"><label>2</label><p>An exception is studies in which groups are defined as quantiles of the distribution of some variable (e.g.,&#x00A0;income). By definition, every quantile contains the same fraction of the population.</p></fn>
<fn id="fn3"><label>3</label><p>The countries are Austria, Bulgaria, Canada, Switzerland, Czech Republic, East Germany, West Germany, Estonia, Finland, France, Scotland, England and Wales, Hungary, Japan, Lithuania, Netherlands, Portugal, Russia, Slovakia, Sweden, Ukraine, United States, Australia, Belgium, Belarus, Denmark, Spain, Ireland, Italy, New Zealand, and Poland.</p></fn>
</fn-group>
</notes>
<ref-list>
<title>References</title>
<ref id="r1"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Arias</surname>, <given-names>E.</given-names></string-name>, and <string-name><surname>Xu</surname>, <given-names>J.</given-names></string-name></person-group> (<year>2022</year>). <article-title>United States life tables, 2020</article-title>. <source>National Vital Statistics Reports</source>, <volume>71</volume>(<issue>1</issue>). <ext-link ext-link-type="doi" xlink:href="https://doi.org/10.15620/cdc:118055">https://doi.org/10.15620/cdc:118055</ext-link></mixed-citation></ref>
<ref id="r2"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Arias</surname>, <given-names>E.</given-names></string-name>, <string-name><surname>Xu</surname>, <given-names>J.</given-names></string-name>, <string-name><surname>Tejada-Vera</surname>, <given-names>B.</given-names></string-name>, <string-name><surname>Murphy</surname>, <given-names>S.L.</given-names></string-name>, and <string-name><surname>Bastian</surname>, <given-names>B.</given-names></string-name></person-group> (<year>2022</year>). <article-title>U.S. state life tables, 2020</article-title>. <source>National Vital Statistics Reports</source>, <volume>71</volume>(<issue>2</issue>). <ext-link ext-link-type="doi" xlink:href="http://doi.org/10.15620/cdc:118271">http://doi.org/10.15620/cdc:118271</ext-link></mixed-citation></ref>
<ref id="r3"><mixed-citation publication-type="book"><person-group person-group-type="author"><string-name><surname>Atkinson</surname>, <given-names>A.B.</given-names></string-name></person-group> (<year>2015</year>). <source>Inequality: What can be done?</source> <publisher-name>Harvard University Press</publisher-name>.</mixed-citation></ref>
<ref id="r4"><mixed-citation publication-type="book"><person-group person-group-type="author"><string-name><surname>Blurton-Jones</surname>, <given-names>N.</given-names></string-name></person-group> (<year>2016</year>). <source>Demography and evolutionary ecology of Hadza hunter-gatherers</source>. <publisher-name>Cambridge University Press</publisher-name>.</mixed-citation></ref>
<ref id="r5"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Bock</surname>, <given-names>M.J.</given-names></string-name>, <string-name><surname>Jarvis</surname>, <given-names>G.C.</given-names></string-name>, <string-name><surname>Corey</surname>, <given-names>E.L.</given-names></string-name>, <string-name><surname>Stone</surname>, <given-names>E.E.</given-names></string-name>, and <string-name><surname>Gribble</surname>, <given-names>K.E.</given-names></string-name></person-group> (<year>2019</year>). <article-title>Maternal age alters offspring lifespan, fitness, and lifespan extension under caloric restriction</article-title>. <source>Scientific Reports</source>, <volume>9</volume>(<issue>1</issue>), <fpage>3138</fpage>. <ext-link ext-link-type="doi" xlink:href="https://doi.org/10.1038/s41598-019-40011-z">https://doi.org/10.1038/s41598-019-40011-z</ext-link></mixed-citation></ref>
<ref id="r6"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Brown</surname>, <given-names>G.R.</given-names></string-name>, <string-name><surname>Laland</surname>, <given-names>K.N.</given-names></string-name>, and <string-name><surname>Mulder</surname>, <given-names>M.B.</given-names></string-name></person-group> (<year>2009</year>). <article-title>Bateman&#x2019;s principles and human sex roles</article-title>. <source>Trends in Ecology &#x0026; Evolution</source>, <volume>24</volume>(<issue>6</issue>), <fpage>297</fpage>&#x2013;<lpage>304</lpage>. <ext-link ext-link-type="doi" xlink:href="https://doi.org/10.1016/j.tree.2009.02.005">https://doi.org/10.1016/j.tree.2009.02.005</ext-link></mixed-citation></ref>
<ref id="r7"><mixed-citation publication-type="book"><person-group person-group-type="author"><string-name><surname>Caswell</surname>, <given-names>H.</given-names></string-name></person-group> (<year>2001</year>). <source>Matrix population models: Construction, analysis, and interpretation</source> (<edition>2nd ed.</edition>). <publisher-name>Sinauer Associates</publisher-name>.</mixed-citation></ref>
<ref id="r8"><mixed-citation publication-type="other"><person-group person-group-type="author"><string-name><surname>Caswell</surname>, <given-names>H.</given-names></string-name></person-group> (<year>2006</year>). <chapter-title>Applications of Markov chains in demography</chapter-title>. In <source>MAM2006: Markov anniversary meeting</source>, (pp.&#x00A0;319&#x2013;334), <publisher-name>Boson Books</publisher-name>.</mixed-citation></ref>
<ref id="r9"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Caswell</surname>, <given-names>H.</given-names></string-name></person-group> (<year>2009</year>). <article-title>Stage, age and individual stochasticity in demography</article-title>. <source>Oikos</source>, <volume>118</volume>(<issue>12</issue>), <fpage>1763</fpage>&#x2013;<lpage>1782</lpage>. <ext-link ext-link-type="doi" xlink:href="https://doi.org/10.1111/j.1600-0706.2009.17620.x">https://doi.org/10.1111/j.1600-0706.2009.17620.x</ext-link></mixed-citation></ref>
<ref id="r10"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Caswell</surname>, <given-names>H.</given-names></string-name></person-group> (<year>2011</year>). <article-title>Beyond <inline-formula><mml:math display="inline"><mml:mrow><mml:msub><mml:mrow><mml:mi>R</mml:mi></mml:mrow><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>: Demographic models for variability of lifetime reproductive output</article-title>. <source>PloS ONE</source>, <volume>6</volume>(<issue>6</issue>), <fpage>e20809</fpage>. <ext-link ext-link-type="doi" xlink:href="https://doi.org/10.1371/journal.pone.0020809">https://doi.org/10.1371/journal.pone.0020809</ext-link></mixed-citation></ref>
<ref id="r11"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Caswell</surname>, <given-names>H.</given-names></string-name></person-group> (<year>2014</year>). <article-title>A matrix approach to the statistics of longevity in heterogeneous frailty models</article-title>. <source>Demographic Research</source>, <volume>31</volume>, <fpage>553</fpage>&#x2013;<lpage>592</lpage>. <ext-link ext-link-type="doi" xlink:href="https://doi.org/10.4054/demres.2014.31.19">https://doi.org/10.4054/demres.2014.31.19</ext-link></mixed-citation></ref>
<ref id="r12"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Caswell</surname>, <given-names>H.</given-names></string-name></person-group> (<year>2023</year>). <article-title>The contributions of stochasticity and social inequality to lifespan variability</article-title>. <source>Demographic Research</source>, <volume>49</volume>, <fpage>309</fpage>&#x2013;<lpage>354</lpage>. <ext-link ext-link-type="doi" xlink:href="https://doi.org/10.4054/demres.2023.49.13">https://doi.org/10.4054/demres.2023.49.13</ext-link></mixed-citation></ref>
<ref id="r13"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Caswell</surname>, <given-names>H.</given-names></string-name>, and <string-name><surname>van Daalen</surname>, <given-names>S.F.</given-names></string-name></person-group> (<year>2021</year>). <article-title>Healthy longevity from incidence-based models: More kinds of health than stars in the sky</article-title>. <source>Demographic Research</source>, <volume>45</volume>, <fpage>397</fpage>&#x2013;<lpage>452</lpage>. <ext-link ext-link-type="doi" xlink:href="https://doi.org/10.4054/demres.2021.45.13">https://doi.org/10.4054/demres.2021.45.13</ext-link></mixed-citation></ref>
<ref id="r14"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Caswell</surname>, <given-names>H.</given-names></string-name>, and <string-name><surname>Zarulli</surname>, <given-names>V.</given-names></string-name></person-group> (<year>2018</year>). <article-title>Matrix methods in health demography: A new approach to the stochastic analysis of healthy longevity and DALYs</article-title>. <source>Population Health Metrics</source>, <volume>16</volume>, <fpage>8</fpage>. <ext-link ext-link-type="doi" xlink:href="https://doi.org/10.1186/s12963-018-0165-5">https://doi.org/10.1186/s12963-018-0165-5</ext-link></mixed-citation></ref>
<ref id="r15"><mixed-citation publication-type="conf-proc"><person-group person-group-type="author"><string-name><surname>Courtiol</surname>, <given-names>A.</given-names></string-name>, <string-name><surname>Pettay</surname>, <given-names>J.E.</given-names></string-name>, <string-name><surname>Jokela</surname>, <given-names>M.</given-names></string-name>, <string-name><surname>Rotkirch</surname>, <given-names>A.</given-names></string-name>, and <string-name><surname>Lummaa</surname>, <given-names>V.</given-names></string-name></person-group> (<year>2012</year>). <article-title>Natural and sexual selection in a monogamous historical human population</article-title>. <conf-name>Proceedings of the National Academy of Sciences</conf-name>, <volume>109</volume>(<issue>21</issue>), <fpage>8044</fpage>&#x2013;<lpage>8049</lpage>. <ext-link ext-link-type="doi" xlink:href="https://doi.org/10.1073/pnas.1118174109">https://doi.org/10.1073/pnas.1118174109</ext-link></mixed-citation></ref>
<ref id="r16"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Crow</surname>, <given-names>J.F.</given-names></string-name></person-group> (<year>1958</year>). <article-title>Some possibilities for measuring selection intensities in man</article-title>. <source>Human Biology</source>, <volume>30</volume>, <fpage>1</fpage>&#x2013;<lpage>13</lpage>.</mixed-citation></ref>
<ref id="r17"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Edwards</surname>, <given-names>R.D.</given-names></string-name>, and <string-name><surname>Tuljapurkar</surname>, <given-names>S.</given-names></string-name></person-group> (<year>2005</year>). <article-title>Inequality in life spans and a new perspective on mortality convergence across industrialized countries</article-title>. <source>Population and Development Review</source>, <volume>31</volume>(<issue>4</issue>), <fpage>645</fpage>&#x2013;<lpage>674</lpage>. <ext-link ext-link-type="doi" xlink:href="https://doi.org/10.1111/j.1728-4457.2005.00092.x">https://doi.org/10.1111/j.1728-4457.2005.00092.x</ext-link></mixed-citation></ref>
<ref id="r18"><mixed-citation publication-type="book"><person-group person-group-type="author"><string-name><surname>Falconer</surname>, <given-names>D.S.</given-names></string-name></person-group> (<year>1960</year>). <source>Introduction to quantitative genetics</source>. <publisher-name>Oliver and Boyd</publisher-name>.</mixed-citation></ref>
<ref id="r19"><mixed-citation publication-type="book"><person-group person-group-type="author"><string-name><surname>Feichtinger</surname>, <given-names>G.</given-names></string-name></person-group> (<year>1971</year>). <source>Stochastische Modelle demographischer Prozesse</source>, Lecture Notes in Economics and Mathematical Systems. <publisher-name>Springer Verlag</publisher-name>.</mixed-citation></ref>
<ref id="r20"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Fisher</surname>, <given-names>R.A.</given-names></string-name></person-group> (<year>1918</year>). <article-title>The correlation between relatives on the supposition of Mendelian inheritance</article-title>. <source>Transactions of the Royal Society of Edinburgh</source>, <volume>52</volume>(<issue>2</issue>), <fpage>399</fpage>&#x2013;<lpage>433</lpage>. <ext-link ext-link-type="doi" xlink:href="https://doi.org/10.1017/s0080456800012163">https://doi.org/10.1017/s0080456800012163</ext-link></mixed-citation></ref>
<ref id="r21"><mixed-citation publication-type="book"><person-group person-group-type="author"><string-name><surname>Fisher</surname>, <given-names>R.A.</given-names></string-name></person-group> (<year>1936</year>). <source>Statistical methods for research workers</source> (<edition>6th ed.</edition>). <publisher-name>Oliver and Boyd</publisher-name>.</mixed-citation></ref>
<ref id="r22"><mixed-citation publication-type="book"><person-group person-group-type="author"><string-name><surname>Fr&#x00FC;hwirth-Schnatter</surname>, <given-names>S.</given-names></string-name></person-group> (<year>2006</year>). <source>Finite mixture and Markov switching models</source>. <publisher-name>Springer Verlag</publisher-name>.</mixed-citation></ref>
<ref id="r23"><mixed-citation publication-type="book"><person-group person-group-type="author"><string-name><surname>Hill</surname>, <given-names>K.</given-names></string-name>, and <string-name><surname>Hurtado</surname>, <given-names>A.M.</given-names></string-name></person-group> (<year>1996</year>). <source>Ach&#x00E9; life history: The ecology and demography of a foraging people</source>. <publisher-name>Aldine de Gruyter</publisher-name>.</mixed-citation></ref>
<ref id="r24"><mixed-citation publication-type="book"><person-group person-group-type="author"><string-name><surname>Jenkins</surname>, <given-names>S.P.</given-names></string-name>, and <string-name><surname>van Kerm</surname>, <given-names>P.</given-names></string-name></person-group> (<year>2009</year>). <chapter-title>The measurement of economic inequality</chapter-title>. In <person-group person-group-type="editor"><string-name><given-names>W.</given-names> <surname>Salverda</surname></string-name>, <string-name><given-names>B.</given-names> <surname>Nolan</surname></string-name>, and <string-name><given-names>T.M.</given-names> <surname>Smeeding</surname></string-name></person-group> (Eds.) <source>The Oxford handbook of economic inequality</source>. <publisher-name>Oxford University Press</publisher-name>. <ext-link ext-link-type="doi" xlink:href="https://doi.org/10.1093/oxfordhb/9780199606061.013.0003">https://doi.org/10.1093/oxfordhb/9780199606061.013.0003</ext-link></mixed-citation></ref>
<ref id="r25"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Keilman</surname>, <given-names>N.</given-names></string-name>, <string-name><surname>Tymicki</surname>, <given-names>K.</given-names></string-name>, and <string-name><surname>Skirbekk</surname>, <given-names>V.</given-names></string-name></person-group> (<year>2014</year>). <article-title>Measures for human reproduction should be linked to both men and women</article-title>. <source>International Journal of Population Research</source>, <volume>2014</volume>, <fpage>908385</fpage>. <ext-link ext-link-type="doi" xlink:href="https://doi.org/10.1155/2014/908385">https://doi.org/10.1155/2014/908385</ext-link></mixed-citation></ref>
<ref id="r26"><mixed-citation publication-type="book"><person-group person-group-type="author"><string-name><surname>Kempthorne</surname>, <given-names>O.</given-names></string-name></person-group> (<year>1957</year>). <source>An introduction to genetic statistics</source>. <publisher-name>John Wiley &#x0026; Sons</publisher-name>.</mixed-citation></ref>
<ref id="r27"><mixed-citation publication-type="book"><person-group person-group-type="author"><string-name><surname>Kendall</surname>, <given-names>M.G.</given-names></string-name>, and <string-name><surname>Stuart</surname>, <given-names>A.</given-names></string-name></person-group> (<year>1969</year>). <source>The advanced theory of statistics. Volume 1: Distribution theory</source> (<edition>3rd ed.</edition>). <publisher-name>Charles Griffin</publisher-name>.</mixed-citation></ref>
<ref id="r28"><mixed-citation publication-type="book"><person-group person-group-type="author"><string-name><surname>Kirk</surname>, <given-names>R.E.</given-names></string-name></person-group> (<year>1982</year>). <source>Experimental design: Procedures for the behavioral sciences</source> (<edition>2nd ed.</edition>). <publisher-name>Brooks/Cole</publisher-name>.</mixed-citation></ref>
<ref id="r29"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Montez</surname>, <given-names>J.K.</given-names></string-name>, <string-name><surname>Beckfield</surname>, <given-names>J.</given-names></string-name>, <string-name><surname>Cooney</surname>, <given-names>J.K.</given-names></string-name>, <string-name><surname>Grumbach</surname>, <given-names>J.M.</given-names></string-name>, <string-name><surname>Hayward</surname>, <given-names>M.D.</given-names></string-name>, <string-name><surname>Koytak</surname>, <given-names>H.Z.</given-names></string-name>, <string-name><surname>Woolf</surname>, <given-names>S.H.</given-names></string-name>, and <string-name><surname>Zajacova</surname>, <given-names>A.</given-names></string-name></person-group> (<year>2020</year>). <article-title>US state policies, politics, and life expectancy</article-title>. <source>The Milbank Quarterly</source>, <volume>98</volume>(<issue>3</issue>), <fpage>668</fpage>&#x2013;<lpage>699</lpage>. <ext-link ext-link-type="doi" xlink:href="https://doi.org/10.1111/1468-0009.12469">https://doi.org/10.1111/1468-0009.12469</ext-link></mixed-citation></ref>
<ref id="r30"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Montez</surname>, <given-names>J.K.</given-names></string-name>, and <string-name><surname>Farina</surname>, <given-names>M.P.</given-names></string-name></person-group> (<year>2021</year>). <article-title>Do liberal U.S. state policies maximize life expectancy?</article-title> <source>Public Policy and Aging Report</source>, <volume>31</volume>(<issue>1</issue>), <fpage>7</fpage>&#x2013;<lpage>13</lpage>. <ext-link ext-link-type="doi" xlink:href="https://doi.org/10.1093/ppar/praa035">https://doi.org/10.1093/ppar/praa035</ext-link></mixed-citation></ref>
<ref id="r31"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Moorad</surname>, <given-names>J.A.</given-names></string-name>, <string-name><surname>Promislow</surname>, <given-names>D.E.</given-names></string-name>, <string-name><surname>Smith</surname>, <given-names>K.R.</given-names></string-name>, and <string-name><surname>Wade</surname>, <given-names>M.J.</given-names></string-name></person-group> (<year>2011</year>). <article-title>Mating system change reduces the strength of sexual selection in an American frontier population of the 19th century</article-title>. <source>Evolution and Human Behavior</source>, <volume>32</volume>(<issue>2</issue>), <fpage>147</fpage>&#x2013;<lpage>155</lpage>. <ext-link ext-link-type="doi" xlink:href="https://doi.org/10.1016/j.evolhumbehav.2010.10.004">https://doi.org/10.1016/j.evolhumbehav.2010.10.004</ext-link></mixed-citation></ref>
<ref id="r32"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Murray</surname>, <given-names>C.J.L.</given-names></string-name>, <string-name><surname>Kulkarni</surname>, <given-names>S.C.</given-names></string-name>, <string-name><surname>Michaud</surname>, <given-names>C.</given-names></string-name>, <string-name><surname>Tomijima</surname>, <given-names>N.</given-names></string-name>, <string-name><surname>Bulzacchelli</surname>, <given-names>M.T.</given-names></string-name>, <string-name><surname>Iandiorio</surname>, <given-names>T.J.</given-names></string-name>, and <string-name><surname>Ezzati</surname>, <given-names>M.</given-names></string-name></person-group> (<year>2006</year>). <article-title>Eight Americas: Investigating mortality disparities across races, counties, and race-counties in the United States</article-title>. <source>PLoS Medicine</source>, <volume>3</volume>(<issue>9</issue>), <fpage>e260</fpage>. <ext-link ext-link-type="doi" xlink:href="https://doi.org/10.1371/journal.pmed.0030260">https://doi.org/10.1371/journal.pmed.0030260</ext-link></mixed-citation></ref>
<ref id="r33"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Owoeye</surname>, <given-names>S.M.</given-names></string-name>, <string-name><surname>Oseni</surname>, <given-names>B.M.</given-names></string-name>, and <string-name><surname>Gayawan</surname>, <given-names>E.</given-names></string-name></person-group> (<year>2020</year>). <article-title>Estimating lifetime malnourished period and its statistics based on the concept of Markov chain with reward</article-title>. <source>Heliyon</source>, <volume>6</volume>(<issue>5</issue>), <fpage>e04 073</fpage>. <ext-link ext-link-type="doi" xlink:href="https://doi.org/10.1016/j.heliyon.2020.e04073">https://doi.org/10.1016/j.heliyon.2020.e04073</ext-link></mixed-citation></ref>
<ref id="r34"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Permanyer</surname>, <given-names>I.</given-names></string-name>, <string-name><surname>Sasson</surname>, <given-names>I.</given-names></string-name>, and <string-name><surname>Villavicencio</surname>, <given-names>F.</given-names></string-name></person-group> (<year>2023</year>). <article-title>Group- and individual-based approaches to health inequality: Towards an integration</article-title>. <source>Journal of the Royal Statistical Society Series A: Statistics in Society</source>, <volume>186</volume>(<issue>2</issue>), <fpage>217</fpage>&#x2013;<lpage>240</lpage>. <ext-link ext-link-type="doi" xlink:href="https://doi.org/10.1093/jrsssa/qnac001">https://doi.org/10.1093/jrsssa/qnac001</ext-link></mixed-citation></ref>
<ref id="r35"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Permanyer</surname>, <given-names>I.</given-names></string-name>, and <string-name><surname>Scholl</surname>, <given-names>N.</given-names></string-name></person-group> (<year>2019</year>). <article-title>Global trends in lifespan inequality: 1950&#x2013;2015</article-title>. <source>PLoS ONE</source>, <volume>14</volume>(<issue>5</issue>), <fpage>e0215 742</fpage>. <ext-link ext-link-type="doi" xlink:href="https://doi.org/10.1371/journal.pone.0215742">https://doi.org/10.1371/journal.pone.0215742</ext-link></mixed-citation></ref>
<ref id="r36"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Rao</surname>, <given-names>T.R.</given-names></string-name>, and <string-name><surname>Sarma</surname>, <given-names>S.</given-names></string-name></person-group> (<year>1986</year>). <article-title>Demographic parameters of <italic>Brachionus patulus</italic> Muller (Rotifera) exposed to sublethal DDT concentrations at low and high food levels</article-title>. <source>Hydrobiologia</source>, <volume>139</volume>, <fpage>193</fpage>&#x2013;<lpage>200</lpage>. <ext-link ext-link-type="doi" xlink:href="https://doi.org/10.1007/bf00028292">https://doi.org/10.1007/bf00028292</ext-link></mixed-citation></ref>
<ref id="r37"><mixed-citation publication-type="book"><person-group person-group-type="author"><string-name><surname>R&#x00E9;nyi</surname>, <given-names>A.</given-names></string-name></person-group> (<year>1970</year>). <source>Probability theory</source>. <publisher-name>North-Holland</publisher-name>.</mixed-citation></ref>
<ref id="r38"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Rosenbluth</surname>, <given-names>G.</given-names></string-name></person-group> (<year>1951</year>). <article-title>Note on Mr. Schutz&#x2019;s measure of income inequality</article-title>. <source>The American Economic Review</source>, <volume>41</volume>(<issue>5</issue>), <fpage>935</fpage>&#x2013;<lpage>937</lpage>.</mixed-citation></ref>
<ref id="r39"><mixed-citation publication-type="book"><person-group person-group-type="author"><string-name><surname>Sahai</surname>, <given-names>H.</given-names></string-name>, and <string-name><surname>Ageel</surname>, <given-names>M.I.</given-names></string-name></person-group> (<year>2012</year>). <source>The analysis of variance: Fixed, random, and mixed models</source>. <publisher-name>Springer Science &#x0026; Business Media</publisher-name>.</mixed-citation></ref>
<ref id="r40"><mixed-citation publication-type="book"><person-group person-group-type="author"><string-name><surname>Sen</surname>, <given-names>A.</given-names></string-name></person-group> (<year>1997</year>). <source>On economic inequality</source> (<edition>2nd ed.</edition>). <publisher-name>Oxford University Press</publisher-name>.</mixed-citation></ref>
<ref id="r41"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Shkolnikov</surname>, <given-names>V.M.</given-names></string-name>, <string-name><surname>Andreev</surname>, <given-names>E.M.</given-names></string-name>, <string-name><surname>Houle</surname>, <given-names>R.</given-names></string-name>, and <string-name><surname>Vaupel</surname>, <given-names>J.W.</given-names></string-name></person-group> (<year>2007</year>). <article-title>The concentration of reproduction in cohorts of women in Europe and the United States</article-title>. <source>Population and Development Review</source>, <volume>33</volume>(<issue>1</issue>), <fpage>67</fpage>&#x2013;<lpage>99</lpage>. <ext-link ext-link-type="doi" xlink:href="https://doi.org/10.1111/j.1728-4457.2007.00159.x">https://doi.org/10.1111/j.1728-4457.2007.00159.x</ext-link></mixed-citation></ref>
<ref id="r42"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Snyder</surname>, <given-names>R.E.</given-names></string-name>, and <string-name><surname>Ellner</surname>, <given-names>S.P.</given-names></string-name></person-group> (<year>2018</year>). <article-title>Pluck or luck: Does trait variation or chance drive variation in lifetime reproductive success?</article-title> <source>The American Naturalist</source>, <volume>191</volume>(<issue>4</issue>), <fpage>E90</fpage>&#x2013;<lpage>E107</lpage>. <ext-link ext-link-type="doi" xlink:href="https://doi.org/10.1086/696125">https://doi.org/10.1086/696125</ext-link></mixed-citation></ref>
<ref id="r43"><mixed-citation publication-type="book"><person-group person-group-type="author"><string-name><surname>Steel</surname>, <given-names>R.G.D.</given-names></string-name>, and <string-name><surname>Torrie</surname>, <given-names>J.H.</given-names></string-name></person-group> (<year>1960</year>). <source>Principles and procedures of statistics</source>. <publisher-name>McGraw-Hill</publisher-name>.</mixed-citation></ref>
<ref id="r44"><mixed-citation publication-type="conf-proc"><person-group person-group-type="author"><string-name><surname>Steiner</surname>, <given-names>U.K.</given-names></string-name>, and <string-name><surname>Tuljapurkar</surname>, <given-names>S.</given-names></string-name></person-group> (<year>2012</year>). <article-title>Neutral theory for life histories and individual variability in fitness components</article-title>. <conf-name>Proceedings of the National Academy of Sciences</conf-name>, <volume>109</volume>(<issue>12</issue>), <fpage>4684</fpage>&#x2013;<lpage>4689</lpage>. <ext-link ext-link-type="doi" xlink:href="https://doi.org/10.1073/pnas.1018096109">https://doi.org/10.1073/pnas.1018096109</ext-link></mixed-citation></ref>
<ref id="r45"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Therborn</surname>, <given-names>G.</given-names></string-name></person-group> (<year>2012</year>). <article-title>The killing fields of inequality</article-title>. <source>International Journal of Health Services</source>, <volume>42</volume>(<issue>4</issue>), <fpage>579</fpage>&#x2013;<lpage>589</lpage>. <ext-link ext-link-type="doi" xlink:href="https://doi.org/10.2190/hs.42.4.a">https://doi.org/10.2190/hs.42.4.a</ext-link></mixed-citation></ref>
<ref id="r46"><mixed-citation publication-type="book"><person-group person-group-type="author"><string-name><surname>Therborn</surname>, <given-names>G.</given-names></string-name></person-group> (<year>2014</year>). <source>The killing fields of inequality</source>. <publisher-name>John Wiley &#x0026; Sons</publisher-name>.</mixed-citation></ref>
<ref id="r47"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Tuljapurkar</surname>, <given-names>S.</given-names></string-name>, <string-name><surname>Zuo</surname>, <given-names>W.</given-names></string-name>, <string-name><surname>Coulson</surname>, <given-names>T.</given-names></string-name>, <string-name><surname>Horvitz</surname>, <given-names>C.</given-names></string-name>, and <string-name><surname>Gaillard</surname>, <given-names>J.M.</given-names></string-name></person-group> (<year>2020</year>). <article-title>Skewed distributions of lifetime reproductive success: Beyond mean and variance</article-title>. <source>Ecology Letters</source>, <volume>23</volume>(<issue>4</issue>), <fpage>748</fpage>&#x2013;<lpage>756</lpage>. <ext-link ext-link-type="doi" xlink:href="https://doi.org/10.1111/ele.13467">https://doi.org/10.1111/ele.13467</ext-link></mixed-citation></ref>
<ref id="r48"><mixed-citation publication-type="other"><collab>U.S. Census Bureau, Population Division</collab> (<year>2022</year>). <italic>Annual estimates of the resident population by sex, race, and Hispanic origin for the United States: April 1, 2020 to July 1, 2021</italic> (NC-EST2021-SR11H). <ext-link ext-link-type="uri" xlink:href="https://www2.census.gov/programs-surveys/popest/tables/2020-2021/national/asrh/nc-est2021-sr11h.xlsx">https://www2.census.gov/programs-surveys/popest/tables/2020-2021/national/asrh/nc-est2021-sr11h.xlsx</ext-link></mixed-citation></ref>
<ref id="r49"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>van Daalen</surname>, <given-names>S.</given-names></string-name>, and <string-name><surname>Caswell</surname>, <given-names>H.</given-names></string-name></person-group> (<year>2015</year>). <article-title>Lifetime reproduction and the second demographic transition: Stochasticity and individual variation</article-title>. <source>Demographic Research</source>, <volume>33</volume>, <fpage>561</fpage>&#x2013;<lpage>588</lpage>. <ext-link ext-link-type="doi" xlink:href="https://doi.org/10.4054/demres.2015.33.20">https://doi.org/10.4054/demres.2015.33.20</ext-link></mixed-citation></ref>
<ref id="r50"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>van Daalen</surname>, <given-names>S.F.</given-names></string-name>, and <string-name><surname>Caswell</surname>, <given-names>H.</given-names></string-name></person-group> (<year>2017</year>). <article-title>Lifetime reproductive output: Individual stochasticity, variance, and sensitivity analysis</article-title>. <source>Theoretical Ecology</source>, <volume>10</volume>, <fpage>355</fpage>&#x2013;<lpage>374</lpage>. <ext-link ext-link-type="doi" xlink:href="https://doi.org/10.1007/s12080-017-0335-2">https://doi.org/10.1007/s12080-017-0335-2</ext-link></mixed-citation></ref>
<ref id="r51"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>van Daalen</surname>, <given-names>S.F.</given-names></string-name>, and <string-name><surname>Caswell</surname>, <given-names>H.</given-names></string-name></person-group> (<year>2020</year>). <article-title>Variance as a life history outcome: Sensitivity analysis of the contributions of stochasticity and heterogeneity</article-title>. <source>Ecological Modelling</source>, <volume>147</volume>, <fpage>101856</fpage>. <ext-link ext-link-type="doi" xlink:href="https://doi.org/10.1016/j.ecolmodel.2019.108856">https://doi.org/10.1016/j.ecolmodel.2019.108856</ext-link></mixed-citation></ref>
<ref id="r52"><mixed-citation publication-type="book"><person-group person-group-type="author"><string-name><surname>van Daalen</surname>, <given-names>S.F.</given-names></string-name>, and <string-name><surname>Caswell</surname>, <given-names>H.</given-names></string-name></person-group> (<year>2024</year>). <chapter-title>Demographic sources of variation in fitness</chapter-title>. In <person-group person-group-type="editor"><string-name><given-names>O.</given-names> <surname>Burger</surname></string-name>, <string-name><given-names>R.</given-names> <surname>Lee</surname></string-name>, and <string-name><given-names>R.</given-names> <surname>Sear</surname></string-name></person-group> (Eds.) <source>Human evolutionary demography</source>. <publisher-name>Open Book Publishers</publisher-name>. <ext-link ext-link-type="doi" xlink:href="https://doi.org/10.11647/obp.0251.15">https://doi.org/10.11647/obp.0251.15</ext-link></mixed-citation></ref>
<ref id="r53"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>van Daalen</surname>, <given-names>S.F.</given-names></string-name>, <string-name><surname>Hern&#x00E1;ndez</surname>, <given-names>C.M.</given-names></string-name>, <string-name><surname>Caswell</surname>, <given-names>H.</given-names></string-name>, <string-name><surname>Neubert</surname>, <given-names>M.G.</given-names></string-name>, and <string-name><surname>Gribble</surname>, <given-names>K.E.</given-names></string-name></person-group> (<year>2022</year>). <article-title>The contributions of maternal age heterogeneity to variance in lifetime reproductive output</article-title>. <source>The American Naturalist</source>, <volume>199</volume>(<issue>5</issue>), <fpage>603</fpage>&#x2013;<lpage>616</lpage>. <ext-link ext-link-type="doi" xlink:href="https://doi.org/10.1086/718716">https://doi.org/10.1086/718716</ext-link></mixed-citation></ref>
<ref id="r54"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>van Raalte</surname>, <given-names>A.A.</given-names></string-name>, and <string-name><surname>Caswell</surname>, <given-names>H.</given-names></string-name></person-group> (<year>2013</year>). <article-title>Perturbation analysis of indices of lifespan variability</article-title>. <source>Demography</source>, <volume>50</volume>(<issue>5</issue>), <fpage>1615</fpage>&#x2013;<lpage>1640</lpage>. <ext-link ext-link-type="doi" xlink:href="https://doi.org/10.1007/s13524-013-0223-3">https://doi.org/10.1007/s13524-013-0223-3</ext-link></mixed-citation></ref>
<ref id="r55"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>van Raalte</surname>, <given-names>A.A.</given-names></string-name>, <string-name><surname>Sasson</surname>, <given-names>I.</given-names></string-name>, and <string-name><surname>Martikainen</surname>, <given-names>P.</given-names></string-name></person-group> (<year>2018</year>). <article-title>The case for monitoring life-span inequality</article-title>. <source>Science</source>, <volume>362</volume>(<issue>6418</issue>), <fpage>1002</fpage>&#x2013;<lpage>1004</lpage>. <ext-link ext-link-type="doi" xlink:href="https://doi.org/10.1126/science.aau5811">https://doi.org/10.1126/science.aau5811</ext-link></mixed-citation></ref>
<ref id="r56"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Varas Enr&#x00ED;quez</surname>, <given-names>P.J.</given-names></string-name>, <string-name><surname>Van Daalen</surname>, <given-names>S.</given-names></string-name>, and <string-name><surname>Caswell</surname>, <given-names>H.</given-names></string-name></person-group> (<year>2022</year>). <article-title>Individual stochasticity in the life history strategies of animals and plants</article-title>. <source>PLoS ONE</source>, <volume>17</volume>(<issue>9</issue>), <fpage>e0273 407</fpage>. <ext-link ext-link-type="doi" xlink:href="https://doi.org/10.1371/journal.pone.0273407">https://doi.org/10.1371/journal.pone.0273407</ext-link></mixed-citation></ref>
<ref id="r57"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Vaupel</surname>, <given-names>J.W.</given-names></string-name></person-group> (<year>1988</year>). <article-title>Inherited frailty and longevity</article-title>. <source>Demography</source>, <volume>25</volume>(<issue>2</issue>), <fpage>277</fpage>&#x2013;<lpage>287</lpage>. <ext-link ext-link-type="doi" xlink:href="https://doi.org/10.2307/2061294">https://doi.org/10.2307/2061294</ext-link></mixed-citation></ref>
<ref id="r58"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Vaupel</surname>, <given-names>J.W.</given-names></string-name>, and <string-name><surname>Goodwin</surname>, <given-names>D.G.</given-names></string-name></person-group> (<year>1987</year>). <article-title>The concentration of reproduction among US women, 1917&#x2013;80</article-title>. <source>Population and Development Review</source>, <volume>13</volume>(<issue>4</issue>), <fpage>723</fpage>&#x2013;<lpage>730</lpage>. <ext-link ext-link-type="doi" xlink:href="https://doi.org/10.2307/1973030">https://doi.org/10.2307/1973030</ext-link></mixed-citation></ref>
<ref id="r59"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Vaupel</surname>, <given-names>J.W.</given-names></string-name>, <string-name><surname>Zhang</surname>, <given-names>Z.</given-names></string-name>, and <string-name><surname>van Raalte</surname>, <given-names>A.A.</given-names></string-name></person-group> (<year>2011</year>). <article-title>Life expectancy and disparity: An international comparison of life table data</article-title>. <source>BMJ Open</source>, <volume>1</volume>(<issue>1</issue>), <fpage>e000 128</fpage>. <ext-link ext-link-type="doi" xlink:href="https://doi.org/10.1136/bmjopen-2011-000128">https://doi.org/10.1136/bmjopen-2011-000128</ext-link></mixed-citation></ref>
<ref id="r60"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Wei</surname>, <given-names>R.</given-names></string-name>, <string-name><surname>Anderson</surname>, <given-names>R.N.</given-names></string-name>, <string-name><surname>Curtin</surname>, <given-names>L.R.</given-names></string-name>, and <string-name><surname>Arias</surname>, <given-names>E.</given-names></string-name></person-group> (<year>2012</year>). <article-title>U.S. decennial life tables for 1999&#x2013;2001: State life tables</article-title>. <source>National Vital Statistics Reports</source>, <volume>60</volume>(<issue>9</issue>), <fpage>1</fpage>&#x2013;<lpage>67</lpage>.</mixed-citation></ref>
<ref id="r61"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Yates</surname>, <given-names>F.</given-names></string-name></person-group> (<year>1934</year>). <article-title>The analysis of multiple classifications with unequal numbers in the different classes</article-title>. <source>Journal of the American Statistical Association</source>, <volume>29</volume>(<issue>185</issue>), <fpage>51</fpage>&#x2013;<lpage>66</lpage>. <ext-link ext-link-type="doi" xlink:href="https://doi.org/10.2307/2278459">https://doi.org/10.2307/2278459</ext-link></mixed-citation></ref>
<ref id="r62"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Zarulli</surname>, <given-names>V.</given-names></string-name>, and <string-name><surname>Caswell</surname>, <given-names>H.</given-names></string-name></person-group> (<year>2022</year>). <article-title>Longer healthy life, but for how many? Insights on healthy lifespan inequality from the Global Burden of Disease Study</article-title>. <source>Annals of Operations Research</source> <ext-link ext-link-type="doi" xlink:href="https://doi.org/10.1007/s10479-024-06203-1">https://doi.org/10.1007/s10479-024-06203-1</ext-link></mixed-citation></ref>
</ref-list>
</back></article>