<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Foundations, Conjugate Models, and Monte Carlo on Massimo Nocentini</title><link>https://massimo-nocentini.github.io/book/bayesian-statistical-methods/part-1/</link><description>Recent content in Foundations, Conjugate Models, and Monte Carlo on Massimo Nocentini</description><generator>Hugo</generator><language>en-US</language><atom:link href="https://massimo-nocentini.github.io/book/bayesian-statistical-methods/part-1/index.xml" rel="self" type="application/rss+xml"/><item><title>Introduction and Examples</title><link>https://massimo-nocentini.github.io/book/bayesian-statistical-methods/part-1/01-introduction/</link><dc:creator>Massimo Nocentini</dc:creator><guid>https://massimo-nocentini.github.io/book/bayesian-statistical-methods/part-1/01-introduction/</guid><description>&lt;p&gt;&lt;span class="newthought"&gt;Bayesian statistical inference&lt;/span&gt; begins with a deceptively simple shift in viewpoint: probability does not apply only to repeatable physical coin flips; it is a coherent numerical language for quantifying &lt;em&gt;uncertainty&lt;/em&gt; about any unknown quantity—including a fixed but unknown population parameter &lt;span class="tufte-nobr"&gt;&lt;span class="katex tufte-math-euler"&gt;&lt;span class="katex-mathml"&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mi&gt;θ&lt;/mi&gt;&lt;/mrow&gt;&lt;annotation encoding="application/x-tex"&gt;\theta&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;/span&gt;.&lt;/span&gt;&lt;label for="sn-7680cc-3" class="margin-toggle sidenote-number"&gt;&lt;/label&gt;&lt;input type="checkbox" id="sn-7680cc-3" class="margin-toggle"/&gt;&lt;span class="sidenote citation"&gt;&lt;span class="bib-entry" data-cite="hoff2009"&gt;Peter D. Hoff. &lt;cite&gt;A First Course in Bayesian Statistical Methods&lt;/cite&gt;. Springer Texts in Statistics. Springer, New York, 2009. ISBN 978-0-387-92299-7. &lt;span class="smallcaps"&gt;doi:&lt;/span&gt; &lt;a href="https://doi.org/10.1007/978-0-387-92407-6"&gt;10.1007/978-0-387-92407-6&lt;/a&gt;&lt;/span&gt;&lt;/span&gt; When new data &lt;span class="katex tufte-math-euler"&gt;&lt;span class="katex-mathml"&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mi&gt;y&lt;/mi&gt;&lt;/mrow&gt;&lt;annotation encoding="application/x-tex"&gt;y&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;/span&gt; arrive, Bayes’ rule tells us how our state of uncertainty should update, turning prior beliefs into posterior beliefs.&lt;/p&gt;</description></item><item><title>Belief, Probability, and Exchangeability</title><link>https://massimo-nocentini.github.io/book/bayesian-statistical-methods/part-1/02-belief-probability-exchangeability/</link><dc:creator>Massimo Nocentini</dc:creator><guid>https://massimo-nocentini.github.io/book/bayesian-statistical-methods/part-1/02-belief-probability-exchangeability/</guid><description>&lt;p&gt;&lt;span class="newthought"&gt;Before computing posteriors&lt;/span&gt;, we must answer two foundational questions: &lt;em&gt;Why&lt;/em&gt; should degrees of rational belief obey the mathematical axioms of probability? And &lt;em&gt;why&lt;/em&gt; do Bayesian statisticians write down conditionally i.i.d. sampling models &lt;span class="katex tufte-math-euler"&gt;&lt;span class="katex-mathml"&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;msub&gt;&lt;mi&gt;Y&lt;/mi&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/msub&gt;&lt;mo separator="true"&gt;,&lt;/mo&gt;&lt;mo&gt;…&lt;/mo&gt;&lt;mo separator="true"&gt;,&lt;/mo&gt;&lt;msub&gt;&lt;mi&gt;Y&lt;/mi&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;/msub&gt;&lt;mo&gt;∣&lt;/mo&gt;&lt;mi&gt;θ&lt;/mi&gt;&lt;mo&gt;&lt;mover&gt;&lt;mo&gt;&lt;mo&gt;∼&lt;/mo&gt;&lt;/mo&gt;&lt;mtext&gt;i.i.d.&lt;/mtext&gt;&lt;/mover&gt;&lt;/mo&gt;&lt;mi&gt;p&lt;/mi&gt;&lt;mo stretchy="false"&gt;(&lt;/mo&gt;&lt;mi&gt;y&lt;/mi&gt;&lt;mo&gt;∣&lt;/mo&gt;&lt;mi&gt;θ&lt;/mi&gt;&lt;mo stretchy="false"&gt;)&lt;/mo&gt;&lt;/mrow&gt;&lt;annotation encoding="application/x-tex"&gt;Y_1, \dots, Y_n \mid \theta \stackrel{\text{i.i.d.}}{\sim} p(y \mid \theta)&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;/span&gt; with a prior &lt;span class="tufte-nobr"&gt;&lt;span class="katex tufte-math-euler"&gt;&lt;span class="katex-mathml"&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mi&gt;p&lt;/mi&gt;&lt;mo stretchy="false"&gt;(&lt;/mo&gt;&lt;mi&gt;θ&lt;/mi&gt;&lt;mo stretchy="false"&gt;)&lt;/mo&gt;&lt;/mrow&gt;&lt;annotation encoding="application/x-tex"&gt;p(\theta)&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;/span&gt;?&lt;/span&gt; Chapter 2 of Hoff&lt;label for="sn-5070f2-2" class="margin-toggle sidenote-number"&gt;&lt;/label&gt;&lt;input type="checkbox" id="sn-5070f2-2" class="margin-toggle"/&gt;&lt;span class="sidenote citation"&gt;&lt;span class="bib-entry" data-cite="hoff2009"&gt;Peter D. Hoff. &lt;cite&gt;A First Course in Bayesian Statistical Methods&lt;/cite&gt;. Springer Texts in Statistics. Springer, New York, 2009. ISBN 978-0-387-92299-7. &lt;span class="smallcaps"&gt;doi:&lt;/span&gt; &lt;a href="https://doi.org/10.1007/978-0-387-92407-6"&gt;10.1007/978-0-387-92407-6&lt;/a&gt;&lt;/span&gt;&lt;/span&gt; answers the first through belief axioms and the second through Bruno de Finetti’s representation theorem.&lt;/p&gt;</description></item><item><title>One-Parameter Models</title><link>https://massimo-nocentini.github.io/book/bayesian-statistical-methods/part-1/03-one-parameter-models/</link><dc:creator>Massimo Nocentini</dc:creator><guid>https://massimo-nocentini.github.io/book/bayesian-statistical-methods/part-1/03-one-parameter-models/</guid><description>&lt;p&gt;&lt;span class="newthought"&gt;One-parameter models&lt;/span&gt; provide the cleanest laboratory for mastering the mechanics of Bayesian inference: sufficient statistics, conjugate updating by kernel recognition, posterior predictive distributions, credible intervals, and the unifying theory of exponential families.&lt;label for="sn-cb2379-2" class="margin-toggle sidenote-number"&gt;&lt;/label&gt;&lt;input type="checkbox" id="sn-cb2379-2" class="margin-toggle"/&gt;&lt;span class="sidenote citation"&gt;&lt;span class="bib-entry" data-cite="hoff2009"&gt;Peter D. Hoff. &lt;cite&gt;A First Course in Bayesian Statistical Methods&lt;/cite&gt;. Springer Texts in Statistics. Springer, New York, 2009. ISBN 978-0-387-92299-7. &lt;span class="smallcaps"&gt;doi:&lt;/span&gt; &lt;a href="https://doi.org/10.1007/978-0-387-92407-6"&gt;10.1007/978-0-387-92407-6&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;Let &lt;span class="tufte-nobr"&gt;&lt;span class="katex tufte-math-euler"&gt;&lt;span class="katex-mathml"&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;msub&gt;&lt;mi&gt;Y&lt;/mi&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/msub&gt;&lt;mo separator="true"&gt;,&lt;/mo&gt;&lt;mo&gt;…&lt;/mo&gt;&lt;mo separator="true"&gt;,&lt;/mo&gt;&lt;msub&gt;&lt;mi&gt;Y&lt;/mi&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;/msub&gt;&lt;mo&gt;∣&lt;/mo&gt;&lt;mi&gt;θ&lt;/mi&gt;&lt;mo&gt;&lt;mover&gt;&lt;mo&gt;&lt;mo&gt;∼&lt;/mo&gt;&lt;/mo&gt;&lt;mtext&gt;i.i.d.&lt;/mtext&gt;&lt;/mover&gt;&lt;/mo&gt;&lt;mi mathvariant="normal"&gt;binary&lt;/mi&gt;&lt;mo&gt;⁡&lt;/mo&gt;&lt;mo stretchy="false"&gt;(&lt;/mo&gt;&lt;mi&gt;θ&lt;/mi&gt;&lt;mo stretchy="false"&gt;)&lt;/mo&gt;&lt;/mrow&gt;&lt;annotation encoding="application/x-tex"&gt;Y_1, \dots, Y_n \mid \theta \stackrel{\text{i.i.d.}}{\sim} \operatorname{binary}(\theta)&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;/span&gt;,&lt;/span&gt; where &lt;span class="katex tufte-math-euler"&gt;&lt;span class="katex-mathml"&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mi&gt;θ&lt;/mi&gt;&lt;mo&gt;∈&lt;/mo&gt;&lt;mo stretchy="false"&gt;[&lt;/mo&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;mo separator="true"&gt;,&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo stretchy="false"&gt;]&lt;/mo&gt;&lt;/mrow&gt;&lt;annotation encoding="application/x-tex"&gt;\theta \in [0, 1]&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;/span&gt; is a population proportion (for instance, the fraction of women aged 65+ in the 1998 GSS reporting general happiness: &lt;span class="tufte-nobr"&gt;&lt;span class="katex tufte-math-euler"&gt;&lt;span class="katex-mathml"&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;129&lt;/mn&gt;&lt;/mrow&gt;&lt;annotation encoding="application/x-tex"&gt;n = 129&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;/span&gt;,&lt;/span&gt; &lt;span class="tufte-nobr"&gt;&lt;span class="katex tufte-math-euler"&gt;&lt;span class="katex-mathml"&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mo&gt;∑&lt;/mo&gt;&lt;msub&gt;&lt;mi&gt;y&lt;/mi&gt;&lt;mi&gt;i&lt;/mi&gt;&lt;/msub&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;118&lt;/mn&gt;&lt;/mrow&gt;&lt;annotation encoding="application/x-tex"&gt;\sum y_i = 118&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;/span&gt;).&lt;/span&gt; The joint sampling probability is&lt;/p&gt;</description></item><item><title>Monte Carlo Approximation</title><link>https://massimo-nocentini.github.io/book/bayesian-statistical-methods/part-1/04-monte-carlo/</link><dc:creator>Massimo Nocentini</dc:creator><guid>https://massimo-nocentini.github.io/book/bayesian-statistical-methods/part-1/04-monte-carlo/</guid><description>&lt;p&gt;&lt;span class="newthought"&gt;Closed-form formulas&lt;/span&gt; only carry us so far. Even with conjugate posteriors, computing &lt;span class="tufte-nobr"&gt;&lt;span class="katex tufte-math-euler"&gt;&lt;span class="katex-mathml"&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mi&gt;Pr&lt;/mi&gt;&lt;mo&gt;⁡&lt;/mo&gt;&lt;mo stretchy="false"&gt;(&lt;/mo&gt;&lt;msub&gt;&lt;mi&gt;θ&lt;/mi&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/msub&gt;&lt;mo&gt;&amp;gt;&lt;/mo&gt;&lt;msub&gt;&lt;mi&gt;θ&lt;/mi&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/msub&gt;&lt;mo&gt;∣&lt;/mo&gt;&lt;mi&gt;y&lt;/mi&gt;&lt;mo stretchy="false"&gt;)&lt;/mo&gt;&lt;/mrow&gt;&lt;annotation encoding="application/x-tex"&gt;\Pr(\theta_1 &amp;gt; \theta_2 \mid y)&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;/span&gt;,&lt;/span&gt; finding the posterior distribution of a nonlinear transformation such as the log-odds &lt;span class="katex tufte-math-euler"&gt;&lt;span class="katex-mathml"&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mi&gt;γ&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;log&lt;/mi&gt;&lt;mo rspace="0.1667em"&gt;⁡&lt;/mo&gt;&lt;mfrac&gt;&lt;mi&gt;θ&lt;/mi&gt;&lt;mrow&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;−&lt;/mo&gt;&lt;mi&gt;θ&lt;/mi&gt;&lt;/mrow&gt;&lt;/mfrac&gt;&lt;/mrow&gt;&lt;annotation encoding="application/x-tex"&gt;\gamma = \log\frac{\theta}{1-\theta}&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;/span&gt; or ratio &lt;span class="tufte-nobr"&gt;&lt;span class="katex tufte-math-euler"&gt;&lt;span class="katex-mathml"&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;msub&gt;&lt;mi&gt;θ&lt;/mi&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/msub&gt;&lt;mi mathvariant="normal"&gt;/&lt;/mi&gt;&lt;msub&gt;&lt;mi&gt;θ&lt;/mi&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/msub&gt;&lt;/mrow&gt;&lt;annotation encoding="application/x-tex"&gt;\theta_1 / \theta_2&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;/span&gt;,&lt;/span&gt; or evaluating a goodness-of-fit test statistic quickly leads to awkward multidimensional integrals or doubly infinite sums. &lt;strong&gt;Monte Carlo approximation&lt;/strong&gt;&lt;span class="index-anchor" data-index="Monte Carlo approximation"&gt;&lt;/span&gt; replaces analytical integration with a single universal recipe: draw random samples from the posterior and compute empirical averages.&lt;label for="sn-8b786b-2" class="margin-toggle sidenote-number"&gt;&lt;/label&gt;&lt;input type="checkbox" id="sn-8b786b-2" class="margin-toggle"/&gt;&lt;span class="sidenote citation"&gt;&lt;span class="bib-entry" data-cite="hoff2009"&gt;Peter D. Hoff. &lt;cite&gt;A First Course in Bayesian Statistical Methods&lt;/cite&gt;. Springer Texts in Statistics. Springer, New York, 2009. ISBN 978-0-387-92299-7. &lt;span class="smallcaps"&gt;doi:&lt;/span&gt; &lt;a href="https://doi.org/10.1007/978-0-387-92407-6"&gt;10.1007/978-0-387-92407-6&lt;/a&gt;&lt;/span&gt;; and &lt;span class="bib-entry" data-cite="robert2004"&gt;Christian P. Robert and George Casella. &lt;cite&gt;Monte Carlo Statistical Methods&lt;/cite&gt;. Springer, New York, second edition, 2004&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description></item></channel></rss>