<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.3 20070202//EN" "journalpublishing.dtd">
<article article-type="research-article" dtd-version="2.3" xml:lang="EN" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">
<front>
<journal-meta>
<journal-id journal-id-type="publisher-id">Front. Astron. Space Sci.</journal-id>
<journal-title>Frontiers in Astronomy and Space Sciences</journal-title>
<abbrev-journal-title abbrev-type="pubmed">Front. Astron. Space Sci.</abbrev-journal-title>
<issn pub-type="epub">2296-987X</issn>
<publisher>
<publisher-name>Frontiers Media S.A.</publisher-name>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="publisher-id">1326926</article-id>
<article-id pub-id-type="doi">10.3389/fspas.2024.1326926</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Astronomy and Space Sciences</subject>
<subj-group>
<subject>Original Research</subject>
</subj-group>
</subj-group>
</article-categories>
<title-group>
<article-title>Bayesian inference: more than Bayes&#x2019;s theorem</article-title>
<alt-title alt-title-type="left-running-head">Loredo et al.</alt-title>
<alt-title alt-title-type="right-running-head">
<ext-link ext-link-type="uri" xlink:href="https://doi.org/10.3389/fspas.2024.1326926">10.3389/fspas.2024.1326926</ext-link>
</alt-title>
</title-group>
<contrib-group>
<contrib contrib-type="author" corresp="yes">
<name>
<surname>Loredo</surname>
<given-names>Thomas J.</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<xref ref-type="corresp" rid="c001">&#x2a;</xref>
<uri xlink:href="https://loop.frontiersin.org/people/2556088/overview"/>
<role content-type="https://credit.niso.org/contributor-roles/conceptualization/"/>
<role content-type="https://credit.niso.org/contributor-roles/methodology/"/>
<role content-type="https://credit.niso.org/contributor-roles/writing-original-draft/"/>
<role content-type="https://credit.niso.org/contributor-roles/Writing - review &#x26; editing/"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Wolpert</surname>
<given-names>Robert L.</given-names>
</name>
<xref ref-type="aff" rid="aff2">
<sup>2</sup>
</xref>
<uri xlink:href="https://loop.frontiersin.org/people/510764/overview"/>
<role content-type="https://credit.niso.org/contributor-roles/conceptualization/"/>
<role content-type="https://credit.niso.org/contributor-roles/methodology/"/>
<role content-type="https://credit.niso.org/contributor-roles/Writing - review &#x26; editing/"/>
</contrib>
</contrib-group>
<aff id="aff1">
<sup>1</sup>
<institution>Cornell Center for Astrophysics and Planetary Science (CCAPS) and Department of Statistics and Data Science</institution>, <institution>Cornell University</institution>, <addr-line>Ithaca</addr-line>, <addr-line>NY</addr-line>, <country>United States</country>
</aff>
<aff id="aff2">
<sup>2</sup>
<institution>Department of Statistical Science</institution>, <institution>Duke University</institution>, <addr-line>Durham</addr-line>, <addr-line>NC</addr-line>, <country>United States</country>
</aff>
<author-notes>
<fn fn-type="edited-by">
<p>
<bold>Edited by:</bold> <ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/526509/overview">Eric D. Feigelson</ext-link>, The Pennsylvania State University (PSU), United States</p>
</fn>
<fn fn-type="edited-by">
<p>
<bold>Reviewed by:</bold> <ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/2558250/overview">Ewan Cameron</ext-link>, Curtin University, Australia</p>
<p>
<ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/2558374/overview">Johannes Buchner</ext-link>, Max Planck Institute for Extraterrestrial Physics, Germany</p>
</fn>
<corresp id="c001">&#x2a;Correspondence: Thomas J. Loredo, <email>loredo@astro.cornell.edu</email>
</corresp>
</author-notes>
<pub-date pub-type="epub">
<day>22</day>
<month>10</month>
<year>2024</year>
</pub-date>
<pub-date pub-type="collection">
<year>2024</year>
</pub-date>
<volume>11</volume>
<elocation-id>1326926</elocation-id>
<history>
<date date-type="received">
<day>24</day>
<month>10</month>
<year>2023</year>
</date>
<date date-type="accepted">
<day>18</day>
<month>06</month>
<year>2024</year>
</date>
</history>
<permissions>
<copyright-statement>Copyright &#xa9; 2024 Loredo and Wolpert.</copyright-statement>
<copyright-year>2024</copyright-year>
<copyright-holder>Loredo and Wolpert</copyright-holder>
<license xlink:href="http://creativecommons.org/licenses/by/4.0/">
<p>This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.</p>
</license>
</permissions>
<abstract>
<p>Bayesian inference gets its name from <italic>Bayes&#x2019;s theorem</italic>, expressing posterior probabilities for hypotheses about a data generating process as the (normalized) product of prior probabilities and a likelihood function. But Bayesian inference uses all of probability theory, not just Bayes&#x2019;s theorem. Many hypotheses of scientific interest are <italic>composite hypotheses</italic>, with the strength of evidence for the hypothesis dependent on knowledge about auxiliary factors, such as the values of nuisance parameters (e.g., uncertain background rates or calibration factors). Many important capabilities of Bayesian methods arise from use of the law of total probability, which instructs analysts to compute probabilities for composite hypotheses by <italic>marginalization</italic> over auxiliary factors. This tutorial targets relative newcomers to Bayesian inference, aiming to complement tutorials that focus on Bayes&#x2019;s theorem and how priors modulate likelihoods. The emphasis here is on marginalization over parameter spaces&#x2014;both how it is the foundation for important capabilities, and how it may motivate caution when parameter spaces are large. Topics covered include the difference between likelihood and probability, understanding the impact of priors beyond merely shifting the maximum likelihood estimate, and the role of marginalization in accounting for uncertainty in nuisance parameters, systematic error, and model misspecification.</p>
</abstract>
<kwd-group>
<kwd>astrostatistics</kwd>
<kwd>bayesian methods</kwd>
<kwd>Poisson distribution</kwd>
<kwd>nuisanace parameters</kwd>
<kwd>systematic error</kwd>
<kwd>maximum likelihood</kwd>
<kwd>marginalization</kwd>
</kwd-group>
<custom-meta-wrap>
<custom-meta>
<meta-name>section-at-acceptance</meta-name>
<meta-value>Astrostatistics</meta-value>
</custom-meta>
</custom-meta-wrap>
</article-meta>
</front>
<body>
<sec id="s1">
<title>1 Introduction</title>
<p>The Bayesian approach to statistical inference and other data analysis tasks gets its name from <italic>Bayes&#x2019;s theorem</italic> (BT). BT specifies that a posterior probability for a hypothesis concerning a data generating process may be computed by multiplying a prior probability and a likelihood function (and normalizing):<disp-formula id="e1">
<mml:math id="m1">
<mml:mtext>posterior</mml:mtext>
<mml:mo>&#x221d;</mml:mo>
<mml:mtext>prior</mml:mtext>
<mml:mo>&#xd7;</mml:mo>
<mml:mtext>likelihood</mml:mtext>
<mml:mo>.</mml:mo>
</mml:math>
<label>(1)</label>
</disp-formula>Tutorials on Bayesian methods often focus on how BT adjusts the likelihood function to account for base rates of hypotheses about members of a population, using simple examples like binary classification (e.g., disease/no-disease; guilty/not-guilty; star/galaxy) based on binary diagnostic data (e.g., a positive or negative test or evidentiary result). At the <italic>iid 2022: Statistical Methods for Event Data</italic> meeting that is the topic of this special issue of <italic>Frontiers</italic>, a charming and insightful tutorial along these lines was presented by Torsten En&#xdf;lin; see his &#x201c;Bayes Basics&#x201d; presentation at the meeting&#x2019;s website.</p>
<p>In this tutorial contribution to the issue we address readers familiar with (and perhaps already using) Bayesian methods, to make the case that a focus on Bayes&#x2019;s theorem risks overlooking a more fundamental and crucial aspect of Bayesian inference. We consider a key distinguishing feature of Bayesian inference to be is its use of the <italic>law of total probability</italic> (LTP), directing one to <italic>compute probabilities for composite hypotheses by marginalizing over the hypothesis or parameter space</italic>.</p>
<p>We do not consider this a new or controversial insight. The first author came to appreciate it as a student of the work of <xref ref-type="bibr" rid="B41">Jeffreys (1961)</xref>, <xref ref-type="bibr" rid="B40">Jaynes (2003)</xref>, <xref ref-type="bibr" rid="B65">Zellner (1971)</xref>, and other mid-20th-century pioneers of modern Bayesian inference, and through the work of the second author and Jim Berger (<xref ref-type="bibr" rid="B5">Berger and Wolpert (1988)</xref>, especially &#xa7;&#xa7; 3.5 and 5.3). We have highlighted this in the past (e.g., in <xref ref-type="bibr" rid="B45">Loredo (1992</xref>; <xref ref-type="bibr" rid="B46">1999</xref>; <xref ref-type="bibr" rid="B49">2013)</xref>; <xref ref-type="bibr" rid="B4">Berger et al. (1999)</xref>, and in lectures at the Penn State <italic>Summer School in Statistics for Astronomers</italic>). But we feel this aspect of Bayesian analysis is underappreciated, especially by newcomers and non-experts. With the growing importance of high-dimensional models in statistics and machine learning (ML) there is new motivation for highlighting it. In particular, ML relies heavily on <italic>optimization over large parameter spaces</italic>, where, from a Bayesian perspective, marginalization may instead be the right operation. Recent research demonstrates that the performance of some ML models can be significantly enhanced by replacing optimization with marginalization (even approximately), particularly in settings were good uncertainty quantification is important. Andrew Wilson&#x2019;s Bayesian machine learning group has done particularly notable work in this direction (<xref ref-type="bibr" rid="B19">Wilson, 2020</xref>; <xref ref-type="bibr" rid="B64">Wilson and Izmailov, 2020</xref>). It seems to us the crucial importance of the LTP and marginalization deserves amplification, particularly for newcomers to Bayesian methods.</p>
<p>In this tutorial, we start by establishing notation and informally reviewing BT, the LTP, and the Bayesian interpretation of probability. Then we explore the role of marginalization in Bayesian inference in the context of the following topics:<list list-type="simple">
<list-item>
<p>
<inline-formula id="inf1">
<mml:math id="m2">
<mml:mo>&#x2022;</mml:mo>
</mml:math>
</inline-formula> <italic>Likelihood vs. probability</italic>: We review Fisher&#x2019;s introduction of likelihood as a complement to probability, and the use of BT to &#x201c;flip the conditional&#x201d; and create a posterior distribution from a likelihood function. Newcomers to Bayesian inference who use the term &#x201c;likelihood of the data&#x201d; will find a corrective here.</p>
</list-item>
<list-item>
<p>
<inline-formula id="inf2">
<mml:math id="m3">
<mml:mo>&#x2022;</mml:mo>
</mml:math>
</inline-formula> <italic>Priors are not (merely) penalties</italic>: A prior distribution does more than just shift the peak of the likelihood function; it converts the likelihood to a quantity that can be meaningfully integrated. In even modest-dimension spaces, so-called &#x201c;curses of dimensionality&#x201d; and related ideas imply that integrated probability can pile up in unexpected ways, away from the peak of the likelihood function.</p>
</list-item>
<list-item>
<p>
<inline-formula id="inf3">
<mml:math id="m4">
<mml:mo>&#x2022;</mml:mo>
</mml:math>
</inline-formula> <italic>Marginalization vs. optimization over nuisance parameters</italic>: Most data analysis problems in astronomy rely on models that include both parameters of direct scientific interest, and <italic>nuisance parameters</italic>&#x2014;parameters (e.g., describing backgrounds) that are necessary for linking the interesting parameters to the data. Bayesian methods marginalize (average) over nuisance parameters to account for their uncertainty. We contrast marginalization with a popular alternative approach relying on optimization instead. We also discuss so-called <italic>measurement error problems</italic> (a statistics term of art), where the differences between marginalization and optimization can be amplified.</p>
</list-item>
<list-item>
<p>
<inline-formula id="inf4">
<mml:math id="m5">
<mml:mo>&#x2022;</mml:mo>
</mml:math>
</inline-formula> <italic>Marginalization and systematic error</italic>: We briefly describe recent and ongoing work using marginalization to describe and propagate systematic error in settings where standard &#x201c;propagation of error&#x201d; (the statisticians&#x2019; &#x201c;delta method&#x201d;) fails or is inapplicable. A <xref ref-type="sec" rid="s15">Supplementary Appendix</xref> provides more details on some of this work.</p>
</list-item>
</list>
</p>
</sec>
<sec id="s2">
<title>2 Notation and basic concepts</title>
<p>We adopt notation similar to that of Jeffreys, Cox, and Jaynes, who view Bayesian inference as a generalized logic (<xref ref-type="bibr" rid="B17">Cox, 1946</xref>; <xref ref-type="bibr" rid="B41">Jeffreys, 1961</xref>; <xref ref-type="bibr" rid="B40">Jaynes, 2003</xref>). Whereas deductive logic provides a calculus for truth and falsity in settings where we can reason with certainty (e.g., with truth and falsity represented by 1 and 0 in Boolean algebra), probability theory provides a calculus for degrees of entailment, or argument strength, in settings where we must quantify uncertainty (with probabilities taking values over the real interval, [0,1]). We use <inline-formula id="inf5">
<mml:math id="m6">
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>A</mml:mi>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:mi>B</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> to denote the probability that the truth of statement <inline-formula id="inf6">
<mml:math id="m7">
<mml:mi>A</mml:mi>
</mml:math>
</inline-formula> follows from taking statement <inline-formula id="inf7">
<mml:math id="m8">
<mml:mi>B</mml:mi>
</mml:math>
</inline-formula> to be true (whether <inline-formula id="inf8">
<mml:math id="m9">
<mml:mi>B</mml:mi>
</mml:math>
</inline-formula> is known to be true or just assumed to be true). We call this the conditional probability for <inline-formula id="inf9">
<mml:math id="m10">
<mml:mi>A</mml:mi>
</mml:math>
</inline-formula> given <inline-formula id="inf10">
<mml:math id="m11">
<mml:mi>B</mml:mi>
</mml:math>
</inline-formula>. Interpreting probability as a measure of entailment or argument strength means that all probabilities are necessarily conditional. The argument of a probability symbol is the whole expression inside the parentheses&#x2014;<inline-formula id="inf11">
<mml:math id="m12">
<mml:mi>A</mml:mi>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:mi>B</mml:mi>
</mml:math>
</inline-formula> here&#x2014;understood as the statement that the truth of <inline-formula id="inf12">
<mml:math id="m13">
<mml:mi>A</mml:mi>
</mml:math>
</inline-formula> follows from the truth <inline-formula id="inf13">
<mml:math id="m14">
<mml:mi>B</mml:mi>
</mml:math>
</inline-formula>. In logic, such a statement is called an <italic>argument</italic>, so we may say that the argument of a (Bayesian) probability symbol is, well, an argument. The conditioning statements comprise the premises for the argument (the &#x201c;givens&#x201d;).</p>
<p>We will often be computing a collection of probabilities that share common conditions that will not be questioned (i.e., they never appear to the left of the conditioning bar), at least for the duration of a specific calculation. We often denote such conditioning information by <inline-formula id="inf14">
<mml:math id="m15">
<mml:mi mathvariant="script">C</mml:mi>
</mml:math>
</inline-formula>, the <italic>context</italic> for the calculation. Some contextual information may represent secure knowledge (e.g., basic physical principles that firmly justify some probability distributions appearing in an analysis). Other contextual information may represent less secure, provisional assumptions, adopted &#x201c;for the sake of the argument,&#x201d; to enable us to compute probabilities required in the course of an analysis; such assumptions ideally should be reassessed in a later stage of analysis<xref ref-type="fn" rid="fn1">
<sup>1</sup>
</xref>.</p>
<p>Complex statements may be built by combining simpler statements. For example, we use <inline-formula id="inf15">
<mml:math id="m16">
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>A</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>B</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> to denote &#x201c;<inline-formula id="inf16">
<mml:math id="m17">
<mml:mi>A</mml:mi>
</mml:math>
</inline-formula> and <inline-formula id="inf17">
<mml:math id="m18">
<mml:mi>B</mml:mi>
</mml:math>
</inline-formula> are both true,&#x201d; and <inline-formula id="inf18">
<mml:math id="m19">
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>A</mml:mi>
<mml:mo>&#x2228;</mml:mo>
<mml:mi>B</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> to denote &#x201c;<inline-formula id="inf19">
<mml:math id="m20">
<mml:mi>A</mml:mi>
</mml:math>
</inline-formula> is true, or <inline-formula id="inf20">
<mml:math id="m21">
<mml:mi>B</mml:mi>
</mml:math>
</inline-formula> is true, or both.&#x201d; Two important basic rules of probability are the conjunction rule (the &#x201c;and&#x201d; or &#x201c;product&#x201d; rule):<disp-formula id="e2">
<mml:math id="m22">
<mml:mtable class="align" columnalign="left">
<mml:mtr>
<mml:mtd columnalign="right">
<mml:mi>P</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>A</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>B</mml:mi>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:mi mathvariant="script">C</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mtd>
<mml:mtd columnalign="left">
<mml:mo>&#x3d;</mml:mo>
<mml:mi>P</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>A</mml:mi>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:mi mathvariant="script">C</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mspace width="0.17em"/>
<mml:mi>P</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>B</mml:mi>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:mi>A</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="script">C</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd columnalign="right"/>
<mml:mtd columnalign="left">
<mml:mo>&#x3d;</mml:mo>
<mml:mi>P</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>B</mml:mi>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:mi mathvariant="script">C</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mspace width="0.25em"/>
<mml:mi>P</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>A</mml:mi>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:mi>B</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="script">C</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>,</mml:mo>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:math>
<label>(2)</label>
</disp-formula>and the disjunction rule (the &#x201c;or&#x201d; or &#x201c;sum&#x201d; rule):<disp-formula id="e3">
<mml:math id="m23">
<mml:mi>P</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>A</mml:mi>
<mml:mo>&#x2228;</mml:mo>
<mml:mi>B</mml:mi>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:mi mathvariant="script">C</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>P</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>A</mml:mi>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:mi mathvariant="script">C</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x2b;</mml:mo>
<mml:mi>P</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>B</mml:mi>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:mi mathvariant="script">C</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>P</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>A</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>B</mml:mi>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:mi mathvariant="script">C</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>.</mml:mo>
</mml:math>
<label>(3)</label>
</disp-formula>We presume the reader is familiar with these basics; they are here to establish notation and terminology.</p>
<p>We often compute probabilities for collections of statements labeled by an integer or a real-valued parameter (or vector of parameters). In such cases we use a lower-case <inline-formula id="inf21">
<mml:math id="m24">
<mml:mi>p</mml:mi>
</mml:math>
</inline-formula> (or another letter) to denote the appropriately labeled probabilities. For discrete cases, the probabilities comprise a <italic>probability mass function</italic> (PMF), such as <inline-formula id="inf22">
<mml:math id="m25">
<mml:msub>
<mml:mrow>
<mml:mi>p</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>A</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:mi mathvariant="script">C</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> (for <inline-formula id="inf23">
<mml:math id="m26">
<mml:mi>i</mml:mi>
</mml:math>
</inline-formula> an integer over some specified range). For continuous cases, we instead use a <italic>probability density function</italic> (PDF), defined so that for a parameter <inline-formula id="inf24">
<mml:math id="m27">
<mml:mi>&#x3b8;</mml:mi>
</mml:math>
</inline-formula> the probability assigned to an interval of size <inline-formula id="inf25">
<mml:math id="m28">
<mml:mi>d</mml:mi>
<mml:mi>&#x3b8;</mml:mi>
</mml:math>
</inline-formula> is <inline-formula id="inf26">
<mml:math id="m29">
<mml:mi>p</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>&#x3b8;</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mspace width="0.17em"/>
<mml:mi>d</mml:mi>
<mml:mi>&#x3b8;</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>&#x3b8;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2217;</mml:mo>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2208;</mml:mo>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mi>&#x3b8;</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>&#x3b8;</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mi>d</mml:mi>
<mml:mi>&#x3b8;</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:mi mathvariant="script">C</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>, where <inline-formula id="inf27">
<mml:math id="m30">
<mml:msub>
<mml:mrow>
<mml:mi>&#x3b8;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2217;</mml:mo>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> is the (uncertain) true value of the parameter. So the argument of a probability symbol is an <italic>argument</italic> (comprised of statements comprising premises and a conclusion), and the argument or index of a PMF or PDF symbol is a <italic>number</italic>.</p>
<p>When conditioning information is common to all probability symbols in a formula it can be distracting to display it explicitly. We sometimes suppress symbols for common conditions for clarity, when the conditions are clear from the context. When we do want to display a common dependence, we adopt clever notation introduced by John Skilling (the &#x201c;Skilling conditional&#x201d;), showing the shared information with a double bar beside the equations, as here:<disp-formula id="e4">
<mml:math id="m31">
<mml:mi>P</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>A</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>B</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>P</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>A</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mspace width="0.17em"/>
<mml:mi>P</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>B</mml:mi>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:mi>A</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mspace width="2em"/>
<mml:mo stretchy="false">&#x2016;</mml:mo>
<mml:mspace width="0.28em"/>
<mml:mi mathvariant="script">C</mml:mi>
<mml:mo>.</mml:mo>
</mml:math>
<label>(4)</label>
</disp-formula>
</p>
<p>In what follows we will focus on Bayesian <italic>inference</italic>&#x2014;computing probabilities for hypotheses of interest given data and other information, including modeling assumptions. Bayesian inference is the core of <italic>Bayesian data analysis</italic> (BDA), comprising the use of Bayesian probability for a broader variety of tasks, including making decisions (Bayesian decision theory), designing experiments (Bayesian experimental design), and addressing tasks where there is not enough structure for formal inference (e.g., Bayesian model checking and Bayesian exploratory data analysis). Marginalization plays a key role in all of these data analytical activities. The book <italic>Bayesian Data Analysis</italic> (<xref ref-type="bibr" rid="B29">Gelman et al., 2014a</xref>) provides comprehensive coverage of many topics comprising BDA. An emerging term of art, <italic>Bayesian workflow</italic>, refers to best practices for integrating diverse Bayesian techniques (including methods fusing Bayesian and frequentist considerations) into robust data analysis pipelines that include model checking and refinement steps. <xref ref-type="bibr" rid="B28">Gelman et al. (2020)</xref> provide a broad discussion of Bayesian workflow; <xref ref-type="bibr" rid="B56">Tak et al. (2018)</xref> and <xref ref-type="bibr" rid="B24">Eadie et al. (2023)</xref> discuss key components of sound Bayesian workflow in astrostatistics.</p>
</sec>
<sec id="s3">
<title>3 Bayes&#x2019;s theorem and interpreting probability</title>
<p>If we equate the two factorizations on the right hand side of <xref ref-type="disp-formula" rid="e2">Equation 2</xref> and solve for <inline-formula id="inf28">
<mml:math id="m32">
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>A</mml:mi>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:mi>B</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="script">C</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>, we get Bayes&#x2019;s theorem,<disp-formula id="e5">
<mml:math id="m33">
<mml:mi>P</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>A</mml:mi>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:mi>B</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mi>P</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>A</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mspace width="0.17em"/>
<mml:mi>P</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>B</mml:mi>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:mi>A</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mrow>
<mml:mi>P</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>B</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mfrac>
<mml:mspace width="2em"/>
<mml:mo stretchy="false">&#x2016;</mml:mo>
<mml:mspace width="0.28em"/>
<mml:mi mathvariant="script">C</mml:mi>
<mml:mo>,</mml:mo>
</mml:math>
<label>(5)</label>
</disp-formula>provided that <inline-formula id="inf29">
<mml:math id="m34">
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>B</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mo>&#x2260;</mml:mo>
<mml:mn>0</mml:mn>
</mml:math>
</inline-formula>
<xref ref-type="fn" rid="fn2">
<sup>2</sup>
</xref>. We can view BT as showing how adding statements to the premises in an argument should change the degree of entailment for the conclusion. Here the initial argument is that <inline-formula id="inf30">
<mml:math id="m35">
<mml:mi>A</mml:mi>
</mml:math>
</inline-formula> follows from <inline-formula id="inf31">
<mml:math id="m36">
<mml:mi mathvariant="script">C</mml:mi>
</mml:math>
</inline-formula> (the argument of the first factor in the numerator), and the argument of the probability on the left hand side asserts that <inline-formula id="inf32">
<mml:math id="m37">
<mml:mi>A</mml:mi>
</mml:math>
</inline-formula> follows from the combined statement <inline-formula id="inf33">
<mml:math id="m38">
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>B</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="script">C</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>, i.e., <inline-formula id="inf34">
<mml:math id="m39">
<mml:mi>B</mml:mi>
</mml:math>
</inline-formula> has been added to the premises.</p>
<p>To get BT in a form useful for data analysis, let <inline-formula id="inf35">
<mml:math id="m40">
<mml:msub>
<mml:mrow>
<mml:mi>H</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> denote statements asserting rival hypotheses specifying a data generating process (DGP), indexed by <inline-formula id="inf36">
<mml:math id="m41">
<mml:mi>i</mml:mi>
</mml:math>
</inline-formula>; let <inline-formula id="inf37">
<mml:math id="m42">
<mml:msub>
<mml:mrow>
<mml:mi>D</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>&#x2009;obs</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> denote a statement asserting the values of observed data; and let <inline-formula id="inf38">
<mml:math id="m43">
<mml:mi mathvariant="script">C</mml:mi>
</mml:math>
</inline-formula> denote all other information at hand, including a description of how the hypotheses and data are connected. Rewrite BT, taking <inline-formula id="inf39">
<mml:math id="m44">
<mml:mi>A</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>H</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> and <inline-formula id="inf40">
<mml:math id="m45">
<mml:mi>B</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>D</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>&#x2009;obs</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula>, giving<disp-formula id="e6">
<mml:math id="m46">
<mml:mi>P</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>H</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>D</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>&#x2009;obs</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mi>P</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>H</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:mspace width="0.17em"/>
<mml:mi>P</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>D</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>&#x2009;obs</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>H</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mrow>
<mml:mi>P</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>D</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>&#x2009;obs</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mfrac>
<mml:mspace width="2em"/>
<mml:mo stretchy="false">&#x2016;</mml:mo>
<mml:mspace width="0.28em"/>
<mml:mi mathvariant="script">C</mml:mi>
<mml:mo>.</mml:mo>
</mml:math>
<label>(6)</label>
</disp-formula>With these choices for the statements, the factors in this equation have names:<list list-type="simple">
<list-item>
<p>
<inline-formula id="inf41">
<mml:math id="m47">
<mml:mo>&#x2022;</mml:mo>
</mml:math>
</inline-formula> <inline-formula id="inf42">
<mml:math id="m48">
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>H</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>D</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>&#x2009;obs</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> is the <italic>posterior probability</italic> for hypothesis <inline-formula id="inf43">
<mml:math id="m49">
<mml:msub>
<mml:mrow>
<mml:mi>H</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> (given <inline-formula id="inf44">
<mml:math id="m50">
<mml:msub>
<mml:mrow>
<mml:mi>D</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>&#x2009;obs</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula>). Considered as a function of <inline-formula id="inf45">
<mml:math id="m51">
<mml:mi>i</mml:mi>
</mml:math>
</inline-formula> it is a posterior PMF. &#x201c;Posterior&#x201d; here refers to &#x201c;<italic>after</italic> taking into account the observed data.&#x201d;</p>
</list-item>
<list-item>
<p>
<inline-formula id="inf46">
<mml:math id="m52">
<mml:mo>&#x2022;</mml:mo>
</mml:math>
</inline-formula> <inline-formula id="inf47">
<mml:math id="m53">
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>H</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> is the <italic>prior probability</italic> for <inline-formula id="inf48">
<mml:math id="m54">
<mml:msub>
<mml:mrow>
<mml:mi>H</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula>, also a PMF when considered as a function of <inline-formula id="inf49">
<mml:math id="m55">
<mml:mi>i</mml:mi>
</mml:math>
</inline-formula>. &#x201c;prior&#x201d; here refers to &#x201c;<italic>Prior</italic> to accounting for the observed data.&#x201d;</p>
</list-item>
<list-item>
<p>
<inline-formula id="inf50">
<mml:math id="m56">
<mml:mo>&#x2022;</mml:mo>
</mml:math>
</inline-formula> <inline-formula id="inf51">
<mml:math id="m57">
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>D</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>&#x2009;obs</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>H</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> is the <italic>likelihood</italic> for hypothesis <inline-formula id="inf52">
<mml:math id="m58">
<mml:msub>
<mml:mrow>
<mml:mi>H</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula>, or, considered as a function of <inline-formula id="inf53">
<mml:math id="m59">
<mml:mi>i</mml:mi>
</mml:math>
</inline-formula>, the <italic>likelihood function</italic>. The term &#x201c;likelihood&#x201d; is meant to indicate it is not a <italic>probability</italic> for <inline-formula id="inf54">
<mml:math id="m60">
<mml:msub>
<mml:mrow>
<mml:mi>H</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula>, since <inline-formula id="inf55">
<mml:math id="m61">
<mml:msub>
<mml:mrow>
<mml:mi>H</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> is on the wrong side of the bar (in particular, <inline-formula id="inf56">
<mml:math id="m62">
<mml:msub>
<mml:mrow>
<mml:mo>&#x2211;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>D</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>&#x2009;obs</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>H</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> need not equal unity). We discuss the relationship between probability and likelihood further in &#xa7; 5.</p>
</list-item>
<list-item>
<p>
<inline-formula id="inf57">
<mml:math id="m63">
<mml:mo>&#x2022;</mml:mo>
</mml:math>
</inline-formula> <inline-formula id="inf58">
<mml:math id="m64">
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>D</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>&#x2009;obs</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> is the <italic>prior predictive probability</italic>, the probability with which one would predict the observed data without specifying which of the <inline-formula id="inf59">
<mml:math id="m65">
<mml:msub>
<mml:mrow>
<mml:mi>H</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> is true.</p>
</list-item>
</list>If we are considering a continuum of hypotheses labeled by a continuous parameter <inline-formula id="inf60">
<mml:math id="m66">
<mml:mi>&#x3b8;</mml:mi>
</mml:math>
</inline-formula>, then one may derive an analogous result involving PDFs:<disp-formula id="e7">
<mml:math id="m67">
<mml:mi>p</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>&#x3b8;</mml:mi>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>D</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>&#x2009;obs</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mi>p</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>&#x3b8;</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mspace width="0.17em"/>
<mml:mi>p</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>D</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>&#x2009;obs</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:mi>&#x3b8;</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mrow>
<mml:mi>p</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>D</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>&#x2009;obs</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mfrac>
<mml:mspace width="2em"/>
<mml:mo stretchy="false">&#x2016;</mml:mo>
<mml:mspace width="0.28em"/>
<mml:mi mathvariant="script">C</mml:mi>
</mml:math>
<label>(7)</label>
</disp-formula>(where we have mildly overloaded our notation, using <inline-formula id="inf61">
<mml:math id="m68">
<mml:mi>&#x3b8;</mml:mi>
</mml:math>
</inline-formula> and <inline-formula id="inf62">
<mml:math id="m69">
<mml:msub>
<mml:mrow>
<mml:mi>D</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>&#x2009;obs</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> to denote <italic>variables</italic> for the scalar or vector parameter and data quantities when to the left of the bar, and <italic>statements</italic> asserting values for those quantities when to the right). The factors have analogous names, e.g., <inline-formula id="inf63">
<mml:math id="m70">
<mml:mi>p</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>&#x3b8;</mml:mi>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>D</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>&#x2009;obs</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> is the posterior PDF for <inline-formula id="inf64">
<mml:math id="m71">
<mml:mi>&#x3b8;</mml:mi>
</mml:math>
</inline-formula>.</p>
<p>There is nothing controversial in BT as an uninterpreted mathematical result. But a problem arises in its use for data analysis if one insists on adopting a frequentist interpretation of probability. Such interpretations assert that probabilities can be meaningfully assigned and manipulated only for statements about quantities that take on diverse values in some kind of <italic>replication</italic> setting; such statements are called <italic>events</italic>
<xref ref-type="fn" rid="fn3">
<sup>3</sup>
</xref>. In such settings, the probability for an event is the fraction of the time the event happens (the statement is true) among replications, as the number of replications tends to infinity<xref ref-type="fn" rid="fn4">
<sup>4</sup>
</xref>. The frequentist view is significantly restrictive. It allows us to say, &#x201c;the probability for heads is <inline-formula id="inf65">
<mml:math id="m72">
<mml:mn>1</mml:mn>
<mml:mo>/</mml:mo>
<mml:mn>2</mml:mn>
</mml:math>
</inline-formula>,&#x201d; interpreted as a property of an <italic>ensemble</italic> of flips of a coin. But it does not allow us to say, &#x201c;the probability for heads <italic>on the next flip</italic> is <inline-formula id="inf66">
<mml:math id="m73">
<mml:mn>1</mml:mn>
<mml:mo>/</mml:mo>
<mml:mn>2</mml:mn>
</mml:math>
</inline-formula>,&#x201d; if we are about to flip a coin just once.</p>
<p>More importantly, the frequentist interpretation does not permit assigning or computing probabilities for hypotheses about fixed but uncertain properties of a physical system. For example, in the 1800s Laplace famously used Bayesian probability (the historically original notion of probability) to analyze detailed but noisy observations of Saturn&#x2019;s orbit to estimate the ratio of Saturn&#x2019;s mass to the Sun&#x2019;s mass. He estimated the ratio to be within <inline-formula id="inf67">
<mml:math id="m74">
<mml:mo>&#xb1;</mml:mo>
<mml:mn>1</mml:mn>
<mml:mi>%</mml:mi>
</mml:math>
</inline-formula> of <inline-formula id="inf68">
<mml:math id="m75">
<mml:mn>2.847</mml:mn>
<mml:mo>&#xd7;</mml:mo>
<mml:mn>1</mml:mn>
<mml:msup>
<mml:mrow>
<mml:mn>0</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>4</mml:mn>
</mml:mrow>
</mml:msup>
</mml:math>
</inline-formula>, with a probability of 0.99991. (The modern convention would fix the probability at some convenient target like 0.95 and find the associated range; Laplace did the reverse. The current estimate is <inline-formula id="inf69">
<mml:math id="m76">
<mml:mn>2.858</mml:mn>
<mml:mo>&#xd7;</mml:mo>
<mml:mn>1</mml:mn>
<mml:msup>
<mml:mrow>
<mml:mn>0</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>4</mml:mn>
</mml:mrow>
</mml:msup>
</mml:math>
</inline-formula>, comfortably inside Laplace&#x2019;s range.) Such a probability makes no sense if one adopts a frequentist interpretation. The true mass of Saturn either is or is not in that interval, and it would be either in it or outside of it for every replication of the observations. The frequentist probability for Saturn&#x2019;s mass being in that interval is either 0 or 1&#x2014;but we have no way of knowing which it is.</p>
<p>One sometimes hears a complaint from a scientist only familiar with the frequentist interpretation that they can follow the Bayesian math, but stumble at the idea that a parameter value should be considered to be &#x201c;random,&#x201d; a random variable taking on a distribution of values. This reflects an error in interpretation. <xref ref-type="fig" rid="F1">Figure 1</xref> is our attempt at depicting the different interpretations for a PDF for some real-valued quantity <inline-formula id="inf70">
<mml:math id="m77">
<mml:mi>x</mml:mi>
</mml:math>
</inline-formula> (the interpretations differ regardless of whether <inline-formula id="inf71">
<mml:math id="m78">
<mml:mi>x</mml:mi>
</mml:math>
</inline-formula> refers the value of a parameter or a datum). The left panel depicts the frequentist interpretation of <inline-formula id="inf72">
<mml:math id="m79">
<mml:mi>p</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>; the PDF describes an infinite collection of replications, across which <inline-formula id="inf73">
<mml:math id="m80">
<mml:mi>x</mml:mi>
</mml:math>
</inline-formula> takes on many values, whose limiting histogram is <inline-formula id="inf74">
<mml:math id="m81">
<mml:mi>p</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>. The right panel depicts the Bayesian interpretation; the PDF describes uncertainty about the value of <inline-formula id="inf75">
<mml:math id="m82">
<mml:mi>x</mml:mi>
</mml:math>
</inline-formula> in a single case-at-hand by distributing probability over the values <inline-formula id="inf76">
<mml:math id="m83">
<mml:mi>x</mml:mi>
</mml:math>
</inline-formula> may take (depicted by the shading along the <inline-formula id="inf77">
<mml:math id="m84">
<mml:mi>x</mml:mi>
</mml:math>
</inline-formula> axis). In the frequentist interpretation, it is the <inline-formula id="inf78">
<mml:math id="m85">
<mml:mi>x</mml:mi>
</mml:math>
</inline-formula> in <inline-formula id="inf79">
<mml:math id="m86">
<mml:mi>p</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> that is distributed (across replications). In the Bayesian interpretation, it is the <inline-formula id="inf80">
<mml:math id="m87">
<mml:mi>p</mml:mi>
</mml:math>
</inline-formula> in <inline-formula id="inf81">
<mml:math id="m88">
<mml:mi>p</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> that is distributed (across possible values <inline-formula id="inf82">
<mml:math id="m89">
<mml:mi>x</mml:mi>
</mml:math>
</inline-formula> may take in the case at hand). A Bayesian PDF is analogous to a matter density, <inline-formula id="inf83">
<mml:math id="m90">
<mml:mi>&#x3c1;</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>, in classical mechanics; it is the matter that is distributed, not values of <inline-formula id="inf84">
<mml:math id="m91">
<mml:mi>x</mml:mi>
</mml:math>
</inline-formula>.</p>
<fig id="F1" position="float">
<label>FIGURE 1</label>
<caption>
<p>Frequentist and Bayesian interpretations of a PDF (blue curve) for a real-valued quantity <inline-formula id="inf85">
<mml:math id="m92">
<mml:mi>x</mml:mi>
</mml:math>
</inline-formula>. Left: Frequentist interpretation as a (limiting) histogram of values <inline-formula id="inf86">
<mml:math id="m93">
<mml:mi>x</mml:mi>
</mml:math>
</inline-formula> takes across replications; the values of <inline-formula id="inf87">
<mml:math id="m94">
<mml:mi>x</mml:mi>
</mml:math>
</inline-formula> are distributed according to the PDF. Right: Bayesian interpretation as <inline-formula id="inf88">
<mml:math id="m95">
<mml:mi>x</mml:mi>
</mml:math>
</inline-formula> taking a single fixed (but uncertain) value in the case at hand (dot on the <inline-formula id="inf89">
<mml:math id="m96">
<mml:mi>x</mml:mi>
</mml:math>
</inline-formula> axis), with probability distributed over the possible values (depicted via the shading along the <inline-formula id="inf90">
<mml:math id="m97">
<mml:mi>x</mml:mi>
</mml:math>
</inline-formula> axis).</p>
</caption>
<graphic xlink:href="fspas-11-1326926-g001.tif"/>
</fig>
</sec>
<sec id="s4">
<title>4 The law of total probability and marginalization</title>
<p>BT followed from the conjunction (&#x201c;and&#x201d;) rule. The LTP follows from application of both the conjunction and disjunction (&#x201c;or&#x201d;) rules to problems where a statement of interest may be true or false depending on what is true about auxiliary details in the problem. As simple example, consider rolling a die, and a hypothesis about the outcome of a single roll, <inline-formula id="inf98">
<mml:math id="m105">
<mml:mi>H</mml:mi>
<mml:mo>&#x3d;</mml:mo>
</mml:math>
</inline-formula> &#x201c;The number of dots on the top face is a prime.&#x201d; Let the auxiliary detail be the actual number that comes up, with <inline-formula id="inf99">
<mml:math id="m106">
<mml:msub>
<mml:mrow>
<mml:mi>B</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
</mml:math>
</inline-formula> &#x201c;The side with <inline-formula id="inf100">
<mml:math id="m107">
<mml:mi>i</mml:mi>
</mml:math>
</inline-formula> dots is up.&#x201d; Here <inline-formula id="inf101">
<mml:math id="m108">
<mml:mi>H</mml:mi>
</mml:math>
</inline-formula> is true when any of <inline-formula id="inf102">
<mml:math id="m109">
<mml:msub>
<mml:mrow>
<mml:mi>B</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula>, <inline-formula id="inf103">
<mml:math id="m110">
<mml:msub>
<mml:mrow>
<mml:mi>B</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>3</mml:mn>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula>, or <inline-formula id="inf104">
<mml:math id="m111">
<mml:msub>
<mml:mrow>
<mml:mi>B</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>5</mml:mn>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> is true, and false otherwise. Note also that only one of the <inline-formula id="inf105">
<mml:math id="m112">
<mml:msub>
<mml:mrow>
<mml:mi>B</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> statements may be true. We say that <inline-formula id="inf106">
<mml:math id="m113">
<mml:mi>H</mml:mi>
</mml:math>
</inline-formula> is a <italic>composite hypothesis</italic>: there are multiple ways it may be true or false, given the nature of the problem (the context). Here the <inline-formula id="inf107">
<mml:math id="m114">
<mml:msub>
<mml:mrow>
<mml:mi>B</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> comprise an <italic>exclusive, exhaustive set of statements</italic>&#x2014;a collection of statements such that our contextual information asserts one of them must be true, but only one. <xref ref-type="bibr" rid="B22">Downey (2021)</xref> dubs such a set a <italic>suite</italic>, terminology we like that is not yet widely used.</p>
<p>In such settings, the joint probability (&#x201c;and&#x201d;) for <inline-formula id="inf108">
<mml:math id="m115">
<mml:mi>H</mml:mi>
</mml:math>
</inline-formula> and one of the <inline-formula id="inf109">
<mml:math id="m116">
<mml:msub>
<mml:mrow>
<mml:mi>B</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> may be factored as <inline-formula id="inf110">
<mml:math id="m117">
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>H</mml:mi>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>B</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>H</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mspace width="0.17em"/>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>B</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:mi>H</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>. Now sum this over <inline-formula id="inf111">
<mml:math id="m118">
<mml:mi>i</mml:mi>
</mml:math>
</inline-formula>, noting that <inline-formula id="inf112">
<mml:math id="m119">
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>H</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> does not depend on <inline-formula id="inf113">
<mml:math id="m120">
<mml:mi>i</mml:mi>
</mml:math>
</inline-formula> and so may be taken out of the sum:<disp-formula id="e8">
<mml:math id="m121">
<mml:mstyle displaystyle="true">
<mml:munder>
<mml:mrow>
<mml:mo>&#x2211;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:munder>
</mml:mstyle>
<mml:mi>P</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>H</mml:mi>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>B</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>P</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>H</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mstyle displaystyle="true">
<mml:munder>
<mml:mrow>
<mml:mo>&#x2211;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:munder>
</mml:mstyle>
<mml:mi>P</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>B</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:mi>H</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>P</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>H</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mspace width="2em"/>
<mml:mo stretchy="false">&#x2016;</mml:mo>
<mml:mspace width="0.28em"/>
<mml:mi mathvariant="script">C</mml:mi>
<mml:mo>,</mml:mo>
</mml:math>
<label>(8)</label>
</disp-formula>where for the final equation we used repeated application of the &#x201c;or&#x201d; rule and the suite property to show that <inline-formula id="inf114">
<mml:math id="m122">
<mml:msub>
<mml:mrow>
<mml:mo>&#x2211;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>B</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:mi>H</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="script">C</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> is unity. We thus have the LTP:<disp-formula id="e9">
<mml:math id="m123">
<mml:mtable class="align" columnalign="left">
<mml:mtr>
<mml:mtd columnalign="right">
<mml:mi>P</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>H</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mtd>
<mml:mtd columnalign="left">
<mml:mo>&#x3d;</mml:mo>
<mml:mstyle displaystyle="true">
<mml:munder>
<mml:mrow>
<mml:mo>&#x2211;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:munder>
</mml:mstyle>
<mml:mi>P</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>H</mml:mi>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>B</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd columnalign="right"/>
<mml:mtd columnalign="left">
<mml:mo>&#x3d;</mml:mo>
<mml:mstyle displaystyle="true">
<mml:munder>
<mml:mrow>
<mml:mo>&#x2211;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:munder>
</mml:mstyle>
<mml:mi>P</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>B</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:mspace width="0.17em"/>
<mml:mi>P</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>H</mml:mi>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>B</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:mspace width="2em"/>
<mml:mo stretchy="false">&#x2016;</mml:mo>
<mml:mspace width="0.28em"/>
<mml:mi mathvariant="script">C</mml:mi>
<mml:mo>,</mml:mo>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:math>
<label>(9)</label>
</disp-formula>where the last line uses the alternative factorization of <inline-formula id="inf115">
<mml:math id="m124">
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>H</mml:mi>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>B</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>. The summing over auxiliary details is called <italic>marginalization</italic>, after the practice of collecting values of a joint probability in a table and listing sums across rows and columns in the margins of the table. The LTP is a kind of &#x201c;decomposition/recomposition&#x201d; result that is used in two ways.</p>
<p>First, if we have a problem where both <inline-formula id="inf116">
<mml:math id="m125">
<mml:mi>H</mml:mi>
</mml:math>
</inline-formula> (or a set of alternatives, <inline-formula id="inf117">
<mml:math id="m126">
<mml:msub>
<mml:mrow>
<mml:mi>H</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula>) and <inline-formula id="inf118">
<mml:math id="m127">
<mml:msub>
<mml:mrow>
<mml:mi>B</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> are present from the start, so <inline-formula id="inf119">
<mml:math id="m128">
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>H</mml:mi>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>B</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> is available, the top line of <xref ref-type="disp-formula" rid="e9">Equation 9</xref> tells us how to compute the probability for <inline-formula id="inf120">
<mml:math id="m129">
<mml:mi>H</mml:mi>
</mml:math>
</inline-formula> if it alone is of interest: sum the joint over the ways <inline-formula id="inf121">
<mml:math id="m130">
<mml:mi>H</mml:mi>
</mml:math>
</inline-formula> may be true.</p>
<p>Second, if we have a problem where initially only <inline-formula id="inf122">
<mml:math id="m131">
<mml:mi>H</mml:mi>
</mml:math>
</inline-formula> is present but we do not immediately see how to compute or assign <inline-formula id="inf123">
<mml:math id="m132">
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>H</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>, the second line of <xref ref-type="disp-formula" rid="e9">Equation 9</xref> suggests doing something reminiscent of a basis expansion: identify some additional detail that, if known, would let you compute the probability for <inline-formula id="inf124">
<mml:math id="m133">
<mml:mi>H</mml:mi>
</mml:math>
</inline-formula>; that is, find a suite, <inline-formula id="inf125">
<mml:math id="m134">
<mml:msub>
<mml:mrow>
<mml:mi>B</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula>, so that <inline-formula id="inf126">
<mml:math id="m135">
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>H</mml:mi>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>B</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> is known. Then sum over the possible choices of auxiliary details, weighting the terms by the probabilities for each choice. This has been called &#x201c;extending the conversation&#x201d; (<xref ref-type="bibr" rid="B44">Lindley et al., 1978</xref>). Harvard statistician Joseph Blitzstein offers a different term in one of his YouTube lectures (see &#x201c;<ext-link ext-link-type="uri" xlink:href="https://www.youtube.com/watch?v=fDcjhAKuhqQ&#x26;t=958s">Statistics 110</ext-link>, Lecture 6: Monty Hall, Simpson&#x2019;s Paradox,&#x201d; slightly paraphrased here):</p>
<disp-quote>
<p>In most mathematical subjects, if you have a problem and you&#x2019;re stuck, saying &#x201c;I wish I knew this or that&#x201d; does not help you. In probability theory, thinking &#x201c;I wish I knew this&#x201d; gives you a hint at what you should condition on. Then you condition on it, act <italic>as if</italic> you did know it, and then average over those possibilities.</p>
</disp-quote>
<disp-quote>
<p>I did not name the law of total probability, but if I had, I would have just called it <italic>wishful thinking</italic>: what do I wish I knew?</p>
</disp-quote>
<p>In continuous-parameter settings where uncertainty may be quantified by PDFs, the LTP instructs us to <italic>integrate</italic> over those parameters specifying choices of auxiliary details.</p>
<p>In a typical Bayesian data analysis application, one will begin by using BT to define a posterior distribution, but then use that distribution by applying the LTP to address diverse tasks. Here are several such tasks:<list list-type="simple">
<list-item>
<p>
<inline-formula id="inf127">
<mml:math id="m136">
<mml:mo>&#x2022;</mml:mo>
</mml:math>
</inline-formula> <italic>Normalizing posterior PDFs</italic>: The posterior predictive probability in the denominator of BT in <xref ref-type="disp-formula" rid="e7">Equation 7</xref> appears to play the role of a normalization constant, in that it does not depend on <inline-formula id="inf128">
<mml:math id="m137">
<mml:mi>&#x3b8;</mml:mi>
</mml:math>
</inline-formula>. We can show this explicitly using the &#x201c;wishful thinking&#x201d; version of the LTP:<disp-formula id="e10">
<mml:math id="m138">
<mml:mi>p</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>D</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>&#x2009;obs</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x3d;</mml:mo>
<mml:mo>&#x222b;</mml:mo>
<mml:mi mathvariant="normal">d</mml:mi>
<mml:mi>&#x3b8;</mml:mi>
<mml:mspace width="0.17em"/>
<mml:mi>p</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>&#x3b8;</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mspace width="0.17em"/>
<mml:mi>p</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>D</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>&#x2009;obs</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:mi>&#x3b8;</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>.</mml:mo>
</mml:math>
<label>(10)</label>
</disp-formula>
</p>
<p>Since the integrand is just the numerator of <xref ref-type="disp-formula" rid="e7">Equation 7</xref>, the LTP has both verified that the prior predictive probability is a normalization constant, and shown us how to compute it. It is also the source of the more common name for this quantity, the <italic>marginal likelihood</italic> (for the model as a whole), i.e., the weighted integral of the likelihood function.</p>
</list-item>
</list>
<list list-type="simple">
<list-item>
<p>
<inline-formula id="inf129">
<mml:math id="m139">
<mml:mo>&#x2022;</mml:mo>
</mml:math>
</inline-formula> <italic>Credible regions</italic>: Calculating the probability in a <italic>credible region</italic>, <inline-formula id="inf130">
<mml:math id="m140">
<mml:mi>R</mml:mi>
</mml:math>
</inline-formula>, for <inline-formula id="inf131">
<mml:math id="m141">
<mml:mi>&#x3b8;</mml:mi>
</mml:math>
</inline-formula> may be done similarly:<disp-formula id="e11">
<mml:math id="m142">
<mml:mi>p</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>&#x3b8;</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:mi>R</mml:mi>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>D</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>&#x2009;obs</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mo>&#x222b;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>R</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mi>d</mml:mi>
<mml:mi>&#x3b8;</mml:mi>
<mml:mspace width="0.17em"/>
<mml:mi>p</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>&#x3b8;</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:mi>R</mml:mi>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:mi>&#x3b8;</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mspace width="0.17em"/>
<mml:mi>p</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>&#x3b8;</mml:mi>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>D</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>&#x2009;obs</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:mo>.</mml:mo>
</mml:math>
<label>(11)</label>
</disp-formula>
</p>
<p>There may be many regions that have a desired target amount of probability. The smallest such region is typically unique, with density higher in <inline-formula id="inf132">
<mml:math id="m143">
<mml:mi>R</mml:mi>
</mml:math>
</inline-formula> than outside it, and it is called a <italic>highest posterior density</italic> (HPD) credible region.</p> </list-item> </list>
<list list-type="simple">
<list-item>
<p>
<inline-formula id="inf133">
<mml:math id="m144">
<mml:mo>&#x2022;</mml:mo>
</mml:math>
</inline-formula> <italic>Marginalizing over nuisance parameters</italic>: Most real-life data analysis problems in astronomy have <italic>nuisance parameters</italic>: parameters required for modeling the data, but not directly interesting. Perhaps the most common such parameters are those describing backgrounds contaminating the measurement of a signal. Let <inline-formula id="inf134">
<mml:math id="m145">
<mml:mi>&#x3c8;</mml:mi>
</mml:math>
</inline-formula> denote the interesting (signal) parameters, and <inline-formula id="inf135">
<mml:math id="m146">
<mml:mi>&#x3b7;</mml:mi>
</mml:math>
</inline-formula> the nuisance (background) parameters. The uncertainty in <inline-formula id="inf136">
<mml:math id="m147">
<mml:mi>&#x3c8;</mml:mi>
</mml:math>
</inline-formula> (with the <inline-formula id="inf137">
<mml:math id="m148">
<mml:mi>&#x3b7;</mml:mi>
</mml:math>
</inline-formula> uncertainty fully propagated) is quantified by the <italic>marginal posterior</italic> PDF,<disp-formula id="e12">
<mml:math id="m149">
<mml:mi>p</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>&#x3c8;</mml:mi>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>D</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>&#x2009;obs</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x3d;</mml:mo>
<mml:mo>&#x222b;</mml:mo>
<mml:mi>d</mml:mi>
<mml:mi>&#x3b7;</mml:mi>
<mml:mspace width="0.17em"/>
<mml:mi>p</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>&#x3c8;</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>&#x3b7;</mml:mi>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>D</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>&#x2009;obs</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:mo>.</mml:mo>
</mml:math>
<label>(12)</label>
</disp-formula>
</p>
<p>If the posterior is explored via posterior sampling (say, via MCMC), this integral may be approximated by simply making a histogram of the <inline-formula id="inf138">
<mml:math id="m150">
<mml:mi>&#x3c8;</mml:mi>
</mml:math>
</inline-formula> component of the posterior samples of <inline-formula id="inf139">
<mml:math id="m151">
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>&#x3c8;</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>&#x3b7;</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>. A popular way to handle nuisance parameters in astronomy and physics is via <italic>profile likelihood</italic>, which optimizes rather than averages over the nuisance parameters. We discuss the relationship between marginalization and optimization (profiling) at some length in &#xa7; 7.</p>
</list-item>
</list>
<list list-type="simple">
<list-item>
<p>
<inline-formula id="inf140">
<mml:math id="m152">
<mml:mo>&#x2022;</mml:mo>
</mml:math>
</inline-formula> <italic>Propagation of uncertainty</italic>: Suppose we have computed a posterior PDF for a model&#x2019;s parameters, <inline-formula id="inf141">
<mml:math id="m153">
<mml:mi>&#x3b8;</mml:mi>
</mml:math>
</inline-formula>, but we are interested, not directly in <inline-formula id="inf142">
<mml:math id="m154">
<mml:mi>&#x3b8;</mml:mi>
</mml:math>
</inline-formula>, but in a quantity <inline-formula id="inf143">
<mml:math id="m155">
<mml:mi>f</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>F</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>&#x3b8;</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> for a known function <inline-formula id="inf144">
<mml:math id="m156">
<mml:mi>F</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>&#x3b8;</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>. This is the setting for standard &#x201c;propagation of errors&#x201d; techniques (known as the &#x201c;delta method&#x201d; in statistics), but these rely on approximations that presume the posterior is Gaussian. We can propagate uncertainty more thoroughly and accurately using the LTP to compute a marginal posterior for <inline-formula id="inf145">
<mml:math id="m157">
<mml:mi>f</mml:mi>
</mml:math>
</inline-formula>:<disp-formula id="e13">
<mml:math id="m158">
<mml:mtable class="align" columnalign="left">
<mml:mtr>
<mml:mtd columnalign="right">
<mml:mi>p</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>f</mml:mi>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:mi>D</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>M</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mtd>
<mml:mtd columnalign="left">
<mml:mo>&#x3d;</mml:mo>
<mml:mo>&#x222b;</mml:mo>
<mml:mi>d</mml:mi>
<mml:mi>&#x3b8;</mml:mi>
<mml:mspace width="0.28em"/>
<mml:mi>p</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>f</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>&#x3b8;</mml:mi>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>D</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>&#x2009;obs</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:mi>M</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mspace width="0.28em"/>
<mml:mspace width="0.17em"/>
<mml:mo>&#x3d;</mml:mo>
<mml:mspace width="0.28em"/>
<mml:mspace width="0.17em"/>
<mml:mo>&#x222b;</mml:mo>
<mml:mi mathvariant="normal">d</mml:mi>
<mml:mi>&#x3b8;</mml:mi>
<mml:mspace width="0.28em"/>
<mml:mi>p</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>&#x3b8;</mml:mi>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>D</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>&#x2009;obs</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:mi>M</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mspace width="0.17em"/>
<mml:mi>p</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>f</mml:mi>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:mi>&#x3b8;</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>M</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd columnalign="right"/>
<mml:mtd columnalign="left">
<mml:mo>&#x3d;</mml:mo>
<mml:mo>&#x222b;</mml:mo>
<mml:mi>d</mml:mi>
<mml:mi>&#x3b8;</mml:mi>
<mml:mspace width="0.28em"/>
<mml:mi>p</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>&#x3b8;</mml:mi>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>D</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>&#x2009;obs</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:mi>M</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mspace width="0.17em"/>
<mml:mi>&#x3b4;</mml:mi>
<mml:mfenced open="[" close="]">
<mml:mrow>
<mml:mi>f</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>F</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>&#x3b8;</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mfenced>
<mml:mo>.</mml:mo>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:math>
<label>(13)</label>
</disp-formula>
</p>
<p>If the posterior is explored via posterior sampling, this integral may be approximated by simply making a histogram of <inline-formula id="inf146">
<mml:math id="m159">
<mml:mi>F</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>&#x3b8;</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> evaluated over the posterior samples of <inline-formula id="inf147">
<mml:math id="m160">
<mml:mi>&#x3b8;</mml:mi>
</mml:math>
</inline-formula>.</p>
</list-item>
</list>
<list list-type="simple">
<list-item>
<p>
<inline-formula id="inf148">
<mml:math id="m161">
<mml:mo>&#x2022;</mml:mo>
</mml:math>
</inline-formula> <italic>Prediction</italic>: In the context of a model with parameters <inline-formula id="inf149">
<mml:math id="m162">
<mml:mi>&#x3b8;</mml:mi>
</mml:math>
</inline-formula> for observed data <inline-formula id="inf150">
<mml:math id="m163">
<mml:msub>
<mml:mrow>
<mml:mi>D</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>&#x2009;obs</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula>, where we want to make predictions about future data we may obtain (say, for experimental design purposes), we can use the LTP to compute a <italic>posterior predictive distribution</italic>. Denoting future data by <inline-formula id="inf151">
<mml:math id="m164">
<mml:msup>
<mml:mrow>
<mml:mi>D</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2032;</mml:mo>
</mml:mrow>
</mml:msup>
</mml:math>
</inline-formula>, the posterior predictive PDF is<disp-formula id="e14">
<mml:math id="m165">
<mml:mi>p</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mi>D</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2032;</mml:mo>
</mml:mrow>
</mml:msup>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>D</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>&#x2009;obs</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x3d;</mml:mo>
<mml:mo>&#x222b;</mml:mo>
<mml:mi>d</mml:mi>
<mml:mi>&#x3b8;</mml:mi>
<mml:mspace width="0.17em"/>
<mml:mi>p</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mi>D</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2032;</mml:mo>
</mml:mrow>
</mml:msup>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:mi>&#x3b8;</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mspace width="0.17em"/>
<mml:mi>p</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>&#x3b8;</mml:mi>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>D</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>&#x2009;obs</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:mo>,</mml:mo>
</mml:math>
<label>(14)</label>
</disp-formula>
</p>
<p>with the integration accounting for parameter uncertainty in the prediction, weighting possible choices of <inline-formula id="inf152">
<mml:math id="m166">
<mml:mi>&#x3b8;</mml:mi>
</mml:math>
</inline-formula> by the posterior PDF.</p> </list-item> </list>
<list list-type="simple">
<list-item>
<p>
<inline-formula id="inf153">
<mml:math id="m167">
<mml:mo>&#x2022;</mml:mo>
</mml:math>
</inline-formula> <italic>Model comparison</italic>: To compare rival parametric models defined by contexts <inline-formula id="inf154">
<mml:math id="m168">
<mml:msub>
<mml:mrow>
<mml:mi>M</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> (each with parameters <inline-formula id="inf155">
<mml:math id="m169">
<mml:msub>
<mml:mrow>
<mml:mi>&#x3b8;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula>), we compute posterior odds or Bayes factors. These require computation of each model&#x2019;s <italic>marginal likelihood</italic>
<xref ref-type="fn" rid="fn5">
<sup>5</sup>
</xref>
<disp-formula id="e15">
<mml:math id="m170">
<mml:mi>p</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>D</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>&#x2009;obs</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>M</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x3d;</mml:mo>
<mml:mo>&#x222b;</mml:mo>
<mml:mi>d</mml:mi>
<mml:msub>
<mml:mrow>
<mml:mi>&#x3b8;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mspace width="0.17em"/>
<mml:mi>p</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>&#x3b8;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>M</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:mspace width="0.17em"/>
<mml:mi>p</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>D</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>&#x2009;obs</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>&#x3b8;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>M</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:mspace width="2em"/>
<mml:mo stretchy="false">&#x2016;</mml:mo>
<mml:mspace width="0.28em"/>
<mml:msub>
<mml:mrow>
<mml:mi>M</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2228;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>M</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2026;</mml:mo>
<mml:mo>.</mml:mo>
</mml:math>
<label>(15)</label>
</disp-formula>
</p>
<p>This is just the normalization constant for the posterior PDF for a particular model&#x2019;s parameters. This says that the likelihood for a model (as a whole, i.e., accounting for uncertainty in its parameters) is the average of the likelihood function for that model&#x2019;s parameters<xref ref-type="fn" rid="fn6">
<sup>6</sup>
</xref>.</p>
</list-item>
</list>
<list list-type="simple">
<list-item>
<p>
<inline-formula id="inf156">
<mml:math id="m171">
<mml:mo>&#x2022;</mml:mo>
</mml:math>
</inline-formula> <italic>Model averaging</italic>: Consider again a setting with rival parametric models with contexts <inline-formula id="inf157">
<mml:math id="m172">
<mml:msub>
<mml:mrow>
<mml:mi>M</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula>, but where all models share some interesting parameters, <inline-formula id="inf158">
<mml:math id="m173">
<mml:mi>&#x3d5;</mml:mi>
</mml:math>
</inline-formula>, but supplement them with different sets of nuisance parameters, <inline-formula id="inf159">
<mml:math id="m174">
<mml:msub>
<mml:mrow>
<mml:mi>&#x3b7;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula>. An example from cosmology is estimating the curvature and size of the universe, accounting for uncertainty in the choice of cosmological models (e.g., whether dark energy is due to a cosmological constant or is instead evolving, thus possibly requiring additional parameters for the dark energy equation of state; see <xref ref-type="bibr" rid="B59">Vardanyan et al., 2011</xref>). In settings where no particular model is strongly preferred over its rivals, we would like to account for model uncertainty in estimation of <inline-formula id="inf160">
<mml:math id="m175">
<mml:mi>&#x3d5;</mml:mi>
</mml:math>
</inline-formula>. Let <inline-formula id="inf161">
<mml:math id="m176">
<mml:mi mathvariant="script">C</mml:mi>
</mml:math>
</inline-formula> here denote an overall context, collecting all rival models. Model averaging uses the LTP to propagate both model and nuisance parameter uncertainty as follows:<disp-formula id="e16">
<mml:math id="m177">
<mml:mtable class="array">
<mml:mtr>
<mml:mtd columnalign="right">
<mml:mi>p</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>&#x3d5;</mml:mi>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:mi>D</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="script">C</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x3d;</mml:mo>
</mml:mtd>
<mml:mtd columnalign="left">
<mml:mspace width="0.25em"/>
<mml:mstyle displaystyle="true">
<mml:munder>
<mml:mrow>
<mml:mo>&#x2211;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:munder>
</mml:mstyle>
<mml:mi>p</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>M</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:mi>D</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="script">C</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mspace width="0.17em"/>
<mml:mi>p</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>&#x3d5;</mml:mi>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:mi>D</mml:mi>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>M</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd columnalign="right"/>
<mml:mtd columnalign="left">
<mml:mo>&#x221d;</mml:mo>
<mml:mstyle displaystyle="true">
<mml:munder>
<mml:mrow>
<mml:mo>&#x2211;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:munder>
</mml:mstyle>
<mml:mi>p</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>D</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>&#x2009;obs</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>M</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x222b;</mml:mo>
<mml:mi>d</mml:mi>
<mml:msub>
<mml:mrow>
<mml:mi>&#x3b7;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mspace width="0.17em"/>
<mml:mi>p</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>&#x3d5;</mml:mi>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>&#x3b7;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:mi>D</mml:mi>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>M</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:mo>,</mml:mo>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:math>
<label>(16)</label>
</disp-formula>
</p>
<p>where for the last line we presume the models are considered equally probable a priori, so that the probability for each model is proportional to its marginal likelihood, <inline-formula id="inf162">
<mml:math id="m178">
<mml:mi>p</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>D</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>&#x2009;obs</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>M</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>.</p>
</list-item>
</list>
</p>
<p>This is not an exhaustive list, but surely is long enough to make the case for the powerful role the LTP plays in Bayesian inference.</p>
</sec>
<sec id="s5">
<title>5 Likelihood vs probability</title>
<p>A <italic>parametric model</italic> for data specifies how one may predict or simulate hypothetical data, <inline-formula id="inf163">
<mml:math id="m179">
<mml:mi>D</mml:mi>
</mml:math>
</inline-formula>, as a function of a fixed-dimension parameter vector, <inline-formula id="inf164">
<mml:math id="m180">
<mml:mi>&#x3b8;</mml:mi>
</mml:math>
</inline-formula>. That is, a parametric model is a <italic>collection of sampling distributions</italic>, a bivariate function of hypothetical values of the parameter, and hypothetical values of the data:<disp-formula id="e17">
<mml:math id="m181">
<mml:mi>p</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:mi>&#x3b8;</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>f</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>D</mml:mi>
<mml:mo>;</mml:mo>
<mml:mi>&#x3b8;</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>.</mml:mo>
</mml:math>
<label>(17)</label>
</disp-formula>Each sampling distribution is a probability disribution for <italic>data</italic>.</p>
<p>The likelihood function fixes <inline-formula id="inf165">
<mml:math id="m182">
<mml:mi>D</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>D</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>&#x2009;obs</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula>, yielding a function only of <inline-formula id="inf166">
<mml:math id="m183">
<mml:mi>&#x3b8;</mml:mi>
</mml:math>
</inline-formula>:<disp-formula id="e18">
<mml:math id="m184">
<mml:mi mathvariant="script">L</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>&#x3b8;</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x2261;</mml:mo>
<mml:mi>p</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>D</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>&#x2009;obs</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:mi>&#x3b8;</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>f</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>D</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>&#x2009;obs</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>;</mml:mo>
<mml:mi>&#x3b8;</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>.</mml:mo>
</mml:math>
<label>(18)</label>
</disp-formula>The likelihood function is <italic>not</italic> a probability distribution for <inline-formula id="inf167">
<mml:math id="m185">
<mml:mi>&#x3b8;</mml:mi>
</mml:math>
</inline-formula> (<inline-formula id="inf168">
<mml:math id="m186">
<mml:mi>&#x3b8;</mml:mi>
</mml:math>
</inline-formula> is on the wrong side of the bar). Strictly speaking, any positive multiple of <inline-formula id="inf169">
<mml:math id="m187">
<mml:mi>p</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>D</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>&#x2009;obs</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:mi>&#x3b8;</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> may serve as the likelihood function. The multiplier may be constant or a function of <inline-formula id="inf170">
<mml:math id="m188">
<mml:msub>
<mml:mrow>
<mml:mi>D</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>&#x2009;obs</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula>; such factors do not change the dependence of <inline-formula id="inf171">
<mml:math id="m189">
<mml:mi mathvariant="script">L</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>&#x3b8;</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> on <inline-formula id="inf172">
<mml:math id="m190">
<mml:mi>&#x3b8;</mml:mi>
</mml:math>
</inline-formula>, which is what governs inference (<xref ref-type="bibr" rid="B5">Berger and Wolpert, 1988</xref>). Any such factor would also appear in the prior predictive probability, <inline-formula id="inf173">
<mml:math id="m191">
<mml:mi>p</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>D</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>&#x2009;obs</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>, and thus cancel in BT.</p>
<p>In <xref ref-type="fig" rid="F2">Figure 2</xref> we depict the relationship between the sampling distribution and the likelihood function for estimation of the probability of a binary outcome from data counting the number of successes in a sequence of trials or tests&#x2014;think of counting the number of heads in flips of coins, or the number of stars in a sequence of star/galaxy separation tests in image data. This is a case where the sample space is discrete (and so the sampling distribution is a PMF), and the parameter space is continuous (so the likelihood function is continuous). The blue histogram shows the binomial distribution giving the probability for seeing <inline-formula id="inf174">
<mml:math id="m192">
<mml:mi>n</mml:mi>
</mml:math>
</inline-formula> successes in <inline-formula id="inf175">
<mml:math id="m193">
<mml:mi>N</mml:mi>
</mml:math>
</inline-formula> total trials with a success probability specified by the real-valued parameter <inline-formula id="inf176">
<mml:math id="m194">
<mml:mi>&#x3b8;</mml:mi>
</mml:math>
</inline-formula>,<disp-formula id="e19">
<mml:math id="m195">
<mml:mi>p</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>n</mml:mi>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:mi>&#x3b8;</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="script">C</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mi>N</mml:mi>
<mml:mo>!</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>n</mml:mi>
<mml:mo>!</mml:mo>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>N</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>!</mml:mo>
</mml:mrow>
</mml:mfrac>
<mml:msup>
<mml:mrow>
<mml:mi>&#x3b8;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msup>
<mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>&#x3b8;</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mrow>
<mml:mi>N</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msup>
<mml:mo>,</mml:mo>
</mml:math>
<label>(19)</label>
</disp-formula>where the context includes specification of the total number of trials, <inline-formula id="inf177">
<mml:math id="m196">
<mml:mi>N</mml:mi>
</mml:math>
</inline-formula>; the histogram is for <italic>&#x3b8;</italic> &#x3d; 0.5. The black curves show potential likelihood functions corresponding to different numbers of successes, <inline-formula id="inf178">
<mml:math id="m197">
<mml:mi>n</mml:mi>
</mml:math>
</inline-formula>. Once <inline-formula id="inf179">
<mml:math id="m198">
<mml:mi>n</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>13</mml:mn>
</mml:math>
</inline-formula> is observed, the particular curve highlighted in red is identified as the likelihood function relevant for inference.</p>
<fig id="F2" position="float">
<label>FIGURE 2</label>
<caption>
<p>The relationship between the sampling distribution and likelihood functions for estimation of the success probability parameter, <inline-formula id="inf91">
<mml:math id="m98">
<mml:mi>&#x3b1;</mml:mi>
</mml:math>
</inline-formula>, specifying a binomial distribution for the number of successes, <inline-formula id="inf92">
<mml:math id="m99">
<mml:mi>n</mml:mi>
</mml:math>
</inline-formula>, expected in <inline-formula id="inf93">
<mml:math id="m100">
<mml:mi>N</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>20</mml:mn>
</mml:math>
</inline-formula> trials. The blue histogram shows the binomial PMF as a function of <inline-formula id="inf94">
<mml:math id="m101">
<mml:mi>n</mml:mi>
</mml:math>
</inline-formula> for one particular choice of <inline-formula id="inf95">
<mml:math id="m102">
<mml:mi mathvariant="italic">&#x3b8;</mml:mi>
</mml:math>
</inline-formula> (0.5). The black curves show potential likelihood functions corresponding to different numbers of successes, <inline-formula id="inf96">
<mml:math id="m103">
<mml:mi>n</mml:mi>
</mml:math>
</inline-formula>. Once an observed value, <inline-formula id="inf97">
<mml:math id="m104">
<mml:mi>n</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>13</mml:mn>
</mml:math>
</inline-formula>, is available, the actual likelihood is identified as the red curve.</p>
</caption>
<graphic xlink:href="fspas-11-1326926-g002.tif"/>
</fig>
<p>
<xref ref-type="fig" rid="F3">Figure 3</xref> shows a complementary case, where both the sample space and the parameter space are continuous, and the sample space is two-dimensional. It depicts the relationship between the sampling distributions for a model with a parameter <inline-formula id="inf180">
<mml:math id="m199">
<mml:mi>&#x3bc;</mml:mi>
</mml:math>
</inline-formula> determining predictions for 2-dimensional data <inline-formula id="inf181">
<mml:math id="m200">
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>. Here <inline-formula id="inf182">
<mml:math id="m201">
<mml:mi>&#x3bc;</mml:mi>
</mml:math>
</inline-formula> is the common mean of two independent normal distributions for <inline-formula id="inf183">
<mml:math id="m202">
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> (with known standard deviation <inline-formula id="inf184">
<mml:math id="m203">
<mml:mi>&#x3c3;</mml:mi>
</mml:math>
</inline-formula>, specified in <inline-formula id="inf185">
<mml:math id="m204">
<mml:mi mathvariant="script">C</mml:mi>
</mml:math>
</inline-formula>), so<disp-formula id="e20">
<mml:math id="m205">
<mml:mi>p</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:mi>&#x3bc;</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="script">C</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mi>&#x3c3;</mml:mi>
<mml:msqrt>
<mml:mrow>
<mml:mn>2</mml:mn>
<mml:mi>&#x3c0;</mml:mi>
</mml:mrow>
</mml:msqrt>
</mml:mrow>
</mml:mfrac>
<mml:mi>exp</mml:mi>
<mml:mfenced open="[" close="]">
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>&#x3bc;</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msup>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
<mml:msup>
<mml:mrow>
<mml:mi>&#x3c3;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#xd7;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mi>&#x3c3;</mml:mi>
<mml:msqrt>
<mml:mrow>
<mml:mn>2</mml:mn>
<mml:mi>&#x3c0;</mml:mi>
</mml:mrow>
</mml:msqrt>
</mml:mrow>
</mml:mfrac>
<mml:mi>exp</mml:mi>
<mml:mfenced open="[" close="]">
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>&#x3bc;</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msup>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
<mml:msup>
<mml:mrow>
<mml:mi>&#x3c3;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:mfenced>
<mml:mo>.</mml:mo>
</mml:math>
<label>(20)</label>
</disp-formula>
</p>
<fig id="F3" position="float">
<label>FIGURE 3</label>
<caption>
<p>The relationship between the collection of sampling distributions comprising a parametric model for 2-dimensional continuous data (left) and the likelihood function (right).</p>
</caption>
<graphic xlink:href="fspas-11-1326926-g003.tif"/>
</fig>
<p>For each choice of <inline-formula id="inf186">
<mml:math id="m206">
<mml:mi>&#x3bc;</mml:mi>
</mml:math>
</inline-formula> (vertical axis), the model specifies a 2-dimensional normalized PDF for <inline-formula id="inf187">
<mml:math id="m207">
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>, depicted via sets of contours in <inline-formula id="inf188">
<mml:math id="m208">
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> space for each of five values of <inline-formula id="inf189">
<mml:math id="m209">
<mml:mi>&#x3bc;</mml:mi>
</mml:math>
</inline-formula>. Once data are observed, we fix <inline-formula id="inf190">
<mml:math id="m210">
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> to those observed values and evaluate the sampling distribution as a function only of <inline-formula id="inf191">
<mml:math id="m211">
<mml:mi>&#x3bc;</mml:mi>
</mml:math>
</inline-formula>. This corresponds to slicing through the sampling distributions along the vertical black line. (See <xref ref-type="bibr" rid="B10">Box (1980)</xref> for a similar figure showing how the posterior PDF relates to the joint distribution for data and parameters.)</p>
<p>The likelihood function quantifies how well each of the candidate sampling distributions&#x2014;labeled by the parameter <inline-formula id="inf192">
<mml:math id="m212">
<mml:mi>&#x3bc;</mml:mi>
</mml:math>
</inline-formula> in the last example&#x2014;predicts the observed values of the data, <inline-formula id="inf193">
<mml:math id="m213">
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>. Note that a statistical model specifies sampling distributions for <italic>data</italic>, and a likelihood function <italic>for parameters</italic>. &#x201c;Likelihood for the data&#x201d; is incorrect usage&#x2014;it entirely misses the point of introducing the likelihood terminology. Sir Ronald Fisher introduced the term specifically to make a distinction between probability and this measure of prediction quality:</p>
<disp-quote>
<p>If we need a word to characterise this relative property of different values of <inline-formula id="inf194">
<mml:math id="m214">
<mml:mi>p</mml:mi>
</mml:math>
</inline-formula> [a parameter], I suggest that we may speak without confusion of the likelihood of one value of <inline-formula id="inf195">
<mml:math id="m215">
<mml:mi>p</mml:mi>
</mml:math>
</inline-formula> being thrice the likelihood of another, bearing always in mind that <italic>likelihood is not here used loosely as a synonym of probability</italic>, but simply to express the relative frequencies with which such values of the hypothetical quantity <inline-formula id="inf196">
<mml:math id="m216">
<mml:mi>p</mml:mi>
</mml:math>
</inline-formula> would in fact yield the observed sample (<xref ref-type="bibr" rid="B26">Fisher (1922)</xref>, emphasis added).</p>
</disp-quote>
<p>Alas, colloquially &#x201c;probability&#x201d; and &#x201c;likelihood&#x201d; <italic>are</italic> synonyms, inviting misuse. The clash between the terminology and colloquial use is unfortunate; &#x201c;predictive&#x201d; or &#x201c;prognostic&#x201d; might have been better names for this function.</p>
<p>Fisher goes on:</p>
<disp-quote>
<p>Likelihood also differs from probability in that it is a differential element, and is <italic>incapable of being integrated</italic>: it is assigned to a particular point of the range of variation, not to a particular element [interval] (<xref ref-type="bibr" rid="B26">Fisher (1922)</xref>, emphasis added).</p>
</disp-quote>
<p>He used stronger language earlier: &#x201c;&#x2026;the integration with respect to <inline-formula id="inf197">
<mml:math id="m217">
<mml:mi>m</mml:mi>
</mml:math>
</inline-formula> [a parameter] is illegitimate and has no definite meaning &#x2026; &#x201d; (<xref ref-type="bibr" rid="B25">Fisher (1912)</xref>, a paper written when he was a third-year undergraduate at Cambridge!).</p>
<p>The posterior PDF is closely related to the likelihood function, obtained simply by multiplying by a prior PDF and normalizing:<disp-formula id="e21">
<mml:math id="m218">
<mml:mi>p</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>&#x3b8;</mml:mi>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>D</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>&#x2009;obs</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x221d;</mml:mo>
<mml:mi>p</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>&#x3b8;</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#xd7;</mml:mo>
<mml:mi mathvariant="script">L</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>&#x3b8;</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>.</mml:mo>
</mml:math>
<label>(21)</label>
</disp-formula>The posterior PDF is a probability distribution over <inline-formula id="inf198">
<mml:math id="m219">
<mml:mi mathvariant="italic">&#x3b8;</mml:mi>
</mml:math>
</inline-formula>, whose integrals over <italic>&#x3b8;</italic> are meaningful.</p>
</sec>
<sec id="s6">
<title>6 Priors are not (merely) penalties</title>
<p>The distinction between likelihood and probability points to the dual role of prior probabilities in Bayesian inference. Bayesian tutorials typically focus on priors as adjusters of the likelihood to account for base rates, parameter constraints (such as positivity), or results from prior experiments. This is indeed an important capability. But more fundamentally, the role of the prior is to &#x201c;flip the conditional,&#x201d; that is, to get us from likelihood to probability. With a probability distribution in hand, we are then able to use the LTP to address a myriad of questions involving consideration of composite hypotheses. In this section we elaborate on the role of priors in Bayesian inference, beyond the usually emphasized role of &#x201c;modulating&#x201d; the likelihood to account for prior information.</p>
<sec id="s6-1">
<title>6.1 Intensive vs extensive quantities in inference</title>
<p>For an audience of physical scientists, a thermodynamic analogy may be illuminating. In thermodynamics, temperature is an <italic>intensive</italic> quantity. It is meaningful to talk about the temperature, <inline-formula id="inf199">
<mml:math id="m220">
<mml:mi>T</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>, at a point in space, <inline-formula id="inf200">
<mml:math id="m221">
<mml:mi>x</mml:mi>
</mml:math>
</inline-formula>, but not about the &#x201c;total temperature&#x201d; for a volume of space; temperature does not add or integrate across space. Heat, on the other hand, is an <italic>extensive</italic> quantity; in mathematical parlance, it may be described by a <italic>measure</italic> (a cumulative mapping from sets or regions, rather than points, to a real number). The two quantities are related; the heat in a volume <inline-formula id="inf201">
<mml:math id="m222">
<mml:mi>V</mml:mi>
</mml:math>
</inline-formula> is given by<disp-formula id="e22">
<mml:math id="m223">
<mml:mi>Q</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mo>&#x222b;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>V</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mi>d</mml:mi>
<mml:mi>x</mml:mi>
<mml:mspace width="0.17em"/>
<mml:mfenced open="[" close="]">
<mml:mrow>
<mml:mi>&#x3c1;</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mi>c</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mfenced>
<mml:mspace width="0.17em"/>
<mml:mi>T</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>,</mml:mo>
</mml:math>
<label>(22)</label>
</disp-formula>where <inline-formula id="inf202">
<mml:math id="m224">
<mml:mi>&#x3c1;</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> is the matter density and <inline-formula id="inf203">
<mml:math id="m225">
<mml:mi>c</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> is the specific heat capacity. The product <inline-formula id="inf204">
<mml:math id="m226">
<mml:mi>&#x3c1;</mml:mi>
<mml:mi>c</mml:mi>
</mml:math>
</inline-formula> is extensive, and serves as a kind of conversion factor between temperature and heat.</p>
<p>Priors play a similar role in Bayesian inference, not just modulating the likelihood function, but, more fundamentally, converting <italic>intensive</italic> likelihood to <italic>extensive</italic> probability. In thermodynamics, a region with a high temperature may have a small amount of heat if its volume is small, or if, despite having a large volume, <inline-formula id="inf205">
<mml:math id="m227">
<mml:mi>&#x3c1;</mml:mi>
<mml:mi>c</mml:mi>
</mml:math>
</inline-formula> is small throughout. In Bayesian inference, a region of parameter space with high likelihood may have a small probability if its volume is small, or if the prior PDF assigns low probability to the region. Approaches that rely exclusively on likelihood focus on particular hypotheses that are &#x201c;hot&#x201d; (e.g., with maximum likelihood), while Bayesian inference focuses on sets of hypotheses with the most &#x201c;heat&#x201d; (i.e., with large probability).</p>
</sec>
<sec id="s6-2">
<title>6.2 Typical vs optimal parameter values</title>
<p>Frequentist statistics includes penalized <italic>maximum likelihood</italic> methods that multiply the likelihood by a penalty function, <inline-formula id="inf206">
<mml:math id="m228">
<mml:mi>r</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>&#x3b8;</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> (e.g., a regularizer), and then locate the maximum of the product:<disp-formula id="e23">
<mml:math id="m229">
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>&#x3b8;</mml:mi>
</mml:mrow>
<mml:mo>&#x303;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mo>&#x2261;</mml:mo>
<mml:mi>arg</mml:mi>
<mml:munder>
<mml:mrow>
<mml:mi>max</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>&#x3b8;</mml:mi>
</mml:mrow>
</mml:munder>
<mml:mi>r</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>&#x3b8;</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mspace width="0.17em"/>
<mml:mi mathvariant="script">L</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>&#x3b8;</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>.</mml:mo>
</mml:math>
<label>(23)</label>
</disp-formula>The penalty function shifts the location of the maximum. It <italic>looks</italic> like a prior, in that it multiplies the likelihood function, but because Bayesian calculations integrate rather than maximize over parameter space, the prior can do much more than shift the location of the mode (the location of the peak of the posterior) with respect to the maximum likelihood location.</p>
<p>A number of concepts from different areas of mathematics can help us understand the consequences of having a (summable/integrable) measure and not just a preference ordering over a parameter space:<list list-type="simple">
<list-item>
<p>
<inline-formula id="inf207">
<mml:math id="m230">
<mml:mo>&#x2022;</mml:mo>
</mml:math>
</inline-formula> <italic>Curses of dimensionality</italic> observed in high-dimensional geometry, perhaps best known for their impact on numerical computation. An well-known example is the accumulation of volume close to the edges of a hypercube as dimension grows.</p>
</list-item>
<list-item>
<p>
<inline-formula id="inf208">
<mml:math id="m231">
<mml:mo>&#x2022;</mml:mo>
</mml:math>
</inline-formula> <italic>Concentration of measure</italic> in measure theory, showing that volume in a high-dimensional space (with a kind of symmetry) can concentrate in a surprising way in a small region of the space.</p>
</list-item>
<list-item>
<p>
<inline-formula id="inf209">
<mml:math id="m232">
<mml:mo>&#x2022;</mml:mo>
</mml:math>
</inline-formula> <italic>Typical sets</italic> in information theory, indicating that the mode of a discrete PMF or a continuous PDF can be highly unrepresentative of typical samples from the distribution (<xref ref-type="bibr" rid="B16">Cover and Thomas, 2006</xref>; <xref ref-type="bibr" rid="B6">Betancourt, 2017</xref>).</p>
</list-item>
</list>We will give a sense of how these notions can help us understand the impact of integrating vs optimizing with two simple examples.</p>
<p>Consider <inline-formula id="inf210">
<mml:math id="m233">
<mml:mi>N</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>1000</mml:mi>
</mml:math>
</inline-formula> flips of a coin with <inline-formula id="inf211">
<mml:math id="m234">
<mml:mi>&#x3b1;</mml:mi>
<mml:mo>&#x2261;</mml:mo>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi mathvariant="normal">h</mml:mi>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mi mathvariant="normal">a</mml:mi>
<mml:mi mathvariant="normal">d</mml:mi>
<mml:mi mathvariant="normal">s</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>0.8</mml:mi>
</mml:math>
</inline-formula>, with the goal being to predict the number of heads. The sequence of outcomes with the highest probability is the sequence with <italic>1,000 heads</italic>. Despite that, students of probability theory (and probably many less educated!) would predict <inline-formula id="inf212">
<mml:math id="m235">
<mml:mo>&#x2248;</mml:mo>
<mml:mn>800</mml:mn>
<mml:mo>&#xb1;</mml:mo>
<mml:mn>28</mml:mn>
</mml:math>
</inline-formula> heads. How can we reconcile this discrepancy? The sequence with 1,000 heads is <inline-formula id="inf213">
<mml:math id="m236">
<mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mfrac>
<mml:mrow>
<mml:mi>&#x3b1;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>&#x3b1;</mml:mi>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mrow>
<mml:mn>200</mml:mn>
</mml:mrow>
</mml:msup>
<mml:mo>&#x2248;</mml:mo>
<mml:mn>2</mml:mn>
<mml:mo>&#xd7;</mml:mo>
<mml:mn>1</mml:mn>
<mml:msup>
<mml:mrow>
<mml:mn>0</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mn>120</mml:mn>
</mml:mrow>
</mml:msup>
</mml:math>
</inline-formula> times more probable than any sequence with 800 heads; that is, it is <italic>hugely</italic> more probable. But there are <italic>many, many</italic> sequences with <inline-formula id="inf214">
<mml:math id="m237">
<mml:mo>&#x2248;</mml:mo>
<mml:mn>800</mml:mn>
</mml:math>
</inline-formula> heads (<inline-formula id="inf215">
<mml:math id="m238">
<mml:mo>&#x223c;</mml:mo>
<mml:mn>1</mml:mn>
<mml:msup>
<mml:mrow>
<mml:mn>0</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mn>217</mml:mn>
</mml:mrow>
</mml:msup>
</mml:math>
</inline-formula> within one standard deviation of 800 heads); the probability of that so-called <italic>typical set</italic> is <inline-formula id="inf216">
<mml:math id="m239">
<mml:mo>&#x223c;</mml:mo>
<mml:mn>1</mml:mn>
</mml:math>
</inline-formula>. A typical random sequence of flips does not at all resemble the most probable sequence.</p>
<p>This phenomenon is not unique to discrete spaces. Consider now curve fitting with <inline-formula id="inf217">
<mml:math id="m240">
<mml:mi>N</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1000</mml:mn>
<mml:mspace width="0.3333em"/>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>y</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> datapoints, modeled with <inline-formula id="inf218">
<mml:math id="m241">
<mml:msub>
<mml:mrow>
<mml:mi>y</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>f</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>&#x3f5;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula>, for some known parametric function <inline-formula id="inf219">
<mml:math id="m242">
<mml:mi>f</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>, and with standard normal errors <inline-formula id="inf220">
<mml:math id="m243">
<mml:msub>
<mml:mrow>
<mml:mi>&#x3f5;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> (denoted collectively as <inline-formula id="inf221">
<mml:math id="m244">
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>&#x3f5;</mml:mi>
</mml:mrow>
<mml:mo>&#x20d7;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula>). The most probable sample has <inline-formula id="inf222">
<mml:math id="m245">
<mml:msub>
<mml:mrow>
<mml:mi>&#x3f5;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>0</mml:mn>
</mml:math>
</inline-formula> for all 1000 <italic>samples</italic>. But those familiar with weighted least squares (minimum <inline-formula id="inf223">
<mml:math id="m246">
<mml:msup>
<mml:mrow>
<mml:mi>&#x3c7;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msup>
</mml:math>
</inline-formula>) fitting know that we expect <inline-formula id="inf224">
<mml:math id="m247">
<mml:msup>
<mml:mrow>
<mml:mi>&#x3c7;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msup>
</mml:math>
</inline-formula>, the sum of squared residuals, to be <inline-formula id="inf225">
<mml:math id="m248">
<mml:mo>&#x2248;</mml:mo>
<mml:mi>N</mml:mi>
<mml:mo>&#xb1;</mml:mo>
<mml:msqrt>
<mml:mrow>
<mml:mn>2</mml:mn>
<mml:mi>N</mml:mi>
</mml:mrow>
</mml:msqrt>
</mml:math>
</inline-formula> (i.e., <inline-formula id="inf226">
<mml:math id="m249">
<mml:msup>
<mml:mrow>
<mml:mi>&#x3c7;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msup>
</mml:math>
</inline-formula> should be nearly equal to the &#x201c;degrees of freedom&#x201d;). Note that <inline-formula id="inf227">
<mml:math id="m250">
<mml:msup>
<mml:mrow>
<mml:mi>&#x3c7;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msup>
</mml:math>
</inline-formula> is just the squared length of the (estimated) <inline-formula id="inf228">
<mml:math id="m251">
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>&#x3f5;</mml:mi>
</mml:mrow>
<mml:mo>&#x20d7;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula> vector. The familiar degrees of freedom result is telling us that a set of random <inline-formula id="inf229">
<mml:math id="m252">
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>&#x3f5;</mml:mi>
</mml:mrow>
<mml:mo>&#x20d7;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula> vectors will point to locations in a thin shell far from the origin when <inline-formula id="inf230">
<mml:math id="m253">
<mml:mi>N</mml:mi>
</mml:math>
</inline-formula> is large, even though the probability density for <inline-formula id="inf231">
<mml:math id="m254">
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>&#x3f5;</mml:mi>
</mml:mrow>
<mml:mo>&#x20d7;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula> is much higher near the origin than in that shell (one of the &#x201c;curses of high dimensionality&#x201d;). This is true even though the PDF for the errors has its peak at the origin. The <italic>density</italic> of points is maximized at the origin, but <italic>volume</italic> grows so quickly with radius in high dimensions that a typical random vector will point far from the origin.</p>
<p>The left panel of <xref ref-type="fig" rid="F4">Figure 4</xref> shows this quantitatively for <inline-formula id="inf232">
<mml:math id="m255">
<mml:mi>N</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>30</mml:mn>
</mml:math>
</inline-formula>. The orange curve shows the PDF of the absolute value of a single <inline-formula id="inf233">
<mml:math id="m256">
<mml:msub>
<mml:mrow>
<mml:mi>&#x3f5;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> coordinate, peaking at the origin. The green curve shows how the surface area (hypervolume) of a 29-dimensional sphere (and thus volume in a shell of constant thickness) grows with distance from the origin, <inline-formula id="inf234">
<mml:math id="m257">
<mml:mi>&#x3c7;</mml:mi>
</mml:math>
</inline-formula> (the square root of <inline-formula id="inf235">
<mml:math id="m258">
<mml:msup>
<mml:mrow>
<mml:mi>&#x3c7;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msup>
</mml:math>
</inline-formula>). The blue curve shows the PDF for distance, proportional to the product of the area curve and the 30 normal coordinate PDFs. The shaded region shows the central 90% region of the <inline-formula id="inf236">
<mml:math id="m259">
<mml:mi>&#x3c7;</mml:mi>
</mml:math>
</inline-formula> PDF; the lengths of typical <inline-formula id="inf237">
<mml:math id="m260">
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>&#x3f5;</mml:mi>
</mml:mrow>
<mml:mo>&#x20d7;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula> vectors will lie in this region. That is, typical points in the 30-dimensional <inline-formula id="inf238">
<mml:math id="m261">
<mml:msub>
<mml:mrow>
<mml:mi>&#x3f5;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> space lie in a shell about 5.4 standard deviations from the origin. The right panel of <xref ref-type="fig" rid="F4">Figure 4</xref> highlights that such intuitively appealing statements do not fully capture the truly non-intuitive nature of distributions in high-dimensional spaces. We drew <inline-formula id="inf239">
<mml:math id="m262">
<mml:mn>1</mml:mn>
<mml:msup>
<mml:mrow>
<mml:mn>0</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mn>5</mml:mn>
</mml:mrow>
</mml:msup>
</mml:math>
</inline-formula> samples from a 30-dimensional standard normal, computed the lengths of those vectors, and formed a histogram estimate of the lengths as the blue histogram. It empirically duplicates the <inline-formula id="inf240">
<mml:math id="m263">
<mml:mi>&#x3c7;</mml:mi>
</mml:math>
</inline-formula> PDF from the left panel. The brown histogram shows the distribution of the maximum absolute value of the coordinates in each vector. It reveals that no <italic>single</italic> coordinate value in this large sample ever gets a value near the typical values of <inline-formula id="inf241">
<mml:math id="m264">
<mml:mi>&#x3c7;</mml:mi>
</mml:math>
</inline-formula>; put differently, none of the <inline-formula id="inf242">
<mml:math id="m265">
<mml:mn>1</mml:mn>
<mml:msup>
<mml:mrow>
<mml:mn>0</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mn>5</mml:mn>
</mml:mrow>
</mml:msup>
</mml:math>
</inline-formula> 30-dimensional vectors is close to a coordinate axis. In the low-dimensional world where our intuition has been trained, these distributions strongly overlap.</p>
<fig id="F4" position="float">
<label>FIGURE 4</label>
<caption>
<p>Elucidation of the nature of the typical set for a 30-dimensional standard normal distribution with coordinates <inline-formula id="inf243">
<mml:math id="m266">
<mml:msub>
<mml:mrow>
<mml:mi>&#x3f5;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> and coordinate vector distance <inline-formula id="inf244">
<mml:math id="m267">
<mml:mi>&#x3c7;</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>&#x3f5;</mml:mi>
</mml:mrow>
<mml:mo>&#x20d7;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mo stretchy="false">&#x7c;</mml:mo>
</mml:math>
</inline-formula> (the square root of <inline-formula id="inf245">
<mml:math id="m268">
<mml:msup>
<mml:mrow>
<mml:mi>&#x3c7;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msup>
</mml:math>
</inline-formula>). Left: Orange curve (against first right ordinate) shows the PDF for a single coordinate value, with highest density at the origin. Green curve (against the second right ordinate) shows the area of a 29-dimensional hyperspherical surface as a function of <inline-formula id="inf246">
<mml:math id="m269">
<mml:mi>&#x3c7;</mml:mi>
</mml:math>
</inline-formula>. Blue curve (against the left ordinate) shows the PDF for <inline-formula id="inf247">
<mml:math id="m270">
<mml:mi>&#x3c7;</mml:mi>
</mml:math>
</inline-formula>, proportional to the product of area curve and the 30 normal coordinate PDFs. There is 90% probability for <inline-formula id="inf248">
<mml:math id="m271">
<mml:mi>&#x3c7;</mml:mi>
</mml:math>
</inline-formula> lying in the shaded region; i.e., typical <inline-formula id="inf249">
<mml:math id="m272">
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>&#x3f5;</mml:mi>
</mml:mrow>
<mml:mo>&#x20d7;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula> draws from a 30-dimensional standard normal will lie in a shell <inline-formula id="inf250">
<mml:math id="m273">
<mml:mo>&#x2248;</mml:mo>
<mml:mn>5.4</mml:mn>
</mml:math>
</inline-formula> standard deviations from the origin. Right: PDFs for <inline-formula id="inf251">
<mml:math id="m274">
<mml:mi>&#x3c7;</mml:mi>
</mml:math>
</inline-formula> (blue) and <inline-formula id="inf252">
<mml:math id="m275">
<mml:mi>max</mml:mi>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>&#x3f5;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo stretchy="false">&#x7c;</mml:mo>
</mml:math>
</inline-formula> (brown), the maximum size of one of the coordinates, estimated with histograms of <inline-formula id="inf253">
<mml:math id="m276">
<mml:mn>1</mml:mn>
<mml:msup>
<mml:mrow>
<mml:mn>0</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mn>5</mml:mn>
</mml:mrow>
</mml:msup>
</mml:math>
</inline-formula> draws of <inline-formula id="inf254">
<mml:math id="m277">
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>&#x3f5;</mml:mi>
</mml:mrow>
<mml:mo>&#x20d7;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula> vectors (curves show analytical PDFs). The blue histogram empirically duplicates the <inline-formula id="inf255">
<mml:math id="m278">
<mml:mi>&#x3c7;</mml:mi>
</mml:math>
</inline-formula> PDF from the left panel.</p>
</caption>
<graphic xlink:href="fspas-11-1326926-g004.tif"/>
</fig>
<p>The lesson of these examples is that for high-dimensional spaces, the mode of a distribution is likely to be very atypical, in the sense that random draws from the distribution are unlikely to resemble the mode (in terms of the values of the PMF or PDF for the draws). These examples looked at properties of familiar sampling distributions, but the math does not care if we call a variable &#x201c;data&#x201d; or &#x201c;parameter&#x201d;&#x2014;the notion of typical sets applies to distributions over large parameter spaces as well as to distributions over large sample spaces.</p>
</sec>
<sec id="s6-3">
<title>6.3 Example: histogram-based density estimation</title>
<p>As an example of these ideas at work in a parameter estimation setting, consider estimating a PDF for some continuous observable quantity via <italic>histogram</italic> data&#x2014;say, galaxy fluxes grouped into a few dozen flux bins (a &#x201c;number-counts&#x201d; or &#x201c;<inline-formula id="inf256">
<mml:math id="m279">
<mml:mi>log</mml:mi>
<mml:mo>&#x2061;</mml:mo>
<mml:mi>N</mml:mi>
</mml:math>
</inline-formula> &#x2013; <inline-formula id="inf257">
<mml:math id="m280">
<mml:mi>log</mml:mi>
<mml:mo>&#x2061;</mml:mo>
<mml:mi>S</mml:mi>
</mml:math>
</inline-formula>&#x201d; number-size distribution). We may model the histogram counts with a <italic>multinomial distribution</italic>, with probabilities <inline-formula id="inf258">
<mml:math id="m281">
<mml:msub>
<mml:mrow>
<mml:mi>f</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> for objects to fall in each of <inline-formula id="inf259">
<mml:math id="m282">
<mml:mi>K</mml:mi>
</mml:math>
</inline-formula> bins <inline-formula id="inf260">
<mml:math id="m283">
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mo>&#x2211;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mrow>
<mml:mi>f</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>. The likelihood function associated with a set of observed counts <inline-formula id="inf261">
<mml:math id="m284">
<mml:msub>
<mml:mrow>
<mml:mi>n</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> is then<disp-formula id="e24">
<mml:math id="m285">
<mml:mi mathvariant="script">L</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>f</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:mo>&#x2026;</mml:mo>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>f</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>K</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mi>N</mml:mi>
<mml:mo>!</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mo movablelimits="false" form="prefix">&#x220f;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mrow>
<mml:mi>n</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>!</mml:mo>
</mml:mrow>
</mml:mfrac>
<mml:munder>
<mml:mrow>
<mml:mo>&#x220f;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:munder>
<mml:msubsup>
<mml:mrow>
<mml:mi>f</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mspace width="0.17em"/>
<mml:msub>
<mml:mrow>
<mml:mi>n</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:msubsup>
<mml:mo>,</mml:mo>
</mml:math>
<label>(24)</label>
</disp-formula>where <inline-formula id="inf262">
<mml:math id="m286">
<mml:mi>N</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mo>&#x2211;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mrow>
<mml:mi>n</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> is the total number of objects counted. It is straightforward to show that the maximum likelihood estimates (MLEs) are <inline-formula id="inf263">
<mml:math id="m287">
<mml:msub>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>f</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">&#x302;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>n</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>/</mml:mo>
<mml:mi>N</mml:mi>
</mml:math>
</inline-formula>, an intuitively appealing result.</p>
<p>For a Bayesian analysis, a tempting choice of prior, intending to be uninformative about the <inline-formula id="inf264">
<mml:math id="m288">
<mml:msub>
<mml:mrow>
<mml:mi>f</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> parameters, is a flat or uniform prior over the simplex <inline-formula id="inf265">
<mml:math id="m289">
<mml:msub>
<mml:mrow>
<mml:mo>&#x2211;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mrow>
<mml:mi>f</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:math>
</inline-formula>; intuitively, that would seem to be noncommittal. What does such a distribution say about our prior expectations for <inline-formula id="inf266">
<mml:math id="m290">
<mml:mrow>
<mml:mo stretchy="false">{</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>f</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">}</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>?</p>
<p>
<xref ref-type="fig" rid="F5">Figure 5</xref> tries to build insight into this question by looking at random samples from the prior. The left panel shows a stack of 10 random <inline-formula id="inf267">
<mml:math id="m291">
<mml:msub>
<mml:mrow>
<mml:mi>f</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> vectors from a flat prior for <inline-formula id="inf268">
<mml:math id="m292">
<mml:mi>K</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>5</mml:mn>
</mml:math>
</inline-formula> bins. The samples show a reasonable amount of diversity, with some samples appearing roughly flat, and some samples having one or more large-<inline-formula id="inf269">
<mml:math id="m293">
<mml:msub>
<mml:mrow>
<mml:mi>f</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> bins. The right panel shows another stack of 10 random vectors, but now for <inline-formula id="inf270">
<mml:math id="m294">
<mml:mi>K</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>30</mml:mn>
</mml:math>
</inline-formula>. Perhaps surprisingly, there is now little diversity; all of the samples are nearly flat.</p>
<fig id="F5" position="float">
<label>FIGURE 5</label>
<caption>
<p>10 samples of <inline-formula id="inf271">
<mml:math id="m295">
<mml:msub>
<mml:mrow>
<mml:mi>f</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> vectors from a flat prior distribution on the probability simplex, plotted as distributions for a quantity binned over the unit interval. Left: Samples from a distribution for <inline-formula id="inf272">
<mml:math id="m296">
<mml:mi>K</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>5</mml:mn>
</mml:math>
</inline-formula> bins. Right: Samples from a distribution for <inline-formula id="inf273">
<mml:math id="m297">
<mml:mi>K</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>30</mml:mn>
</mml:math>
</inline-formula> bins.</p>
</caption>
<graphic xlink:href="fspas-11-1326926-g005.tif"/>
</fig>
<p>A bit of analytical work confirms the visual impression (see <xref ref-type="bibr" rid="B27">Frigyik et al., 2010</xref> for a tutorial covering the math). We can compute the marginal PDF for a particular <inline-formula id="inf274">
<mml:math id="m298">
<mml:msub>
<mml:mrow>
<mml:mi>f</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> (marginalizing over all of the other <inline-formula id="inf275">
<mml:math id="m299">
<mml:msub>
<mml:mrow>
<mml:mi>f</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> values). For <inline-formula id="inf276">
<mml:math id="m300">
<mml:mi>K</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>2</mml:mn>
</mml:math>
</inline-formula>, this marginal PDF is flat over the unit interval, but as <inline-formula id="inf277">
<mml:math id="m301">
<mml:mi>K</mml:mi>
</mml:math>
</inline-formula> increases, it increasingly concentrates near <inline-formula id="inf278">
<mml:math id="m302">
<mml:msub>
<mml:mrow>
<mml:mi>f</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>0</mml:mn>
</mml:math>
</inline-formula>, with a skew distribution whose expectation value is <inline-formula id="inf279">
<mml:math id="m303">
<mml:mn>1</mml:mn>
<mml:mo>/</mml:mo>
<mml:mi>K</mml:mi>
</mml:math>
</inline-formula> and whose variance becomes increasingly small. The random draws and analytical work are telling us that, as dimension grows, most of the volume of a simplex is in the region where all of the <inline-formula id="inf280">
<mml:math id="m304">
<mml:msub>
<mml:mrow>
<mml:mi>f</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> are nearly equal to each other, near the middle of the simplex. (Notably, this is different from the better-known &#x201c;curse of dimensionality&#x201d; behavior of hypercubes, where volume accumulates at the boundary.)</p>
<p>How might we fix this? Consider the family of <italic>symmetric Dirichlet priors</italic>, of the form<disp-formula id="e25">
<mml:math id="m305">
<mml:mi>p</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>f</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:mo>&#x2026;</mml:mo>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>f</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>K</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x221d;</mml:mo>
<mml:mi>&#x3b4;</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>&#x2212;</mml:mo>
<mml:mstyle displaystyle="true">
<mml:munder>
<mml:mrow>
<mml:mo>&#x2211;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:munder>
</mml:mstyle>
<mml:msub>
<mml:mrow>
<mml:mi>f</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:munder>
<mml:mrow>
<mml:mo>&#x220f;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:munder>
<mml:msubsup>
<mml:mrow>
<mml:mi>f</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mspace width="0.17em"/>
<mml:mi>&#x3b1;</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msubsup>
</mml:math>
<label>(25)</label>
</disp-formula>(the <inline-formula id="inf281">
<mml:math id="m306">
<mml:mi>&#x3b4;</mml:mi>
</mml:math>
</inline-formula>-function imposes the normalization constraint on the <inline-formula id="inf282">
<mml:math id="m307">
<mml:msub>
<mml:mrow>
<mml:mi>f</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> parameters). Note that the <inline-formula id="inf283">
<mml:math id="m308">
<mml:msub>
<mml:mrow>
<mml:mi>f</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> dependence is a product of powers of each <inline-formula id="inf284">
<mml:math id="m309">
<mml:msub>
<mml:mrow>
<mml:mi>f</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula>&#x2014;the same form of dependence that is in the likelihood function, <xref ref-type="disp-formula" rid="e24">Equation 24</xref>. This prior has a single (scalar) &#x201c;hyperparameter,&#x201d; <inline-formula id="inf285">
<mml:math id="m310">
<mml:mi>&#x3b1;</mml:mi>
<mml:mo>&#x3e;</mml:mo>
<mml:mn>0</mml:mn>
</mml:math>
</inline-formula>, that we can experiment with to control its behavior (it is called the concentration parameter or the flattening parameter for the symmetric Dirichlet). For <inline-formula id="inf286">
<mml:math id="m311">
<mml:mi>&#x3b1;</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:math>
</inline-formula>, the symmetric Dirichlet becomes a flat (uniform) prior. For other values, the net effect of the prior on the likelihood function is to add <inline-formula id="inf287">
<mml:math id="m312">
<mml:mi>&#x3b1;</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:math>
</inline-formula> to each count, <inline-formula id="inf288">
<mml:math id="m313">
<mml:msub>
<mml:mrow>
<mml:mi>n</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula>; crudely speaking, the prior is adding <inline-formula id="inf289">
<mml:math id="m314">
<mml:mi>&#x3b1;</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:math>
</inline-formula> &#x201c;a priori counts&#x201d; to the likelihood function. Finally, this prior is analytically tractable, and produces analytically tractable posteriors. (This is thanks to <italic>conjugacy</italic>&#x2014;a Dirichlet prior (symmetric or not), multiplying the multinomial likelihood function, produces a Dirichlet posterior.)</p>
<p>How to set <inline-formula id="inf290">
<mml:math id="m315">
<mml:mi>&#x3b1;</mml:mi>
</mml:math>
</inline-formula>? One appealing idea recognizes that the binning can be done in different ways, and seeks some kind of consistency across different binning choices, e.g., different choices of <inline-formula id="inf291">
<mml:math id="m316">
<mml:mi>K</mml:mi>
</mml:math>
</inline-formula>. Consider in particular <italic>aggregation consistency</italic>: devise a rule for choosing <inline-formula id="inf292">
<mml:math id="m317">
<mml:mi>&#x3b1;</mml:mi>
</mml:math>
</inline-formula> such that applying that rule for <inline-formula id="inf293">
<mml:math id="m318">
<mml:mi>K</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>10</mml:mn>
</mml:math>
</inline-formula>, say, and then aggregating adjacent pairs of bins to produce a 5-bin model, yields the same prior as one would get by applying the <inline-formula id="inf294">
<mml:math id="m319">
<mml:mi>&#x3b1;</mml:mi>
</mml:math>
</inline-formula> rule directly for <inline-formula id="inf295">
<mml:math id="m320">
<mml:mi>K</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>5</mml:mn>
</mml:math>
</inline-formula>. It is not hard to show that setting <inline-formula id="inf296">
<mml:math id="m321">
<mml:mi>&#x3b1;</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>C</mml:mi>
<mml:mo>/</mml:mo>
<mml:mi>K</mml:mi>
</mml:math>
</inline-formula> for any constant <inline-formula id="inf297">
<mml:math id="m322">
<mml:mi>C</mml:mi>
</mml:math>
</inline-formula> satisfies aggregation consistency (for any <inline-formula id="inf298">
<mml:math id="m323">
<mml:mi>K</mml:mi>
</mml:math>
</inline-formula> and any kind of aggregated binning), while a constant value&#x2014;like <inline-formula id="inf299">
<mml:math id="m324">
<mml:mi>&#x3b1;</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:math>
</inline-formula>, corresponding to the uniform prior used for <xref ref-type="fig" rid="F5">Figure 5</xref>&#x2014;does not. (<xref ref-type="bibr" rid="B55">Perks, 1947</xref> appears to have offered the first argument along these lines.).</p>
<p>
<xref ref-type="fig" rid="F6">Figure 6</xref> shows samples from an aggregation-consistent prior with <inline-formula id="inf300">
<mml:math id="m325">
<mml:mi>C</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>2</mml:mn>
</mml:math>
</inline-formula>, so <inline-formula id="inf301">
<mml:math id="m326">
<mml:mi>&#x3b1;</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>2</mml:mn>
<mml:mo>/</mml:mo>
<mml:mi>K</mml:mi>
</mml:math>
</inline-formula>. For <inline-formula id="inf302">
<mml:math id="m327">
<mml:mi>K</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>2</mml:mn>
</mml:math>
</inline-formula> bins, this becomes a flat prior, which we saw has acceptable behavior for small <inline-formula id="inf303">
<mml:math id="m328">
<mml:mi>K</mml:mi>
</mml:math>
</inline-formula>. The figure shows prior samples for <inline-formula id="inf304">
<mml:math id="m329">
<mml:mi>K</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>30</mml:mn>
</mml:math>
</inline-formula>, to be compared with the right panel in <xref ref-type="fig" rid="F5">Figure 5</xref>. The prior samples no longer are all flat; in most samples, one or more bins may have significantly larger values of <inline-formula id="inf305">
<mml:math id="m330">
<mml:msub>
<mml:mrow>
<mml:mi>f</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> than other bins.</p>
<fig id="F6" position="float">
<label>FIGURE 6</label>
<caption>
<p>As in <xref ref-type="fig" rid="F5">Figure 5</xref>, but with samples drawn from an aggregation-consistent symmetric Dirichlet distribution for <inline-formula id="inf306">
<mml:math id="m331">
<mml:mi>K</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>30</mml:mn>
</mml:math>
</inline-formula> bins, with <inline-formula id="inf307">
<mml:math id="m332">
<mml:mi>&#x3b1;</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>2</mml:mn>
<mml:mo>/</mml:mo>
<mml:mi>K</mml:mi>
</mml:math>
</inline-formula>.</p>
</caption>
<graphic xlink:href="fspas-11-1326926-g006.tif"/>
</fig>
<p>We have focused on the prior; what is the impact on the posterior? For estimating <italic>all</italic> <inline-formula id="inf308">
<mml:math id="m333">
<mml:mi>K</mml:mi>
</mml:math>
</inline-formula> bin heights <inline-formula id="inf309">
<mml:math id="m334">
<mml:msub>
<mml:mrow>
<mml:mi>f</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> jointly, the impact is <italic>negligible</italic> if there are at least a few counts per bin; the new prior effectively subtracts <inline-formula id="inf310">
<mml:math id="m335">
<mml:mi>C</mml:mi>
<mml:mo>/</mml:mo>
<mml:mi>K</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:math>
</inline-formula> from each <inline-formula id="inf311">
<mml:math id="m336">
<mml:msub>
<mml:mrow>
<mml:mi>n</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> counts value, which is not much of a change compared to use of the uniform prior. However, if we are interested in just one or few bins, and so will marginalize over many other <inline-formula id="inf312">
<mml:math id="m337">
<mml:msub>
<mml:mrow>
<mml:mi>f</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> parameters, the difference can be dramatic. Finally, if we want to do <italic>model comparison</italic>, comparing models with different numbers of bins via their marginal likelihoods (thus marginalizing over all <inline-formula id="inf313">
<mml:math id="m338">
<mml:msub>
<mml:mrow>
<mml:mi>f</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> parameters), then the two priors can lead to very different results. See <xref ref-type="bibr" rid="B48">Loredo (2012)</xref> for further discussion and examples.</p>
<p>A lesson of this section is that we should be cautious and skeptical of our intuition when attempting inference in high-dimensional parameter spaces (<xref ref-type="bibr" rid="B32">Genovese et al. (2004)</xref> have urged similar caution from a frequentist perspective). Prior probabilities let us get something integrable from likelihood functions, enabling diverse useful calculations when we are interested in composite hypotheses. But the &#x201c;extensive&#x201d; (summable) nature of prior and posterior distributions means that parameter space volume effects can have surprising impacts on inference. If we think of priors merely as modulating or penalizing the likelihood function, it would seem that a uniform prior would not divert attention from the peak of the likelihood function. But the notion of typical sets, and the behavior of uniform priors in multinomial inference, alert us that <italic>even flat priors may divert attention from the maximum likelihood region when the parameter space is high-dimensional</italic>. On the one hand, this is a warning that optimization can be misleading; it can focus attention on parts of parameter space that are very atypical. On the other hand, it is also a warning against relying on low-dimension intuition, like equating prior uniformity with being noncommittal or uninformative. A practical lesson is to <italic>always look at samples from the prior</italic>, particularly when working in high-dimensional parameter spaces.</p>
</sec>
</sec>
<sec id="s7">
<title>7 Nuisance parameters: marginalization vs optimization</title>
<p>Of the many tasks using the LTP listed in SS 4, one of the most important is marginalizing over nuisance parameters. It is very common (in our experience, essentially ubiquitous) for a data modeling problem to require introducing parameters that are not of direct scientific interest, but that are necessary for describing how the data relate to the quantities of interest. Estimation of the interesting quantities has to somehow account for the uncertainty in the uninteresting &#x201c;nuisance&#x201d; quantities. In this section we elaborate on how marginalization over nuisance parameters accomplishes this, in particular the role of parameter space volume in the behavior of marginal posterior PDFs.</p>
<p>A frequently-arising nuisance parameter setting is analysis of measurements contaminated by <italic>uncertain backgrounds or foregrounds</italic>. A somewhat more subtle but also prevalent setting is estimating population distributions (density estimation) or correlations and scaling laws for a population (regression), when the properties of members of the population are measured with uncertainty&#x2014;so-called <italic>measurement error problems</italic> (statisticians use this term for density estimation with noisy measurements, or regression with noise in <italic>both</italic> the measured predictors/covariates (<inline-formula id="inf314">
<mml:math id="m339">
<mml:mi>X</mml:mi>
</mml:math>
</inline-formula>s) and the dependent/response variables (<inline-formula id="inf315">
<mml:math id="m340">
<mml:mi>Y</mml:mi>
</mml:math>
</inline-formula>s); see <xref ref-type="bibr" rid="B13">Carroll et al., 2006</xref>). Examples of density estimation with measurement error (and possibly also with selection effects) include: estimating luminosity functions of star, galaxy, and transient object populations; estimating joint distributions of exoplanet properties such as orbital period and planet size; estimating distributions of minor planet sizes based on brightness measurements; and estimating the distribution of binary black hole system parameters from gravitational wave measurements of masses and spins. Examples of regression with measurement error include estimating correlations between galaxy properties (as in the Tully-Fisher and fundamental plane &#x201c;luminosity indicator&#x201d; relations, or gas density&#x2013;star formation rate relationships like the Kennicutt-Schmidt relation), and calibrating the Type Ia supernova luminosity vs light curve shape relation.</p>
<p>In a Bayesian treatment of such measurement error problems (and in many frequentist formulations), the unknown true properties for each object formally appear as latent parameters, estimated with uncertainty. For inference about a population as a whole, the latent parameters are nuisance parameters, and their uncertainty must be propagated into population inferences. Importantly, in measurement error problems the number of latent parameters grows with sample size; as a result, even small inaccuracies in accounting for measurement error per-object can accumulate and lead to incorrect population-level inferences (<xref ref-type="bibr" rid="B47">Loredo, 2004</xref>). <italic>Hierarchical Bayesian (HB) models</italic> handle measurement error by marginalizing over the latent parameters. Some entry points into the rapidly growing literature on HB demographic modeling in astronomy include: <xref ref-type="bibr" rid="B47">Loredo (2004)</xref>; <xref ref-type="bibr" rid="B42">Kelly (2012)</xref>; <xref ref-type="bibr" rid="B52">Mandel (2012)</xref>; <xref ref-type="bibr" rid="B49">Loredo (2013)</xref>; <xref ref-type="bibr" rid="B1">Andreon and Hurn (2013)</xref>; <xref ref-type="bibr" rid="B39">Hsu et al. (2018)</xref>; <xref ref-type="bibr" rid="B50">Loredo and Hendry (2019)</xref>; <xref ref-type="bibr" rid="B51">Mandel et al. (2019)</xref>; <xref ref-type="bibr" rid="B60">Vitale (2020)</xref>.</p>
<sec id="s7-1">
<title>7.1 Understanding marginalization</title>
<p>Given the prevalence and importance of nuisance parameter problems in astronomy, it is worth building insight into how marginalization accounts for nuisance parameter uncertainty. To do so, we will consider the signal-plus-background setting, with interesting signal parameter, <inline-formula id="inf316">
<mml:math id="m341">
<mml:mi>s</mml:mi>
</mml:math>
</inline-formula>, and background nuisance parameter, <inline-formula id="inf317">
<mml:math id="m342">
<mml:mi>b</mml:mi>
</mml:math>
</inline-formula>. We suppose the available data provides useful information about <inline-formula id="inf318">
<mml:math id="m343">
<mml:mi>b</mml:mi>
</mml:math>
</inline-formula>, so the joint posterior PDF, <inline-formula id="inf319">
<mml:math id="m344">
<mml:mi>p</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>b</mml:mi>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>D</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>&#x2009;obs</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="script">C</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>, exhibits some dependence between <inline-formula id="inf320">
<mml:math id="m345">
<mml:mi>s</mml:mi>
</mml:math>
</inline-formula> and <inline-formula id="inf321">
<mml:math id="m346">
<mml:mi>b</mml:mi>
</mml:math>
</inline-formula>. For example, <inline-formula id="inf322">
<mml:math id="m347">
<mml:msub>
<mml:mrow>
<mml:mi>D</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>&#x2009;obs</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> may include independent data about <inline-formula id="inf323">
<mml:math id="m348">
<mml:mi>b</mml:mi>
</mml:math>
</inline-formula> from an off-source measurement at a location away from a candidate source in an image analysis setting. In such &#x201c;on/off&#x201d; settings, the on-source data provide a noisy measurement of <inline-formula id="inf324">
<mml:math id="m349">
<mml:mi>s</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mi>b</mml:mi>
</mml:math>
</inline-formula>, and the off-source data provide a separate noisy measurement of <inline-formula id="inf325">
<mml:math id="m350">
<mml:mi>b</mml:mi>
</mml:math>
</inline-formula>. The joint likelihood function for <inline-formula id="inf326">
<mml:math id="m351">
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>b</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> then typically resembles the left panel of <xref ref-type="fig" rid="F7">Figure 7</xref>, exhibiting a negative correlation (the larger <inline-formula id="inf327">
<mml:math id="m352">
<mml:mi>b</mml:mi>
</mml:math>
</inline-formula> may be, the smaller <inline-formula id="inf328">
<mml:math id="m353">
<mml:mi>s</mml:mi>
</mml:math>
</inline-formula> is likely to be).</p>
<fig id="F7" position="float">
<label>FIGURE 7</label>
<caption>
<p>Left: An example joint likelihood function for <inline-formula id="inf329">
<mml:math id="m354">
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>b</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> in a signal-plus-background setting with on/off data that produces a bivariate Gaussian likelihood function. Gray dotted horizontal line shows <inline-formula id="inf330">
<mml:math id="m355">
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>b</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">&#x302;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula>, the global MLE for <inline-formula id="inf331">
<mml:math id="m356">
<mml:mi>b</mml:mi>
</mml:math>
</inline-formula>. Blue line shows <inline-formula id="inf332">
<mml:math id="m357">
<mml:msub>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>b</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">&#x302;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mrow>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula>, the MLE for <inline-formula id="inf333">
<mml:math id="m358">
<mml:mi>b</mml:mi>
</mml:math>
</inline-formula> when <inline-formula id="inf334">
<mml:math id="m359">
<mml:mi>s</mml:mi>
</mml:math>
</inline-formula> is given; it crosses contours of the joint likelihood function where they become vertical. Vertical green dashed line indicates slice of the joint likelihood function at <inline-formula id="inf335">
<mml:math id="m360">
<mml:mi>s</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> displayed in right panel. Right: Ingredients for approximating the marginal likelihood function for <inline-formula id="inf336">
<mml:math id="m361">
<mml:mi>s</mml:mi>
</mml:math>
</inline-formula>. Green curve shows a slice of the joint likelihood function at <inline-formula id="inf337">
<mml:math id="m362">
<mml:msub>
<mml:mrow>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula>, as a function of <inline-formula id="inf338">
<mml:math id="m363">
<mml:mi>b</mml:mi>
</mml:math>
</inline-formula>. Blue dashed curve shows the (conditional) prior PDF for <inline-formula id="inf339">
<mml:math id="m364">
<mml:mi>b</mml:mi>
</mml:math>
</inline-formula>. See text for symbols.</p>
</caption>
<graphic xlink:href="fspas-11-1326926-g007.tif"/>
</fig>
<p>Specifying the value of one parameter in a multiparameter problem is a composite hypothesis: specifying just <inline-formula id="inf340">
<mml:math id="m365">
<mml:mi>s</mml:mi>
</mml:math>
</inline-formula> in a problem with parameters <inline-formula id="inf341">
<mml:math id="m366">
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>b</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> corresponds to saying that, for the given <inline-formula id="inf342">
<mml:math id="m367">
<mml:mi>s</mml:mi>
</mml:math>
</inline-formula>, <italic>some</italic> parameter choice in the set <inline-formula id="inf343">
<mml:math id="m368">
<mml:mrow>
<mml:mo stretchy="false">{</mml:mo>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>b</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mo>:</mml:mo>
<mml:mspace width="0.17em"/>
<mml:mi>b</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>b</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>l</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>b</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>u</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
<mml:mo stretchy="false">}</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> holds, though we do not know which (here <inline-formula id="inf344">
<mml:math id="m369">
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>b</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>l</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>b</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>u</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> denotes the range of allowed <inline-formula id="inf345">
<mml:math id="m370">
<mml:mi>b</mml:mi>
</mml:math>
</inline-formula> values, e.g., <inline-formula id="inf346">
<mml:math id="m371">
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mn>0</mml:mn>
<mml:mo>,</mml:mo>
<mml:mi>&#x221e;</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>).</p>
<p>To summarize implications for <inline-formula id="inf347">
<mml:math id="m372">
<mml:mi>s</mml:mi>
</mml:math>
</inline-formula>, accounting for <inline-formula id="inf348">
<mml:math id="m373">
<mml:mi>b</mml:mi>
</mml:math>
</inline-formula> uncertainty, we compute the marginal posterior PDF for <inline-formula id="inf349">
<mml:math id="m374">
<mml:mi>s</mml:mi>
</mml:math>
</inline-formula>,<disp-formula id="e26">
<mml:math id="m375">
<mml:mtable class="align" columnalign="left">
<mml:mtr>
<mml:mtd columnalign="right">
<mml:mi>p</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>D</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>&#x2009;obs</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="script">C</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mtd>
<mml:mtd columnalign="left">
<mml:mo>&#x3d;</mml:mo>
<mml:mo>&#x222b;</mml:mo>
<mml:mi>d</mml:mi>
<mml:mi>b</mml:mi>
<mml:mspace width="0.28em"/>
<mml:mi>p</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>b</mml:mi>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>D</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>&#x2009;obs</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="script">C</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd columnalign="right"/>
<mml:mtd columnalign="left">
<mml:mo>&#x221d;</mml:mo>
<mml:mo>&#x222b;</mml:mo>
<mml:mi>d</mml:mi>
<mml:mi>b</mml:mi>
<mml:mspace width="0.28em"/>
<mml:mi>p</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>b</mml:mi>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:mi mathvariant="script">C</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mspace width="0.17em"/>
<mml:mi mathvariant="script">L</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>b</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>,</mml:mo>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:math>
<label>(26)</label>
</disp-formula>where the second line uses the numerator of BT, with likelihood function <inline-formula id="inf350">
<mml:math id="m376">
<mml:mi mathvariant="script">L</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>b</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> and a joint prior PDF <inline-formula id="inf351">
<mml:math id="m377">
<mml:mi>p</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>b</mml:mi>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:mi mathvariant="script">C</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>.</p>
<p>Now factor that joint prior as the prior for <inline-formula id="inf352">
<mml:math id="m378">
<mml:mi>s</mml:mi>
</mml:math>
</inline-formula>, <inline-formula id="inf353">
<mml:math id="m379">
<mml:mi>p</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:mi mathvariant="script">C</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>, times a conditional prior for <inline-formula id="inf354">
<mml:math id="m380">
<mml:mi>b</mml:mi>
</mml:math>
</inline-formula> given <inline-formula id="inf355">
<mml:math id="m381">
<mml:mi>s</mml:mi>
</mml:math>
</inline-formula>, <inline-formula id="inf356">
<mml:math id="m382">
<mml:mi>p</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>b</mml:mi>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:mi>s</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="script">C</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>. In many settings there may be no contextual information linking <inline-formula id="inf357">
<mml:math id="m383">
<mml:mi>b</mml:mi>
</mml:math>
</inline-formula> and <inline-formula id="inf358">
<mml:math id="m384">
<mml:mi>s</mml:mi>
</mml:math>
</inline-formula> a priori, making this factor independent of <inline-formula id="inf359">
<mml:math id="m385">
<mml:mi>s</mml:mi>
</mml:math>
</inline-formula>; to simplify the notation, we assume such independence, so the <inline-formula id="inf360">
<mml:math id="m386">
<mml:mi>b</mml:mi>
</mml:math>
</inline-formula> prior factor is simply <inline-formula id="inf361">
<mml:math id="m387">
<mml:mi>p</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>b</mml:mi>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:mi mathvariant="script">C</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>.</p>
<p>Since the marginalization integral is over <inline-formula id="inf362">
<mml:math id="m388">
<mml:mi>b</mml:mi>
</mml:math>
</inline-formula>, the <inline-formula id="inf363">
<mml:math id="m389">
<mml:mi>s</mml:mi>
</mml:math>
</inline-formula> prior can be taken out of the integral:<disp-formula id="e27">
<mml:math id="m390">
<mml:mtable class="align" columnalign="left">
<mml:mtr>
<mml:mtd columnalign="right">
<mml:mi>p</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>D</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>&#x2009;obs</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mtd>
<mml:mtd columnalign="left">
<mml:mspace width="0.5em"/>
<mml:mo>&#x221d;</mml:mo>
<mml:mi>p</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x222b;</mml:mo>
<mml:mi>d</mml:mi>
<mml:mi>b</mml:mi>
<mml:mspace width="0.28em"/>
<mml:mi>p</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>b</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mspace width="0.17em"/>
<mml:mi mathvariant="script">L</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>b</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mspace width="2em"/>
<mml:mo stretchy="false">&#x2016;</mml:mo>
<mml:mspace width="0.28em"/>
<mml:mi mathvariant="script">C</mml:mi>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd columnalign="right"/>
<mml:mtd columnalign="left">
<mml:mo>&#x221d;</mml:mo>
<mml:mi>p</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mspace width="0.17em"/>
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="script">L</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:math>
<label>(27)</label>
</disp-formula>where we have defined the <italic>marginal likelihood function</italic> for <inline-formula id="inf364">
<mml:math id="m391">
<mml:mi>s</mml:mi>
</mml:math>
</inline-formula> as<disp-formula id="e28">
<mml:math id="m392">
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="script">L</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x2261;</mml:mo>
<mml:mo>&#x222b;</mml:mo>
<mml:mi>d</mml:mi>
<mml:mi>b</mml:mi>
<mml:mspace width="0.28em"/>
<mml:mi>p</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>b</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mspace width="0.17em"/>
<mml:mi mathvariant="script">L</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>b</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:math>
<label>(28)</label>
</disp-formula>(where we suppress <inline-formula id="inf365">
<mml:math id="m393">
<mml:mi mathvariant="script">C</mml:mi>
</mml:math>
</inline-formula> henceforth to simplify the notation). Since the integration underlying marginalization is isolated to the marginal likelihood function, we will focus henceforth on <inline-formula id="inf366">
<mml:math id="m394">
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="script">L</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>.</p>
<p>To build insight into what marginalization accomplishes, we approximate the integral over <inline-formula id="inf367">
<mml:math id="m395">
<mml:mi>b</mml:mi>
</mml:math>
</inline-formula> in two steps (the ingredients for this approximation are depicted in the right panel of <xref ref-type="fig" rid="F7">Figure 7</xref>):<list list-type="simple">
<list-item>
<p>1. Assume the data are informative, so the prior PDF for <inline-formula id="inf368">
<mml:math id="m396">
<mml:mi>b</mml:mi>
</mml:math>
</inline-formula> is nearly constant in the region where the integrand in <xref ref-type="disp-formula" rid="e28">Equation 28</xref> has most of its area. This lets us pull the <inline-formula id="inf369">
<mml:math id="m397">
<mml:mi>p</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>b</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> factor out of the integral, setting it equal to its value at the location of the peak of the sliced likelihood function.</p>
</list-item>
<list-item>
<p>2. Approximate the remaining integral of <inline-formula id="inf370">
<mml:math id="m398">
<mml:mi mathvariant="script">L</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>b</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> over <inline-formula id="inf371">
<mml:math id="m399">
<mml:mi>b</mml:mi>
</mml:math>
</inline-formula>&#x2014;the area under the likelihood function in the nuisance parameter dimension&#x2014;as the product of the height of the likelihood function and some convenient measure of its width (in the <inline-formula id="inf372">
<mml:math id="m400">
<mml:mi>b</mml:mi>
</mml:math>
</inline-formula> dimension).</p>
</list-item>
</list>We need some notation to implement these steps. Let <inline-formula id="inf373">
<mml:math id="m401">
<mml:msub>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>b</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">&#x302;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mrow>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> denote the value of <inline-formula id="inf374">
<mml:math id="m402">
<mml:mi>b</mml:mi>
</mml:math>
</inline-formula> that maximizes the likelihood function when <inline-formula id="inf375">
<mml:math id="m403">
<mml:mi>s</mml:mi>
</mml:math>
</inline-formula> is fixed, i.e., along a vertical slice on the left panel of <xref ref-type="fig" rid="F7">Figure 7</xref> (the depicted slice has <inline-formula id="inf376">
<mml:math id="m404">
<mml:mi>s</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula>):<disp-formula id="e29">
<mml:math id="m405">
<mml:msub>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>b</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">&#x302;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mrow>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>arg</mml:mi>
<mml:munder>
<mml:mrow>
<mml:mi>max</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>b</mml:mi>
</mml:mrow>
</mml:munder>
<mml:mi mathvariant="script">L</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>b</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>.</mml:mo>
</mml:math>
<label>(29)</label>
</disp-formula>Graphically, <inline-formula id="inf377">
<mml:math id="m406">
<mml:msub>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>b</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">&#x302;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mrow>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> as a function of <inline-formula id="inf378">
<mml:math id="m407">
<mml:mi>s</mml:mi>
</mml:math>
</inline-formula> traces the points where tangents to the contours of <inline-formula id="inf379">
<mml:math id="m408">
<mml:mi mathvariant="script">L</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>b</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> become vertical. The uninformative prior assumption of Step 1 implies<disp-formula id="e30">
<mml:math id="m409">
<mml:mo>&#x222b;</mml:mo>
<mml:mi>d</mml:mi>
<mml:mi>b</mml:mi>
<mml:mspace width="0.28em"/>
<mml:mi>p</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>b</mml:mi>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mspace width="0.17em"/>
<mml:mi mathvariant="script">L</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>b</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mspace width="0.28em"/>
<mml:mo>&#x2248;</mml:mo>
<mml:mspace width="0.28em"/>
<mml:mi>p</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>b</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">&#x302;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mrow>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x222b;</mml:mo>
<mml:mi>d</mml:mi>
<mml:mi>b</mml:mi>
<mml:mspace width="0.28em"/>
<mml:mi mathvariant="script">L</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>b</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>.</mml:mo>
</mml:math>
<label>(30)</label>
</disp-formula>The integral over <inline-formula id="inf380">
<mml:math id="m410">
<mml:mi>b</mml:mi>
</mml:math>
</inline-formula> gives the area under the likelihood function curve. Let <inline-formula id="inf381">
<mml:math id="m411">
<mml:mi>&#x3b4;</mml:mi>
<mml:msub>
<mml:mrow>
<mml:mi>b</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> denote some convenient measure of the width of the sliced likelihood function. Approximate the integral as the product of the height and width of the sliced likelihood function,<disp-formula id="e31">
<mml:math id="m412">
<mml:mo>&#x222b;</mml:mo>
<mml:mi>d</mml:mi>
<mml:mi>b</mml:mi>
<mml:mspace width="0.28em"/>
<mml:mi mathvariant="script">L</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>b</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x2248;</mml:mo>
<mml:mi mathvariant="script">L</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>b</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">&#x302;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mrow>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:mspace width="0.28em"/>
<mml:mi>&#x3b4;</mml:mi>
<mml:msub>
<mml:mrow>
<mml:mi>b</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
<label>(31)</label>
</disp-formula>The first factor is the joint likelihood function maximized over <inline-formula id="inf382">
<mml:math id="m413">
<mml:mi>b</mml:mi>
</mml:math>
</inline-formula> for each <inline-formula id="inf383">
<mml:math id="m414">
<mml:mi>s</mml:mi>
</mml:math>
</inline-formula>. This is a function solely of <inline-formula id="inf384">
<mml:math id="m415">
<mml:mi>s</mml:mi>
</mml:math>
</inline-formula>; it is called the <italic>profile likelihood function</italic> for <inline-formula id="inf385">
<mml:math id="m416">
<mml:mi>s</mml:mi>
</mml:math>
</inline-formula>,<disp-formula id="e32">
<mml:math id="m417">
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="script">L</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>p</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x2261;</mml:mo>
<mml:mi mathvariant="script">L</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>b</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">&#x302;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mrow>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:mo>.</mml:mo>
</mml:math>
<label>(32)</label>
</disp-formula>It corresponds to looking at the 3D <inline-formula id="inf386">
<mml:math id="m418">
<mml:mi mathvariant="script">L</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>b</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> surface along the <inline-formula id="inf387">
<mml:math id="m419">
<mml:mi>b</mml:mi>
</mml:math>
</inline-formula> direction, producing a 2D projection or profile of the surface.</p>
<p>Assembling these results, we have this helpful approximation for the marginal likelihood function for <inline-formula id="inf388">
<mml:math id="m420">
<mml:mi>s</mml:mi>
</mml:math>
</inline-formula>:<disp-formula id="e33">
<mml:math id="m421">
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="script">L</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x2248;</mml:mo>
<mml:mi>p</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>b</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">&#x302;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mrow>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:mspace width="0.17em"/>
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="script">L</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>p</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mspace width="0.17em"/>
<mml:mi>&#x3b4;</mml:mi>
<mml:msub>
<mml:mrow>
<mml:mi>b</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>.</mml:mo>
</mml:math>
<label>(33)</label>
</disp-formula>The last two factors are the data-dependent factors. Much of the work done by marginalization is captured in the profile likelihood factor. A naive approach to handling a nuisance parameter would be to fix it at its best-fit value. This would correspond to slicing <inline-formula id="inf389">
<mml:math id="m422">
<mml:mi mathvariant="script">L</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>b</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> horizontally along the gray dotted line (through the global MLE point, <inline-formula id="inf390">
<mml:math id="m423">
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">&#x302;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mo>,</mml:mo>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>b</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">&#x302;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>). The profile likelihood function instead slices <inline-formula id="inf391">
<mml:math id="m424">
<mml:mi mathvariant="script">L</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>b</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>, accounting for the fact that a choice of <inline-formula id="inf392">
<mml:math id="m425">
<mml:mi>s</mml:mi>
</mml:math>
</inline-formula> implies a different &#x201c;best&#x201d; choice for <inline-formula id="inf393">
<mml:math id="m426">
<mml:mi>b</mml:mi>
</mml:math>
</inline-formula> than the global MLE. But the marginal likelihood function includes the additional factor, <inline-formula id="inf394">
<mml:math id="m427">
<mml:mi>&#x3b4;</mml:mi>
<mml:msub>
<mml:mrow>
<mml:mi>b</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula>, that accounts for how the <italic>uncertainty</italic> in the nuisance parameter may change as a function of the interesting parameter. Essentially, marginalization is saying to start by profiling (rather than just using the best-fit nuisance parameter), but then adjust the profile likelihood, weighting regions where the nuisance parameter uncertainty is large more heavily than regions where it is small.</p>
<p>
<xref ref-type="fig" rid="F7">Figure 7</xref> depicts a joint likelihood function that is a bivariate Gaussian function. Recall that a bivariate Gaussian may be written as the product of a Gaussian for one variable (say, <inline-formula id="inf395">
<mml:math id="m428">
<mml:mi>s</mml:mi>
</mml:math>
</inline-formula> here) and a Gaussian for the second variable with mean related linearly to the first one (the <inline-formula id="inf396">
<mml:math id="m429">
<mml:msub>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>b</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">&#x302;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mrow>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> line in the figure), and <italic>constant</italic> standard deviation in the second dimension. This implies that <inline-formula id="inf397">
<mml:math id="m430">
<mml:mi>&#x3b4;</mml:mi>
<mml:msub>
<mml:mrow>
<mml:mi>b</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> is constant with respect to <inline-formula id="inf398">
<mml:math id="m431">
<mml:mi>s</mml:mi>
</mml:math>
</inline-formula> here: the marginal likelihood function is proportional to the profile likelihood function. But that is a special property of multivariate Gaussians that does not hold in general.</p>
<p>
<xref ref-type="fig" rid="F8">Figure 8</xref> shows two scenarios where marginal and profile likelihood functions may noticeably differ (here <inline-formula id="inf399">
<mml:math id="m432">
<mml:mi>s</mml:mi>
</mml:math>
</inline-formula> and <inline-formula id="inf400">
<mml:math id="m433">
<mml:mi>b</mml:mi>
</mml:math>
</inline-formula> denote generic interesting and nuisance parameters). The top left panel shows a &#x201c;flaring&#x201d; two-variable likelihood function, with the uncertainty in <inline-formula id="inf401">
<mml:math id="m434">
<mml:mi>b</mml:mi>
</mml:math>
</inline-formula> changing significantly as a function of <inline-formula id="inf402">
<mml:math id="m435">
<mml:mi>s</mml:mi>
</mml:math>
</inline-formula>. The bottom left panel indicates how the flaring shifts the marginal likelihood function away from the joint peak, reflecting that the larger <inline-formula id="inf403">
<mml:math id="m436">
<mml:mi>b</mml:mi>
</mml:math>
</inline-formula> uncertainty to the right makes it more likely the true parameter values are to the right of the MLE point. The top right panel shows a &#x201c;banana-shaped&#x201d; two-variable likelihood function. These arise commonly in settings where predictions depend on the parameters via power laws (so predictions vary more weakly along a curve than orthogonal to it). Here the <inline-formula id="inf404">
<mml:math id="m437">
<mml:mi>&#x3b4;</mml:mi>
<mml:msub>
<mml:mrow>
<mml:mi>b</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> weighting of the profile likelihood function arises because as the likelihood contours tilt upward with increasing <inline-formula id="inf405">
<mml:math id="m438">
<mml:mi>s</mml:mi>
</mml:math>
</inline-formula>, the uncertainty in <inline-formula id="inf406">
<mml:math id="m439">
<mml:mi>b</mml:mi>
</mml:math>
</inline-formula> increases.</p>
<fig id="F8" position="float">
<label>FIGURE 8</label>
<caption>
<p>Illustration of two-parameter likelihood function geometries where marginalization and profile likelihood may lead to significantly different inferences. Top panels show joint likelihood functions for parameter of interest <inline-formula id="inf407">
<mml:math id="m440">
<mml:mi>s</mml:mi>
</mml:math>
</inline-formula> and nuisance parameter <inline-formula id="inf408">
<mml:math id="m441">
<mml:mi>b</mml:mi>
</mml:math>
</inline-formula>. Blue curves show <inline-formula id="inf409">
<mml:math id="m442">
<mml:msub>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>b</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">&#x302;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mrow>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula>, the MLE for <inline-formula id="inf410">
<mml:math id="m443">
<mml:mi>b</mml:mi>
</mml:math>
</inline-formula> when <inline-formula id="inf411">
<mml:math id="m444">
<mml:mi>s</mml:mi>
</mml:math>
</inline-formula> is given, the path defining the profile likelihood function. Bottom panels show profile (green) and marginal (blue) likelihood functions for <inline-formula id="inf412">
<mml:math id="m445">
<mml:mi>s</mml:mi>
</mml:math>
</inline-formula>. Left: A likelihood function with &#x201c;flaring&#x201d; contours, with the nuisance parameter uncertainty varying significantly as a function of the interesting parameter. Right: A likelihood function with &#x201c;banana-shaped&#x201d; contours, with nuisance parameter uncertainty varying because of the curvature of the profile path.</p>
</caption>
<graphic xlink:href="fspas-11-1326926-g008.tif"/>
</fig>
</sec>
<sec id="s7-2">
<title>7.2 Measurement error problems&#x2014;handling many nuisance parameters</title>
<p>It is often the case that the nuisance parameter volume correction is noticeable in a single measurement, but not hugely significant; it may shift the profile likelihood function by only a fraction of its width. But the effect tends to be in a similar direction for similar measurements. When combining information across many measurements, the systematic effect from the nuisance parameter volume factor can accumulate, and ignoring it can corrupt aggregated inferences, such as demographic inferences.</p>
<p>
<xref ref-type="fig" rid="F9">Figure 9</xref> illustrates this with a somewhat contrived but illuminating example<xref ref-type="fn" rid="fn7">
<sup>7</sup>
</xref>. For each of a set of <inline-formula id="inf413">
<mml:math id="m446">
<mml:mi>N</mml:mi>
</mml:math>
</inline-formula> objects, we make a pair of measurements of some object property, <inline-formula id="inf414">
<mml:math id="m447">
<mml:msub>
<mml:mrow>
<mml:mi>&#x3bc;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> for object <inline-formula id="inf415">
<mml:math id="m448">
<mml:mi>i</mml:mi>
</mml:math>
</inline-formula>, with an instrument that provides measurements with additive Gaussian noise with zero mean and fixed but <italic>unknown</italic> standard deviation, <inline-formula id="inf416">
<mml:math id="m449">
<mml:mi>&#x3c3;</mml:mi>
</mml:math>
</inline-formula>. Denote the pair of measurements by <inline-formula id="inf417">
<mml:math id="m450">
<mml:msub>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> and <inline-formula id="inf418">
<mml:math id="m451">
<mml:msub>
<mml:mrow>
<mml:mi>y</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula>. For object <inline-formula id="inf419">
<mml:math id="m452">
<mml:mi>i</mml:mi>
</mml:math>
</inline-formula>, there is a likelihood function for its <inline-formula id="inf420">
<mml:math id="m453">
<mml:msub>
<mml:mrow>
<mml:mi>&#x3bc;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> and the shared <inline-formula id="inf421">
<mml:math id="m454">
<mml:mi>&#x3c3;</mml:mi>
</mml:math>
</inline-formula> parameter that is the product of two normal distributions,<disp-formula id="e34">
<mml:math id="m455">
<mml:msub>
<mml:mrow>
<mml:mi>&#x2113;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>&#x3bc;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:mi>&#x3c3;</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mi>&#x3c3;</mml:mi>
<mml:msqrt>
<mml:mrow>
<mml:mn>2</mml:mn>
<mml:mi>&#x3c0;</mml:mi>
</mml:mrow>
</mml:msqrt>
</mml:mrow>
</mml:mfrac>
<mml:mi>exp</mml:mi>
<mml:mfenced open="[" close="]">
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>&#x3bc;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msup>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
<mml:msup>
<mml:mrow>
<mml:mi>&#x3c3;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#xd7;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mi>&#x3c3;</mml:mi>
<mml:msqrt>
<mml:mrow>
<mml:mn>2</mml:mn>
<mml:mi>&#x3c0;</mml:mi>
</mml:mrow>
</mml:msqrt>
</mml:mrow>
</mml:mfrac>
<mml:mi>exp</mml:mi>
<mml:mfenced open="[" close="]">
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>y</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>&#x3bc;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msup>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
<mml:msup>
<mml:mrow>
<mml:mi>&#x3c3;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:mfenced>
<mml:mo>.</mml:mo>
</mml:math>
<label>(34)</label>
</disp-formula>From a single pair of measurements, there is substantial uncertainty in both <inline-formula id="inf422">
<mml:math id="m456">
<mml:msub>
<mml:mrow>
<mml:mi>&#x3bc;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> and <inline-formula id="inf423">
<mml:math id="m457">
<mml:mi>&#x3c3;</mml:mi>
</mml:math>
</inline-formula>. The left panel in <xref ref-type="fig" rid="F9">Figure 9</xref> displays this; it shows contours of <inline-formula id="inf424">
<mml:math id="m458">
<mml:msub>
<mml:mrow>
<mml:mi>&#x2113;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>&#x3bc;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:mi>&#x3c3;</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> for the pair of measurements depicted as dots along the ordinate. Notably, this is an example of a flaring likelihood function, which we see is not an unusual phenomenon; it is relevant even for the familiar normal distribution when there is uncertainty, not just in its mean, but also in its standard deviation.</p>
<fig id="F9" position="float">
<label>FIGURE 9</label>
<caption>
<p>Joint, marginal, and profile likelihood functions for the normal pairs (Neyman-Scott) problem. Left: Joint likelihood function for the standard deviation <inline-formula id="inf425">
<mml:math id="m459">
<mml:mi>&#x3c3;</mml:mi>
</mml:math>
</inline-formula>, and the mean <inline-formula id="inf426">
<mml:math id="m460">
<mml:mi>&#x3bc;</mml:mi>
</mml:math>
</inline-formula> of a normal distribution, inferred using a pair of samples (depicted as dots adjacent to the <inline-formula id="inf427">
<mml:math id="m461">
<mml:mi>&#x3bc;</mml:mi>
</mml:math>
</inline-formula> axis). Vertical dashed line shows the true value of <inline-formula id="inf428">
<mml:math id="m462">
<mml:mi>&#x3c3;</mml:mi>
</mml:math>
</inline-formula> for the ensemble of pairs of which this pair is a member. Contours bound approximate 25%, 50%, 75%, 90%, 95%, 99%, and 99.9% confidence regions. Right: Likelihood functions for <inline-formula id="inf429">
<mml:math id="m463">
<mml:mi>&#x3c3;</mml:mi>
</mml:math>
</inline-formula> based on a single pair (solid curves, scaled to unit height) or a set of measurements of 50 pairs (dashed curves, scaled to height 0.5 for visibility). Blue curves are marginal likelihood functions, orange curves are profile likelihood functions. Vertical dashed line shows the true value of <inline-formula id="inf430">
<mml:math id="m464">
<mml:mi>&#x3c3;</mml:mi>
</mml:math>
</inline-formula> for the ensemble of pairs.</p>
</caption>
<graphic xlink:href="fspas-11-1326926-g009.tif"/>
</fig>
<p>We should be able to improve inference by pooling information across many pairs of measurements. Each pair brings in more information about <inline-formula id="inf431">
<mml:math id="m465">
<mml:mi>&#x3c3;</mml:mi>
</mml:math>
</inline-formula>, letting us calibrate the noise level of the instrument. That combination of <inline-formula id="inf432">
<mml:math id="m466">
<mml:mi>&#x3c3;</mml:mi>
</mml:math>
</inline-formula> information should then let us measure each <inline-formula id="inf433">
<mml:math id="m467">
<mml:msub>
<mml:mrow>
<mml:mi>&#x3bc;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> more precisely, as if <inline-formula id="inf434">
<mml:math id="m468">
<mml:mi>&#x3c3;</mml:mi>
</mml:math>
</inline-formula> became known. The right panel of <xref ref-type="fig" rid="F9">Figure 9</xref> shows ingredients for inferring <inline-formula id="inf435">
<mml:math id="m469">
<mml:mi>&#x3c3;</mml:mi>
</mml:math>
</inline-formula> from the pooled data. The solid curves show the profile (orange) and marginal (blue) likelihood functions from a single pair of measurements (for the marginal, a uniform prior was used for <inline-formula id="inf436">
<mml:math id="m470">
<mml:msub>
<mml:mrow>
<mml:mi>&#x3bc;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula>). The behavior illustrated in <xref ref-type="fig" rid="F8">Figure 8</xref> is apparent here; the peak of the marginal is shifted to the right of the peak of the profile curve. Moreover, the marginal curve is considerably broader. That said, the two curves have substantial overlap. From a single pair measurement, inferences based on the two curves would differ noticeably, but perhaps not strongly.</p>
<p>The dashed curves in the right panel of <xref ref-type="fig" rid="F9">Figure 9</xref> show what happens when we accumulate information across multiple paired measurements (here drawn from a broad, uniform distribution, though the findings described here do not depend on this choice). Formally, we do this by computing a likelihood function for the full dataset that is the product of the likelihood functions for the pairs,<disp-formula id="e35">
<mml:math id="m471">
<mml:mi mathvariant="script">L</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>&#x3bc;</mml:mi>
</mml:mrow>
<mml:mo>&#x20d7;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mo>,</mml:mo>
<mml:mi>&#x3c3;</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x3d;</mml:mo>
<mml:munderover accentunder="false" accent="true">
<mml:mrow>
<mml:mo>&#x220f;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mi>N</mml:mi>
</mml:mrow>
</mml:munderover>
<mml:msub>
<mml:mrow>
<mml:mi>&#x2113;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>&#x3bc;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:mi>&#x3c3;</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>,</mml:mo>
</mml:math>
<label>(35)</label>
</disp-formula>where <inline-formula id="inf437">
<mml:math id="m472">
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>&#x3bc;</mml:mi>
</mml:mrow>
<mml:mo>&#x20d7;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula> denotes the collection of <inline-formula id="inf438">
<mml:math id="m473">
<mml:msub>
<mml:mrow>
<mml:mi>&#x3bc;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> parameters. We can again summarize the implications for <inline-formula id="inf439">
<mml:math id="m474">
<mml:mi>&#x3c3;</mml:mi>
</mml:math>
</inline-formula> by profiling or marginalizing over <inline-formula id="inf440">
<mml:math id="m475">
<mml:msub>
<mml:mrow>
<mml:mi>&#x3bc;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula>&#x2014;but now over <inline-formula id="inf441">
<mml:math id="m476">
<mml:mi>N</mml:mi>
<mml:mspace width="0.17em"/>
<mml:mtext>of</mml:mtext>
<mml:mspace width="0.17em"/>
<mml:mtext>the</mml:mtext>
<mml:mspace width="0.3333em"/>
<mml:msub>
<mml:mrow>
<mml:mi>&#x3bc;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> parameters. The dashed curves show the resulting profile and marginal likelihood functions. Both are becoming usefully narrow. But the profile likelihood function is converging <italic>away</italic> from the true value (<inline-formula id="inf442">
<mml:math id="m477">
<mml:mi>&#x3c3;</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:math>
</inline-formula> here). One can show that the MLE is in fact an <italic>inconsistent</italic> estimator for <inline-formula id="inf443">
<mml:math id="m478">
<mml:mi>&#x3c3;</mml:mi>
</mml:math>
</inline-formula> in this setting&#x2014;it converges to the wrong value as <inline-formula id="inf444">
<mml:math id="m479">
<mml:mi>N</mml:mi>
<mml:mo>&#x2192;</mml:mo>
<mml:mi>&#x221e;</mml:mi>
</mml:math>
</inline-formula> (this remains the case even if more than two measurements are made per object, provided the number of per-object measurements is finite). In the first (frequentist) treatment of this problem, Neyman and Scott (<xref ref-type="bibr" rid="B54">Neyman and Scott, 1948</xref>) noted that a useful estimate for <inline-formula id="inf445">
<mml:math id="m480">
<mml:mi>&#x3c3;</mml:mi>
</mml:math>
</inline-formula> could be obtained by averaging unbiased moment-based point estimates of <inline-formula id="inf446">
<mml:math id="m481">
<mml:mi>&#x3c3;</mml:mi>
</mml:math>
</inline-formula> from the pairs. But they commented that &#x201c;This is undoubtedly true but beside the point&#x201d; that such problems expose a problem with maximum likelihood estimation that has no general solution. (Bayesian methods were uncommon in statistics at that time, and they did not explore marginalization.)</p>
<p>To make the point that such problems are not uncommon in astronomy, <xref ref-type="fig" rid="F10">Figure 10</xref> shows likelihood functions from simulated data for isolated <italic>dim</italic> point sources observed with a CCD camera with a critically-sampled Gaussian PSF (the calculations are based on the description of the Hyper Suprime-Cam pipeline in <xref ref-type="bibr" rid="B8">Bosch et al., 2018</xref>). The left panel is for a <inline-formula id="inf447">
<mml:math id="m482">
<mml:mo>&#x2248;</mml:mo>
<mml:mn>6</mml:mn>
<mml:mi>&#x3c3;</mml:mi>
</mml:math>
</inline-formula> source whose true position is in the middle of a pixel. Contours are in the space of flux, <inline-formula id="inf448">
<mml:math id="m483">
<mml:mi>F</mml:mi>
</mml:math>
</inline-formula>, and one of the direction coordinates, <inline-formula id="inf449">
<mml:math id="m484">
<mml:mi>x</mml:mi>
</mml:math>
</inline-formula> (position on the CCD; the other coordinate is fixed at its best-fit value). The contours exhibit flaring; they are nearly symmetric in <inline-formula id="inf450">
<mml:math id="m485">
<mml:mi>x</mml:mi>
</mml:math>
</inline-formula>, but are very asymmetric in <inline-formula id="inf451">
<mml:math id="m486">
<mml:mi>F</mml:mi>
</mml:math>
</inline-formula>, showing the <italic>significant flux-direction dependence</italic>: positions away from the best-fit position, in either direction, imply lower flux estimates. The growth of area in the contours with decreasing flux means that <italic>the marginal likelihood for flux gets shifted downward from the joint best-fit flux</italic>. The shift is at the percent level, much smaller than in the paired measurement problem above. But, as in that problem, the shift is <italic>systematic</italic>, in the same direction and of similar scale for all <inline-formula id="inf452">
<mml:math id="m487">
<mml:mn>6</mml:mn>
<mml:mi>&#x3c3;</mml:mi>
</mml:math>
</inline-formula> sources; it impacts accuracy (bias), more than precision, and would dominate statistical errors in analyses averaging over a few hundred sources. The right panel shows likelihood contours for a <inline-formula id="inf453">
<mml:math id="m488">
<mml:mo>&#x2248;</mml:mo>
<mml:mn>3</mml:mn>
<mml:mi>&#x3c3;</mml:mi>
</mml:math>
</inline-formula>, sub-threshold measurement of a source with a quarter-pixel offset. It shows that the likelihood function rapidly becomes more complicated for sources dimmer than <inline-formula id="inf454">
<mml:math id="m489">
<mml:mo>&#x2248;</mml:mo>
<mml:mn>5</mml:mn>
<mml:mi>&#x3c3;</mml:mi>
</mml:math>
</inline-formula>, amplifying the need to thoroughly account for nuisance parameter uncertainty when studying the flux distribution of dim sources (e.g., via forced photometry).</p>
<fig id="F10" position="float">
<label>FIGURE 10</label>
<caption>
<p>Likelihood functions as a function of flux, <inline-formula id="inf455">
<mml:math id="m490">
<mml:mi>F</mml:mi>
</mml:math>
</inline-formula>, and one position coordinate, <inline-formula id="inf456">
<mml:math id="m491">
<mml:mi>x</mml:mi>
</mml:math>
</inline-formula> for dim point sources in an astronomical image. Crosshairs show the true <inline-formula id="inf457">
<mml:math id="m492">
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>x</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>F</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>; diamonds shows maximum likelihood estimates. Contours have nominal <inline-formula id="inf458">
<mml:math id="m493">
<mml:mn>1</mml:mn>
<mml:mi>&#x3c3;</mml:mi>
</mml:math>
</inline-formula> spacing. Left: Likelihood for a source that would just pass a <inline-formula id="inf459">
<mml:math id="m494">
<mml:mn>6</mml:mn>
<mml:mi>&#x3c3;</mml:mi>
</mml:math>
</inline-formula> detection threshhold. Left: Likelihood for a source that would just pass a <inline-formula id="inf460">
<mml:math id="m495">
<mml:mn>3</mml:mn>
<mml:mi>&#x3c3;</mml:mi>
</mml:math>
</inline-formula> detection threshhold.</p>
</caption>
<graphic xlink:href="fspas-11-1326926-g010.tif"/>
</fig>
<p>For those requiring a frequentist solution to measurement error problems, there is a large and growing literature presenting numerous techniques specialized to specific problem settings. From a Bayesian perspective, specialized inference techniques are unnecessary; marginalization over latent parameters handles such problems generally and flexibly (though the resulting computational challenges can demand nontrivial computational algorithms specialized to different settings). Notably, even statisticians who generally favor frequentist methods recommend Bayesian approaches that marginalize over latent parameters in complicated settings, particularly for nonlinear modeling of data with heteroscedastic measurement error (i.e., with measurements that have differing standard deviations); see <xref ref-type="bibr" rid="B13">Carroll et al. (2006)</xref>. Astronomical data commonly has heteroscedastic measurement error, and the ability of marginalization to flexibly accommodate this complication has been a strong motivation for the spread of Bayesian methods for measurement error problems in astronomy.</p>
</sec>
</sec>
<sec id="s8">
<title>8 Systematic error and model misspecification</title>
<p>A well-known aphorism attributed to George Box motivates our final marginalization application area: &#x201c;All models are wrong, but some are useful&#x201d; (<xref ref-type="bibr" rid="B11">Box and Draper, 1987</xref>; see also <xref ref-type="bibr" rid="B9">Box, 1976</xref>). In some data analysis settings, we may be largely secure about our model, but still want to explore the possibility that inference may be corrupted by potential influences omitted from the model. In other settings we may knowingly adopt an approximate model, and want to account for the lack of fidelity to the data when we make inferences about salient features of the model. Here we briefly describe the role composite hypotheses and marginalization can play to improve uncertainty quantification in such settings. We consider two settings: first, where systematic error arises due to model selection uncertainty (i.e., whether to include terms for anticipated corrupting effects), and second, where a model aims to account only for salient features of a phenomenon, and we want to account for uncertainty in deliberately unmodeled details.</p>
<sec id="s8-1">
<title>8.1 Systematic error and model selection uncertainty</title>
<p>A fairly common way astronomers try to account for systematic error from identified potential corrupting effects is to use a classical null hypothesis significance test (NHST) to see if there is significant evidence in the data for the effects. A statistic is devised to test for the presence of a potential effect; if the null hypothesis of no effect is not rejected, analysis proceeds assuming no effect is present. A significant issue with this approach is that failure to reject a null hypotheses need not correspond to a strong preference for the null over the alternative (see, e.g., <xref ref-type="bibr" rid="B2">Berger, 2003</xref>; <xref ref-type="bibr" rid="B62">Wasserstein and Lazar, 2016</xref>; <xref ref-type="bibr" rid="B35">Greenland et al., 2016</xref>; <xref ref-type="bibr" rid="B63">Wasserstein et al., 2019</xref>). Ideally we would like to take into account potential systematic effects, weighted in a way that measures the strength of evidence for or against their presence.</p>
<p>Marginal likelihoods can provide such a weighting (see the brief description of <italic>model averaging</italic> above). However, marginal likelihoods typically are more sensitive to the choice of prior than are parameter estimates&#x2014;in particular, to the ranges of the parameter spaces considered for rival models&#x2014;and one must be cautious about using them to account for systematic error.</p>
<p>An example of systematic error quantification using marginal likelihoods and Bayes factors is the work of <xref ref-type="bibr" rid="B23">Drell et al. (2000)</xref> (DLW00) exploring the potential impact of systematic error from source evolution on early analyses of the evidence for dark energy from measurements of Type Ia supernova (SN Ia) light curves (&#x201c;SN cosmology&#x201d;). The dark energy discovery papers found no significant evidence for SN Ia source evolution (dependence of light curve properties on redshift), and so assumed there was <italic>exactly zero evolution</italic> in their analyses. DLW00 computed Bayes factors indicating the data were equivocal regarding the presence of evolution. An important aspect of the calculation was consideration of a variety of priors for parameters in evolution models, to ensure the findings were robust. Allowing for plausibly small levels of evolution, and marginalizing over its impact, significantly weakened the strength of the evidence for dark energy, <italic>unless one assumed a flat cosmology</italic>, which was not justified at the time. Fortunately, within a few years accumulating evidence from other cosmological phenomena honed in on flat cosmologies. From the perspective of the DLW00 systematic error analysis, it was only in the context of this later evidence that the discovery of dark energy became secure.</p>
</sec>
<sec id="s8-2">
<title>8.2 Systematic error, overdispersion, and model discrepancy</title>
<p>In astronomy we often knowingly use models that capture only the <italic>salient features</italic> of a phenomenon. This is particularly true when first exploring a frontier area, where learning such features can provide significant insight, even if the salient feature model overlooks details. Examples include counting pulses in gamma-ray burst prompt light curves (where we may care only about the number of pulses and their time scales, not every minor wiggle), or modeling luminosity functions with broken power laws (where we would like to estimate a power law slope and a break luminosity, irrespective of minor bumps in the distribution). Simply adopting the salient feature model and ignoring model misspecification can corrupt inferences, in particular by providing artificially tight constraints on the salient model parameters.</p>
<p>One approach to handling this is to simply inflate sampling distributions. For example, in the statistics literature analyzing count data, it is common to adopt negative binomial (NB) rather than Poisson distributions at the outset, since the NB distribution has an extra parameter that can be used to overdisperse the predictive distribution for counts, and it includes the Poisson distribution as a special case (see, e.g., <xref ref-type="bibr" rid="B38">Hilbe 2011</xref>; <xref ref-type="bibr" rid="B20">de Souza et al. (2015)</xref> for an application in astronomy; see the <xref ref-type="sec" rid="s15">Supplementary Appendix</xref> for a brief discussion of the NB distribution and its use for modeling overdispersion). <xref ref-type="bibr" rid="B7">Bonamente (2023)</xref> has adapted this idea to account for systematic error in astronomical data analysis of Poisson data in the regime where <inline-formula id="inf461">
<mml:math id="m496">
<mml:msup>
<mml:mrow>
<mml:mi>&#x3c7;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msup>
</mml:math>
</inline-formula> fitting is nominally accurate, devising a new <italic>overdispersed</italic> <inline-formula id="inf462">
<mml:math id="m497">
<mml:msup>
<mml:mrow>
<mml:mi>&#x3c7;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msup>
</mml:math>
</inline-formula> <italic>distribution</italic>.</p>
<p>We are developing complementary methods for salient feature modeling of Poisson count and point process data that are closely tied to use of NB distributions. But we do not adopt overdispersed distributions outright. In contrast to most applications of the Poisson distribution in the statistics literature, in many astrophysical applications there is a strong physical basis for adopting a Poisson distribution as the description of the repeated-sampling variability expected in the data&#x2014;the so-called <italic>aleatoric uncertainty</italic> (from the Latin <italic>aleator</italic> for &#x201c;dice player&#x201d;). We use overdispersion to reflect a combination of aleatoric and epistemic sources of uncertainty (with the epistemic component capturing the systematic errors that may not vary randomly across replications).</p>
<p>We construct overdispersed distributions via representations that tie them to the underlying aleatoric sampling distribution via a plausible <italic>discrepancy mechanism</italic> (adapting the notion of additive discrepancy functions from Gaussian process emulation of computer models; see the <xref ref-type="sec" rid="s15">Supplementary Appendix</xref>). We consider the actual intensity function (event rate) for the Poisson process governing the data to be the product of the parametric salient model rate that we wish to estimate, and a nonnegative discrepancy factor. <xref ref-type="fig" rid="F11">Figure 11</xref> illustrates the construction for a model for photon counts from a time-varying source, binned in time, used to estimate parameters of a salient light curve model. The blue histogram depicts the predictions of a Poisson model for the photon counts in bins, as expectation values, <inline-formula id="inf463">
<mml:math id="m498">
<mml:msub>
<mml:mrow>
<mml:mi>&#x3bb;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula>. These are from the salient feature model, an idealized description of the true light curve that captures key features of scientific interest (e.g., location, duration, amplitude). To predict the observed counts in a bin, <inline-formula id="inf464">
<mml:math id="m499">
<mml:msub>
<mml:mrow>
<mml:mi>n</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula>, we multiply each intensity, <inline-formula id="inf465">
<mml:math id="m500">
<mml:msub>
<mml:mrow>
<mml:mi>&#x3bb;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula>, by an uncertain <italic>discrepancy factor</italic>, <inline-formula id="inf466">
<mml:math id="m501">
<mml:msub>
<mml:mrow>
<mml:mi>&#x3b1;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula>, drawn from a distribution with positive support and unit mean, shown in the inset. We use a gamma distribution for <inline-formula id="inf467">
<mml:math id="m502">
<mml:msub>
<mml:mrow>
<mml:mi>&#x3b1;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula>; with the mean fixed to one, there is only a single parameter, the shape parameter, <inline-formula id="inf468">
<mml:math id="m503">
<mml:mi>&#x3b2;</mml:mi>
</mml:math>
</inline-formula>, controlling the variance. In the fitting process, we marginalize over all of the <inline-formula id="inf469">
<mml:math id="m504">
<mml:msub>
<mml:mrow>
<mml:mi>&#x3b1;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> factors, and treat <inline-formula id="inf470">
<mml:math id="m505">
<mml:mi>&#x3b2;</mml:mi>
</mml:math>
</inline-formula> as an uncertain parameter, estimated from the data.</p>
<fig id="F11" position="float">
<label>FIGURE 11</label>
<caption>
<p>Depiction of the multiplicative discrepancy approach. Blue histogram shows the Poisson distribution PMF from a salient feature model. Green dots depict the PMF resulting from multiplying the Poisson expectation values by draws from a gamma distribution discrepancy process. Inset shows the unit-mean gamma distribution for the discrepancy factors.</p>
</caption>
<graphic xlink:href="fspas-11-1326926-g011.tif"/>
</fig>
<p>The choice of a gamma distribution enables <italic>analytic</italic> marginalization over the discrepancy factors, producing a predictive PMF for the counts that is NB, with a variance that may be inflated with respect to that of a Poisson distribution. (See the <xref ref-type="sec" rid="s15">Supplementary Appendix</xref> for further details.) More deeply, the gamma choice lets us introduce discrepancy in a manner that preserves aggregation consistency in a sense analogous to what we described above regarding Dirichlet priors for histograms. This framework explicitly acknowledges that the actual count variability distribution is expected to be Poisson. It also points toward generalizations that can apply to point data, and that can account for bin-to-bin correlations in the discrepancy. Details for specific astrophysical applications will be reported elsewhere.</p>
</sec>
</sec>
<sec id="s9">
<title>9 More than Bayes&#x2019;s theorem</title>
<p>The theme of this tutorial has been that BT and the LTP are partners in Bayesian inference&#x2014;arguably unequal partners, with the LTP carrying much of the burden in analysis and computation. This is because of how common composite hypotheses are in astrophysical data analysis. We hope we have made a strong case that the role of the LTP and marginalization should be highlighted more prominently in the Bayesian astrostatistics literature, particularly in pedagogical presentations.</p>
<p>Python and R code producing figures from this paper are available at <ext-link ext-link-type="uri" xlink:href="https://github.com/tloredo/MoreThanBT2024-Figures">https://github.com/tloredo/MoreThanBT2024-Figures</ext-link>.</p>
</sec>
</body>
<back>
<sec sec-type="data-availability" id="s10">
<title>Data availability statement</title>
<p>The datasets presented in this article are not readily available because only small simulated datasets were used, for didactic purposes. Requests to access the datasets should be directed to <email>loredo@astro.cornell.edu</email>.</p>
</sec>
<sec id="s11">
<title>Author contributions</title>
<p>TL: Conceptualization, Methodology, Writing&#x2013;original draft, Writing&#x2013;review and editing. RW: Conceptualization, Methodology, Writing&#x2013;review and editing.</p>
</sec>
<sec sec-type="funding-information" id="s12">
<title>Funding</title>
<p>The author(s) declare financial support was received for the research, authorship, and/or publication of this article. This material is based upon work supported by the National Science Foundation under Grants No. DMS-2015386 and AST-2206339 (for TL), and DMS-2015382 (for RW).</p>
</sec>
<ack>
<p>We gratefully acknowledge the organizers and participants of the <inline-formula id="inf471">
<mml:math id="m506">
<mml:mi mathvariant="italic">iid</mml:mi>
</mml:math>
</inline-formula>2022 workshop for helpful interactions on the topic of this paper. We are also grateful to the issue editor and two reviewers for helpful feedback that we believe significantly improved this paper.</p>
</ack>
<sec sec-type="COI-statement" id="s13">
<title>Conflict of interest</title>
<p>The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.</p>
</sec>
<sec sec-type="disclaimer" id="s14">
<title>Publisher&#x2019;s note</title>
<p>All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.</p>
</sec>
<sec id="s15">
<title>Supplementary material</title>
<p>The Supplementary Material for this article can be found online at: <ext-link ext-link-type="uri" xlink:href="https://www.frontiersin.org/articles/10.3389/fspas.2024.1326926/full#supplementary-material">https://www.frontiersin.org/articles/10.3389/fspas.2024.1326926/full&#x23;supplementary-material</ext-link>
</p>
<supplementary-material xlink:href="Presentation1.pdf" id="SM1" mimetype="application/pdf" xmlns:xlink="http://www.w3.org/1999/xlink"/>
</sec>
<fn-group>
<fn id="fn1">
<label>1</label>
<p>John Tukey&#x2014;best known for his work on the fast Fourier transform and exploratory data analysis&#x2014;observed: &#x201c;No body of data tells us all we need to know about its own analysis&#x201d; (<xref ref-type="bibr" rid="B58">Tukey, 1977</xref>). Data do not &#x201c;speak for themselves&#x201d; in scientific arguments; data analysis considers the implications of data within some context. In this sense, data analysis (Bayesian or frequentist) is necessarily subjective and provisional, and a virtue of the Jeffreys/Cox/Jaynes notation is its recognition that all probabilities are conditional, at least depending on the context, <inline-formula id="inf472">
<mml:math id="m507">
<mml:mi mathvariant="script">C</mml:mi>
</mml:math>
</inline-formula> (whose components should be explicitly identified). For further discussion of subjectivity in statistical data analysis we recommend perspective papers by <xref ref-type="bibr" rid="B3">Berger and Berry (1988)</xref>, <xref ref-type="bibr" rid="B43">Lindley (2000)</xref>, and <xref ref-type="bibr" rid="B30">Gelman and Hennig (2017)</xref> (the latter including wide-ranging remarks by many invited discussants).</p>
</fn>
<fn id="fn2">
<label>2</label>
<p>In settings where the alternatives are labeled by a continuous parameter, <inline-formula id="inf473">
<mml:math id="m508">
<mml:mi>&#x3b8;</mml:mi>
</mml:math>
</inline-formula>, <inline-formula id="inf474">
<mml:math id="m509">
<mml:mi>B</mml:mi>
</mml:math>
</inline-formula> would represent a statement about the value of <inline-formula id="inf475">
<mml:math id="m510">
<mml:mi>&#x3b8;</mml:mi>
</mml:math>
</inline-formula>, i.e., that it is positive, or lies in a specified interval. When the probability <inline-formula id="inf476">
<mml:math id="m511">
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>B</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> can be computed using a continuous PDF, <inline-formula id="inf477">
<mml:math id="m512">
<mml:mi>p</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>&#x3b8;</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>, the probability that <inline-formula id="inf478">
<mml:math id="m513">
<mml:mi>&#x3b8;</mml:mi>
</mml:math>
</inline-formula> takes a specified value <inline-formula id="inf479">
<mml:math id="m514">
<mml:msub>
<mml:mrow>
<mml:mi>&#x3b8;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2217;</mml:mo>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula>, <inline-formula id="inf480">
<mml:math id="m515">
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>B</mml:mi>
<mml:mo>:</mml:mo>
<mml:mi>&#x3b8;</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>&#x3b8;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2217;</mml:mo>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>, formally vanishes (it is equal to <inline-formula id="inf481">
<mml:math id="m516">
<mml:mi>p</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>&#x3b8;</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mi mathvariant="italic">d</mml:mi>
<mml:mi>&#x3b8;</mml:mi>
</mml:math>
</inline-formula> in the limit as <inline-formula id="inf482">
<mml:math id="m517">
<mml:mi mathvariant="italic">d</mml:mi>
<mml:mi>&#x3b8;</mml:mi>
<mml:mo>&#x2192;</mml:mo>
<mml:mn>0</mml:mn>
</mml:math>
</inline-formula>). In such settings, it can be possible to condition on <inline-formula id="inf483">
<mml:math id="m518">
<mml:mi>&#x3b8;</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>&#x3b8;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2217;</mml:mo>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> even though <inline-formula id="inf484">
<mml:math id="m519">
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>B</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>0</mml:mn>
</mml:math>
</inline-formula>, by considering a limit, or more generally, via measure-theoretic arguments. See <xref ref-type="bibr" rid="B53">Marin and Robert (2010)</xref> for discussion of this and its potential relevance for Bayesian model comparison.</p>
</fn>
<fn id="fn3">
<label>3</label>
<p>A statement <inline-formula id="inf485">
<mml:math id="m520">
<mml:msub>
<mml:mrow>
<mml:mi>D</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>obs</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> asserting values for observed data&#x2014;e.g., &#x201c;The number of heads in 10 flips was 7&#x201d;, or &#x201c;The photon count in bin 1 is 11, the photon count in bin 2 is 15 &#x2026; &#x201d;&#x2014;can typically be considered an event in this sense, interpreting the sampling distribution as a distribution for repeated sampling.</p>
</fn>
<fn id="fn4">
<label>4</label>
<p>This idea is notoriously difficult to define rigorously; arguably there is not yet a sound definition. For an exceptionally accessible overview of the difficulties see <xref ref-type="bibr" rid="B21">Diaconis and Skyrms (2018)</xref>.</p>
</fn>
<fn id="fn5">
<label>5</label>
<p>Readers new to model comparison should note that in the astronomy literature and some machine learning literature it is popular to use the term <italic>evidence</italic> for the marginal likelihood. (<italic>Bayesian evidence</italic> also appears, awkwardly implying there are Bayesian vs non-Bayesian forms of evidence.) We eschew this terminology. The <italic>data</italic> (and possibly additional contextual information) comprise the evidence, and in the Bayesian philosophy of science literature it has long been common to use <inline-formula id="inf486">
<mml:math id="m521">
<mml:mi>E</mml:mi>
</mml:math>
</inline-formula> and &#x201c;evidence&#x201d; where we have used <inline-formula id="inf487">
<mml:math id="m522">
<mml:msub>
<mml:mrow>
<mml:mi>D</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>obs</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> and &#x201c;data.&#x201d; Unsurprisingly, &#x201c;evidence&#x201d; is used in the same way in the literature on statistics in jurisprudence. Using &#x201c;evidence&#x201d; for marginal likelihood obscures that there are just two types of hypothesis-dependent quantities in Bayesian inference, the probability for a hypothesis (with the hypothesis to the left of the bar) and the likelihood for a hypothesis (with the hypothesis to the right of the bar). The marginal likelihood works just like the more familiar parameter likelihood function; &#x201c;marginal&#x201d; merely specifies how it is computed. Jack Good has noted that marginal likelihoods operate just like likelihood functions, calling them <italic>Bayesian likelihoods</italic>. He used <italic>weight of evidence</italic> for the logarithm of the ratio of marginal likelihoods for two hypotheses (i.e., the logarithm of the <italic>Bayes factor</italic>), providing an additive (rather than multiplicative) measure of how much the available evidence favors one hypothesis over the other; the terminology originates with Alan Turing (<xref ref-type="bibr" rid="B33">Good, 1950</xref>; <xref ref-type="bibr" rid="B34">1985</xref>).</p>
</fn>
<fn id="fn6">
<label>6</label>
<p>The values of marginal likelihoods depend more sensitively on properties of prior distributions than do posterior PDFs for parameters; in particular, they are roughly inversely proportional to the prior ranges of parameters. As a result, formal Bayesian model comparison and model averaging are best reserved for problems where the analyst can strongly motivate priors (especially prior ranges), or quantitatively study how results depend on properties of priors. Good entry points to the literature on this (in both astronomy and statistics) include: <xref ref-type="bibr" rid="B61">Volinsky et al. (1999)</xref>; <xref ref-type="bibr" rid="B14">Clyde and George (2004)</xref>; <xref ref-type="bibr" rid="B15">Clyde et al. (2007)</xref>; <xref ref-type="bibr" rid="B57">Trotta (2012)</xref>. For a Bayesian perspective on model selection relying on measures of anticipated out-of-sample predictive performance (vs a priori prediction of the observed sample, as measured by marginal likelihood), see <xref ref-type="bibr" rid="B31">Gelman et al. (2014b)</xref>.</p>
</fn>
<fn id="fn7">
<label>7</label>
<p>Statisticians know this problem as the <italic>Neyman-Scott problem</italic>, a well-known counterexample to maximum likelihood estimation (<xref ref-type="bibr" rid="B54">Neyman and Scott, 1948</xref>). Neyman and Scott did important work on statistics in astronomy. Although the Neyman-Scott problem was first described in an econometrics journal, they posed it in terms of measuring &#x201c;some physical constant such as the radial velocity of a star or the velocity of light.&#x201d; They noted the connection to measurement error problems, and described several settings in astronomy where the issues they addressed potentially arise. Our discussion here expands on a shorter treatment in <xref ref-type="bibr" rid="B47">Loredo (2004)</xref>.</p>
</fn>
</fn-group>
<ref-list>
<title>References</title>
<ref id="B1">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Andreon</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Hurn</surname>
<given-names>M.</given-names>
</name>
</person-group> (<year>2013</year>). <article-title>Measurement errors and scaling relations in astrophysics: a review</article-title>. <source>Stat. Analysis Data Min. ASA Data Sci. J.</source> <volume>9</volume> (<issue>1</issue>), <fpage>15</fpage>&#x2013;<lpage>33</lpage>. <pub-id pub-id-type="doi">10.1002/sam.11173</pub-id>
</citation>
</ref>
<ref id="B2">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Berger</surname>
<given-names>J. O.</given-names>
</name>
</person-group> (<year>2003</year>). <article-title>Could Fisher, Jeffreys and neyman have agreed on testing?</article-title> <source>Stat. Sci.</source> <volume>18</volume>, <fpage>1</fpage>&#x2013;<lpage>32</lpage>. <pub-id pub-id-type="doi">10.1214/ss/1056397485</pub-id>
</citation>
</ref>
<ref id="B3">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Berger</surname>
<given-names>J. O.</given-names>
</name>
<name>
<surname>Berry</surname>
<given-names>D. A.</given-names>
</name>
</person-group> (<year>1988</year>). <article-title>Statistical analysis and the illusion of objectivity</article-title>. <source>Am. Sci.</source> <volume>76</volume>, <fpage>159</fpage>&#x2013;<lpage>165</lpage>.</citation>
</ref>
<ref id="B4">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Berger</surname>
<given-names>J. O.</given-names>
</name>
<name>
<surname>Liseo</surname>
<given-names>B.</given-names>
</name>
<name>
<surname>Wolpert</surname>
<given-names>R. L.</given-names>
</name>
</person-group> (<year>1999</year>). <article-title>Integrated likelihood methods for eliminating nuisance parameters</article-title>. <source>Stat. Sci.</source> <volume>14</volume>, <fpage>1</fpage>&#x2013;<lpage>28</lpage>. <pub-id pub-id-type="doi">10.1214/ss/1009211804</pub-id>
</citation>
</ref>
<ref id="B5">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Berger</surname>
<given-names>J. O.</given-names>
</name>
<name>
<surname>Wolpert</surname>
<given-names>R. L.</given-names>
</name>
</person-group> (<year>1988</year>). <source>
<italic>The likelihood principle</italic>. No. 6 in IMS lecture notes monogr. Ser. (SPIE)</source>. <pub-id pub-id-type="doi">10.1214/lnms/1215466210</pub-id>
</citation>
</ref>
<ref id="B6">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Betancourt</surname>
<given-names>M.</given-names>
</name>
</person-group> (<year>2017</year>). <source>A conceptual introduction to Hamiltonian Monte Carlo</source>. <comment>
<italic>arXiv:1701.02434 [stat]</italic> ArXiv: 1701.02434</comment>.</citation>
</ref>
<ref id="B7">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Bonamente</surname>
<given-names>M.</given-names>
</name>
</person-group> (<year>2023</year>). <article-title>Systematic errors in the maximum-likelihood regression of Poisson count data: introducing the overdispersed X<sup>2</sup> distribution</article-title>. <source>Mon. Notices R. Astronomical Soc.</source> <volume>522</volume>, <fpage>1987</fpage>&#x2013;<lpage>2001</lpage>. <pub-id pub-id-type="doi">10.1093/mnras/stad463</pub-id>
</citation>
</ref>
<ref id="B8">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Bosch</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Armstrong</surname>
<given-names>R.</given-names>
</name>
<name>
<surname>Bickerton</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Furusawa</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Ikeda</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Koike</surname>
<given-names>M.</given-names>
</name>
<etal/>
</person-group> (<year>2018</year>). <article-title>The Hyper Suprime-Cam software pipeline</article-title>. <source>Publ. Astronomical Soc. Jpn.</source> <volume>70</volume>, <fpage>S5</fpage>. <pub-id pub-id-type="doi">10.1093/pasj/psx080</pub-id>
</citation>
</ref>
<ref id="B9">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Box</surname>
<given-names>G. E. P.</given-names>
</name>
</person-group> (<year>1976</year>). <article-title>Science and statistics</article-title>. <source>J. Am. Stat. Assoc.</source> <volume>71</volume>, <fpage>791</fpage>&#x2013;<lpage>799</lpage>. <pub-id pub-id-type="doi">10.1080/01621459.1976.10480949</pub-id>
</citation>
</ref>
<ref id="B10">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Box</surname>
<given-names>G. E. P.</given-names>
</name>
</person-group> (<year>1980</year>). <article-title>Sampling and Bayes&#x2019; inference in scientific modelling and robustness</article-title>. <source>J. R. Stat. Soc. Ser. A General.</source> <volume>143</volume>, <fpage>383</fpage>&#x2013;<lpage>430</lpage>. <comment>Publisher: [Royal Statistical Society, Wiley]</comment>. <pub-id pub-id-type="doi">10.2307/2982063</pub-id>
</citation>
</ref>
<ref id="B11">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Box</surname>
<given-names>G. E. P.</given-names>
</name>
<name>
<surname>Draper</surname>
<given-names>N. R.</given-names>
</name>
</person-group> (<year>1987</year>) &#x201c;<article-title>Empirical model-building and response surfaces</article-title>,&#x201d; in <source>Wiley series in probability and mathematical statistics</source>. <publisher-loc>New York</publisher-loc>: <publisher-name>Wiley</publisher-name>.</citation>
</ref>
<ref id="B13">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Carroll</surname>
<given-names>R. J.</given-names>
</name>
<name>
<surname>Ruppert</surname>
<given-names>D.</given-names>
</name>
<name>
<surname>Stefanski</surname>
<given-names>L. A.</given-names>
</name>
<name>
<surname>Crainiceanu</surname>
<given-names>C. M.</given-names>
</name>
</person-group> (<year>2006</year>) &#x201c;<article-title>
<italic>Measurement error in nonlinear models: a modern perspective</italic>, vol. 105 of <italic>Monographs on Statistics and Applied Probability</italic>
</article-title>,&#x201d;. <edition>second edn</edition>. <publisher-loc>Boca Raton, FL</publisher-loc>: <publisher-name>Chapman and Hall/CRC</publisher-name>. <comment>Available at: <ext-link ext-link-type="uri" xlink:href="https://www.routledge.com/Measurement-Error-in-Nonlinear-Models-A-Modern-Perspective-Second-Edition/Carroll-Ruppert-Stefanski-Crainiceanu/p/book/9781584886334">https://www.routledge.com/Measurement-Error-in-Nonlinear-Models-A-Modern-Perspective-Second-Edition/Carroll-Ruppert-Stefanski-Crainiceanu/p/book/9781584886334</ext-link>.</comment>
<pub-id pub-id-type="doi">10.1201/9781420010138</pub-id>
</citation>
</ref>
<ref id="B14">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Clyde</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>George</surname>
<given-names>E. I.</given-names>
</name>
</person-group> (<year>2004</year>). <article-title>Model uncertainty</article-title>. <source>Inst. Math. Statistics</source> <volume>19</volume>, <fpage>81</fpage>&#x2013;<lpage>94</lpage>. <pub-id pub-id-type="doi">10.1214/088342304000000035</pub-id>
</citation>
</ref>
<ref id="B15">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Clyde</surname>
<given-names>M. A.</given-names>
</name>
<name>
<surname>Berger</surname>
<given-names>J. O.</given-names>
</name>
<name>
<surname>Bullard</surname>
<given-names>F.</given-names>
</name>
<name>
<surname>Ford</surname>
<given-names>E. B.</given-names>
</name>
<name>
<surname>Jefferys</surname>
<given-names>W. H.</given-names>
</name>
<name>
<surname>Luo</surname>
<given-names>R.</given-names>
</name>
<etal/>
</person-group> (<year>2007</year>). &#x201c;<article-title>Current challenges in bayesian model choice</article-title>,&#x201d;. <source>Statistical challenges in modern astronomy IV</source>. Editors <person-group person-group-type="editor">
<name>
<surname>Babu</surname>
<given-names>G. J.</given-names>
</name>
<name>
<surname>Feigelson</surname>
<given-names>E. D.</given-names>
</name>
</person-group>, <volume>371</volume>, <fpage>224</fpage>.</citation>
</ref>
<ref id="B16">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Cover</surname>
<given-names>T. M.</given-names>
</name>
<name>
<surname>Thomas</surname>
<given-names>J. A.</given-names>
</name>
</person-group> (<year>2006</year>). <source>Elements of information theory</source>. <edition>2nd ed edn</edition>. <publisher-loc>Hoboken, N.J.</publisher-loc>: <publisher-name>Wiley-Interscience</publisher-name>. <pub-id pub-id-type="doi">10.1002/047174882X</pub-id>
</citation>
</ref>
<ref id="B17">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Cox</surname>
<given-names>R. T.</given-names>
</name>
</person-group> (<year>1946</year>). <article-title>Probability, frequency and reasonable expectation</article-title>. <source>Am. J. Phys.</source> <volume>14</volume>, <fpage>1</fpage>&#x2013;<lpage>13</lpage>. <pub-id pub-id-type="doi">10.1119/1.1990764</pub-id>
</citation>
</ref>
<ref id="B19">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>[Dataset] Wilson</surname>
<given-names>A. G.</given-names>
</name>
</person-group> (<year>2020</year>). <article-title>The case for bayesian deep learning</article-title>
</citation>
</ref>
<ref id="B20">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>de Souza</surname>
<given-names>R. S.</given-names>
</name>
<name>
<surname>Hilbe</surname>
<given-names>J. M.</given-names>
</name>
<name>
<surname>Buelens</surname>
<given-names>B.</given-names>
</name>
<name>
<surname>Riggs</surname>
<given-names>J. D.</given-names>
</name>
<name>
<surname>Cameron</surname>
<given-names>E.</given-names>
</name>
<name>
<surname>Ishida</surname>
<given-names>E. E. O.</given-names>
</name>
<etal/>
</person-group> (<year>2015</year>). <article-title>The overlooked potential of generalized linear models in astronomy - III. Bayesian negative binomial regression and globular cluster populations</article-title>. <source>Mon. Notices R. Astronomical Soc.</source> <volume>453</volume>, <fpage>1928</fpage>&#x2013;<lpage>1940</lpage>. <pub-id pub-id-type="doi">10.1093/mnras/stv1825</pub-id>
</citation>
</ref>
<ref id="B21">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Diaconis</surname>
<given-names>P.</given-names>
</name>
<name>
<surname>Skyrms</surname>
<given-names>B.</given-names>
</name>
</person-group> (<year>2018</year>). <source>Ten great ideas about chance</source>. <publisher-loc>Princeton</publisher-loc>: <publisher-name>Princeton University Press</publisher-name>. <comment>OCLC: ocn983825018</comment>.</citation>
</ref>
<ref id="B22">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Downey</surname>
<given-names>A. B.</given-names>
</name>
</person-group> (<year>2021</year>). <source>Think Bayes: bayesian statistics in Python</source>. <edition>second edition edn</edition>. <publisher-loc>Beijing Boston Farnham Sebastopol Tokyo</publisher-loc>: <publisher-name>O&#x2019;Reilly</publisher-name>.</citation>
</ref>
<ref id="B23">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Drell</surname>
<given-names>P. S.</given-names>
</name>
<name>
<surname>Loredo</surname>
<given-names>T. J.</given-names>
</name>
<name>
<surname>Wasserman</surname>
<given-names>I.</given-names>
</name>
</person-group> (<year>2000</year>). <article-title>Type IA supernovae, evolution, and the cosmological constant</article-title>. <source>Astrophysical J.</source> <volume>530</volume>, <fpage>593</fpage>&#x2013;<lpage>617</lpage>. <pub-id pub-id-type="doi">10.1086/308393</pub-id>
</citation>
</ref>
<ref id="B24">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Eadie</surname>
<given-names>G. M.</given-names>
</name>
<name>
<surname>Speagle</surname>
<given-names>J. S.</given-names>
</name>
<name>
<surname>Cisewski-Kehe</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Foreman-Mackey</surname>
<given-names>D.</given-names>
</name>
<name>
<surname>Huppenkothen</surname>
<given-names>D.</given-names>
</name>
<name>
<surname>Jones</surname>
<given-names>D. E.</given-names>
</name>
<etal/>
</person-group> (<year>2023</year>). <article-title>Practical guidance for bayesian inference in astronomy</article-title>. <source>ArXiv:2302.04703</source>. <comment>[astro-ph, stat]</comment>. <pub-id pub-id-type="doi">10.48550/arXiv.2302.04703</pub-id>
</citation>
</ref>
<ref id="B25">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Fisher</surname>
<given-names>R. A.</given-names>
</name>
</person-group> (<year>1912</year>). <article-title>On an absolute criterion for fitting frequency curves</article-title>. <source>Messenger Mathmatics</source> <volume>41</volume>, <fpage>155</fpage>&#x2013;<lpage>160</lpage>. <pub-id pub-id-type="doi">10.1214/ss/1029963260</pub-id>
</citation>
</ref>
<ref id="B26">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Fisher</surname>
<given-names>R. A.</given-names>
</name>
</person-group> (<year>1922</year>). <article-title>On the mathematical foundations of theoretical statistics</article-title>. <source>Philosophical Trans. R. Soc. Lond. Ser. A, Contain. Pap. a Math. or Phys. Character</source> <volume>222</volume>, <fpage>309</fpage>&#x2013;<lpage>368</lpage>. <comment>Publisher: The Royal Society</comment>. <pub-id pub-id-type="doi">10.1098/rsta.1922.0009</pub-id>
</citation>
</ref>
<ref id="B27">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Frigyik</surname>
<given-names>B. A.</given-names>
</name>
<name>
<surname>Kapila</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Gupta</surname>
<given-names>M. R.</given-names>
</name>
</person-group> (<year>2010</year>) &#x201c;<article-title>Introduction to the dirichlet distribution and related processes</article-title>,&#x201d; in <source>Tech. Rep. UWEETR-2010-0006</source>. <publisher-loc>Seattle, WA</publisher-loc>: <publisher-name>University of Washington</publisher-name>.</citation>
</ref>
<ref id="B28">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Gelman</surname>
<given-names>A.</given-names>
</name>
</person-group> (<year>2020</year>). <article-title>Bayesian workflow</article-title>. <pub-id pub-id-type="doi">10.48550/arXiv.2011.01808</pub-id>
</citation>
</ref>
<ref id="B29">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Gelman</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Carlin</surname>
<given-names>J. B.</given-names>
</name>
<name>
<surname>Stern</surname>
<given-names>H. S.</given-names>
</name>
<name>
<surname>Dunson</surname>
<given-names>D. B.</given-names>
</name>
<name>
<surname>Vehtari</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Rubin</surname>
<given-names>D. B.</given-names>
</name>
</person-group> (<year>2014a</year>) &#x201c;<article-title>Bayesian data analysis</article-title>,&#x201d; in <source>Chapman and Hall/CRC texts in statistical science</source>. <edition>third edition edn</edition>. <publisher-loc>Boca Raton: CRC Press</publisher-loc>.</citation>
</ref>
<ref id="B30">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Gelman</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Hennig</surname>
<given-names>C.</given-names>
</name>
</person-group> (<year>2017</year>). <article-title>Beyond subjective and objective in statistics</article-title>. <source>J. R. Stat. Soc. Ser. A Statistics Soc.</source> <volume>180</volume>, <fpage>967</fpage>&#x2013;<lpage>1033</lpage>. <pub-id pub-id-type="doi">10.1111/rssa.12276</pub-id>
</citation>
</ref>
<ref id="B31">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Gelman</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Hwang</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Vehtari</surname>
<given-names>A.</given-names>
</name>
</person-group> (<year>2014b</year>). <article-title>Understanding predictive information criteria for Bayesian models</article-title>. <source>Statistics Comput.</source> <volume>24</volume>, <fpage>997</fpage>&#x2013;<lpage>1016</lpage>. <pub-id pub-id-type="doi">10.1007/s11222-013-9416-2</pub-id>
</citation>
</ref>
<ref id="B32">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Genovese</surname>
<given-names>C. R.</given-names>
</name>
<name>
<surname>Miller</surname>
<given-names>C. J.</given-names>
</name>
<name>
<surname>Michol</surname>
<given-names>R. C.</given-names>
</name>
<name>
<surname>Arjunwadkar</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Wasserman</surname>
<given-names>L.</given-names>
</name>
</person-group> (<year>2004</year>). <article-title>Nonparametric inference for the cosmic microwave background</article-title>. <source>Stat. Sci.</source> <volume>19</volume>, <fpage>308</fpage>&#x2013;<lpage>321</lpage>. <pub-id pub-id-type="doi">10.1214/088342304000000161</pub-id>
</citation>
</ref>
<ref id="B33">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Good</surname>
<given-names>I. J.</given-names>
</name>
</person-group> (<year>1950</year>). <source>Probability and the weighing of evidence</source>. <publisher-loc>London</publisher-loc>: <publisher-name>Charles Griffin and Co.). Google-Books-ID: k9g0AAAAMAAJ</publisher-name>.</citation>
</ref>
<ref id="B34">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Good</surname>
<given-names>I. J.</given-names>
</name>
</person-group> (<year>1985</year>). <article-title>Weight of evidence: a brief survey</article-title>. In <source>Bayesian statistics 2</source>, eds. <person-group person-group-type="editor">
<name>
<surname>Bernardo</surname>
<given-names>J. M.</given-names>
</name>
<name>
<surname>DeGroot</surname>
<given-names>M. H.</given-names>
</name>
<name>
<surname>Lindley</surname>
<given-names>D. V.</given-names>
</name>
<name>
<surname>Smith</surname>
<given-names>A. F. M.</given-names>
</name>
</person-group> (<publisher-loc>Amsterdam</publisher-loc>: <publisher-name>Elsevier Science Publishers</publisher-name>). <fpage>249</fpage>&#x2013;<lpage>269</lpage>.</citation>
</ref>
<ref id="B35">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Greenland</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Senn</surname>
<given-names>S. J.</given-names>
</name>
<name>
<surname>Rothman</surname>
<given-names>K. J.</given-names>
</name>
<name>
<surname>Carlin</surname>
<given-names>J. B.</given-names>
</name>
<name>
<surname>Poole</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Goodman</surname>
<given-names>S. N.</given-names>
</name>
<etal/>
</person-group> (<year>2016</year>). <article-title>Statistical tests, P values, confidence intervals, and power: a guide to misinterpretations</article-title>. <source>Eur. J. Epidemiol.</source> <volume>31</volume>, <fpage>337</fpage>&#x2013;<lpage>350</lpage>. <pub-id pub-id-type="doi">10.1007/s10654-016-0149-3</pub-id>
</citation>
</ref>
<ref id="B38">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Hilbe</surname>
<given-names>J. M.</given-names>
</name>
</person-group> (<year>2011</year>) &#x201c;<article-title>Negative binomial regression</article-title>,&#x201d;. <publisher-name>Cambridge University Press</publisher-name>. <pub-id pub-id-type="doi">10.1017/CBO9780511973420</pub-id>
</citation>
</ref>
<ref id="B39">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Hsu</surname>
<given-names>D. C.</given-names>
</name>
<name>
<surname>Ford</surname>
<given-names>E. B.</given-names>
</name>
<name>
<surname>Ragozzine</surname>
<given-names>D.</given-names>
</name>
<name>
<surname>Morehead</surname>
<given-names>R. C.</given-names>
</name>
</person-group> (<year>2018</year>). <article-title>Improving the accuracy of planet occurrence rates from kepler using approximate bayesian computation</article-title>. <source>Astronomical J.</source> <volume>155</volume>, <fpage>205</fpage>. <pub-id pub-id-type="doi">10.3847/1538-3881/aab9a8</pub-id>
</citation>
</ref>
<ref id="B40">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Jaynes</surname>
<given-names>E. T.</given-names>
</name>
</person-group> (<year>2003</year>). <source>Probability theory: the logic of science</source>. <publisher-name>Cambridge University Press</publisher-name>, <fpage>1</fpage>. <pub-id pub-id-type="doi">10.1017/CBO9780511790423</pub-id>
</citation>
</ref>
<ref id="B41">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Jeffreys</surname>
<given-names>H.</given-names>
</name>
</person-group> (<year>1961</year>). <article-title>Theory of probability</article-title>. <source>Oxford classic texts in the physical sciences</source> (<publisher-name>Clarendon Press ; Oxford University Press</publisher-name>), <edition>3rd ed edn</edition>.</citation>
</ref>
<ref id="B42">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Kelly</surname>
<given-names>B. C.</given-names>
</name>
</person-group> (<year>2012</year>). &#x201c;<article-title>Measurement error models in astronomy</article-title>,&#x201d; in <source>Statistical challenges</source>. <source>Lecture notes in statistics</source>. Editors <person-group person-group-type="editor">
<name>
<surname>Modern Astronomy</surname>
<given-names>V.</given-names>
</name>
<name>
<surname>Feigelson</surname>
<given-names>E. D.</given-names>
</name>
<name>
<surname>Babu</surname>
<given-names>G. J.</given-names>
</name>
</person-group> (<publisher-name>Springer New York</publisher-name>), <fpage>147</fpage>&#x2013;<lpage>162</lpage>.</citation>
</ref>
<ref id="B43">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Lindley</surname>
<given-names>D. V.</given-names>
</name>
</person-group> (<year>2000</year>). <article-title>The philosophy of statistics</article-title>. <source>J. R. Stat. Soc. Ser. D (The Statistician)</source> <volume>49</volume>, <fpage>293</fpage>&#x2013;<lpage>337</lpage>. <pub-id pub-id-type="doi">10.1111/1467-9884.00238</pub-id>
</citation>
</ref>
<ref id="B44">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Lindley</surname>
<given-names>D. V.</given-names>
</name>
<name>
<surname>Barndorff-Nielsen</surname>
<given-names>O.</given-names>
</name>
<name>
<surname>Elfving</surname>
<given-names>G.</given-names>
</name>
<name>
<surname>Harsaae</surname>
<given-names>E.</given-names>
</name>
<name>
<surname>Thorburn</surname>
<given-names>D.</given-names>
</name>
<name>
<surname>Hald</surname>
<given-names>A.</given-names>
</name>
<etal/>
</person-group> (<year>1978</year>). <article-title>The bayesian approach [with discussion and reply]</article-title>. <source>Scandinavian Journal of Statistics</source> <volume>5</volume>, <fpage>1</fpage>&#x2013;<lpage>26</lpage>. <comment>Publisher: [Board of the Foundation of the Scandinavian Journal of Statistics, Wiley]</comment>.</citation>
</ref>
<ref id="B45">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Loredo</surname>
<given-names>T. J.</given-names>
</name>
</person-group> (<year>1992</year>). <article-title>The promise of bayesian inference for astrophysics</article-title>. In <source>Statistical challenges in modern astronomy</source>, eds. <person-group person-group-type="editor">
<name>
<surname>Feigelson</surname>
<given-names>E. D.</given-names>
</name>
<name>
<surname>Babu</surname>
<given-names>G. J.</given-names>
</name>
</person-group> (<publisher-loc>New York, NY</publisher-loc>: <publisher-name>Springer</publisher-name>). <fpage>275</fpage>&#x2013;<lpage>297</lpage>. <pub-id pub-id-type="doi">10.1007/978-1-4613-9290-3_31</pub-id>
</citation>
</ref>
<ref id="B46">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Loredo</surname>
<given-names>T. J.</given-names>
</name>
</person-group> (<year>1999</year>). &#x201c;<article-title>Computational technology for bayesian inference</article-title>,&#x201d;. <source>Astronomical data analysis software and systems VIII</source>. Editors <person-group person-group-type="editor">
<name>
<surname>Mehringer</surname>
<given-names>D. M.</given-names>
</name>
<name>
<surname>Plante</surname>
<given-names>R. L.</given-names>
</name>
<name>
<surname>Roberts</surname>
<given-names>D. A.</given-names>
</name>
</person-group>, <volume>172</volume>, <fpage>297</fpage>.</citation>
</ref>
<ref id="B47">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Loredo</surname>
<given-names>T. J.</given-names>
</name>
</person-group> (<year>2004</year>). <article-title>Accounting for source uncertainties in analyses of astronomical survey data</article-title>. <source>AIP Conference Proceedings (AIP Publishing)</source> <volume>735</volume>, <fpage>195</fpage>&#x2013;<lpage>206</lpage>. <pub-id pub-id-type="doi">10.1063/1.1835214</pub-id>
</citation>
</ref>
<ref id="B48">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Loredo</surname>
<given-names>T. J.</given-names>
</name>
</person-group> (<year>2012</year>). &#x201c;<article-title>Rotating stars and revolving planets: bayesian exploration of the pulsating sky &#x2a; - oxford scholarship</article-title>,&#x201d; in <source>Bayesian statistics 9</source>. Editors <person-group person-group-type="editor">
<name>
<surname>Bernardo</surname>
<given-names>J. M.</given-names>
</name>
<name>
<surname>Bayarri</surname>
<given-names>M. J.</given-names>
</name>
<name>
<surname>Berger</surname>
<given-names>J. O.</given-names>
</name>
<name>
<surname>Dawid</surname>
<given-names>A. P.</given-names>
</name>
<name>
<surname>Heckerman</surname>
<given-names>D.</given-names>
</name>
<name>
<surname>Smith</surname>
<given-names>A. F. M.</given-names>
</name>
<etal/>
</person-group> (<publisher-loc>Valencia, Spain</publisher-loc>: <publisher-name>Oxford University Press</publisher-name>), <fpage>361</fpage>&#x2013;<lpage>392</lpage>. <pub-id pub-id-type="doi">10.1093/acprof:oso/9780199694587.003.0012</pub-id>
</citation>
</ref>
<ref id="B49">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Loredo</surname>
<given-names>T. J.</given-names>
</name>
</person-group> (<year>2013</year>). &#x201c;<article-title>Bayesian astrostatistics: a backward look to the future</article-title>,&#x201d; in <source>Astrostatistical challenges for the new astronomy</source>. Editor <person-group person-group-type="editor">
<name>
<surname>Hilbe</surname>
<given-names>J. M.</given-names>
</name>
</person-group> (<publisher-name>Springer New York. Springer Series in Astrostatistics</publisher-name>), <fpage>15</fpage>&#x2013;<lpage>40</lpage>. <pub-id pub-id-type="doi">10.1007/978-1-4614-3508-2_2</pub-id>
</citation>
</ref>
<ref id="B50">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Loredo</surname>
<given-names>T. J.</given-names>
</name>
<name>
<surname>Hendry</surname>
<given-names>M. A.</given-names>
</name>
</person-group> (<year>2019</year>). <article-title>Multilevel and hierarchical Bayesian modeling of cosmic populations</article-title>. <source>arXiv e-prints 1911, arXiv1911</source>, <fpage>12337</fpage>.</citation>
</ref>
<ref id="B51">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Mandel</surname>
<given-names>I.</given-names>
</name>
<name>
<surname>Farr</surname>
<given-names>W. M.</given-names>
</name>
<name>
<surname>Gair</surname>
<given-names>J. R.</given-names>
</name>
</person-group> (<year>2019</year>). <article-title>Extracting distribution parameters from multiple uncertain observations with selection biases</article-title>. <source>Monthly Notices of the Royal Astronomical Society</source> <volume>486</volume>, <fpage>1086</fpage>&#x2013;<lpage>1093</lpage>. <pub-id pub-id-type="doi">10.1093/mnras/stz896</pub-id>
</citation>
</ref>
<ref id="B52">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Mandel</surname>
<given-names>K. S.</given-names>
</name>
</person-group> (<year>2012</year>). &#x201c;<article-title>Hierarchical bayesian models for type Ia supernova inference</article-title>,&#x201d;. <source>Statistical Challenges in Modern Astronomy V</source>. Editors <person-group person-group-type="editor">
<name>
<surname>Feigelson</surname>
<given-names>E. D.</given-names>
</name>
<name>
<surname>Babu</surname>
<given-names>G. J.</given-names>
</name>
</person-group> (<publisher-loc>New York</publisher-loc>: <publisher-name>Springer</publisher-name>), <volume>902</volume>, <fpage>209</fpage>&#x2013;<lpage>218</lpage>. <comment>Conference Name: Statistical Challenges in Modern Astronomy V ADS Bibcode: 2012LNS&#x2026;902.209M</comment>. <pub-id pub-id-type="doi">10.1007/978-1-4614-3520-4_20</pub-id>
</citation>
</ref>
<ref id="B53">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Marin</surname>
<given-names>J.-M.</given-names>
</name>
<name>
<surname>Robert</surname>
<given-names>C. P.</given-names>
</name>
</person-group> (<year>2010</year>). <article-title>On resolving the Savage&#x2013;Dickey paradox</article-title>. <source>Electronic Journal of Statistics</source> <volume>4</volume>, <fpage>643</fpage>&#x2013;<lpage>654</lpage>. <pub-id pub-id-type="doi">10.1214/10-EJS564</pub-id>
</citation>
</ref>
<ref id="B54">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Neyman</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Scott</surname>
<given-names>E. L.</given-names>
</name>
</person-group> (<year>1948</year>). <article-title>Consistent estimates based on partially consistent observations</article-title>. <source>Econometrica</source> <volume>16</volume>, <fpage>1</fpage>&#x2013;<lpage>32</lpage>. <comment>Publisher: [Wiley, Econometric Society]</comment>. <pub-id pub-id-type="doi">10.2307/1914288</pub-id>
</citation>
</ref>
<ref id="B55">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Perks</surname>
<given-names>W.</given-names>
</name>
</person-group> (<year>1947</year>). <article-title>Some observations on inverse probability including a new indifference rule</article-title>. <source>Journal of the Institute of Actuaries (1886-1994)</source> <volume>73</volume>, <fpage>285</fpage>&#x2013;<lpage>334</lpage>. <pub-id pub-id-type="doi">10.1017/s0020268100012270</pub-id>
</citation>
</ref>
<ref id="B56">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Tak</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Ghosh</surname>
<given-names>S. K.</given-names>
</name>
<name>
<surname>Ellis</surname>
<given-names>J. A.</given-names>
</name>
</person-group> (<year>2018</year>). <article-title>How proper are Bayesian models in the astronomical literature?</article-title> <source>Monthly Notices of the Royal Astronomical Society</source> <volume>481</volume>, <fpage>277</fpage>&#x2013;<lpage>285</lpage>. <pub-id pub-id-type="doi">10.1093/mnras/sty2326</pub-id>
</citation>
</ref>
<ref id="B57">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Trotta</surname>
<given-names>R.</given-names>
</name>
</person-group> (<year>2012</year>). <article-title>Recent advances in cosmological bayesian model comparison</article-title>. In <source>Astrostatistics and data mining</source>, eds. <person-group person-group-type="editor">
<name>
<surname>Sarro</surname>
<given-names>L. M.</given-names>
</name>
<name>
<surname>Eyer</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>O&#x2019;Mullane</surname>
<given-names>W.</given-names>
</name>
<name>
<surname>De Ridder</surname>
<given-names>J.</given-names>
</name>
</person-group> (<publisher-loc>New York, NY</publisher-loc>: <publisher-name>Springer</publisher-name>). <fpage>3</fpage>&#x2013;<lpage>15</lpage>. <pub-id pub-id-type="doi">10.1007/978-1-4614-3323-1_1</pub-id>
</citation>
</ref>
<ref id="B58">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Tukey</surname>
<given-names>J. W.</given-names>
</name>
</person-group> (<year>1977</year>) &#x201c;<article-title>Exploratory data analysis</article-title>,&#x201d; in <source>Addison-Wesley series in behavioral science</source>. <publisher-loc>Reading, Mass</publisher-loc>: <publisher-name>Addison-Wesley Pub. Co</publisher-name>.</citation>
</ref>
<ref id="B59">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Vardanyan</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Trotta</surname>
<given-names>R.</given-names>
</name>
<name>
<surname>Silk</surname>
<given-names>J.</given-names>
</name>
</person-group> (<year>2011</year>). <article-title>Applications of Bayesian model averaging to the curvature and size of the Universe</article-title>. <source>Monthly Notices of the Royal Astronomical Society</source> <volume>413</volume>, <fpage>L91</fpage>&#x2013;<lpage>L95</lpage>. <pub-id pub-id-type="doi">10.1111/j.1745-3933.2011.01040.x</pub-id>
</citation>
</ref>
<ref id="B60">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Vitale</surname>
<given-names>S.</given-names>
</name>
</person-group> (<year>2020</year>). <article-title>One, No one, and one hundred thousand &#x2013; inferring the properties of a population in presence of selection effects</article-title>. <source>arXiv2007.05579 [astro-ph, physicsgr-qc] ArXiv</source>
</citation>
</ref>
<ref id="B61">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Volinsky</surname>
<given-names>C. T.</given-names>
</name>
<name>
<surname>Raftery</surname>
<given-names>A. E.</given-names>
</name>
<name>
<surname>Madigan</surname>
<given-names>D.</given-names>
</name>
<name>
<surname>Hoeting</surname>
<given-names>J. A.</given-names>
</name>
</person-group> (<year>1999</year>). <article-title>Bayesian model averaging: a tutorial (with comments by M. Clyde, David Draper and E. I. George, and a rejoinder by the authors)</article-title>. <source>Statistical Science</source> <volume>14</volume>, <fpage>382</fpage>&#x2013;<lpage>417</lpage>. <pub-id pub-id-type="doi">10.1214/ss/1009212519</pub-id>
</citation>
</ref>
<ref id="B62">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Wasserstein</surname>
<given-names>R. L.</given-names>
</name>
<name>
<surname>Lazar</surname>
<given-names>N. A.</given-names>
</name>
</person-group> (<year>2016</year>). <article-title>The ASA statement on <italic>p</italic>-values: context, process, and purpose</article-title>. <source>The American Statistician</source> <volume>70</volume>, <fpage>129</fpage>&#x2013;<lpage>133</lpage>. <comment>00&#x2013;00doi</comment>. <pub-id pub-id-type="doi">10.1080/00031305.2016.1154108</pub-id>
</citation>
</ref>
<ref id="B63">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Wasserstein</surname>
<given-names>R. L.</given-names>
</name>
<name>
<surname>Schirm</surname>
<given-names>A. L.</given-names>
</name>
<name>
<surname>Lazar</surname>
<given-names>N. A.</given-names>
</name>
</person-group> (<year>2019</year>). <article-title>Moving to a world beyond &#x201c;p &#x3c; 0.05&#x201d;</article-title>. <source>The American Statistician</source> <volume>73</volume>, <fpage>1</fpage>&#x2013;<lpage>19</lpage>. <pub-id pub-id-type="doi">10.1080/00031305.2019.1583913</pub-id>
</citation>
</ref>
<ref id="B64">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Wilson</surname>
<given-names>A. G.</given-names>
</name>
<name>
<surname>Izmailov</surname>
<given-names>P.</given-names>
</name>
</person-group> (<year>2020</year>). &#x201c;<article-title>Bayesian deep learning and a probabilistic perspective of generalization</article-title>,&#x201d;. <source>Advances in neural information processing systems</source>. Editors <person-group person-group-type="editor">
<name>
<surname>Larochelle</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Ranzato</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Hadsell</surname>
<given-names>R.</given-names>
</name>
<name>
<surname>Balcan</surname>
<given-names>M. F.</given-names>
</name>
<name>
<surname>Lin</surname>
<given-names>H.</given-names>
</name>
</person-group> (<publisher-name>Curran Associates, Inc.</publisher-name>), <volume>33</volume>, <fpage>4697</fpage>&#x2013;<lpage>4708</lpage>.</citation>
</ref>
<ref id="B65">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Zellner</surname>
<given-names>A.</given-names>
</name>
</person-group> (<year>1971</year>). <source>An introduction to bayesian inference in econometrics</source>. <publisher-loc>New York</publisher-loc>: <publisher-name>J. Wiley</publisher-name>.</citation>
</ref>
</ref-list>
</back>
</article>