<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.4 20241031//EN" "JATS-journalpublishing1-4.dtd">
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" article-type="research-article" dtd-version="1.4" xml:lang="en">
  <front>
    <journal-meta>
      <journal-id journal-id-type="publisher-id">ojs</journal-id>
      <journal-title-group>
        <journal-title>Open Journal of Statistics</journal-title>
      </journal-title-group>
      <issn pub-type="epub">2161-7198</issn>
      <issn pub-type="ppub">2161-718X</issn>
      <publisher>
        <publisher-name>Scientific Research Publishing</publisher-name>
      </publisher>
    </journal-meta>
    <article-meta>
      <article-id pub-id-type="doi">10.4236/ojs.2026.161003</article-id>
      <article-id pub-id-type="publisher-id">ojs-149682</article-id>
      <article-categories>
        <subj-group>
          <subject>Article</subject>
        </subj-group>
        <subj-group>
          <subject>Physics</subject>
          <subject>Mathematics</subject>
        </subj-group>
      </article-categories>
      <title-group>
        <article-title>Asymptotic Properties of the Size-Weighted Mean</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <name name-style="western">
            <surname>Canjels</surname>
            <given-names>Eugene P.</given-names>
          </name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
      </contrib-group>
      <aff id="aff1"><label>1</label> Division of Economic and Risk Analysis, U.S. Securities and Exchange Commission, Washington, D.C., USA </aff>
      <author-notes>
        <fn fn-type="conflict" id="fn-conflict">
          <p>The author declares no conflicts of interest regarding the publication of this paper.</p>
        </fn>
      </author-notes>
      <pub-date pub-type="epub">
        <day>20</day>
        <month>01</month>
        <year>2026</year>
      </pub-date>
      <pub-date pub-type="collection">
        <month>01</month>
        <year>2026</year>
      </pub-date>
      <volume>16</volume>
      <issue>01</issue>
      <fpage>38</fpage>
      <lpage>46</lpage>
      <history>
        <date date-type="received">
          <day>01</day>
          <month>01</month>
          <year>2026</year>
        </date>
        <date date-type="accepted">
          <day>21</day>
          <month>02</month>
          <year>2026</year>
        </date>
        <date date-type="published">
          <day>24</day>
          <month>02</month>
          <year>2026</year>
        </date>
      </history>
      <permissions>
        <copyright-statement>© 2026 by the authors and Scientific Research Publishing Inc.</copyright-statement>
        <copyright-year>2026</copyright-year>
        <license license-type="open-access">
          <license-p> This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license ( <ext-link ext-link-type="uri" xlink:href="https://creativecommons.org/licenses/by/4.0/">https://creativecommons.org/licenses/by/4.0/</ext-link> ). </license-p>
        </license>
      </permissions>
      <self-uri content-type="doi" xlink:href="https://doi.org/10.4236/ojs.2026.161003">https://doi.org/10.4236/ojs.2026.161003</self-uri>
      <abstract>
        <p>Applied researchers often compute weighted means where the weights reflect the relative size of each observation. Despite their common use, the statistical properties of these size-weighted means appear to be poorly understood, as the existing statistical literature and most software applications typically address three other types of weights—survey, precision, and frequency weights. In this paper, I demonstrate that the size-weighted mean is asymptotically normal, derive an estimator for its variance, and discuss several practical considerations relevant to its application.</p>
      </abstract>
      <kwd-group kwd-group-type="author-generated" xml:lang="en">
        <kwd>Size-Weighted Mean</kwd>
        <kwd>Weighted Mean</kwd>
        <kwd>Asymptotic Distribution</kwd>
        <kwd>Hypothesis Testing</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec1">
      <title>1. Introduction</title>
      <p>Applied researchers are often interested in an outcome per unit. Examples include crop yield (e.g., tons per hectare), the concentration of a chemical in a solution (e.g., moles per liter), student performance (e.g., the percentage of students reading at grade level), or investment returns (profit per dollar invested). When the observations collected vary in size, that is, in the number of units they represent, the statistic of interest is often an average outcome per unit over the entire sample. This quantity can be computed as a weighted mean, where the weights reflect the relative size of each observation contributing to the total. I refer to this quantity as the <italic>size-weighted mean</italic>.</p>
      <p>To illustrate with an example from finance, suppose that one wants to compare the execution cost of shares purchased for two different investment portfolios. The execution cost of a trade is defined as the difference between the prevailing market price at the time the order is placed and the subsequent execution price. These two prices may differ due to factors such as broker fees, bid-ask spreads, and execution delays, among others. Execution costs can have substantial implications for the long-term performance of an investment portfolio, and minimizing them is a key objective for traders and institutional investors. The execution cost per dollar for an observation <inline-formula><mml:math><mml:mi> i </mml:mi></mml:math></inline-formula> is defined as </p>
      <disp-formula id="FD1">
        <mml:math>
          <mml:mrow>
            <mml:mi>c</mml:mi>
            <mml:mi>o</mml:mi>
            <mml:mi>s</mml:mi>
            <mml:msub>
              <mml:mi>t</mml:mi>
              <mml:mi>i</mml:mi>
            </mml:msub>
            <mml:mo>=</mml:mo>
            <mml:mfrac>
              <mml:mrow>
                <mml:msubsup>
                  <mml:mi>p</mml:mi>
                  <mml:mi>i</mml:mi>
                  <mml:mi>e</mml:mi>
                </mml:msubsup>
                <mml:mo>−</mml:mo>
                <mml:msubsup>
                  <mml:mi>p</mml:mi>
                  <mml:mi>i</mml:mi>
                  <mml:mi>o</mml:mi>
                </mml:msubsup>
              </mml:mrow>
              <mml:mrow>
                <mml:msubsup>
                  <mml:mi>p</mml:mi>
                  <mml:mi>i</mml:mi>
                  <mml:mi>o</mml:mi>
                </mml:msubsup>
              </mml:mrow>
            </mml:mfrac>
          </mml:mrow>
        </mml:math>
      </disp-formula>
      <p>where <inline-formula><mml:math><mml:mrow><mml:msubsup><mml:mi> p </mml:mi><mml:mi> i </mml:mi><mml:mi> e </mml:mi></mml:msubsup></mml:mrow></mml:math></inline-formula> is the execution price and <inline-formula><mml:math><mml:mrow><mml:msubsup><mml:mi> p </mml:mi><mml:mi> i </mml:mi><mml:mi> o </mml:mi></mml:msubsup></mml:mrow></mml:math></inline-formula> is the market price at the time the order is placed. To compute the investment-weighted average execution cost over <inline-formula><mml:math><mml:mi> n </mml:mi></mml:math></inline-formula> trades, one calculates</p>
      <disp-formula id="FD2">
        <mml:math>
          <mml:mrow>
            <mml:mover accent="true">
              <mml:mrow>
                <mml:mi>c</mml:mi>
                <mml:mi>o</mml:mi>
                <mml:mi>s</mml:mi>
                <mml:mi>t</mml:mi>
              </mml:mrow>
              <mml:mo stretchy="true">˜</mml:mo>
            </mml:mover>
            <mml:mo>=</mml:mo>
            <mml:mstyle displaystyle="true">
              <mml:mo>∑</mml:mo>
              <mml:mrow>
                <mml:msub>
                  <mml:mi>w</mml:mi>
                  <mml:mi>i</mml:mi>
                </mml:msub>
                <mml:mo>×</mml:mo>
                <mml:mi>c</mml:mi>
                <mml:mi>o</mml:mi>
                <mml:mi>s</mml:mi>
                <mml:msub>
                  <mml:mi>t</mml:mi>
                  <mml:mi>i</mml:mi>
                </mml:msub>
              </mml:mrow>
            </mml:mstyle>
          </mml:mrow>
        </mml:math>
      </disp-formula>
      <p>where <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> w </mml:mi><mml:mi> i </mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> represents the proportion of the dollar value of trade <inline-formula><mml:math><mml:mi> i </mml:mi></mml:math></inline-formula> relative to the total value of all trades, and the summation runs from <inline-formula><mml:math><mml:mrow><mml:mi> i </mml:mi><mml:mo> = </mml:mo><mml:mn> 1 </mml:mn></mml:mrow></mml:math></inline-formula> to <inline-formula><mml:math><mml:mi> n </mml:mi></mml:math></inline-formula> . To test if two portfolios face the same execution costs, it is necessary to understand the statistical properties of the size-weighted mean.</p>
      <p>Introducing notation in the context of crop yields, suppose each observation represents an individual farm. For each farm <inline-formula><mml:math><mml:mi> i </mml:mi></mml:math></inline-formula> , the researcher observes total output, denoted by <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> z </mml:mi><mml:mi> i </mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> , and total acreage, denoted by <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> u </mml:mi><mml:mi> i </mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> (for “units”), from which crop yield can be computed as <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> r </mml:mi><mml:mi> i </mml:mi></mml:msub><mml:mo> = </mml:mo><mml:mrow><mml:mrow><mml:msub><mml:mi> z </mml:mi><mml:mi> i </mml:mi></mml:msub></mml:mrow><mml:mo> / </mml:mo><mml:mrow><mml:msub><mml:mi> u </mml:mi><mml:mi> i </mml:mi></mml:msub></mml:mrow></mml:mrow></mml:mrow></mml:math></inline-formula> (for “rate”). The overall average yield can be calculated as total output across all farms divided by total acreage across all farms, or equivalently, as the acreage-weighted average of the individual yields. That is, the size-weighted mean <inline-formula><mml:math><mml:mover accent="true"><mml:mi> r </mml:mi><mml:mo> ˜ </mml:mo></mml:mover></mml:math></inline-formula> is given by </p>
      <disp-formula id="FD3">
        <label>(1)</label>
        <mml:math>
          <mml:mrow>
            <mml:mover accent="true">
              <mml:mi>r</mml:mi>
              <mml:mo>˜</mml:mo>
            </mml:mover>
            <mml:mo>=</mml:mo>
            <mml:mfrac>
              <mml:mrow>
                <mml:mstyle displaystyle="true">
                  <mml:mo>∑</mml:mo>
                  <mml:mrow>
                    <mml:msub>
                      <mml:mi>z</mml:mi>
                      <mml:mi>i</mml:mi>
                    </mml:msub>
                  </mml:mrow>
                </mml:mstyle>
              </mml:mrow>
              <mml:mrow>
                <mml:mstyle displaystyle="true">
                  <mml:mo>∑</mml:mo>
                  <mml:mrow>
                    <mml:msub>
                      <mml:mi>u</mml:mi>
                      <mml:mi>i</mml:mi>
                    </mml:msub>
                  </mml:mrow>
                </mml:mstyle>
              </mml:mrow>
            </mml:mfrac>
            <mml:mo>=</mml:mo>
            <mml:mfrac>
              <mml:mrow>
                <mml:mstyle displaystyle="true">
                  <mml:mo>∑</mml:mo>
                  <mml:mrow>
                    <mml:msub>
                      <mml:mi>u</mml:mi>
                      <mml:mi>i</mml:mi>
                    </mml:msub>
                    <mml:msub>
                      <mml:mi>r</mml:mi>
                      <mml:mi>i</mml:mi>
                    </mml:msub>
                  </mml:mrow>
                </mml:mstyle>
              </mml:mrow>
              <mml:mrow>
                <mml:mstyle displaystyle="true">
                  <mml:mo>∑</mml:mo>
                  <mml:mrow>
                    <mml:msub>
                      <mml:mi>u</mml:mi>
                      <mml:mi>i</mml:mi>
                    </mml:msub>
                  </mml:mrow>
                </mml:mstyle>
              </mml:mrow>
            </mml:mfrac>
            <mml:mo>=</mml:mo>
            <mml:mstyle displaystyle="true">
              <mml:mo>∑</mml:mo>
              <mml:mrow>
                <mml:msub>
                  <mml:mi>w</mml:mi>
                  <mml:mi>i</mml:mi>
                </mml:msub>
                <mml:msub>
                  <mml:mi>r</mml:mi>
                  <mml:mi>i</mml:mi>
                </mml:msub>
              </mml:mrow>
            </mml:mstyle>
          </mml:mrow>
        </mml:math>
      </disp-formula>
      <disp-formula id="FD4">
        <mml:math>
          <mml:mrow>
            <mml:msub>
              <mml:mi>w</mml:mi>
              <mml:mi>i</mml:mi>
            </mml:msub>
            <mml:mo>=</mml:mo>
            <mml:mrow>
              <mml:mrow>
                <mml:msub>
                  <mml:mi>u</mml:mi>
                  <mml:mi>i</mml:mi>
                </mml:msub>
              </mml:mrow>
              <mml:mo>/</mml:mo>
              <mml:mrow>
                <mml:mstyle displaystyle="true">
                  <mml:mo>∑</mml:mo>
                  <mml:mrow>
                    <mml:msub>
                      <mml:mi>u</mml:mi>
                      <mml:mi>i</mml:mi>
                    </mml:msub>
                  </mml:mrow>
                </mml:mstyle>
              </mml:mrow>
            </mml:mrow>
          </mml:mrow>
        </mml:math>
      </disp-formula>
      <p>The weighted mean has been widely discussed in the statistical literature. However, most existing work focuses on weights that are either precision weights (also known as analytical or inverse-variance weights) or survey weights (including the closely related sampling and probability weights). Precision weights improve the estimate of a regular mean by using information on the variance of each observation. Survey weights may be used for survey data to address unequal selection probabilities, non-responses, or other sampling issues. In addition, statistical software introduces a third category, frequency weights (also known as case weights), which are used when individual observations have been aggregated into groups and the weight represents the number of observations within each group.</p>
      <p>However, size weights differ fundamentally from other types of weights and must be analyzed accordingly. The absence of readily accessible literature describing the statistical properties of the size-weighted mean—combined with the lack of clear guidance on the interpretation of weights in statistical software—has led to considerable confusion among applied researchers, as evidenced by questions and discussions on online forums.<sup>1</sup></p>
      <p>To illustrate the issue in software applications, consider the PROC MEANS procedure in SAS (Version 9.4). This procedure includes a WEIGHT option, but the documentation provides little guidance, stating only that the weight “specifies a numeric variable whose values weight the values of the analysis variables.” In fact, the calculation of the standard error of the weighted mean in SAS assumes that the weights are precision weights, and the formula is incorrect when applied to size weights. Consequently, applied researchers who use PROC MEANS with the WEIGHT option may draw misleading conclusions about the precision of their estimates when calculating size-weighted means.</p>
      <p>For practitioners, the key result of this paper is presented in Theorem 2. In brief, the size-weighted mean is asymptotically normal, with a standard error that can be approximated by </p>
      <disp-formula id="FD5">
        <mml:math>
          <mml:mrow>
            <mml:msubsup>
              <mml:mi>s</mml:mi>
              <mml:mover accent="true">
                <mml:mi>r</mml:mi>
                <mml:mo>˜</mml:mo>
              </mml:mover>
              <mml:mn>2</mml:mn>
            </mml:msubsup>
            <mml:mo>=</mml:mo>
            <mml:mstyle displaystyle="true">
              <mml:mo>∑</mml:mo>
              <mml:mrow>
                <mml:msubsup>
                  <mml:mi>w</mml:mi>
                  <mml:mi>i</mml:mi>
                  <mml:mn>2</mml:mn>
                </mml:msubsup>
                <mml:msup>
                  <mml:mrow>
                    <mml:mrow>
                      <mml:mo>(</mml:mo>
                      <mml:mrow>
                        <mml:msub>
                          <mml:mi>r</mml:mi>
                          <mml:mi>i</mml:mi>
                        </mml:msub>
                        <mml:mo>−</mml:mo>
                        <mml:mover accent="true">
                          <mml:mi>r</mml:mi>
                          <mml:mo>˜</mml:mo>
                        </mml:mover>
                      </mml:mrow>
                      <mml:mo>)</mml:mo>
                    </mml:mrow>
                  </mml:mrow>
                  <mml:mn>2</mml:mn>
                </mml:msup>
              </mml:mrow>
            </mml:mstyle>
          </mml:mrow>
        </mml:math>
      </disp-formula>
      <p>Surprisingly, this result and its derivation do not appear to have been presented in the literature in a straightforward manner. The most relevant discussions can be found in the sampling literature—for example, [<xref ref-type="bibr" rid="B1">1</xref>] [ch. 2.12]—but they are often presented in a rather complicated form. Furthermore, many empirical problems, such as comparing execution costs across two investment portfolios, are not naturally framed as sampling problems. As a result, applied researchers are unlikely to consult sampling textbooks in search of answers.</p>
      <p>In addition to the main result, I discuss the implementation of weighted means in statistical software. To date, I am unaware of any software that explicitly addresses size-weighted means or provides procedures to estimate their standard errors. The paper concludes by demonstrating that valid inference for size-weighted means can be obtained by estimating a regression with precision weights while using heteroscedasticity-robust standard errors.</p>
    </sec>
    <sec id="sec2">
      <title>2. Asymptotic Theory</title>
      <p>When researchers calculate standard errors for equally weighted means, they typically justify the analysis either by assuming a random sampling scheme in which each observation is independently drawn with equal probability from a known population much larger than the sample, or by invoking an abstract super-population framework. The analysis in this paper adopts a similar assumption. Specifically, I assume that the <inline-formula><mml:math><mml:mi> n </mml:mi></mml:math></inline-formula> pairs <inline-formula><mml:math><mml:mrow><mml:mrow><mml:mo> ( </mml:mo><mml:mrow><mml:msub><mml:mi> z </mml:mi><mml:mn> 1 </mml:mn></mml:msub><mml:mo> , </mml:mo><mml:msub><mml:mi> u </mml:mi><mml:mn> 1 </mml:mn></mml:msub></mml:mrow><mml:mo> ) </mml:mo></mml:mrow><mml:mo> , </mml:mo><mml:mo> ⋯ </mml:mo><mml:mo> , </mml:mo><mml:mrow><mml:mo> ( </mml:mo><mml:mrow><mml:msub><mml:mi> z </mml:mi><mml:mi> n </mml:mi></mml:msub><mml:mo> , </mml:mo><mml:msub><mml:mi> u </mml:mi><mml:mi> n </mml:mi></mml:msub></mml:mrow><mml:mo> ) </mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula> are independently and identically distributed (i.i.d.) with a bivariate probability distribution <inline-formula><mml:math><mml:mrow><mml:mi> g </mml:mi><mml:mrow><mml:mo> ( </mml:mo><mml:mrow><mml:mi> z </mml:mi><mml:mo> , </mml:mo><mml:mi> u </mml:mi></mml:mrow><mml:mo> ) </mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula> . I further assume that the number of units <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> u </mml:mi><mml:mi> i </mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is strictly positive, so that <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> r </mml:mi><mml:mi> i </mml:mi></mml:msub><mml:mo> = </mml:mo><mml:mrow><mml:mrow><mml:msub><mml:mi> z </mml:mi><mml:mi> i </mml:mi></mml:msub></mml:mrow><mml:mo> / </mml:mo><mml:mrow><mml:msub><mml:mi> u </mml:mi><mml:mi> i </mml:mi></mml:msub></mml:mrow></mml:mrow></mml:mrow></mml:math></inline-formula> is always well-defined. The population means of <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> z </mml:mi><mml:mi> i </mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> , <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> u </mml:mi><mml:mi> i </mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> , and <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> r </mml:mi><mml:mi> i </mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> are denoted <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> μ </mml:mi><mml:mi> z </mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> , <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> μ </mml:mi><mml:mi> u </mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> , and <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> μ </mml:mi><mml:mi> r </mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> , respectively, with corresponding population variances <inline-formula><mml:math><mml:mrow><mml:msubsup><mml:mi> σ </mml:mi><mml:mi> z </mml:mi><mml:mn> 2 </mml:mn></mml:msubsup></mml:mrow></mml:math></inline-formula> , <inline-formula><mml:math><mml:mrow><mml:msubsup><mml:mi> σ </mml:mi><mml:mi> u </mml:mi><mml:mn> 2 </mml:mn></mml:msubsup></mml:mrow></mml:math></inline-formula> , and <inline-formula><mml:math><mml:mrow><mml:msubsup><mml:mi> σ </mml:mi><mml:mi> r </mml:mi><mml:mn> 2 </mml:mn></mml:msubsup></mml:mrow></mml:math></inline-formula> , and covariances <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> σ </mml:mi><mml:mrow><mml:mi> z </mml:mi><mml:mi> u </mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> , <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> σ </mml:mi><mml:mrow><mml:mi> z </mml:mi><mml:mi> r </mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> , and <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> σ </mml:mi><mml:mrow><mml:mi> u </mml:mi><mml:mi> r </mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> .<sup>2</sup> Equation (1) above characterizes the size-weighted mean as either the ratio of total observed output to the total number of observed units or as a linear combination of observed rates. It is also useful to express it as the ratio of sample means: </p>
      <disp-formula id="FD6">
        <label>(2)</label>
        <mml:math>
          <mml:mrow>
            <mml:mover accent="true">
              <mml:mi>r</mml:mi>
              <mml:mo>˜</mml:mo>
            </mml:mover>
            <mml:mo>=</mml:mo>
            <mml:mfrac>
              <mml:mrow>
                <mml:msup>
                  <mml:mi>n</mml:mi>
                  <mml:mrow>
                    <mml:mo>−</mml:mo>
                    <mml:mn>1</mml:mn>
                  </mml:mrow>
                </mml:msup>
                <mml:mstyle displaystyle="true">
                  <mml:mo>∑</mml:mo>
                  <mml:mrow>
                    <mml:msub>
                      <mml:mi>z</mml:mi>
                      <mml:mi>i</mml:mi>
                    </mml:msub>
                  </mml:mrow>
                </mml:mstyle>
              </mml:mrow>
              <mml:mrow>
                <mml:msup>
                  <mml:mi>n</mml:mi>
                  <mml:mrow>
                    <mml:mo>−</mml:mo>
                    <mml:mn>1</mml:mn>
                  </mml:mrow>
                </mml:msup>
                <mml:mstyle displaystyle="true">
                  <mml:mo>∑</mml:mo>
                  <mml:mrow>
                    <mml:msub>
                      <mml:mi>u</mml:mi>
                      <mml:mi>i</mml:mi>
                    </mml:msub>
                  </mml:mrow>
                </mml:mstyle>
              </mml:mrow>
            </mml:mfrac>
            <mml:mo>=</mml:mo>
            <mml:mfrac>
              <mml:mover accent="true">
                <mml:mi>z</mml:mi>
                <mml:mo>¯</mml:mo>
              </mml:mover>
              <mml:mover accent="true">
                <mml:mi>u</mml:mi>
                <mml:mo>¯</mml:mo>
              </mml:mover>
            </mml:mfrac>
          </mml:mrow>
        </mml:math>
      </disp-formula>
      <p>From Equation (2) it follows that, under mild regularity conditions, the weighted mean <inline-formula><mml:math><mml:mover accent="true"><mml:mi> r </mml:mi><mml:mo> ˜ </mml:mo></mml:mover></mml:math></inline-formula> is a consistent estimator of <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> μ </mml:mi><mml:mover accent="true"><mml:mi> r </mml:mi><mml:mo> ˜ </mml:mo></mml:mover></mml:msub></mml:mrow></mml:math></inline-formula> , where <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> μ </mml:mi><mml:mover accent="true"><mml:mi> r </mml:mi><mml:mo> ˜ </mml:mo></mml:mover></mml:msub><mml:mo> = </mml:mo><mml:mrow><mml:mrow><mml:msub><mml:mi> μ </mml:mi><mml:mi> z </mml:mi></mml:msub></mml:mrow><mml:mo> / </mml:mo><mml:mrow><mml:msub><mml:mi> μ </mml:mi><mml:mi> u </mml:mi></mml:msub></mml:mrow></mml:mrow></mml:mrow></mml:math></inline-formula> .</p>
      <p>The size-weighted and equal-weighted means capture different parameters, both of which may be of interest to the researcher. In the farm example described above, the equal-weighted mean represents the crop yield of a typical farm, whereas the size-weighted mean represents the crop yield of a typical acre. When farm size and yield are correlated, these two measures do not necessarily coincide. A straightforward derivation shows that the difference between them is given by the covariance between <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> u </mml:mi><mml:mi> i </mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> r </mml:mi><mml:mi> i </mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> divided by the expectation of <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> u </mml:mi><mml:mi> i </mml:mi></mml:msub></mml:mrow></mml:math></inline-formula></p>
      <disp-formula id="FD7">
        <mml:math>
          <mml:mrow>
            <mml:msub>
              <mml:mi>μ</mml:mi>
              <mml:mover accent="true">
                <mml:mi>r</mml:mi>
                <mml:mo>˜</mml:mo>
              </mml:mover>
            </mml:msub>
            <mml:mo>−</mml:mo>
            <mml:msub>
              <mml:mi>μ</mml:mi>
              <mml:mi>r</mml:mi>
            </mml:msub>
            <mml:mo>=</mml:mo>
            <mml:mfrac>
              <mml:mrow>
                <mml:msub>
                  <mml:mi>μ</mml:mi>
                  <mml:mi>z</mml:mi>
                </mml:msub>
                <mml:mo>−</mml:mo>
                <mml:msub>
                  <mml:mi>μ</mml:mi>
                  <mml:mi>u</mml:mi>
                </mml:msub>
                <mml:msub>
                  <mml:mi>μ</mml:mi>
                  <mml:mi>r</mml:mi>
                </mml:msub>
              </mml:mrow>
              <mml:mrow>
                <mml:msub>
                  <mml:mi>μ</mml:mi>
                  <mml:mi>u</mml:mi>
                </mml:msub>
              </mml:mrow>
            </mml:mfrac>
            <mml:mo>=</mml:mo>
            <mml:mfrac>
              <mml:mrow>
                <mml:mi>E</mml:mi>
                <mml:mrow>
                  <mml:mo>(</mml:mo>
                  <mml:mrow>
                    <mml:msub>
                      <mml:mi>u</mml:mi>
                      <mml:mi>i</mml:mi>
                    </mml:msub>
                    <mml:msub>
                      <mml:mi>r</mml:mi>
                      <mml:mi>i</mml:mi>
                    </mml:msub>
                  </mml:mrow>
                  <mml:mo>)</mml:mo>
                </mml:mrow>
                <mml:mo>−</mml:mo>
                <mml:msub>
                  <mml:mi>μ</mml:mi>
                  <mml:mi>u</mml:mi>
                </mml:msub>
                <mml:msub>
                  <mml:mi>μ</mml:mi>
                  <mml:mi>r</mml:mi>
                </mml:msub>
              </mml:mrow>
              <mml:mrow>
                <mml:msub>
                  <mml:mi>μ</mml:mi>
                  <mml:mi>u</mml:mi>
                </mml:msub>
              </mml:mrow>
            </mml:mfrac>
            <mml:mo>=</mml:mo>
            <mml:mfrac>
              <mml:mrow>
                <mml:msub>
                  <mml:mi>σ</mml:mi>
                  <mml:mrow>
                    <mml:mi>u</mml:mi>
                    <mml:mi>r</mml:mi>
                  </mml:mrow>
                </mml:msub>
              </mml:mrow>
              <mml:mrow>
                <mml:msub>
                  <mml:mi>μ</mml:mi>
                  <mml:mi>u</mml:mi>
                </mml:msub>
              </mml:mrow>
            </mml:mfrac>
          </mml:mrow>
        </mml:math>
      </disp-formula>
      <p>Thus, the size-weighted and equal-weighted means coincide only when the covariance between <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> u </mml:mi><mml:mi> i </mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> r </mml:mi><mml:mi> i </mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is zero. At the sample level, the difference between <inline-formula><mml:math><mml:mover accent="true"><mml:mi> r </mml:mi><mml:mo> ˜ </mml:mo></mml:mover></mml:math></inline-formula> and the sample mean <inline-formula><mml:math><mml:mover accent="true"><mml:mi> r </mml:mi><mml:mo> ¯ </mml:mo></mml:mover></mml:math></inline-formula> is given by the sample covariance between the scaled weights <inline-formula><mml:math><mml:mrow><mml:mrow><mml:mo> ( </mml:mo><mml:mrow><mml:mi> n </mml:mi><mml:mo> ⋅ </mml:mo><mml:mi> w </mml:mi></mml:mrow><mml:mo> ) </mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula> and the observed rates <inline-formula><mml:math><mml:mi> r </mml:mi></mml:math></inline-formula> : </p>
      <disp-formula id="FD8">
        <mml:math>
          <mml:mrow>
            <mml:mi>c</mml:mi>
            <mml:mi>o</mml:mi>
            <mml:mi>v</mml:mi>
            <mml:mrow>
              <mml:mo>(</mml:mo>
              <mml:mrow>
                <mml:mi>n</mml:mi>
                <mml:mo>⋅</mml:mo>
                <mml:mi>w</mml:mi>
                <mml:mo>,</mml:mo>
                <mml:mi>r</mml:mi>
              </mml:mrow>
              <mml:mo>)</mml:mo>
            </mml:mrow>
            <mml:mo>=</mml:mo>
            <mml:mfrac>
              <mml:mn>1</mml:mn>
              <mml:mi>n</mml:mi>
            </mml:mfrac>
            <mml:mstyle displaystyle="true">
              <mml:mo>∑</mml:mo>
              <mml:mrow>
                <mml:mrow>
                  <mml:mo>(</mml:mo>
                  <mml:mrow>
                    <mml:mi>n</mml:mi>
                    <mml:msub>
                      <mml:mi>w</mml:mi>
                      <mml:mi>i</mml:mi>
                    </mml:msub>
                    <mml:mo>−</mml:mo>
                    <mml:mi>n</mml:mi>
                    <mml:mover accent="true">
                      <mml:mi>w</mml:mi>
                      <mml:mo>¯</mml:mo>
                    </mml:mover>
                  </mml:mrow>
                  <mml:mo>)</mml:mo>
                </mml:mrow>
                <mml:mrow>
                  <mml:mo>(</mml:mo>
                  <mml:mrow>
                    <mml:msub>
                      <mml:mi>r</mml:mi>
                      <mml:mi>i</mml:mi>
                    </mml:msub>
                    <mml:mo>−</mml:mo>
                    <mml:mover accent="true">
                      <mml:mi>r</mml:mi>
                      <mml:mo>¯</mml:mo>
                    </mml:mover>
                  </mml:mrow>
                  <mml:mo>)</mml:mo>
                </mml:mrow>
              </mml:mrow>
            </mml:mstyle>
            <mml:mo>=</mml:mo>
            <mml:mfrac>
              <mml:mn>1</mml:mn>
              <mml:mi>n</mml:mi>
            </mml:mfrac>
            <mml:mstyle displaystyle="true">
              <mml:mo>∑</mml:mo>
              <mml:mrow>
                <mml:mrow>
                  <mml:mo>(</mml:mo>
                  <mml:mrow>
                    <mml:mi>n</mml:mi>
                    <mml:msub>
                      <mml:mi>w</mml:mi>
                      <mml:mi>i</mml:mi>
                    </mml:msub>
                    <mml:msub>
                      <mml:mi>r</mml:mi>
                      <mml:mi>i</mml:mi>
                    </mml:msub>
                    <mml:mo>−</mml:mo>
                    <mml:mi>n</mml:mi>
                    <mml:mover accent="true">
                      <mml:mi>w</mml:mi>
                      <mml:mo>¯</mml:mo>
                    </mml:mover>
                    <mml:mover accent="true">
                      <mml:mi>r</mml:mi>
                      <mml:mo>¯</mml:mo>
                    </mml:mover>
                  </mml:mrow>
                  <mml:mo>)</mml:mo>
                </mml:mrow>
              </mml:mrow>
            </mml:mstyle>
            <mml:mo>=</mml:mo>
            <mml:mover accent="true">
              <mml:mi>r</mml:mi>
              <mml:mo>˜</mml:mo>
            </mml:mover>
            <mml:mo>−</mml:mo>
            <mml:mover accent="true">
              <mml:mi>r</mml:mi>
              <mml:mo>¯</mml:mo>
            </mml:mover>
          </mml:mrow>
        </mml:math>
      </disp-formula>
      <p>Equation (2) provides the foundation for the asymptotic theory used to derive the distribution of the size-weighted mean. By the multivariate central limit theorem, </p>
      <disp-formula id="FD9">
        <mml:math>
          <mml:mrow>
            <mml:msqrt>
              <mml:mi>n</mml:mi>
            </mml:msqrt>
            <mml:mrow>
              <mml:mo>(</mml:mo>
              <mml:mrow>
                <mml:mover accent="true">
                  <mml:mi>X</mml:mi>
                  <mml:mo>¯</mml:mo>
                </mml:mover>
                <mml:mo>−</mml:mo>
                <mml:mi>μ</mml:mi>
              </mml:mrow>
              <mml:mo>)</mml:mo>
            </mml:mrow>
            <mml:mtext>
               
            </mml:mtext>
            <mml:mover>
              <mml:mo>→</mml:mo>
              <mml:mi>d</mml:mi>
            </mml:mover>
            <mml:mtext>
               
            </mml:mtext>
            <mml:mi>N</mml:mi>
            <mml:mrow>
              <mml:mo>(</mml:mo>
              <mml:mrow>
                <mml:mn>0</mml:mn>
                <mml:mo>,</mml:mo>
                <mml:mi>Ω</mml:mi>
              </mml:mrow>
              <mml:mo>)</mml:mo>
            </mml:mrow>
          </mml:mrow>
        </mml:math>
      </disp-formula>
      <p>where <inline-formula><mml:math><mml:mrow><mml:mover accent="true"><mml:mi> X </mml:mi><mml:mo> ¯ </mml:mo></mml:mover><mml:mo> = </mml:mo><mml:msup><mml:mrow><mml:mrow><mml:mo> [ </mml:mo><mml:mrow><mml:mtable columnalign="left"><mml:mtr columnalign="left"><mml:mtd columnalign="left"><mml:mover accent="true"><mml:mi> z </mml:mi><mml:mo> ¯ </mml:mo></mml:mover></mml:mtd><mml:mtd columnalign="left"><mml:mover accent="true"><mml:mi> u </mml:mi><mml:mo> ¯ </mml:mo></mml:mover></mml:mtd></mml:mtr></mml:mtable></mml:mrow><mml:mo> ] </mml:mo></mml:mrow></mml:mrow><mml:mo> ′ </mml:mo></mml:msup></mml:mrow></mml:math></inline-formula> , <inline-formula><mml:math><mml:mrow><mml:mi> μ </mml:mi><mml:mo> = </mml:mo><mml:msup><mml:mrow><mml:mrow><mml:mo> [ </mml:mo><mml:mrow><mml:mtable columnalign="left"><mml:mtr columnalign="left"><mml:mtd columnalign="left"><mml:mrow><mml:msub><mml:mi> μ </mml:mi><mml:mi> z </mml:mi></mml:msub></mml:mrow></mml:mtd><mml:mtd columnalign="left"><mml:mrow><mml:msub><mml:mi> μ </mml:mi><mml:mi> u </mml:mi></mml:msub></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow><mml:mo> ] </mml:mo></mml:mrow></mml:mrow><mml:mo> ′ </mml:mo></mml:msup></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math><mml:mi> Ω </mml:mi></mml:math></inline-formula> is the variance-covariance matrix with elements <inline-formula><mml:math><mml:mrow><mml:msubsup><mml:mi> σ </mml:mi><mml:mi> z </mml:mi><mml:mn> 2 </mml:mn></mml:msubsup></mml:mrow></mml:math></inline-formula> , <inline-formula><mml:math><mml:mrow><mml:msubsup><mml:mi> σ </mml:mi><mml:mi> u </mml:mi><mml:mn> 2 </mml:mn></mml:msubsup></mml:mrow></mml:math></inline-formula> , and <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> σ </mml:mi><mml:mrow><mml:mi> z </mml:mi><mml:mi> u </mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> . Applying the delta method then allows a straightforward derivation of the following theorem:</p>
      <p><bold>Theorem 1</bold><italic>The asymptotic distribution of</italic><inline-formula><mml:math><mml:mover accent="true"><mml:mi> r </mml:mi><mml:mo> ˜ </mml:mo></mml:mover></mml:math></inline-formula><italic>is given by</italic>: </p>
      <disp-formula id="FD10">
        <mml:math>
          <mml:mrow>
            <mml:msqrt>
              <mml:mi>n</mml:mi>
            </mml:msqrt>
            <mml:mrow>
              <mml:mo>(</mml:mo>
              <mml:mrow>
                <mml:mover accent="true">
                  <mml:mi>r</mml:mi>
                  <mml:mo>˜</mml:mo>
                </mml:mover>
                <mml:mo>−</mml:mo>
                <mml:msub>
                  <mml:mi>μ</mml:mi>
                  <mml:mover accent="true">
                    <mml:mi>r</mml:mi>
                    <mml:mo>˜</mml:mo>
                  </mml:mover>
                </mml:msub>
              </mml:mrow>
              <mml:mo>)</mml:mo>
            </mml:mrow>
            <mml:mo>~</mml:mo>
            <mml:mi>N</mml:mi>
            <mml:mrow>
              <mml:mo>(</mml:mo>
              <mml:mrow>
                <mml:mn>0</mml:mn>
                <mml:mo>,</mml:mo>
                <mml:msup>
                  <mml:mi>ϕ</mml:mi>
                  <mml:mn>2</mml:mn>
                </mml:msup>
              </mml:mrow>
              <mml:mo>)</mml:mo>
            </mml:mrow>
          </mml:mrow>
        </mml:math>
      </disp-formula>
      <p>where </p>
      <disp-formula id="FD11">
        <mml:math>
          <mml:mrow>
            <mml:msup>
              <mml:mi>ϕ</mml:mi>
              <mml:mn>2</mml:mn>
            </mml:msup>
            <mml:mo>=</mml:mo>
            <mml:msup>
              <mml:mrow>
                <mml:mrow>
                  <mml:mo>(</mml:mo>
                  <mml:mrow>
                    <mml:mfrac>
                      <mml:mn>1</mml:mn>
                      <mml:mrow>
                        <mml:msub>
                          <mml:mi>μ</mml:mi>
                          <mml:mi>u</mml:mi>
                        </mml:msub>
                      </mml:mrow>
                    </mml:mfrac>
                  </mml:mrow>
                  <mml:mo>)</mml:mo>
                </mml:mrow>
              </mml:mrow>
              <mml:mn>2</mml:mn>
            </mml:msup>
            <mml:mrow>
              <mml:mo>(</mml:mo>
              <mml:mrow>
                <mml:msubsup>
                  <mml:mi>σ</mml:mi>
                  <mml:mi>z</mml:mi>
                  <mml:mn>2</mml:mn>
                </mml:msubsup>
                <mml:mo>+</mml:mo>
                <mml:msubsup>
                  <mml:mi>μ</mml:mi>
                  <mml:mover accent="true">
                    <mml:mi>r</mml:mi>
                    <mml:mo>˜</mml:mo>
                  </mml:mover>
                  <mml:mn>2</mml:mn>
                </mml:msubsup>
                <mml:msubsup>
                  <mml:mi>σ</mml:mi>
                  <mml:mi>u</mml:mi>
                  <mml:mn>2</mml:mn>
                </mml:msubsup>
                <mml:mo>−</mml:mo>
                <mml:mn>2</mml:mn>
                <mml:msub>
                  <mml:mi>μ</mml:mi>
                  <mml:mover accent="true">
                    <mml:mi>r</mml:mi>
                    <mml:mo>˜</mml:mo>
                  </mml:mover>
                </mml:msub>
                <mml:msub>
                  <mml:mi>σ</mml:mi>
                  <mml:mrow>
                    <mml:mi>z</mml:mi>
                    <mml:mi>u</mml:mi>
                  </mml:mrow>
                </mml:msub>
              </mml:mrow>
              <mml:mo>)</mml:mo>
            </mml:mrow>
          </mml:mrow>
        </mml:math>
      </disp-formula>
      <p><italic>Proof.</italic> The first-order Taylor expansion of the function <inline-formula><mml:math><mml:mrow><mml:mover accent="true"><mml:mi> r </mml:mi><mml:mo> ˜ </mml:mo></mml:mover><mml:mo> = </mml:mo><mml:mrow><mml:mover accent="true"><mml:mi> z </mml:mi><mml:mo> ¯ </mml:mo></mml:mover><mml:mo> / </mml:mo><mml:mover accent="true"><mml:mi> u </mml:mi><mml:mo> ¯ </mml:mo></mml:mover></mml:mrow></mml:mrow></mml:math></inline-formula> is given by </p>
      <disp-formula id="FD12">
        <mml:math>
          <mml:mrow>
            <mml:mover accent="true">
              <mml:mi>r</mml:mi>
              <mml:mo>˜</mml:mo>
            </mml:mover>
            <mml:mo>≈</mml:mo>
            <mml:msub>
              <mml:mi>μ</mml:mi>
              <mml:mover accent="true">
                <mml:mi>r</mml:mi>
                <mml:mo>˜</mml:mo>
              </mml:mover>
            </mml:msub>
            <mml:mo>+</mml:mo>
            <mml:mfrac>
              <mml:mn>1</mml:mn>
              <mml:mrow>
                <mml:msub>
                  <mml:mi>μ</mml:mi>
                  <mml:mi>u</mml:mi>
                </mml:msub>
              </mml:mrow>
            </mml:mfrac>
            <mml:mrow>
              <mml:mo>(</mml:mo>
              <mml:mrow>
                <mml:mover accent="true">
                  <mml:mi>z</mml:mi>
                  <mml:mo>¯</mml:mo>
                </mml:mover>
                <mml:mo>−</mml:mo>
                <mml:msub>
                  <mml:mi>μ</mml:mi>
                  <mml:mi>z</mml:mi>
                </mml:msub>
              </mml:mrow>
              <mml:mo>)</mml:mo>
            </mml:mrow>
            <mml:mo>−</mml:mo>
            <mml:mfrac>
              <mml:mrow>
                <mml:msub>
                  <mml:mi>μ</mml:mi>
                  <mml:mi>z</mml:mi>
                </mml:msub>
              </mml:mrow>
              <mml:mrow>
                <mml:msubsup>
                  <mml:mi>μ</mml:mi>
                  <mml:mi>u</mml:mi>
                  <mml:mn>2</mml:mn>
                </mml:msubsup>
              </mml:mrow>
            </mml:mfrac>
            <mml:mrow>
              <mml:mo>(</mml:mo>
              <mml:mrow>
                <mml:mover accent="true">
                  <mml:mi>u</mml:mi>
                  <mml:mo>¯</mml:mo>
                </mml:mover>
                <mml:mo>−</mml:mo>
                <mml:msub>
                  <mml:mi>μ</mml:mi>
                  <mml:mi>u</mml:mi>
                </mml:msub>
              </mml:mrow>
              <mml:mo>)</mml:mo>
            </mml:mrow>
            <mml:mo>=</mml:mo>
            <mml:msub>
              <mml:mi>μ</mml:mi>
              <mml:mover accent="true">
                <mml:mi>r</mml:mi>
                <mml:mo>˜</mml:mo>
              </mml:mover>
            </mml:msub>
            <mml:mo>+</mml:mo>
            <mml:mfrac>
              <mml:mn>1</mml:mn>
              <mml:mrow>
                <mml:msub>
                  <mml:mi>μ</mml:mi>
                  <mml:mi>u</mml:mi>
                </mml:msub>
              </mml:mrow>
            </mml:mfrac>
            <mml:mrow>
              <mml:mo>{</mml:mo>
              <mml:mrow>
                <mml:mrow>
                  <mml:mo>(</mml:mo>
                  <mml:mrow>
                    <mml:mover accent="true">
                      <mml:mi>z</mml:mi>
                      <mml:mo>¯</mml:mo>
                    </mml:mover>
                    <mml:mo>−</mml:mo>
                    <mml:msub>
                      <mml:mi>μ</mml:mi>
                      <mml:mi>z</mml:mi>
                    </mml:msub>
                  </mml:mrow>
                  <mml:mo>)</mml:mo>
                </mml:mrow>
                <mml:mo>−</mml:mo>
                <mml:msub>
                  <mml:mi>μ</mml:mi>
                  <mml:mover accent="true">
                    <mml:mi>r</mml:mi>
                    <mml:mo>˜</mml:mo>
                  </mml:mover>
                </mml:msub>
                <mml:mrow>
                  <mml:mo>(</mml:mo>
                  <mml:mrow>
                    <mml:mover accent="true">
                      <mml:mi>u</mml:mi>
                      <mml:mo>¯</mml:mo>
                    </mml:mover>
                    <mml:mo>−</mml:mo>
                    <mml:msub>
                      <mml:mi>μ</mml:mi>
                      <mml:mi>u</mml:mi>
                    </mml:msub>
                  </mml:mrow>
                  <mml:mo>)</mml:mo>
                </mml:mrow>
              </mml:mrow>
              <mml:mo>}</mml:mo>
            </mml:mrow>
          </mml:mrow>
        </mml:math>
      </disp-formula>
      <p>The corresponding formula for the variance of <inline-formula><mml:math><mml:mover accent="true"><mml:mi> r </mml:mi><mml:mo> ˜ </mml:mo></mml:mover></mml:math></inline-formula> follows directly. </p>
      <p>To estimate the variance of <inline-formula><mml:math><mml:mover accent="true"><mml:mi> r </mml:mi><mml:mo> ˜ </mml:mo></mml:mover></mml:math></inline-formula> , the population parameters can be replaced with their consistent sample analogs, yielding a result that can be directly applied by researchers. </p>
      <p><bold>Theorem 2</bold><italic>Under the assumptions above</italic></p>
      <disp-formula id="FD13">
        <mml:math>
          <mml:mrow>
            <mml:mover accent="true">
              <mml:mi>r</mml:mi>
              <mml:mo>˜</mml:mo>
            </mml:mover>
            <mml:mo>≈</mml:mo>
            <mml:mi>N</mml:mi>
            <mml:mrow>
              <mml:mo>(</mml:mo>
              <mml:mrow>
                <mml:msub>
                  <mml:mi>μ</mml:mi>
                  <mml:mover accent="true">
                    <mml:mi>r</mml:mi>
                    <mml:mo>˜</mml:mo>
                  </mml:mover>
                </mml:msub>
                <mml:mo>,</mml:mo>
                <mml:msubsup>
                  <mml:mi>s</mml:mi>
                  <mml:mover accent="true">
                    <mml:mi>r</mml:mi>
                    <mml:mo>˜</mml:mo>
                  </mml:mover>
                  <mml:mn>2</mml:mn>
                </mml:msubsup>
              </mml:mrow>
              <mml:mo>)</mml:mo>
            </mml:mrow>
          </mml:mrow>
        </mml:math>
      </disp-formula>
      <p>where</p>
      <disp-formula id="FD14">
        <mml:math>
          <mml:mrow>
            <mml:msubsup>
              <mml:mi>s</mml:mi>
              <mml:mover accent="true">
                <mml:mi>r</mml:mi>
                <mml:mo>˜</mml:mo>
              </mml:mover>
              <mml:mn>2</mml:mn>
            </mml:msubsup>
            <mml:mo>=</mml:mo>
            <mml:mstyle displaystyle="true">
              <mml:mo>∑</mml:mo>
              <mml:mrow>
                <mml:msubsup>
                  <mml:mi>w</mml:mi>
                  <mml:mi>i</mml:mi>
                  <mml:mn>2</mml:mn>
                </mml:msubsup>
                <mml:msup>
                  <mml:mrow>
                    <mml:mrow>
                      <mml:mo>(</mml:mo>
                      <mml:mrow>
                        <mml:msub>
                          <mml:mi>r</mml:mi>
                          <mml:mi>i</mml:mi>
                        </mml:msub>
                        <mml:mo>−</mml:mo>
                        <mml:mover accent="true">
                          <mml:mi>r</mml:mi>
                          <mml:mo>˜</mml:mo>
                        </mml:mover>
                      </mml:mrow>
                      <mml:mo>)</mml:mo>
                    </mml:mrow>
                  </mml:mrow>
                  <mml:mn>2</mml:mn>
                </mml:msup>
              </mml:mrow>
            </mml:mstyle>
          </mml:mrow>
        </mml:math>
      </disp-formula>
      <p><italic>Proof.</italic> The sample analog of <inline-formula><mml:math><mml:mrow><mml:msup><mml:mi> ϕ </mml:mi><mml:mn> 2 </mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> is given by: </p>
      <disp-formula id="FD15">
        <mml:math>
          <mml:mrow>
            <mml:msup>
              <mml:mi>f</mml:mi>
              <mml:mn>2</mml:mn>
            </mml:msup>
            <mml:mo>=</mml:mo>
            <mml:msup>
              <mml:mrow>
                <mml:mrow>
                  <mml:mo>(</mml:mo>
                  <mml:mrow>
                    <mml:mfrac>
                      <mml:mn>1</mml:mn>
                      <mml:mover accent="true">
                        <mml:mi>u</mml:mi>
                        <mml:mo>¯</mml:mo>
                      </mml:mover>
                    </mml:mfrac>
                  </mml:mrow>
                  <mml:mo>)</mml:mo>
                </mml:mrow>
              </mml:mrow>
              <mml:mn>2</mml:mn>
            </mml:msup>
            <mml:mrow>
              <mml:mo>(</mml:mo>
              <mml:mrow>
                <mml:msubsup>
                  <mml:mi>s</mml:mi>
                  <mml:mi>z</mml:mi>
                  <mml:mn>2</mml:mn>
                </mml:msubsup>
                <mml:mo>+</mml:mo>
                <mml:msup>
                  <mml:mover accent="true">
                    <mml:mi>r</mml:mi>
                    <mml:mo>˜</mml:mo>
                  </mml:mover>
                  <mml:mn>2</mml:mn>
                </mml:msup>
                <mml:msubsup>
                  <mml:mi>s</mml:mi>
                  <mml:mi>u</mml:mi>
                  <mml:mn>2</mml:mn>
                </mml:msubsup>
                <mml:mo>−</mml:mo>
                <mml:mn>2</mml:mn>
                <mml:mover accent="true">
                  <mml:mi>r</mml:mi>
                  <mml:mo>˜</mml:mo>
                </mml:mover>
                <mml:msub>
                  <mml:mi>s</mml:mi>
                  <mml:mrow>
                    <mml:mi>z</mml:mi>
                    <mml:mi>u</mml:mi>
                  </mml:mrow>
                </mml:msub>
              </mml:mrow>
              <mml:mo>)</mml:mo>
            </mml:mrow>
          </mml:mrow>
        </mml:math>
      </disp-formula>
      <p>By expanding and rearranging terms, the expression inside the parentheses simplifies as follows: </p>
      <disp-formula id="FD16">
        <mml:math>
          <mml:mtable columnalign="left">
            <mml:mtr>
              <mml:mtd>
                <mml:msubsup>
                  <mml:mi>s</mml:mi>
                  <mml:mi>z</mml:mi>
                  <mml:mn>2</mml:mn>
                </mml:msubsup>
                <mml:mo>+</mml:mo>
                <mml:msup>
                  <mml:mover accent="true">
                    <mml:mi>r</mml:mi>
                    <mml:mo>˜</mml:mo>
                  </mml:mover>
                  <mml:mn>2</mml:mn>
                </mml:msup>
                <mml:msubsup>
                  <mml:mi>s</mml:mi>
                  <mml:mi>u</mml:mi>
                  <mml:mn>2</mml:mn>
                </mml:msubsup>
                <mml:mo>−</mml:mo>
                <mml:mn>2</mml:mn>
                <mml:mover accent="true">
                  <mml:mi>r</mml:mi>
                  <mml:mo>˜</mml:mo>
                </mml:mover>
                <mml:msub>
                  <mml:mi>s</mml:mi>
                  <mml:mrow>
                    <mml:mi>z</mml:mi>
                    <mml:mi>u</mml:mi>
                  </mml:mrow>
                </mml:msub>
              </mml:mtd>
            </mml:mtr>
            <mml:mtr>
              <mml:mtd>
                <mml:mo>=</mml:mo>
                <mml:mfrac>
                  <mml:mn>1</mml:mn>
                  <mml:mi>n</mml:mi>
                </mml:mfrac>
                <mml:mstyle displaystyle="true">
                  <mml:mo>∑</mml:mo>
                  <mml:mrow>
                    <mml:msubsup>
                      <mml:mi>z</mml:mi>
                      <mml:mi>i</mml:mi>
                      <mml:mn>2</mml:mn>
                    </mml:msubsup>
                  </mml:mrow>
                </mml:mstyle>
                <mml:mo>−</mml:mo>
                <mml:msup>
                  <mml:mover accent="true">
                    <mml:mi>z</mml:mi>
                    <mml:mo>¯</mml:mo>
                  </mml:mover>
                  <mml:mn>2</mml:mn>
                </mml:msup>
                <mml:mo>+</mml:mo>
                <mml:mfrac>
                  <mml:mn>1</mml:mn>
                  <mml:mi>n</mml:mi>
                </mml:mfrac>
                <mml:mstyle displaystyle="true">
                  <mml:mo>∑</mml:mo>
                  <mml:mrow>
                    <mml:msup>
                      <mml:mover accent="true">
                        <mml:mi>r</mml:mi>
                        <mml:mo>˜</mml:mo>
                      </mml:mover>
                      <mml:mn>2</mml:mn>
                    </mml:msup>
                    <mml:msubsup>
                      <mml:mi>u</mml:mi>
                      <mml:mi>i</mml:mi>
                      <mml:mn>2</mml:mn>
                    </mml:msubsup>
                  </mml:mrow>
                </mml:mstyle>
                <mml:mo>−</mml:mo>
                <mml:msup>
                  <mml:mover accent="true">
                    <mml:mi>r</mml:mi>
                    <mml:mo>˜</mml:mo>
                  </mml:mover>
                  <mml:mn>2</mml:mn>
                </mml:msup>
                <mml:msup>
                  <mml:mover accent="true">
                    <mml:mi>u</mml:mi>
                    <mml:mo>¯</mml:mo>
                  </mml:mover>
                  <mml:mn>2</mml:mn>
                </mml:msup>
                <mml:mo>−</mml:mo>
                <mml:mfrac>
                  <mml:mn>2</mml:mn>
                  <mml:mi>n</mml:mi>
                </mml:mfrac>
                <mml:mstyle displaystyle="true">
                  <mml:mo>∑</mml:mo>
                  <mml:mrow>
                    <mml:mover accent="true">
                      <mml:mi>r</mml:mi>
                      <mml:mo>˜</mml:mo>
                    </mml:mover>
                    <mml:msub>
                      <mml:mi>z</mml:mi>
                      <mml:mi>i</mml:mi>
                    </mml:msub>
                    <mml:msub>
                      <mml:mi>u</mml:mi>
                      <mml:mi>i</mml:mi>
                    </mml:msub>
                  </mml:mrow>
                </mml:mstyle>
                <mml:mo>+</mml:mo>
                <mml:mn>2</mml:mn>
                <mml:mover accent="true">
                  <mml:mi>r</mml:mi>
                  <mml:mo>˜</mml:mo>
                </mml:mover>
                <mml:mover accent="true">
                  <mml:mi>z</mml:mi>
                  <mml:mo>¯</mml:mo>
                </mml:mover>
                <mml:mover accent="true">
                  <mml:mi>u</mml:mi>
                  <mml:mo>¯</mml:mo>
                </mml:mover>
              </mml:mtd>
            </mml:mtr>
            <mml:mtr>
              <mml:mtd>
                <mml:mo>=</mml:mo>
                <mml:mfrac>
                  <mml:mn>1</mml:mn>
                  <mml:mi>n</mml:mi>
                </mml:mfrac>
                <mml:mstyle displaystyle="true">
                  <mml:mo>∑</mml:mo>
                  <mml:mrow>
                    <mml:msubsup>
                      <mml:mi>u</mml:mi>
                      <mml:mi>i</mml:mi>
                      <mml:mn>2</mml:mn>
                    </mml:msubsup>
                    <mml:msubsup>
                      <mml:mi>r</mml:mi>
                      <mml:mi>i</mml:mi>
                      <mml:mn>2</mml:mn>
                    </mml:msubsup>
                  </mml:mrow>
                </mml:mstyle>
                <mml:mo>+</mml:mo>
                <mml:mfrac>
                  <mml:mn>1</mml:mn>
                  <mml:mi>n</mml:mi>
                </mml:mfrac>
                <mml:mstyle displaystyle="true">
                  <mml:mo>∑</mml:mo>
                  <mml:mrow>
                    <mml:msubsup>
                      <mml:mi>u</mml:mi>
                      <mml:mi>i</mml:mi>
                      <mml:mn>2</mml:mn>
                    </mml:msubsup>
                    <mml:msup>
                      <mml:mover accent="true">
                        <mml:mi>r</mml:mi>
                        <mml:mo>˜</mml:mo>
                      </mml:mover>
                      <mml:mn>2</mml:mn>
                    </mml:msup>
                  </mml:mrow>
                </mml:mstyle>
                <mml:mo>−</mml:mo>
                <mml:mfrac>
                  <mml:mn>2</mml:mn>
                  <mml:mi>n</mml:mi>
                </mml:mfrac>
                <mml:mstyle displaystyle="true">
                  <mml:mo>∑</mml:mo>
                  <mml:mrow>
                    <mml:msubsup>
                      <mml:mi>u</mml:mi>
                      <mml:mi>i</mml:mi>
                      <mml:mn>2</mml:mn>
                    </mml:msubsup>
                    <mml:msub>
                      <mml:mi>r</mml:mi>
                      <mml:mi>i</mml:mi>
                    </mml:msub>
                    <mml:mover accent="true">
                      <mml:mi>r</mml:mi>
                      <mml:mo>˜</mml:mo>
                    </mml:mover>
                  </mml:mrow>
                </mml:mstyle>
                <mml:mo>−</mml:mo>
                <mml:msup>
                  <mml:mover accent="true">
                    <mml:mi>z</mml:mi>
                    <mml:mo>¯</mml:mo>
                  </mml:mover>
                  <mml:mn>2</mml:mn>
                </mml:msup>
                <mml:mo>−</mml:mo>
                <mml:msup>
                  <mml:mrow>
                    <mml:mo>(</mml:mo>
                    <mml:mrow>
                      <mml:mfrac>
                        <mml:mover accent="true">
                          <mml:mi>z</mml:mi>
                          <mml:mo>¯</mml:mo>
                        </mml:mover>
                        <mml:mover accent="true">
                          <mml:mi>u</mml:mi>
                          <mml:mo>¯</mml:mo>
                        </mml:mover>
                      </mml:mfrac>
                    </mml:mrow>
                    <mml:mo>)</mml:mo>
                  </mml:mrow>
                  <mml:mn>2</mml:mn>
                </mml:msup>
                <mml:msup>
                  <mml:mover accent="true">
                    <mml:mi>u</mml:mi>
                    <mml:mo>¯</mml:mo>
                  </mml:mover>
                  <mml:mn>2</mml:mn>
                </mml:msup>
                <mml:mo>+</mml:mo>
                <mml:mn>2</mml:mn>
                <mml:mrow>
                  <mml:mo>(</mml:mo>
                  <mml:mrow>
                    <mml:mfrac>
                      <mml:mover accent="true">
                        <mml:mi>z</mml:mi>
                        <mml:mo>¯</mml:mo>
                      </mml:mover>
                      <mml:mover accent="true">
                        <mml:mi>u</mml:mi>
                        <mml:mo>¯</mml:mo>
                      </mml:mover>
                    </mml:mfrac>
                  </mml:mrow>
                  <mml:mo>)</mml:mo>
                </mml:mrow>
                <mml:mover accent="true">
                  <mml:mi>z</mml:mi>
                  <mml:mo>¯</mml:mo>
                </mml:mover>
                <mml:mover accent="true">
                  <mml:mi>u</mml:mi>
                  <mml:mo>¯</mml:mo>
                </mml:mover>
              </mml:mtd>
            </mml:mtr>
            <mml:mtr>
              <mml:mtd>
                <mml:mo>=</mml:mo>
                <mml:mfrac>
                  <mml:mn>1</mml:mn>
                  <mml:mi>n</mml:mi>
                </mml:mfrac>
                <mml:mstyle displaystyle="true">
                  <mml:mo>∑</mml:mo>
                  <mml:mrow>
                    <mml:msubsup>
                      <mml:mi>u</mml:mi>
                      <mml:mi>i</mml:mi>
                      <mml:mn>2</mml:mn>
                    </mml:msubsup>
                    <mml:msup>
                      <mml:mrow>
                        <mml:mrow>
                          <mml:mo>(</mml:mo>
                          <mml:mrow>
                            <mml:msub>
                              <mml:mi>r</mml:mi>
                              <mml:mi>i</mml:mi>
                            </mml:msub>
                            <mml:mo>−</mml:mo>
                            <mml:mover accent="true">
                              <mml:mi>r</mml:mi>
                              <mml:mo>˜</mml:mo>
                            </mml:mover>
                          </mml:mrow>
                          <mml:mo>)</mml:mo>
                        </mml:mrow>
                      </mml:mrow>
                      <mml:mn>2</mml:mn>
                    </mml:msup>
                  </mml:mrow>
                </mml:mstyle>
              </mml:mtd>
            </mml:mtr>
          </mml:mtable>
        </mml:math>
      </disp-formula>
      <p>such that</p>
      <disp-formula id="FD17">
        <mml:math>
          <mml:mrow>
            <mml:mfrac>
              <mml:mrow>
                <mml:msup>
                  <mml:mi>f</mml:mi>
                  <mml:mn>2</mml:mn>
                </mml:msup>
              </mml:mrow>
              <mml:mi>n</mml:mi>
            </mml:mfrac>
            <mml:mo>=</mml:mo>
            <mml:mfrac>
              <mml:mn>1</mml:mn>
              <mml:mi>n</mml:mi>
            </mml:mfrac>
            <mml:msup>
              <mml:mrow>
                <mml:mrow>
                  <mml:mo>(</mml:mo>
                  <mml:mrow>
                    <mml:mfrac>
                      <mml:mn>1</mml:mn>
                      <mml:mover accent="true">
                        <mml:mi>u</mml:mi>
                        <mml:mo>¯</mml:mo>
                      </mml:mover>
                    </mml:mfrac>
                  </mml:mrow>
                  <mml:mo>)</mml:mo>
                </mml:mrow>
              </mml:mrow>
              <mml:mn>2</mml:mn>
            </mml:msup>
            <mml:mfrac>
              <mml:mn>1</mml:mn>
              <mml:mi>n</mml:mi>
            </mml:mfrac>
            <mml:mstyle displaystyle="true">
              <mml:mo>∑</mml:mo>
              <mml:mrow>
                <mml:msubsup>
                  <mml:mi>u</mml:mi>
                  <mml:mi>i</mml:mi>
                  <mml:mn>2</mml:mn>
                </mml:msubsup>
                <mml:msup>
                  <mml:mrow>
                    <mml:mrow>
                      <mml:mo>(</mml:mo>
                      <mml:mrow>
                        <mml:msub>
                          <mml:mi>r</mml:mi>
                          <mml:mi>i</mml:mi>
                        </mml:msub>
                        <mml:mo>−</mml:mo>
                        <mml:mover accent="true">
                          <mml:mi>r</mml:mi>
                          <mml:mo>˜</mml:mo>
                        </mml:mover>
                      </mml:mrow>
                      <mml:mo>)</mml:mo>
                    </mml:mrow>
                  </mml:mrow>
                  <mml:mn>2</mml:mn>
                </mml:msup>
              </mml:mrow>
            </mml:mstyle>
            <mml:mo>=</mml:mo>
            <mml:mstyle displaystyle="true">
              <mml:mo>∑</mml:mo>
              <mml:mrow>
                <mml:msubsup>
                  <mml:mi>w</mml:mi>
                  <mml:mi>i</mml:mi>
                  <mml:mn>2</mml:mn>
                </mml:msubsup>
                <mml:msup>
                  <mml:mrow>
                    <mml:mrow>
                      <mml:mo>(</mml:mo>
                      <mml:mrow>
                        <mml:msub>
                          <mml:mi>r</mml:mi>
                          <mml:mi>i</mml:mi>
                        </mml:msub>
                        <mml:mo>−</mml:mo>
                        <mml:mover accent="true">
                          <mml:mi>r</mml:mi>
                          <mml:mo>˜</mml:mo>
                        </mml:mover>
                      </mml:mrow>
                      <mml:mo>)</mml:mo>
                    </mml:mrow>
                  </mml:mrow>
                  <mml:mn>2</mml:mn>
                </mml:msup>
              </mml:mrow>
            </mml:mstyle>
          </mml:mrow>
        </mml:math>
      </disp-formula>
      <p>When applying these results, researchers should be aware of several important considerations. First, the size-weighted mean typically requires a larger sample size to achieve approximate normality than the equal-weighted mean. For equal-weighted means a sample size of 30 is often considered sufficient for distributions that are not excessively skewed or fat-tailed. For size-weighted means, this means that if the sample size and distribution of units is such that each observation has a weight smaller than 1/30 the approximation is at least as good as for the equal-weighted mean with a sample size of 30.</p>
      <p>Furthermore, the derivation of Theorems 1 and 2 relies on a first-order Taylor expansion. This approximation may be poor if the sample mean <inline-formula><mml:math><mml:mover accent="true"><mml:mi> u </mml:mi><mml:mo> ¯ </mml:mo></mml:mover></mml:math></inline-formula> can approach zero with non-negligible probability. Kish [<xref ref-type="bibr" rid="B2">2</xref>] [p. 208] suggests, as a rule of thumb, that a coefficient of variation of <inline-formula><mml:math><mml:mover accent="true"><mml:mi> u </mml:mi><mml:mo> ¯ </mml:mo></mml:mover></mml:math></inline-formula> below 0.1 is generally sufficient for the approximation to be reliable in empirical applications.</p>
      <p>Finally, it is important to note that researchers can make significant errors if they use the formula for precision-weighted means when the size-weighted mean is appropriate. The variance of the precision-weighted mean can be estimated by </p>
      <disp-formula id="FD18">
        <label>(3)</label>
        <mml:math>
          <mml:mrow>
            <mml:msubsup>
              <mml:mi>s</mml:mi>
              <mml:mrow>
                <mml:mi>p</mml:mi>
                <mml:mi>r</mml:mi>
                <mml:mi>e</mml:mi>
                <mml:mi>c</mml:mi>
              </mml:mrow>
              <mml:mn>2</mml:mn>
            </mml:msubsup>
            <mml:mo>=</mml:mo>
            <mml:mfrac>
              <mml:mn>1</mml:mn>
              <mml:mi>n</mml:mi>
            </mml:mfrac>
            <mml:mstyle displaystyle="true">
              <mml:mo>∑</mml:mo>
              <mml:mrow>
                <mml:msub>
                  <mml:mi>w</mml:mi>
                  <mml:mi>i</mml:mi>
                </mml:msub>
                <mml:msup>
                  <mml:mrow>
                    <mml:mrow>
                      <mml:mo>(</mml:mo>
                      <mml:mrow>
                        <mml:msub>
                          <mml:mi>r</mml:mi>
                          <mml:mi>i</mml:mi>
                        </mml:msub>
                        <mml:mo>−</mml:mo>
                        <mml:mover accent="true">
                          <mml:mi>r</mml:mi>
                          <mml:mo>˜</mml:mo>
                        </mml:mover>
                      </mml:mrow>
                      <mml:mo>)</mml:mo>
                    </mml:mrow>
                  </mml:mrow>
                  <mml:mn>2</mml:mn>
                </mml:msup>
              </mml:mrow>
            </mml:mstyle>
          </mml:mrow>
        </mml:math>
      </disp-formula>
      <p>Except for using Bessel’s correction, which replaces <inline-formula><mml:math><mml:mi> n </mml:mi></mml:math></inline-formula> with <inline-formula><mml:math><mml:mrow><mml:mi> n </mml:mi><mml:mo> − </mml:mo><mml:mn> 1 </mml:mn></mml:mrow></mml:math></inline-formula> , Equation (3) is the formula implemented in SAS and Stata. (See also Equation (5) and the corresponding text below.)</p>
      <p>To compare the standard errors of the size-weighted and precision-weighted means, it is convenient to write the sample variance of the size-weighted mean as </p>
      <disp-formula id="FD19">
        <mml:math>
          <mml:mrow>
            <mml:msubsup>
              <mml:mi>s</mml:mi>
              <mml:mover accent="true">
                <mml:mi>r</mml:mi>
                <mml:mo>˜</mml:mo>
              </mml:mover>
              <mml:mn>2</mml:mn>
            </mml:msubsup>
            <mml:mo>=</mml:mo>
            <mml:mstyle displaystyle="true">
              <mml:mo>∑</mml:mo>
              <mml:mrow>
                <mml:msub>
                  <mml:mi>w</mml:mi>
                  <mml:mi>i</mml:mi>
                </mml:msub>
                <mml:mo>×</mml:mo>
                <mml:mrow>
                  <mml:mo>(</mml:mo>
                  <mml:mrow>
                    <mml:msub>
                      <mml:mi>w</mml:mi>
                      <mml:mi>i</mml:mi>
                    </mml:msub>
                    <mml:msup>
                      <mml:mrow>
                        <mml:mrow>
                          <mml:mo>(</mml:mo>
                          <mml:mrow>
                            <mml:msub>
                              <mml:mi>r</mml:mi>
                              <mml:mi>i</mml:mi>
                            </mml:msub>
                            <mml:mo>−</mml:mo>
                            <mml:mover accent="true">
                              <mml:mi>r</mml:mi>
                              <mml:mo>˜</mml:mo>
                            </mml:mover>
                          </mml:mrow>
                          <mml:mo>)</mml:mo>
                        </mml:mrow>
                      </mml:mrow>
                      <mml:mn>2</mml:mn>
                    </mml:msup>
                  </mml:mrow>
                  <mml:mo>)</mml:mo>
                </mml:mrow>
              </mml:mrow>
            </mml:mstyle>
          </mml:mrow>
        </mml:math>
      </disp-formula>
      <p>and the sample variance of the precision-weighted means as </p>
      <disp-formula id="FD20">
        <mml:math display="inline">
          <mml:mrow>
            <mml:msubsup>
              <mml:mi>s</mml:mi>
              <mml:mrow>
                <mml:mi>p</mml:mi>
                <mml:mi>r</mml:mi>
                <mml:mi>e</mml:mi>
                <mml:mi>c</mml:mi>
              </mml:mrow>
              <mml:mn>2</mml:mn>
            </mml:msubsup>
            <mml:mo>=</mml:mo>
            <mml:mstyle displaystyle="true">
              <mml:mo>∑</mml:mo>
              <mml:mrow>
                <mml:mrow>
                  <mml:mo>(</mml:mo>
                  <mml:mrow>
                    <mml:mfrac>
                      <mml:mn>1</mml:mn>
                      <mml:mi>n</mml:mi>
                    </mml:mfrac>
                  </mml:mrow>
                  <mml:mo>)</mml:mo>
                </mml:mrow>
                <mml:mo>×</mml:mo>
                <mml:mrow>
                  <mml:mo>(</mml:mo>
                  <mml:mrow>
                    <mml:msub>
                      <mml:mi>w</mml:mi>
                      <mml:mi>i</mml:mi>
                    </mml:msub>
                    <mml:msup>
                      <mml:mrow>
                        <mml:mrow>
                          <mml:mo>(</mml:mo>
                          <mml:mrow>
                            <mml:msub>
                              <mml:mi>r</mml:mi>
                              <mml:mi>i</mml:mi>
                            </mml:msub>
                            <mml:mo>−</mml:mo>
                            <mml:mover accent="true">
                              <mml:mi>r</mml:mi>
                              <mml:mo>˜</mml:mo>
                            </mml:mover>
                          </mml:mrow>
                          <mml:mo>)</mml:mo>
                        </mml:mrow>
                      </mml:mrow>
                      <mml:mn>2</mml:mn>
                    </mml:msup>
                  </mml:mrow>
                  <mml:mo>)</mml:mo>
                </mml:mrow>
              </mml:mrow>
            </mml:mstyle>
          </mml:mrow>
        </mml:math>
      </disp-formula>
      <p>This highlights that the term <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> w </mml:mi><mml:mi> i </mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> in the first equation is replaced by <inline-formula><mml:math><mml:mrow><mml:mrow><mml:mn> 1 </mml:mn><mml:mo> / </mml:mo><mml:mi> n </mml:mi></mml:mrow></mml:mrow></mml:math></inline-formula> in the second. The estimated standard error for the size-weighted mean is either larger or smaller than that for the precision-weighted mean, depending on whether larger values of <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> w </mml:mi><mml:mi> i </mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> tend to be associated with larger or smaller values of <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> w </mml:mi><mml:mi> i </mml:mi></mml:msub><mml:msup><mml:mrow><mml:mrow><mml:mo> ( </mml:mo><mml:mrow><mml:msub><mml:mi> r </mml:mi><mml:mi> i </mml:mi></mml:msub><mml:mo> − </mml:mo><mml:mover accent="true"><mml:mi> r </mml:mi><mml:mo> ˜ </mml:mo></mml:mover></mml:mrow><mml:mo> ) </mml:mo></mml:mrow></mml:mrow><mml:mn> 2 </mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> . If <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> r </mml:mi><mml:mi> i </mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is homoscedastic and thus not systematically related to <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> w </mml:mi><mml:mi> i </mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> , the association tends to be positive, and using the precision-weighted formula will generally underestimate the standard error of the size-weighted mean.</p>
    </sec>
    <sec id="sec3">
      <title>3. Statistical Software</title>
      <p>I reviewed several widely used statistical software packages to determine if they include procedures for calculating weighted means and their associated standard errors. Many packages provide built-in procedures for calculating weighted means and for that calculation it does not matter whether the weights are precision, survey, size, or frequency weights. When it comes to estimating the standard error, results vary widely across the packages. Notably, my review identified no package that computes the standard error in accordance with Theorem 2.</p>
      <p>Among popular software packages, MATLAB’s <italic>mean</italic> and R’s <italic>weighted.mean</italic> core functions can calculate weighted means but there appears to be no core function that calculates its standard error. SPSS appears to support only frequency weights. Python NumPy’s <italic>average</italic> function can calculate a weighted mean but, like Matlab and R, not its standard error. Python’s popular statsmodels package can calculate a weighted mean as well as its standard error, but only for frequency weights.</p>
      <p>SAS, in its PROC MEANS command, calculates standard errors for weighted means but only for precision weights. This is particularly concerning because SAS does not explicitly inform users of what type of weights the WEIGHT option assumes. The WEIGHT option doesn’t even always reflect the same type of weight. For instance, in PROC SURVEYMEANS the WEIGHT option reflects survey weights instead of precision weights.</p>
      <p>Stata provides four types of weights: precision weights (which it calls analytical weights), sampling weights, frequency weights, and weights that it calls “importance” weights. Stata describes its importance weights as follows: “iweights, or importance weights, indicate the relative ‘importance’ of the observation. They have no formal statistical definition; this is a catch-all category. Any command that supports iweights will define how they are treated. They are usually intended for use by programmers who want to produce a certain computation.”</p>
      <p>Thus, Stata’s notion of importance weights does not necessarily match the definition of size weights used in this paper. Moreover, Stata’s <italic>collapse</italic> command will compute a standard error for the weighted mean only when using precision weights. It is only slightly more reassuring than SAS—which provides no warning at all—that Stata alerts the user when it assumes analytical (<italic>i.e.</italic>, precision) weights if the intended type of weight is not explicitly specified.</p>
    </sec>
    <sec id="sec4">
      <title>4. A Regression Approach</title>
      <p>Notwithstanding the lack of canned commands, in some statistical software applications it is possible to obtain standard errors for the size-weighted mean using a regression framework. Specifically, if the application can run a precision-weighted regression while estimating Eicker-Huber-White heteroscedasticity-robust standard errors, then the resulting estimates are identical to those given by Theorem 2, except possibly for small differences due to finite-sample corrections.</p>
      <p>To understand why this works, first note that to estimate a regular equal-weighted mean, one can run the regression: </p>
      <disp-formula id="FD21">
        <mml:math>
          <mml:mrow>
            <mml:msub>
              <mml:mi>r</mml:mi>
              <mml:mi>i</mml:mi>
            </mml:msub>
            <mml:mo>=</mml:mo>
            <mml:mi>α</mml:mi>
            <mml:mo>+</mml:mo>
            <mml:msub>
              <mml:mi>ϵ</mml:mi>
              <mml:mi>i</mml:mi>
            </mml:msub>
          </mml:mrow>
        </mml:math>
      </disp-formula>
      <p>The estimate <inline-formula><mml:math><mml:mover accent="true"><mml:mi> α </mml:mi><mml:mo> ^ </mml:mo></mml:mover></mml:math></inline-formula> is equal to <inline-formula><mml:math><mml:mover accent="true"><mml:mi> r </mml:mi><mml:mo> ¯ </mml:mo></mml:mover></mml:math></inline-formula> , and the estimated variance of <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> ϵ </mml:mi><mml:mi> i </mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is <inline-formula><mml:math display="inline"><mml:mrow><mml:msubsup><mml:mi> s </mml:mi><mml:mi> ϵ </mml:mi><mml:mn> 2 </mml:mn></mml:msubsup><mml:mo> = </mml:mo><mml:msup><mml:mi> n </mml:mi><mml:mrow><mml:mo> − </mml:mo><mml:mn> 1 </mml:mn></mml:mrow></mml:msup><mml:mstyle displaystyle="true"><mml:mo> ∑ </mml:mo><mml:mrow><mml:msup><mml:mrow><mml:mrow><mml:mo> ( </mml:mo><mml:mrow><mml:msub><mml:mi> r </mml:mi><mml:mi> i </mml:mi></mml:msub><mml:mo> − </mml:mo><mml:mover accent="true"><mml:mi> r </mml:mi><mml:mo> ¯ </mml:mo></mml:mover></mml:mrow><mml:mo> ) </mml:mo></mml:mrow></mml:mrow><mml:mn> 2 </mml:mn></mml:msup></mml:mrow></mml:mstyle></mml:mrow></mml:math></inline-formula> , ignoring Bessel’s correction (<italic>i.e.</italic>, replacing <inline-formula><mml:math><mml:mi> n </mml:mi></mml:math></inline-formula> with <inline-formula><mml:math><mml:mrow><mml:mi> n </mml:mi><mml:mo> − </mml:mo><mml:mn> 1 </mml:mn></mml:mrow></mml:math></inline-formula> ). Consequently, the estimated variance of <inline-formula><mml:math><mml:mover accent="true"><mml:mi> α </mml:mi><mml:mo> ^ </mml:mo></mml:mover></mml:math></inline-formula> is <inline-formula><mml:math><mml:mrow><mml:msup><mml:mi> n </mml:mi><mml:mrow><mml:mo> − </mml:mo><mml:mn> 2 </mml:mn></mml:mrow></mml:msup><mml:mstyle displaystyle="true"><mml:mo> ∑ </mml:mo><mml:mrow><mml:msup><mml:mrow><mml:mrow><mml:mo> ( </mml:mo><mml:mrow><mml:msub><mml:mi> r </mml:mi><mml:mi> i </mml:mi></mml:msub><mml:mo> − </mml:mo><mml:mover accent="true"><mml:mi> r </mml:mi><mml:mo> ¯ </mml:mo></mml:mover></mml:mrow><mml:mo> ) </mml:mo></mml:mrow></mml:mrow><mml:mn> 2 </mml:mn></mml:msup></mml:mrow></mml:mstyle></mml:mrow></mml:math></inline-formula> .</p>
      <p>Because heteroscedasticity is only a concern when the explanatory variables are correlated with the variance of the error term, the heteroscedasticity-robust standard errors for <inline-formula><mml:math><mml:mover accent="true"><mml:mi> α </mml:mi><mml:mo> ^ </mml:mo></mml:mover></mml:math></inline-formula> are identical to the usual standard errors: </p>
      <disp-formula id="FD22">
        <mml:math>
          <mml:mrow>
            <mml:msup>
              <mml:mrow>
                <mml:mrow>
                  <mml:mo>(</mml:mo>
                  <mml:mrow>
                    <mml:msup>
                      <mml:mi>X</mml:mi>
                      <mml:mo>′</mml:mo>
                    </mml:msup>
                    <mml:mi>X</mml:mi>
                  </mml:mrow>
                  <mml:mo>)</mml:mo>
                </mml:mrow>
              </mml:mrow>
              <mml:mrow>
                <mml:mo>−</mml:mo>
                <mml:mn>1</mml:mn>
              </mml:mrow>
            </mml:msup>
            <mml:mrow>
              <mml:mo>(</mml:mo>
              <mml:mrow>
                <mml:msup>
                  <mml:mi>X</mml:mi>
                  <mml:mo>′</mml:mo>
                </mml:msup>
                <mml:mi>d</mml:mi>
                <mml:mi>i</mml:mi>
                <mml:mi>a</mml:mi>
                <mml:mi>g</mml:mi>
                <mml:mrow>
                  <mml:mo>(</mml:mo>
                  <mml:mrow>
                    <mml:msubsup>
                      <mml:mover accent="true">
                        <mml:mi>ϵ</mml:mi>
                        <mml:mo>^</mml:mo>
                      </mml:mover>
                      <mml:mn>1</mml:mn>
                      <mml:mn>2</mml:mn>
                    </mml:msubsup>
                    <mml:mo>,</mml:mo>
                    <mml:mo>⋯</mml:mo>
                    <mml:mo>,</mml:mo>
                    <mml:msubsup>
                      <mml:mover accent="true">
                        <mml:mi>ϵ</mml:mi>
                        <mml:mo>^</mml:mo>
                      </mml:mover>
                      <mml:mi>n</mml:mi>
                      <mml:mn>2</mml:mn>
                    </mml:msubsup>
                  </mml:mrow>
                  <mml:mo>)</mml:mo>
                </mml:mrow>
                <mml:mi>X</mml:mi>
              </mml:mrow>
              <mml:mo>)</mml:mo>
            </mml:mrow>
            <mml:msup>
              <mml:mrow>
                <mml:mrow>
                  <mml:mo>(</mml:mo>
                  <mml:mrow>
                    <mml:msup>
                      <mml:mi>X</mml:mi>
                      <mml:mo>′</mml:mo>
                    </mml:msup>
                    <mml:mi>X</mml:mi>
                  </mml:mrow>
                  <mml:mo>)</mml:mo>
                </mml:mrow>
              </mml:mrow>
              <mml:mrow>
                <mml:mo>−</mml:mo>
                <mml:mn>1</mml:mn>
              </mml:mrow>
            </mml:msup>
            <mml:mo>=</mml:mo>
            <mml:mfrac>
              <mml:mn>1</mml:mn>
              <mml:mrow>
                <mml:msup>
                  <mml:mi>n</mml:mi>
                  <mml:mn>2</mml:mn>
                </mml:msup>
              </mml:mrow>
            </mml:mfrac>
            <mml:mstyle displaystyle="true">
              <mml:mo>∑</mml:mo>
              <mml:mrow>
                <mml:msup>
                  <mml:mrow>
                    <mml:mrow>
                      <mml:mo>(</mml:mo>
                      <mml:mrow>
                        <mml:msub>
                          <mml:mi>r</mml:mi>
                          <mml:mi>i</mml:mi>
                        </mml:msub>
                        <mml:mo>−</mml:mo>
                        <mml:mover accent="true">
                          <mml:mi>r</mml:mi>
                          <mml:mo>¯</mml:mo>
                        </mml:mover>
                      </mml:mrow>
                      <mml:mo>)</mml:mo>
                    </mml:mrow>
                  </mml:mrow>
                  <mml:mn>2</mml:mn>
                </mml:msup>
              </mml:mrow>
            </mml:mstyle>
          </mml:mrow>
        </mml:math>
      </disp-formula>
      <p>Suppose now that <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> ϵ </mml:mi><mml:mi> i </mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is heteroscedastic where <inline-formula><mml:math><mml:mrow><mml:msubsup><mml:mi> σ </mml:mi><mml:mrow><mml:msub><mml:mi> ϵ </mml:mi><mml:mi> i </mml:mi></mml:msub></mml:mrow><mml:mn> 2 </mml:mn></mml:msubsup></mml:mrow></mml:math></inline-formula> is equal to <inline-formula><mml:math><mml:mrow><mml:msubsup><mml:mi> u </mml:mi><mml:mi> i </mml:mi><mml:mrow><mml:mo> − </mml:mo><mml:mn> 1 </mml:mn></mml:mrow></mml:msubsup><mml:msup><mml:mi> σ </mml:mi><mml:mn> 2 </mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> for some value of <inline-formula><mml:math><mml:mrow><mml:msup><mml:mi> σ </mml:mi><mml:mn> 2 </mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> . In that case, precision-weighted means can be estimated using standard OLS as follows: </p>
      <disp-formula id="FD23">
        <label>(4)</label>
        <mml:math>
          <mml:mrow>
            <mml:msqrt>
              <mml:mrow>
                <mml:msub>
                  <mml:mi>u</mml:mi>
                  <mml:mi>i</mml:mi>
                </mml:msub>
              </mml:mrow>
            </mml:msqrt>
            <mml:msub>
              <mml:mi>r</mml:mi>
              <mml:mi>i</mml:mi>
            </mml:msub>
            <mml:mo>=</mml:mo>
            <mml:mi>α</mml:mi>
            <mml:msqrt>
              <mml:mrow>
                <mml:msub>
                  <mml:mi>u</mml:mi>
                  <mml:mi>i</mml:mi>
                </mml:msub>
              </mml:mrow>
            </mml:msqrt>
            <mml:mo>+</mml:mo>
            <mml:msub>
              <mml:mi>e</mml:mi>
              <mml:mi>i</mml:mi>
            </mml:msub>
          </mml:mrow>
        </mml:math>
      </disp-formula>
      <p>because <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> e </mml:mi><mml:mi> i </mml:mi></mml:msub><mml:mo> = </mml:mo><mml:msqrt><mml:mrow><mml:msub><mml:mi> u </mml:mi><mml:mi> i </mml:mi></mml:msub></mml:mrow></mml:msqrt><mml:msub><mml:mi> ϵ </mml:mi><mml:mi> i </mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is homoscedastic. Then </p>
      <disp-formula id="FD24">
        <mml:math>
          <mml:mrow>
            <mml:mover accent="true">
              <mml:mi>α</mml:mi>
              <mml:mo>^</mml:mo>
            </mml:mover>
            <mml:mo>=</mml:mo>
            <mml:mfrac>
              <mml:mrow>
                <mml:mstyle displaystyle="true">
                  <mml:mo>∑</mml:mo>
                  <mml:mrow>
                    <mml:msub>
                      <mml:mi>u</mml:mi>
                      <mml:mi>i</mml:mi>
                    </mml:msub>
                    <mml:msub>
                      <mml:mi>r</mml:mi>
                      <mml:mi>i</mml:mi>
                    </mml:msub>
                  </mml:mrow>
                </mml:mstyle>
              </mml:mrow>
              <mml:mrow>
                <mml:mstyle displaystyle="true">
                  <mml:mo>∑</mml:mo>
                  <mml:mrow>
                    <mml:msub>
                      <mml:mi>u</mml:mi>
                      <mml:mi>i</mml:mi>
                    </mml:msub>
                  </mml:mrow>
                </mml:mstyle>
              </mml:mrow>
            </mml:mfrac>
            <mml:mo>=</mml:mo>
            <mml:mover accent="true">
              <mml:mi>r</mml:mi>
              <mml:mo>˜</mml:mo>
            </mml:mover>
          </mml:mrow>
        </mml:math>
      </disp-formula>
      <p>with an estimated variance (ignoring Bessel’s correction) of </p>
      <disp-formula id="FD25">
        <label>(5)</label>
        <mml:math>
          <mml:mrow>
            <mml:mover accent="true">
              <mml:mi>v</mml:mi>
              <mml:mo>^</mml:mo>
            </mml:mover>
            <mml:mi>a</mml:mi>
            <mml:mi>r</mml:mi>
            <mml:mrow>
              <mml:mo>(</mml:mo>
              <mml:mover accent="true">
                <mml:mi>α</mml:mi>
                <mml:mo>^</mml:mo>
              </mml:mover>
              <mml:mo>)</mml:mo>
            </mml:mrow>
            <mml:mo>=</mml:mo>
            <mml:msup>
              <mml:mrow>
                <mml:mrow>
                  <mml:mo>(</mml:mo>
                  <mml:mrow>
                    <mml:mstyle displaystyle="true">
                      <mml:mo>∑</mml:mo>
                      <mml:mrow>
                        <mml:msub>
                          <mml:mi>u</mml:mi>
                          <mml:mi>i</mml:mi>
                        </mml:msub>
                      </mml:mrow>
                    </mml:mstyle>
                  </mml:mrow>
                  <mml:mo>)</mml:mo>
                </mml:mrow>
              </mml:mrow>
              <mml:mrow>
                <mml:mo>−</mml:mo>
                <mml:mn>1</mml:mn>
              </mml:mrow>
            </mml:msup>
            <mml:msubsup>
              <mml:mi>s</mml:mi>
              <mml:mi>e</mml:mi>
              <mml:mn>2</mml:mn>
            </mml:msubsup>
            <mml:mo>=</mml:mo>
            <mml:mfrac>
              <mml:mn>1</mml:mn>
              <mml:mi>n</mml:mi>
            </mml:mfrac>
            <mml:mstyle displaystyle="true">
              <mml:mo>∑</mml:mo>
              <mml:mrow>
                <mml:msub>
                  <mml:mi>w</mml:mi>
                  <mml:mi>i</mml:mi>
                </mml:msub>
                <mml:msup>
                  <mml:mrow>
                    <mml:mrow>
                      <mml:mo>(</mml:mo>
                      <mml:mrow>
                        <mml:msub>
                          <mml:mi>r</mml:mi>
                          <mml:mi>i</mml:mi>
                        </mml:msub>
                        <mml:mo>−</mml:mo>
                        <mml:mover accent="true">
                          <mml:mi>r</mml:mi>
                          <mml:mo>˜</mml:mo>
                        </mml:mover>
                      </mml:mrow>
                      <mml:mo>)</mml:mo>
                    </mml:mrow>
                  </mml:mrow>
                  <mml:mn>2</mml:mn>
                </mml:msup>
              </mml:mrow>
            </mml:mstyle>
          </mml:mrow>
        </mml:math>
      </disp-formula>
      <p>where</p>
      <disp-formula id="FD26">
        <mml:math>
          <mml:mrow>
            <mml:msubsup>
              <mml:mi>s</mml:mi>
              <mml:mi>e</mml:mi>
              <mml:mn>2</mml:mn>
            </mml:msubsup>
            <mml:mo>=</mml:mo>
            <mml:mfrac>
              <mml:mn>1</mml:mn>
              <mml:mi>n</mml:mi>
            </mml:mfrac>
            <mml:mstyle displaystyle="true">
              <mml:mo>∑</mml:mo>
              <mml:mrow>
                <mml:msubsup>
                  <mml:mover accent="true">
                    <mml:mi>e</mml:mi>
                    <mml:mo>^</mml:mo>
                  </mml:mover>
                  <mml:mi>i</mml:mi>
                  <mml:mn>2</mml:mn>
                </mml:msubsup>
              </mml:mrow>
            </mml:mstyle>
            <mml:mo>=</mml:mo>
            <mml:mfrac>
              <mml:mn>1</mml:mn>
              <mml:mi>n</mml:mi>
            </mml:mfrac>
            <mml:mstyle displaystyle="true">
              <mml:mo>∑</mml:mo>
              <mml:mrow>
                <mml:msub>
                  <mml:mi>u</mml:mi>
                  <mml:mi>i</mml:mi>
                </mml:msub>
                <mml:msup>
                  <mml:mrow>
                    <mml:mrow>
                      <mml:mo>(</mml:mo>
                      <mml:mrow>
                        <mml:msub>
                          <mml:mi>r</mml:mi>
                          <mml:mi>i</mml:mi>
                        </mml:msub>
                        <mml:mo>−</mml:mo>
                        <mml:mover accent="true">
                          <mml:mi>r</mml:mi>
                          <mml:mo>˜</mml:mo>
                        </mml:mover>
                      </mml:mrow>
                      <mml:mo>)</mml:mo>
                    </mml:mrow>
                  </mml:mrow>
                  <mml:mn>2</mml:mn>
                </mml:msup>
              </mml:mrow>
            </mml:mstyle>
          </mml:mrow>
        </mml:math>
      </disp-formula>
      <p>Now assume that we are interested in size weights instead of precision weights. Equation (4) can still be estimated using OLS to obtain a size-weighted mean. However, since <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> e </mml:mi><mml:mi> i </mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is now heteroscedastic, it is appropriate to use heteroscedasticity-robust standard errors. The equation for heteroscedascity-robust standard errors reduces to the formula in Theorem 2: </p>
      <disp-formula id="FD27">
        <label>(6)</label>
        <mml:math>
          <mml:mtable>
            <mml:mtr>
              <mml:mtd>
                <mml:mover accent="true">
                  <mml:mi>v</mml:mi>
                  <mml:mo>^</mml:mo>
                </mml:mover>
                <mml:mi>a</mml:mi>
                <mml:mi>r</mml:mi>
                <mml:mrow>
                  <mml:mo>(</mml:mo>
                  <mml:mover accent="true">
                    <mml:mi>α</mml:mi>
                    <mml:mo>^</mml:mo>
                  </mml:mover>
                  <mml:mo>)</mml:mo>
                </mml:mrow>
                <mml:mo>=</mml:mo>
                <mml:msup>
                  <mml:mrow>
                    <mml:mo>(</mml:mo>
                    <mml:mrow>
                      <mml:msup>
                        <mml:mi>X</mml:mi>
                        <mml:mo>′</mml:mo>
                      </mml:msup>
                      <mml:mi>X</mml:mi>
                    </mml:mrow>
                    <mml:mo>)</mml:mo>
                  </mml:mrow>
                  <mml:mrow>
                    <mml:mo>−</mml:mo>
                    <mml:mn>1</mml:mn>
                  </mml:mrow>
                </mml:msup>
                <mml:mrow>
                  <mml:mo>(</mml:mo>
                  <mml:mrow>
                    <mml:msup>
                      <mml:mi>X</mml:mi>
                      <mml:mo>′</mml:mo>
                    </mml:msup>
                    <mml:mi>d</mml:mi>
                    <mml:mi>i</mml:mi>
                    <mml:mi>a</mml:mi>
                    <mml:mi>g</mml:mi>
                    <mml:mrow>
                      <mml:mo>(</mml:mo>
                      <mml:mrow>
                        <mml:msubsup>
                          <mml:mover accent="true">
                            <mml:mi>e</mml:mi>
                            <mml:mo>^</mml:mo>
                          </mml:mover>
                          <mml:mn>1</mml:mn>
                          <mml:mn>2</mml:mn>
                        </mml:msubsup>
                        <mml:mo>,</mml:mo>
                        <mml:mo>⋯</mml:mo>
                        <mml:mo>,</mml:mo>
                        <mml:msubsup>
                          <mml:mover accent="true">
                            <mml:mi>e</mml:mi>
                            <mml:mo>^</mml:mo>
                          </mml:mover>
                          <mml:mi>n</mml:mi>
                          <mml:mn>2</mml:mn>
                        </mml:msubsup>
                      </mml:mrow>
                      <mml:mo>)</mml:mo>
                    </mml:mrow>
                    <mml:mi>X</mml:mi>
                  </mml:mrow>
                  <mml:mo>)</mml:mo>
                </mml:mrow>
                <mml:msup>
                  <mml:mrow>
                    <mml:mo>(</mml:mo>
                    <mml:mrow>
                      <mml:msup>
                        <mml:mi>X</mml:mi>
                        <mml:mo>′</mml:mo>
                      </mml:msup>
                      <mml:mi>X</mml:mi>
                    </mml:mrow>
                    <mml:mo>)</mml:mo>
                  </mml:mrow>
                  <mml:mrow>
                    <mml:mo>−</mml:mo>
                    <mml:mn>1</mml:mn>
                  </mml:mrow>
                </mml:msup>
              </mml:mtd>
            </mml:mtr>
            <mml:mtr>
              <mml:mtd>
                <mml:mo>=</mml:mo>
                <mml:msup>
                  <mml:mrow>
                    <mml:mo>(</mml:mo>
                    <mml:mrow>
                      <mml:mstyle displaystyle="true">
                        <mml:mo>∑</mml:mo>
                        <mml:mrow>
                          <mml:msub>
                            <mml:mi>u</mml:mi>
                            <mml:mi>i</mml:mi>
                          </mml:msub>
                        </mml:mrow>
                      </mml:mstyle>
                    </mml:mrow>
                    <mml:mo>)</mml:mo>
                  </mml:mrow>
                  <mml:mrow>
                    <mml:mo>−</mml:mo>
                    <mml:mn>1</mml:mn>
                  </mml:mrow>
                </mml:msup>
                <mml:mstyle displaystyle="true">
                  <mml:mo>∑</mml:mo>
                  <mml:mrow>
                    <mml:msubsup>
                      <mml:mi>u</mml:mi>
                      <mml:mi>i</mml:mi>
                      <mml:mn>2</mml:mn>
                    </mml:msubsup>
                    <mml:msup>
                      <mml:mrow>
                        <mml:mrow>
                          <mml:mo>(</mml:mo>
                          <mml:mrow>
                            <mml:msub>
                              <mml:mi>r</mml:mi>
                              <mml:mi>i</mml:mi>
                            </mml:msub>
                            <mml:mo>−</mml:mo>
                            <mml:mover accent="true">
                              <mml:mi>r</mml:mi>
                              <mml:mo>˜</mml:mo>
                            </mml:mover>
                          </mml:mrow>
                          <mml:mo>)</mml:mo>
                        </mml:mrow>
                      </mml:mrow>
                      <mml:mn>2</mml:mn>
                    </mml:msup>
                  </mml:mrow>
                </mml:mstyle>
                <mml:msup>
                  <mml:mrow>
                    <mml:mo>(</mml:mo>
                    <mml:mrow>
                      <mml:mstyle displaystyle="true">
                        <mml:mo>∑</mml:mo>
                        <mml:mrow>
                          <mml:msub>
                            <mml:mi>u</mml:mi>
                            <mml:mi>i</mml:mi>
                          </mml:msub>
                        </mml:mrow>
                      </mml:mstyle>
                    </mml:mrow>
                    <mml:mo>)</mml:mo>
                  </mml:mrow>
                  <mml:mrow>
                    <mml:mo>−</mml:mo>
                    <mml:mn>1</mml:mn>
                  </mml:mrow>
                </mml:msup>
                <mml:mo>=</mml:mo>
                <mml:mstyle displaystyle="true">
                  <mml:mo>∑</mml:mo>
                  <mml:mrow>
                    <mml:msubsup>
                      <mml:mi>w</mml:mi>
                      <mml:mi>i</mml:mi>
                      <mml:mn>2</mml:mn>
                    </mml:msubsup>
                    <mml:msup>
                      <mml:mrow>
                        <mml:mrow>
                          <mml:mo>(</mml:mo>
                          <mml:mrow>
                            <mml:msub>
                              <mml:mi>r</mml:mi>
                              <mml:mi>i</mml:mi>
                            </mml:msub>
                            <mml:mo>−</mml:mo>
                            <mml:mover accent="true">
                              <mml:mi>r</mml:mi>
                              <mml:mo>˜</mml:mo>
                            </mml:mover>
                          </mml:mrow>
                          <mml:mo>)</mml:mo>
                        </mml:mrow>
                      </mml:mrow>
                      <mml:mn>2</mml:mn>
                    </mml:msup>
                  </mml:mrow>
                </mml:mstyle>
              </mml:mtd>
            </mml:mtr>
          </mml:mtable>
        </mml:math>
      </disp-formula>
      <p>This shows that if one has software capable of estimating precision-weighted regressions with heteroscedasticity-robust standard errors, it can also be used to estimate size-weighted means with the correct standard errors.</p>
      <p>Furthermore, one can test the equality of the size-weighted means of two populations using a regression with robust standard errors. It is well-known that to test the equality of the equal-weighted means of two groups, A and B, one can run the regression </p>
      <disp-formula id="FD28">
        <mml:math>
          <mml:mrow>
            <mml:msub>
              <mml:mi>r</mml:mi>
              <mml:mi>i</mml:mi>
            </mml:msub>
            <mml:mo>=</mml:mo>
            <mml:msub>
              <mml:mi>β</mml:mi>
              <mml:mn>0</mml:mn>
            </mml:msub>
            <mml:mo>+</mml:mo>
            <mml:msub>
              <mml:mi>β</mml:mi>
              <mml:mn>1</mml:mn>
            </mml:msub>
            <mml:msub>
              <mml:mi>D</mml:mi>
              <mml:mi>i</mml:mi>
            </mml:msub>
            <mml:mo>+</mml:mo>
            <mml:msub>
              <mml:mi>ϵ</mml:mi>
              <mml:mi>i</mml:mi>
            </mml:msub>
          </mml:mrow>
        </mml:math>
      </disp-formula>
      <p>where <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> D </mml:mi><mml:mi> i </mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> indicates membership of observation <inline-formula><mml:math><mml:mi> i </mml:mi></mml:math></inline-formula> in group B. The analogous weighted regression </p>
      <disp-formula id="FD29">
        <label>(7)</label>
        <mml:math>
          <mml:mrow>
            <mml:msqrt>
              <mml:mrow>
                <mml:msub>
                  <mml:mi>u</mml:mi>
                  <mml:mi>i</mml:mi>
                </mml:msub>
              </mml:mrow>
            </mml:msqrt>
            <mml:msub>
              <mml:mi>r</mml:mi>
              <mml:mi>i</mml:mi>
            </mml:msub>
            <mml:mo>=</mml:mo>
            <mml:msub>
              <mml:mi>β</mml:mi>
              <mml:mn>0</mml:mn>
            </mml:msub>
            <mml:msqrt>
              <mml:mrow>
                <mml:msub>
                  <mml:mi>u</mml:mi>
                  <mml:mi>i</mml:mi>
                </mml:msub>
              </mml:mrow>
            </mml:msqrt>
            <mml:mo>+</mml:mo>
            <mml:msub>
              <mml:mi>β</mml:mi>
              <mml:mn>1</mml:mn>
            </mml:msub>
            <mml:msqrt>
              <mml:mrow>
                <mml:msub>
                  <mml:mi>u</mml:mi>
                  <mml:mi>i</mml:mi>
                </mml:msub>
              </mml:mrow>
            </mml:msqrt>
            <mml:msub>
              <mml:mi>D</mml:mi>
              <mml:mi>i</mml:mi>
            </mml:msub>
            <mml:mo>+</mml:mo>
            <mml:msqrt>
              <mml:mrow>
                <mml:msub>
                  <mml:mi>u</mml:mi>
                  <mml:mi>i</mml:mi>
                </mml:msub>
              </mml:mrow>
            </mml:msqrt>
            <mml:msub>
              <mml:mi>ϵ</mml:mi>
              <mml:mi>i</mml:mi>
            </mml:msub>
          </mml:mrow>
        </mml:math>
      </disp-formula>
      <p>provides the following intermediate results: </p>
      <disp-formula id="FD30">
        <mml:math display="inline">
          <mml:mrow>
            <mml:msup>
              <mml:mi>X</mml:mi>
              <mml:mo>′</mml:mo>
            </mml:msup>
            <mml:mi>X</mml:mi>
            <mml:mo>=</mml:mo>
            <mml:mrow>
              <mml:mo>[</mml:mo>
              <mml:mrow>
                <mml:mtable>
                  <mml:mtr>
                    <mml:mtd>
                      <mml:mrow>
                        <mml:mstyle displaystyle="true">
                          <mml:msub>
                            <mml:mo>∑</mml:mo>
                            <mml:mi>A</mml:mi>
                          </mml:msub>
                          <mml:mrow>
                            <mml:msub>
                              <mml:mi>u</mml:mi>
                              <mml:mi>i</mml:mi>
                            </mml:msub>
                          </mml:mrow>
                        </mml:mstyle>
                        <mml:mo>+</mml:mo>
                        <mml:mstyle displaystyle="true">
                          <mml:msub>
                            <mml:mo>∑</mml:mo>
                            <mml:mi>B</mml:mi>
                          </mml:msub>
                          <mml:mrow>
                            <mml:msub>
                              <mml:mi>u</mml:mi>
                              <mml:mi>i</mml:mi>
                            </mml:msub>
                          </mml:mrow>
                        </mml:mstyle>
                      </mml:mrow>
                    </mml:mtd>
                    <mml:mtd>
                      <mml:mrow>
                        <mml:mstyle displaystyle="true">
                          <mml:msub>
                            <mml:mo>∑</mml:mo>
                            <mml:mi>B</mml:mi>
                          </mml:msub>
                          <mml:mrow>
                            <mml:msub>
                              <mml:mi>u</mml:mi>
                              <mml:mi>i</mml:mi>
                            </mml:msub>
                          </mml:mrow>
                        </mml:mstyle>
                      </mml:mrow>
                    </mml:mtd>
                  </mml:mtr>
                  <mml:mtr>
                    <mml:mtd>
                      <mml:mrow>
                        <mml:mstyle displaystyle="true">
                          <mml:msub>
                            <mml:mo>∑</mml:mo>
                            <mml:mi>B</mml:mi>
                          </mml:msub>
                          <mml:mrow>
                            <mml:msub>
                              <mml:mi>u</mml:mi>
                              <mml:mi>i</mml:mi>
                            </mml:msub>
                          </mml:mrow>
                        </mml:mstyle>
                      </mml:mrow>
                    </mml:mtd>
                    <mml:mtd>
                      <mml:mrow>
                        <mml:mstyle displaystyle="true">
                          <mml:msub>
                            <mml:mo>∑</mml:mo>
                            <mml:mi>B</mml:mi>
                          </mml:msub>
                          <mml:mrow>
                            <mml:msub>
                              <mml:mi>u</mml:mi>
                              <mml:mi>i</mml:mi>
                            </mml:msub>
                          </mml:mrow>
                        </mml:mstyle>
                      </mml:mrow>
                    </mml:mtd>
                  </mml:mtr>
                </mml:mtable>
              </mml:mrow>
              <mml:mo>]</mml:mo>
            </mml:mrow>
          </mml:mrow>
        </mml:math>
      </disp-formula>
      <disp-formula id="FD31">
        <mml:math>
          <mml:mrow>
            <mml:msup>
              <mml:mi>X</mml:mi>
              <mml:mo>′</mml:mo>
            </mml:msup>
            <mml:mi>Y</mml:mi>
            <mml:mo>=</mml:mo>
            <mml:mrow>
              <mml:mo>[</mml:mo>
              <mml:mrow>
                <mml:mtable>
                  <mml:mtr>
                    <mml:mtd>
                      <mml:mrow>
                        <mml:mstyle displaystyle="true">
                          <mml:msub>
                            <mml:mo>∑</mml:mo>
                            <mml:mi>A</mml:mi>
                          </mml:msub>
                          <mml:mrow>
                            <mml:msub>
                              <mml:mi>u</mml:mi>
                              <mml:mi>i</mml:mi>
                            </mml:msub>
                            <mml:msub>
                              <mml:mi>r</mml:mi>
                              <mml:mi>i</mml:mi>
                            </mml:msub>
                          </mml:mrow>
                        </mml:mstyle>
                        <mml:mo>+</mml:mo>
                        <mml:mstyle displaystyle="true">
                          <mml:msub>
                            <mml:mo>∑</mml:mo>
                            <mml:mi>B</mml:mi>
                          </mml:msub>
                          <mml:mrow>
                            <mml:msub>
                              <mml:mi>u</mml:mi>
                              <mml:mi>i</mml:mi>
                            </mml:msub>
                            <mml:msub>
                              <mml:mi>r</mml:mi>
                              <mml:mi>i</mml:mi>
                            </mml:msub>
                          </mml:mrow>
                        </mml:mstyle>
                      </mml:mrow>
                    </mml:mtd>
                  </mml:mtr>
                  <mml:mtr>
                    <mml:mtd>
                      <mml:mrow>
                        <mml:mstyle displaystyle="true">
                          <mml:msub>
                            <mml:mo>∑</mml:mo>
                            <mml:mi>B</mml:mi>
                          </mml:msub>
                          <mml:mrow>
                            <mml:msub>
                              <mml:mi>u</mml:mi>
                              <mml:mi>i</mml:mi>
                            </mml:msub>
                            <mml:msub>
                              <mml:mi>r</mml:mi>
                              <mml:mi>i</mml:mi>
                            </mml:msub>
                          </mml:mrow>
                        </mml:mstyle>
                      </mml:mrow>
                    </mml:mtd>
                  </mml:mtr>
                </mml:mtable>
              </mml:mrow>
              <mml:mo>]</mml:mo>
            </mml:mrow>
          </mml:mrow>
        </mml:math>
      </disp-formula>
      <p>and </p>
      <disp-formula id="FD32">
        <mml:math>
          <mml:mrow>
            <mml:msup>
              <mml:mi>X</mml:mi>
              <mml:mo>′</mml:mo>
            </mml:msup>
            <mml:mi>d</mml:mi>
            <mml:mi>i</mml:mi>
            <mml:mi>a</mml:mi>
            <mml:mi>g</mml:mi>
            <mml:mrow>
              <mml:mo>(</mml:mo>
              <mml:mrow>
                <mml:msubsup>
                  <mml:mover accent="true">
                    <mml:mi>ϵ</mml:mi>
                    <mml:mo>^</mml:mo>
                  </mml:mover>
                  <mml:mn>1</mml:mn>
                  <mml:mn>2</mml:mn>
                </mml:msubsup>
                <mml:mo>,</mml:mo>
                <mml:mo>⋯</mml:mo>
                <mml:mo>,</mml:mo>
                <mml:msubsup>
                  <mml:mover accent="true">
                    <mml:mi>ϵ</mml:mi>
                    <mml:mo>^</mml:mo>
                  </mml:mover>
                  <mml:mi>n</mml:mi>
                  <mml:mn>2</mml:mn>
                </mml:msubsup>
              </mml:mrow>
              <mml:mo>)</mml:mo>
            </mml:mrow>
            <mml:mi>X</mml:mi>
            <mml:mo>=</mml:mo>
            <mml:mrow>
              <mml:mo>[</mml:mo>
              <mml:mrow>
                <mml:mtable>
                  <mml:mtr>
                    <mml:mtd>
                      <mml:mrow>
                        <mml:mrow>
                          <mml:mo>(</mml:mo>
                          <mml:mrow>
                            <mml:mstyle displaystyle="true">
                              <mml:msub>
                                <mml:mo>∑</mml:mo>
                                <mml:mi>A</mml:mi>
                              </mml:msub>
                              <mml:mrow>
                                <mml:msubsup>
                                  <mml:mi>u</mml:mi>
                                  <mml:mi>i</mml:mi>
                                  <mml:mn>2</mml:mn>
                                </mml:msubsup>
                                <mml:msubsup>
                                  <mml:mover accent="true">
                                    <mml:mi>ϵ</mml:mi>
                                    <mml:mo>^</mml:mo>
                                  </mml:mover>
                                  <mml:mi>i</mml:mi>
                                  <mml:mn>2</mml:mn>
                                </mml:msubsup>
                              </mml:mrow>
                            </mml:mstyle>
                            <mml:mo>+</mml:mo>
                            <mml:mstyle displaystyle="true">
                              <mml:msub>
                                <mml:mo>∑</mml:mo>
                                <mml:mi>B</mml:mi>
                              </mml:msub>
                              <mml:mrow>
                                <mml:msubsup>
                                  <mml:mi>u</mml:mi>
                                  <mml:mi>i</mml:mi>
                                  <mml:mn>2</mml:mn>
                                </mml:msubsup>
                                <mml:msubsup>
                                  <mml:mover accent="true">
                                    <mml:mi>ϵ</mml:mi>
                                    <mml:mo>^</mml:mo>
                                  </mml:mover>
                                  <mml:mi>i</mml:mi>
                                  <mml:mn>2</mml:mn>
                                </mml:msubsup>
                              </mml:mrow>
                            </mml:mstyle>
                          </mml:mrow>
                          <mml:mo>)</mml:mo>
                        </mml:mrow>
                      </mml:mrow>
                    </mml:mtd>
                    <mml:mtd>
                      <mml:mrow>
                        <mml:mstyle displaystyle="true">
                          <mml:msub>
                            <mml:mo>∑</mml:mo>
                            <mml:mi>B</mml:mi>
                          </mml:msub>
                          <mml:mrow>
                            <mml:msubsup>
                              <mml:mi>u</mml:mi>
                              <mml:mi>i</mml:mi>
                              <mml:mn>2</mml:mn>
                            </mml:msubsup>
                            <mml:msubsup>
                              <mml:mover accent="true">
                                <mml:mi>ϵ</mml:mi>
                                <mml:mo>^</mml:mo>
                              </mml:mover>
                              <mml:mi>i</mml:mi>
                              <mml:mn>2</mml:mn>
                            </mml:msubsup>
                          </mml:mrow>
                        </mml:mstyle>
                      </mml:mrow>
                    </mml:mtd>
                  </mml:mtr>
                  <mml:mtr>
                    <mml:mtd>
                      <mml:mrow>
                        <mml:mstyle displaystyle="true">
                          <mml:msub>
                            <mml:mo>∑</mml:mo>
                            <mml:mi>B</mml:mi>
                          </mml:msub>
                          <mml:mrow>
                            <mml:msubsup>
                              <mml:mi>u</mml:mi>
                              <mml:mi>i</mml:mi>
                              <mml:mn>2</mml:mn>
                            </mml:msubsup>
                            <mml:msubsup>
                              <mml:mover accent="true">
                                <mml:mi>ϵ</mml:mi>
                                <mml:mo>^</mml:mo>
                              </mml:mover>
                              <mml:mi>i</mml:mi>
                              <mml:mn>2</mml:mn>
                            </mml:msubsup>
                          </mml:mrow>
                        </mml:mstyle>
                      </mml:mrow>
                    </mml:mtd>
                    <mml:mtd>
                      <mml:mrow>
                        <mml:mstyle displaystyle="true">
                          <mml:msub>
                            <mml:mo>∑</mml:mo>
                            <mml:mi>B</mml:mi>
                          </mml:msub>
                          <mml:mrow>
                            <mml:msubsup>
                              <mml:mi>u</mml:mi>
                              <mml:mi>i</mml:mi>
                              <mml:mn>2</mml:mn>
                            </mml:msubsup>
                            <mml:msubsup>
                              <mml:mover accent="true">
                                <mml:mi>ϵ</mml:mi>
                                <mml:mo>^</mml:mo>
                              </mml:mover>
                              <mml:mi>i</mml:mi>
                              <mml:mn>2</mml:mn>
                            </mml:msubsup>
                          </mml:mrow>
                        </mml:mstyle>
                      </mml:mrow>
                    </mml:mtd>
                  </mml:mtr>
                </mml:mtable>
              </mml:mrow>
              <mml:mo>]</mml:mo>
            </mml:mrow>
          </mml:mrow>
        </mml:math>
      </disp-formula>
      <p>where <inline-formula><mml:math display="inline"><mml:mrow><mml:msub><mml:mstyle mathsize="140%" displaystyle="true"><mml:mo> ∑ </mml:mo></mml:mstyle><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:mstyle mathsize="140%" displaystyle="true"><mml:mo> ∑ </mml:mo></mml:mstyle><mml:mi> B </mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> indicate that the sums are taken over all observations in group A and group B respectively.</p>
      <p>Straightforward calculations show that the estimated coefficients are given by: </p>
      <disp-formula id="FD33">
        <mml:math>
          <mml:mrow>
            <mml:mover accent="true">
              <mml:mi>β</mml:mi>
              <mml:mo>^</mml:mo>
            </mml:mover>
            <mml:mo>=</mml:mo>
            <mml:mrow>
              <mml:mo>[</mml:mo>
              <mml:mrow>
                <mml:mtable>
                  <mml:mtr>
                    <mml:mtd>
                      <mml:mrow>
                        <mml:msub>
                          <mml:mover accent="true">
                            <mml:mi>β</mml:mi>
                            <mml:mo>^</mml:mo>
                          </mml:mover>
                          <mml:mn>0</mml:mn>
                        </mml:msub>
                      </mml:mrow>
                    </mml:mtd>
                  </mml:mtr>
                  <mml:mtr>
                    <mml:mtd>
                      <mml:mrow>
                        <mml:msub>
                          <mml:mover accent="true">
                            <mml:mi>β</mml:mi>
                            <mml:mo>^</mml:mo>
                          </mml:mover>
                          <mml:mn>1</mml:mn>
                        </mml:msub>
                      </mml:mrow>
                    </mml:mtd>
                  </mml:mtr>
                </mml:mtable>
              </mml:mrow>
              <mml:mo>]</mml:mo>
            </mml:mrow>
            <mml:mo>=</mml:mo>
            <mml:msup>
              <mml:mrow>
                <mml:mrow>
                  <mml:mo>(</mml:mo>
                  <mml:mrow>
                    <mml:msup>
                      <mml:mi>X</mml:mi>
                      <mml:mo>′</mml:mo>
                    </mml:msup>
                    <mml:mi>X</mml:mi>
                  </mml:mrow>
                  <mml:mo>)</mml:mo>
                </mml:mrow>
              </mml:mrow>
              <mml:mrow>
                <mml:mo>−</mml:mo>
                <mml:mn>1</mml:mn>
              </mml:mrow>
            </mml:msup>
            <mml:msup>
              <mml:mi>X</mml:mi>
              <mml:mo>′</mml:mo>
            </mml:msup>
            <mml:mi>Y</mml:mi>
            <mml:mo>=</mml:mo>
            <mml:mrow>
              <mml:mo>[</mml:mo>
              <mml:mrow>
                <mml:mtable>
                  <mml:mtr>
                    <mml:mtd>
                      <mml:mrow>
                        <mml:msub>
                          <mml:mover accent="true">
                            <mml:mi>r</mml:mi>
                            <mml:mo>˜</mml:mo>
                          </mml:mover>
                          <mml:mi>A</mml:mi>
                        </mml:msub>
                      </mml:mrow>
                    </mml:mtd>
                  </mml:mtr>
                  <mml:mtr>
                    <mml:mtd>
                      <mml:mrow>
                        <mml:msub>
                          <mml:mover accent="true">
                            <mml:mi>r</mml:mi>
                            <mml:mo>˜</mml:mo>
                          </mml:mover>
                          <mml:mi>B</mml:mi>
                        </mml:msub>
                        <mml:mo>−</mml:mo>
                        <mml:msub>
                          <mml:mover accent="true">
                            <mml:mi>r</mml:mi>
                            <mml:mo>˜</mml:mo>
                          </mml:mover>
                          <mml:mi>A</mml:mi>
                        </mml:msub>
                      </mml:mrow>
                    </mml:mtd>
                  </mml:mtr>
                </mml:mtable>
              </mml:mrow>
              <mml:mo>]</mml:mo>
            </mml:mrow>
          </mml:mrow>
        </mml:math>
      </disp-formula>
      <p>and the estimated variances are given by: </p>
      <disp-formula id="FD34">
        <mml:math display="inline">
          <mml:mtable>
            <mml:mtr>
              <mml:mtd>
                <mml:mover accent="true">
                  <mml:mi>v</mml:mi>
                  <mml:mo>^</mml:mo>
                </mml:mover>
                <mml:mi>a</mml:mi>
                <mml:mi>r</mml:mi>
                <mml:mrow>
                  <mml:mo>(</mml:mo>
                  <mml:mover accent="true">
                    <mml:mi>β</mml:mi>
                    <mml:mo>^</mml:mo>
                  </mml:mover>
                  <mml:mo>)</mml:mo>
                </mml:mrow>
                <mml:mo>=</mml:mo>
                <mml:msup>
                  <mml:mrow>
                    <mml:mo>(</mml:mo>
                    <mml:mrow>
                      <mml:msup>
                        <mml:mi>X</mml:mi>
                        <mml:mo>′</mml:mo>
                      </mml:msup>
                      <mml:mi>X</mml:mi>
                    </mml:mrow>
                    <mml:mo>)</mml:mo>
                  </mml:mrow>
                  <mml:mrow>
                    <mml:mo>−</mml:mo>
                    <mml:mn>1</mml:mn>
                  </mml:mrow>
                </mml:msup>
                <mml:mrow>
                  <mml:mo>(</mml:mo>
                  <mml:mrow>
                    <mml:msup>
                      <mml:mi>X</mml:mi>
                      <mml:mo>′</mml:mo>
                    </mml:msup>
                    <mml:mi>d</mml:mi>
                    <mml:mi>i</mml:mi>
                    <mml:mi>a</mml:mi>
                    <mml:mi>g</mml:mi>
                    <mml:mrow>
                      <mml:mo>(</mml:mo>
                      <mml:mrow>
                        <mml:msubsup>
                          <mml:mover accent="true">
                            <mml:mi>e</mml:mi>
                            <mml:mo>^</mml:mo>
                          </mml:mover>
                          <mml:mn>1</mml:mn>
                          <mml:mn>2</mml:mn>
                        </mml:msubsup>
                        <mml:mo>,</mml:mo>
                        <mml:mo>⋯</mml:mo>
                        <mml:mo>,</mml:mo>
                        <mml:msubsup>
                          <mml:mover accent="true">
                            <mml:mi>e</mml:mi>
                            <mml:mo>^</mml:mo>
                          </mml:mover>
                          <mml:mi>n</mml:mi>
                          <mml:mn>2</mml:mn>
                        </mml:msubsup>
                      </mml:mrow>
                      <mml:mo>)</mml:mo>
                    </mml:mrow>
                    <mml:mi>X</mml:mi>
                  </mml:mrow>
                  <mml:mo>)</mml:mo>
                </mml:mrow>
                <mml:msup>
                  <mml:mrow>
                    <mml:mo>(</mml:mo>
                    <mml:mrow>
                      <mml:msup>
                        <mml:mi>X</mml:mi>
                        <mml:mo>′</mml:mo>
                      </mml:msup>
                      <mml:mi>X</mml:mi>
                    </mml:mrow>
                    <mml:mo>)</mml:mo>
                  </mml:mrow>
                  <mml:mrow>
                    <mml:mo>−</mml:mo>
                    <mml:mn>1</mml:mn>
                  </mml:mrow>
                </mml:msup>
              </mml:mtd>
            </mml:mtr>
            <mml:mtr>
              <mml:mtd>
                <mml:mo>=</mml:mo>
                <mml:mrow>
                  <mml:mo>[</mml:mo>
                  <mml:mrow>
                    <mml:mtable>
                      <mml:mtr>
                        <mml:mtd>
                          <mml:mrow>
                            <mml:mstyle displaystyle="true">
                              <mml:msub>
                                <mml:mo>∑</mml:mo>
                                <mml:mi>A</mml:mi>
                              </mml:msub>
                              <mml:mrow>
                                <mml:msubsup>
                                  <mml:mi>w</mml:mi>
                                  <mml:mi>i</mml:mi>
                                  <mml:mn>2</mml:mn>
                                </mml:msubsup>
                                <mml:msup>
                                  <mml:mrow>
                                    <mml:mrow>
                                      <mml:mo>(</mml:mo>
                                      <mml:mrow>
                                        <mml:msub>
                                          <mml:mi>r</mml:mi>
                                          <mml:mi>i</mml:mi>
                                        </mml:msub>
                                        <mml:mo>−</mml:mo>
                                        <mml:msub>
                                          <mml:mover accent="true">
                                            <mml:mi>r</mml:mi>
                                            <mml:mo>˜</mml:mo>
                                          </mml:mover>
                                          <mml:mi>A</mml:mi>
                                        </mml:msub>
                                      </mml:mrow>
                                      <mml:mo>)</mml:mo>
                                    </mml:mrow>
                                  </mml:mrow>
                                  <mml:mn>2</mml:mn>
                                </mml:msup>
                              </mml:mrow>
                            </mml:mstyle>
                          </mml:mrow>
                        </mml:mtd>
                        <mml:mtd>
                          <mml:mrow>
                            <mml:mo>−</mml:mo>
                            <mml:mstyle displaystyle="true">
                              <mml:msub>
                                <mml:mo>∑</mml:mo>
                                <mml:mi>A</mml:mi>
                              </mml:msub>
                              <mml:mrow>
                                <mml:msubsup>
                                  <mml:mi>w</mml:mi>
                                  <mml:mi>i</mml:mi>
                                  <mml:mn>2</mml:mn>
                                </mml:msubsup>
                                <mml:msup>
                                  <mml:mrow>
                                    <mml:mrow>
                                      <mml:mo>(</mml:mo>
                                      <mml:mrow>
                                        <mml:msub>
                                          <mml:mi>r</mml:mi>
                                          <mml:mi>i</mml:mi>
                                        </mml:msub>
                                        <mml:mo>−</mml:mo>
                                        <mml:msub>
                                          <mml:mover accent="true">
                                            <mml:mi>r</mml:mi>
                                            <mml:mo>˜</mml:mo>
                                          </mml:mover>
                                          <mml:mi>A</mml:mi>
                                        </mml:msub>
                                      </mml:mrow>
                                      <mml:mo>)</mml:mo>
                                    </mml:mrow>
                                  </mml:mrow>
                                  <mml:mn>2</mml:mn>
                                </mml:msup>
                              </mml:mrow>
                            </mml:mstyle>
                          </mml:mrow>
                        </mml:mtd>
                      </mml:mtr>
                      <mml:mtr>
                        <mml:mtd>
                          <mml:mrow>
                            <mml:mo>−</mml:mo>
                            <mml:mstyle displaystyle="true">
                              <mml:msub>
                                <mml:mo>∑</mml:mo>
                                <mml:mi>A</mml:mi>
                              </mml:msub>
                              <mml:mrow>
                                <mml:msubsup>
                                  <mml:mi>w</mml:mi>
                                  <mml:mi>i</mml:mi>
                                  <mml:mn>2</mml:mn>
                                </mml:msubsup>
                                <mml:msup>
                                  <mml:mrow>
                                    <mml:mrow>
                                      <mml:mo>(</mml:mo>
                                      <mml:mrow>
                                        <mml:msub>
                                          <mml:mi>r</mml:mi>
                                          <mml:mi>i</mml:mi>
                                        </mml:msub>
                                        <mml:mo>−</mml:mo>
                                        <mml:msub>
                                          <mml:mover accent="true">
                                            <mml:mi>r</mml:mi>
                                            <mml:mo>˜</mml:mo>
                                          </mml:mover>
                                          <mml:mi>A</mml:mi>
                                        </mml:msub>
                                      </mml:mrow>
                                      <mml:mo>)</mml:mo>
                                    </mml:mrow>
                                  </mml:mrow>
                                  <mml:mn>2</mml:mn>
                                </mml:msup>
                              </mml:mrow>
                            </mml:mstyle>
                          </mml:mrow>
                        </mml:mtd>
                        <mml:mtd>
                          <mml:mrow>
                            <mml:mrow>
                              <mml:mo>(</mml:mo>
                              <mml:mrow>
                                <mml:mstyle displaystyle="true">
                                  <mml:msub>
                                    <mml:mo>∑</mml:mo>
                                    <mml:mi>A</mml:mi>
                                  </mml:msub>
                                  <mml:mrow>
                                    <mml:msubsup>
                                      <mml:mi>w</mml:mi>
                                      <mml:mi>i</mml:mi>
                                      <mml:mn>2</mml:mn>
                                    </mml:msubsup>
                                    <mml:msup>
                                      <mml:mrow>
                                        <mml:mrow>
                                          <mml:mo>(</mml:mo>
                                          <mml:mrow>
                                            <mml:msub>
                                              <mml:mi>r</mml:mi>
                                              <mml:mi>i</mml:mi>
                                            </mml:msub>
                                            <mml:mo>−</mml:mo>
                                            <mml:msub>
                                              <mml:mover accent="true">
                                                <mml:mi>r</mml:mi>
                                                <mml:mo>˜</mml:mo>
                                              </mml:mover>
                                              <mml:mi>A</mml:mi>
                                            </mml:msub>
                                          </mml:mrow>
                                          <mml:mo>)</mml:mo>
                                        </mml:mrow>
                                      </mml:mrow>
                                      <mml:mn>2</mml:mn>
                                    </mml:msup>
                                  </mml:mrow>
                                </mml:mstyle>
                                <mml:mo>+</mml:mo>
                                <mml:mstyle displaystyle="true">
                                  <mml:msub>
                                    <mml:mo>∑</mml:mo>
                                    <mml:mi>B</mml:mi>
                                  </mml:msub>
                                  <mml:mrow>
                                    <mml:msubsup>
                                      <mml:mi>w</mml:mi>
                                      <mml:mi>i</mml:mi>
                                      <mml:mn>2</mml:mn>
                                    </mml:msubsup>
                                    <mml:msup>
                                      <mml:mrow>
                                        <mml:mrow>
                                          <mml:mo>(</mml:mo>
                                          <mml:mrow>
                                            <mml:msub>
                                              <mml:mi>r</mml:mi>
                                              <mml:mi>i</mml:mi>
                                            </mml:msub>
                                            <mml:mo>−</mml:mo>
                                            <mml:msub>
                                              <mml:mover accent="true">
                                                <mml:mi>r</mml:mi>
                                                <mml:mo>˜</mml:mo>
                                              </mml:mover>
                                              <mml:mi>B</mml:mi>
                                            </mml:msub>
                                          </mml:mrow>
                                          <mml:mo>)</mml:mo>
                                        </mml:mrow>
                                      </mml:mrow>
                                      <mml:mn>2</mml:mn>
                                    </mml:msup>
                                  </mml:mrow>
                                </mml:mstyle>
                              </mml:mrow>
                              <mml:mo>)</mml:mo>
                            </mml:mrow>
                          </mml:mrow>
                        </mml:mtd>
                      </mml:mtr>
                    </mml:mtable>
                  </mml:mrow>
                  <mml:mo>]</mml:mo>
                </mml:mrow>
              </mml:mtd>
            </mml:mtr>
          </mml:mtable>
        </mml:math>
      </disp-formula>
      <p>This shows that <inline-formula><mml:math><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi> β </mml:mi><mml:mo> ^ </mml:mo></mml:mover><mml:mn> 1 </mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> in Equation (7) is the difference between the size-weighted means of group B and group A. Its variance is estimated as <inline-formula><mml:math><mml:mrow><mml:mstyle displaystyle="true"><mml:msub><mml:mo> ∑ </mml:mo><mml:mi> A </mml:mi></mml:msub><mml:mrow><mml:msubsup><mml:mi> w </mml:mi><mml:mi> i </mml:mi><mml:mn> 2 </mml:mn></mml:msubsup><mml:msup><mml:mrow><mml:mrow><mml:mo> ( </mml:mo><mml:mrow><mml:msub><mml:mi> r </mml:mi><mml:mi> i </mml:mi></mml:msub><mml:mo> − </mml:mo><mml:msub><mml:mover accent="true"><mml:mi> r </mml:mi><mml:mo> ˜ </mml:mo></mml:mover><mml:mi> A </mml:mi></mml:msub></mml:mrow><mml:mo> ) </mml:mo></mml:mrow></mml:mrow><mml:mn> 2 </mml:mn></mml:msup></mml:mrow></mml:mstyle><mml:mo> + </mml:mo><mml:mstyle displaystyle="true"><mml:msub><mml:mo> ∑ </mml:mo><mml:mi> B </mml:mi></mml:msub><mml:mrow><mml:msubsup><mml:mi> w </mml:mi><mml:mi> i </mml:mi><mml:mn> 2 </mml:mn></mml:msubsup><mml:msup><mml:mrow><mml:mrow><mml:mo> ( </mml:mo><mml:mrow><mml:msub><mml:mi> r </mml:mi><mml:mi> i </mml:mi></mml:msub><mml:mo> − </mml:mo><mml:msub><mml:mover accent="true"><mml:mi> r </mml:mi><mml:mo> ˜ </mml:mo></mml:mover><mml:mi> A </mml:mi></mml:msub></mml:mrow><mml:mo> ) </mml:mo></mml:mrow></mml:mrow><mml:mn> 2 </mml:mn></mml:msup></mml:mrow></mml:mstyle></mml:mrow></mml:math></inline-formula> , identical to the variance obtained by using Theorem 2 directly. The t-statistic for <inline-formula><mml:math><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi> β </mml:mi><mml:mo> ^ </mml:mo></mml:mover><mml:mn> 1 </mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> directly tests the equality of the weighted means for groups A and B. </p>
    </sec>
    <sec id="sec5">
      <title>5. Conclusions and Discussion</title>
      <p>Applied researchers frequently calculate and discuss size-weighted means. The statistical literature has often overlooked the interest of applied researchers in size-weighted statistics. This paper shows that under standard regularity conditions, the size-weighted mean for i.i.d. random variables is consistent and asymptotically normal. Its standard error can be estimated using a remarkably simple formula, which in some software can be obtained directly from the output of a weighted regression estimated with heteroscedasticity-robust standard errors. Further research in statistical methodology would be valuable to extend the current analysis to more complex settings.</p>
      <p>Statistical software packages have also largely overlooked the interest of researchers in size-weighted statistics and provide limited guidance on the interpretation of weights. Researchers therefore risk substantially misreporting the precision of size-weighted means. Statistical software applications should be improved to avoid unintentional misuse. When a statistical software application provides procedures to calculate weighted means, it should clearly describe what the weights represent and how standard errors are calculated.</p>
    </sec>
    <sec id="sec6">
      <title>Acknowledgements</title>
      <p>I thank Erin Smith, Chyhe Becker, and my colleagues in the Office of Litigation Economics at the U.S. Securities and Exchange Commission for valuable comments on drafts of the manuscript. I also like to thank an anonymous reviewer for his/her helpful comments and suggestions. The Securities and Exchange Commission disclaims responsibility for any private publication or statement of any SEC employee or Commissioner. This article expresses the author’s views and does not necessarily reflect those of the Commission, the Commissioners, or other members of the staff.</p>
    </sec>
    <sec id="sec7">
      <title>NOTES</title>
      <p><sup>1</sup>See also e.g. https://notstatschat.rbind.io/2020/08/04/weights-in-statistics.</p>
      <p><sup>2</sup>In certain settings, the researcher may encounter observations with <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> u </mml:mi><mml:mi> i </mml:mi></mml:msub><mml:mo> = </mml:mo><mml:mn> 0 </mml:mn></mml:mrow></mml:math></inline-formula> . In these settings, Theorem 1 can still be used as it depends only on the assumption that <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> μ </mml:mi><mml:mi> u </mml:mi></mml:msub><mml:mo> ≠ </mml:mo><mml:mn> 0 </mml:mn></mml:mrow></mml:math></inline-formula> . Other results presented below depend on <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> r </mml:mi><mml:mi> i </mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> being well-defined for all <inline-formula><mml:math><mml:mi> i </mml:mi></mml:math></inline-formula> .</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <title>References</title>
      <ref id="B1">
        <label>1.</label>
        <citation-alternatives>
          <mixed-citation publication-type="book">Cochran, W.G. (1977) Sampling Techniques. 3rd Edition, Wiley.</mixed-citation>
          <element-citation publication-type="book">
            <person-group person-group-type="author">
              <string-name>Cochran, W.G.</string-name>
              <string-name>Edition, W</string-name>
            </person-group>
            <year>1977</year>
            <article-title>Sampling Techniques</article-title>
            <source>3rd Edition</source>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B2">
        <label>2.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Kish, L. (1995) Survey Sampling (Wiley Classics Library). Wiley.</mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Kish, L.</string-name>
            </person-group>
            <year>1995</year>
            <article-title>Survey Sampling (Wiley Classics Library)</article-title>
          </element-citation>
        </citation-alternatives>
      </ref>
    </ref-list>
  </back>
</article>