<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Explainer on Nothing So Practical</title><link>https://nothing-so-practical.com/categories/explainer/</link><description>Recent content in Explainer on Nothing So Practical</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Sun, 19 Apr 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://nothing-so-practical.com/categories/explainer/index.xml" rel="self" type="application/rss+xml"/><item><title>do-calculus for Humans</title><link>https://nothing-so-practical.com/post/do-the-do-calc/</link><pubDate>Sun, 19 Apr 2026 00:00:00 +0000</pubDate><guid>https://nothing-so-practical.com/post/do-the-do-calc/</guid><description>&lt;h2 id="do-calculus-for-humans"&gt;do-Calculus for Humans&lt;/h2&gt;
&lt;p&gt;Pearl&amp;rsquo;s structural approach to causal inference is built around DAGs (directed acyclic graphs). In many cases, applying this framework boils down to measuring and adjusting for confounding variables. A key insight is that when working with purely observational data, controlling for all confounders can be equivalent to assigning the treatment level, as we would in an experiment. This claim rests on a curious concept: the do-operator.&lt;/p&gt;
&lt;p&gt;At first glance, &lt;span class="katex"&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;mtext&gt;do()&lt;/mtext&gt;&lt;/mrow&gt;&lt;annotation encoding="application/x-tex"&gt;\text{do()}&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;span class="katex-html" aria-hidden="true"&gt;&lt;span class="base"&gt;&lt;span class="strut" style="height:1em;vertical-align:-0.25em;"&gt;&lt;/span&gt;&lt;span class="mord text"&gt;&lt;span class="mord"&gt;do()&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; looks like an esoteric way of saying control for confounds. However, that interpretation only holds when key confounders are measured. When we can&amp;rsquo;t measure all confounds, the role of the do-operator becomes clear. In such cases, the rules of do-calculus provide a system for determining whether a causal effect is identifiable from data given a set of assumptions about the data generating process. If identification is possible, do-calculus produces a formula for estimating the treatment effect. It can also tell you when the data are not capable of recovering the target estimand.&lt;/p&gt;</description></item></channel></rss>