The central questions of economics are causal: whether a rise in the minimum wage reduces employment, whether a training program raises earnings, whether monetary tightening lowers inflation. The central questions of medicine are the same kind: whether a drug lowers the risk of an event, whether a screening program saves lives, whether a treatment should be offered to a given group. Each needs a model of how the world responds to an action, which a correlation does not supply. A causal decision maximizes expected utility under an intervention, and the posterior does the averaging, so the Bayes action depends on the whole posterior and not only on the average effect.
Causal decision theory supplies the formal apparatus. In its philosophical form a rational agent chooses the act that causes the best outcome in expectation, weighting consequences by causal rather than evidential probabilities. In its statistical form, due principally to Dawid, it recasts causal inference as a decision problem: when, and how, data gathered under one regime recover the distribution of outcomes under the regime we would create by acting. The Bayesian position of Chapter 5 and Chapter 1 (model the science, compute decisions as posterior expected utilities under interventions) is the statistical form of a principle economists already use, often implicitly.
7.1 Evidential versus causal expected utility
For an act \(A\), a state \(\omega\) and utility \(\mathcal{U}(A,\omega)\), evidential expected utility is
The two differ whenever the choice is correlated with the state for noncausal reasons. In Newcomb’s problem, the canonical illustration, a reliable predictor has filled an opaque box with a fortune only if it predicted that the agent would take that box alone. Taking only the opaque box is good news about its contents, so evidential reasoning recommends it. The contents are already fixed, so causal reasoning recommends taking both boxes, the opaque one and a transparent one that holds a smaller sure sum. Gibbard and Harper (1978), Lewis (1981) and Joyce (1999) develop the philosophical theory.
Gibbard and Harper (1978), building on Stalnaker’s conditional logic, formalize the causal probability with counterfactual conditionals: \(P(A \mathbin{\Box\!\!\to} \omega)\) is the probability that \(\omega\) obtains in the closest world in which \(A\) is true, the reading behind potential outcomes. Dawid (2002) and Dawid (2021) avoid counterfactuals with a regime indicator \(F_W\), equal to \(\emptyset\) in the observational regime and to \(w\) when \(W\) is set to \(w\), and define
\[
P(Y = y \mid \mathrm{do}(W = w)) = P(Y = y \mid F_W = w),
\]
so that whether the right side can be recovered from observational data becomes a conditional independence question on an augmented graph. Smith (2010) embeds the same structure in influence diagrams, whose chance, decision and utility nodes make the causal architecture of a decision explicit and supply an algorithm for the optimal policy.
When the agent is uncertain about the causal model, with parameter \(\theta\) and posterior \(\pi(\theta\mid D)\), the causal expected utility is
The posterior is learned from data gathered under one regime. The predictive \(p(y\mid\theta,\mathrm{do}(a))\) states what happens under another. Every identification condition in this book, ignorable assignment of Chapter 5 among them, is a condition under which the first can inform the second.
7.2 Policy evaluation
With potential outcomes \(Y_i(1)\) and \(Y_i(0)\) and treatment \(W_i\), the average treatment effect and the effect on the treated are \(\tau = \mathbb{E}[Y(1)-Y(0)]\) and \(\tau_{\mathrm{ATT}} = \mathbb{E}[Y(1)-Y(0)\mid W=1]\). Random assignment identifies them by a difference in means. In observational data, units select into treatment on characteristics that also affect outcomes, which is the selection problem of Chapter 5.
Each of the three quasi experimental designs of empirical economics is a statement about the do operator. An instrument, a variable that is as good as randomly assigned, shifts the probability of treatment, and affects the outcome only through treatment, identifies under monotonicity the local average treatment effect, what outcomes would be for compliers if we intervened on their treatment. A regression discontinuity identifies the effect at a threshold under continuity of the potential outcome means in the running variable, a causal assumption that holds, for example, when units cannot precisely manipulate that variable (Lee 2008). Difference in differences identifies the effect on the treated under parallel trends, an assumption about the counterfactual path of the treated group.
7.3 Targeting and cost effectiveness
Heterogeneous effects make the conditional effect \(\tau(x)\) directly relevant to policy (Chapter 6). With a budget for treating at most a fraction \(\kappa\) of the population, the optimal rule when \(\tau\) is known treats the units with the largest positive effects,
with \(q_{1-\kappa}\) the \(1-\kappa\) quantile of \(\tau(X)\), provided \(\tau(X)\) has no atom at the threshold. With an atom at a positive threshold, the units there are treated at random, with the probability that uses up the budget. When \(\tau\) is uncertain, the Bayes rule under a linear utility replaces \(\tau(x)\) by its posterior mean, in the threshold as well. Athey and Wager (2021) study the frequentist counterpart, policy learning with regret guarantees.
Health economics allocates resources with the incremental cost effectiveness ratio
where \(C\) is cost and \(E\) a health outcome such as quality adjusted life years (Chapter 2). Both are causal contrasts. With willingness to pay \(\lambda\) per unit of health and a positive incremental effect, an intervention is adopted if the ICER is below \(\lambda\), that is, if the net monetary benefit \(\lambda\Delta E - \Delta C\) is positive. Because a ratio of uncertain quantities behaves badly, Bayesian health economics works with the posterior of net benefit and reports the probability that it is positive across values of \(\lambda\), the cost effectiveness acceptability curve.
The curve does not by itself choose the action. With \(\mathrm{NMB}=\lambda\Delta E-\Delta C\) at a fixed \(\lambda\), adoption is the Bayes action under a linear utility when \(\mathbb{E}[\mathrm{NMB}\mid D]>0\), and a program that is cost effective with posterior probability 0.99 can still have negative expected net benefit if the other 1% carries a large enough loss. Read at the decision maker’s \(\lambda\), the curve gives the posterior chance that the decision is wrong, \(1-\Pr(\mathrm{NMB}>0\mid D)\) after adoption and \(\Pr(\mathrm{NMB}>0\mid D)\) after rejection. The expected value of perfect information, \(\mathbb{E}[\max(0,\mathrm{NMB})\mid D]-\max(0,\mathbb{E}[\mathrm{NMB}\mid D])\), bounds what further research could be worth , see 11.
For a numerical case, let the posterior of the health gain be \(\Delta E\sim N(0.2, 0.1^2)\) QALYs and the posterior of the extra cost be \(\Delta C\sim N(5000, 2000^2)\) dollars, independent. The ratio of posterior means is 25,000 dollars per QALY. Net benefit is normal at every \(\lambda\), so the curve and the expected value of perfect information have closed forms.
Show the R code
lam <-seq(5000, 80000, by =500)m <-0.2* lam -5000; s <-sqrt(0.01* lam^2+2000^2)d <-data.frame(lam, p =pnorm(m / s))d$evpi <- s *dnorm(m / s) + m *pnorm(m / s) -pmax(0, m)ggplot(d, aes(lam, p)) +geom_line() +geom_vline(xintercept =25000, linetype =3) +labs(x ="Willingness to pay per QALY (dollars)", y ="P(net benefit > 0)") +theme_minimal()d[d$lam %in%c(15000, 25000, 40000), ] |>round(3)
Figure 7.1: Cost effectiveness acceptability curve for the numerical case: posterior probability that net monetary benefit is positive against willingness to pay per QALY. The dotted line is the ratio of posterior means.
At the break even value of 25,000 dollars the probability is one half and the decision is a coin toss under the posterior, and over the range plotted the expected value of perfect information is largest there, about 1,280 dollars per patient, the most it can be worth to learn the truth before choosing. At 40,000 dollars adoption is the Bayes action with probability 0.75 of being right, and the information is worth about 670 dollars. At 15,000 dollars rejection is the Bayes action, it is right with probability 0.79, and the information is worth about 300 dollars.
7.4 Risk sensitive decisions from a posterior
Earlier chapters argued that the posterior is the object of inference and the average treatment effect one functional of it, chosen by the user. A decision maker needs a different functional. A ministry deciding whether to fund school milk, a regulator deciding whether to challenge a merger, a physician deciding whether to treat: each needs the best action given what is known, and often how badly that action could turn out.
The posterior draws may come from any sampler, a Gibbs chain included, or from generative Bayesian computation (GBC) (N. G. Polson, Ruggeri, and Sokolov 2024; Nicholas G. Polson and Sokolov 2026), which trains a neural network on prior simulations and then returns posterior draws and quantiles from a summary of the data. Utilities under \(\mathrm{do}(a)\) and their quantile functions follow from those draws, or are learned by a network trained on simulated utilities. The choice among means, quantiles, risk adjusted values and inequality measures is where the decision maker’s attitude to risk enters. The expected utility formulation is developed in N. G. Polson, Ruggeri, and Sokolov (2024), and the causal use follows Nareklishvili, Polson, and Sokolov (2023).
From posterior to decision
Let \(\theta\) be the parameter of a structural causal model for covariates \(X\), treatment \(W\) and outcome \(Y\),
\[
X = f_X(U_X;\theta),\qquad W = f_W(X, U_W;\theta),\qquad Y = f_Y(X, W, U_Y;\theta),
\]
with prior \(\pi(\theta)\). The intervention \(\mathrm{do}(W=w)\) replaces \(f_W\) by the constant \(w\), and the potential outcome is \(Y(w) = f_Y(X, w, U_Y;\theta)\). Under ignorability given \(X\) (Chapter 5), overlap (every covariate value has a positive probability of each treatment, the positivity condition of Chapter 6) and consistency (the observed outcome is the potential outcome of the treatment received), the data identify the parts of \(\theta\) that govern \(Y(w)\) given \(X\), and the posterior \(\pi_n = \pi(\theta\mid D_n)\) learned from observational data predicts outcomes under intervention.
An action \(a\in\mathcal{A}\) (a treatment, a targeting rule, a regulatory decision) has utility \(\mathcal{U}(a,\theta,Y(a))\). The Bayes action maximizes posterior expected utility,
Reporting the average treatment effect uses \(\mathcal{U}(a,\theta,y)=-\{a-\tau(\theta)\}^2\), whose Bayes action is the posterior mean \(\mathbb{E}[\tau(\theta)\mid D_n]\). Targeting, risk aversion and regulatory thresholds require other functionals of the same posterior.
Write \(Z(a) = \mathcal{U}(a,\theta,Y(a))\) for the utility of action \(a\), random through both \(\theta\sim\pi_n\) and \(Y(a)\), and \(F_Z^{-1}\) for its quantile function. Then
because \(F_Z^{-1}(U)\) has the law of \(Z(a)\) when \(U\) is uniform on \((0,1)\).
Given \(R\) posterior draws \(\theta^{(r)}\), simulate \(Y^{(r)}(a)\) under \(\mathrm{do}(a)\) given \(\theta^{(r)}\) for each action and form \(Z^{(r)}(a)=\mathcal{U}(a,\theta^{(r)},Y^{(r)}(a))\). Let \(F_Z^{-1}\) be their empirical quantile function, or a network’s quantile function learned from simulated utilities (N. G. Polson, Ruggeri, and Sokolov 2024). The decision phase has three steps.
For each \(a\), estimate \(\mathrm{EU}(a)\) by averaging the \(Z^{(r)}(a)\), or by integrating \(F_Z^{-1}\) as in Equation 7.4.
For a distortion \(\beta\) (defined below), compute \(\hat V_\beta(a) = K^{-1}\sum_{k=1}^K F_Z^{-1}(\beta(\tilde u_k))\) with \(K\) levels \(\tilde u_k\) drawn uniformly on \((0,1)\).
Return \(a^\ast = \arg\max_a \hat V_\beta(a)\).
Risk sensitive criteria
Risk sensitive criteria reweight the quantile level: expected utility is the area under the quantile function, and a risk attitude is a change in the measure against which that area is taken.
Expected utility theory (Neumann and Morgenstern 1944) ranks actions by \(\mathbb{E}[v(Z)]\), with concave \(v\) for risk aversion. It rests on the independence axiom, which the Allais paradox and the experiments behind prospect theory (Kahneman and Tversky 1979; Tversky and Kahneman 1992) show is systematically violated. Yaari’s dual theory (Yaari 1987) replaces independence with an axiom on mixtures of quantile functions and ranks actions by a distorted expectation: utility enters linearly and the probabilities are transformed. In the computational form of Dabney et al. (2018), a distortion is a continuous increasing map \(\beta:[0,1]\to[0,1]\) applied to the sampled quantile level,
with \(U\) uniform on \((0,1)\) and \(G_\beta(u) = \Pr\{\beta(U)\le u\}\). Where \(\beta\) maps onto \([0,1]\), \(G_\beta = \beta^{-1}\); for CVaR below, \(G_\beta(u) = \min(u/\eta, 1)\). The identity \(\beta(u)=u\) gives the mean. A distortion with \(\beta(u)\le u\) samples lower quantiles more often and is risk averse. One with \(\beta(u)\ge u\) is risk seeking. Yaari applies a weighting function \(f\) to decumulative probabilities, \(V_\beta(a) = \int z\,d\{-f(\Pr(Z(a)>z))\}\), and the two conventions are related by \(f(p) = 1 - G_\beta(1-p)\).
Table 7.1: Distortions in the sampling convention \(V_\beta(a) = \mathbb{E}\,F_Z^{-1}(\beta(U))\). CPW is the probability weighting function of Tversky and Kahneman (1992), with \(\eta = 0.71\) the estimate of Wu and Gonzalez (1996). Used as a sampling distortion, as by Dabney et al. (2018), its effect on the tails is the reverse of its effect as a weight on probabilities.
Name
\(\beta(u)\)
Behavior
Risk neutral
\(u\)
the mean
CVaR
\(\eta u\), \(\eta\in(0,1]\)
mean of the worst fraction \(\eta\) of outcomes
Wang
\(\Phi(\Phi^{-1}(u)+\eta)\)
risk averse for \(\eta<0\), seeking for \(\eta>0\)
Power, averse
\(1-(1-u)^{1/(1+\eta)}\), \(\eta>0\)
moves sampled levels down
Power, seeking
\(u^{1/(1+\eta)}\), \(\eta>0\)
moves sampled levels up
CPW
\(u^\eta/\{u^\eta+(1-u)^\eta\}^{1/\eta}\)
samples the middle; underweights both tails
The conditional value at risk (CVaR) at level \(\eta\) samples \(u\) uniformly on \([0,\eta]\), so \(V_\beta(a) = \eta^{-1}\int_0^\eta F_Z^{-1}(u)\,du\), the expected utility in the worst fraction \(\eta\) of outcomes. It suits a regulator concerned with tail harm. Because \(Z(a)\) is random through both \(\theta\) and \(Y(a)\), its worst outcomes mix bad luck about \(\theta\) with the recipients who fare worst. A planner protecting the worst off recipients computes the same functional from the law of utility across recipients at each posterior draw, as for the Gini coefficient below. The Wang distortion (Wang 2000) is a parallel shift on the normal probability scale with an actuarial pedigree. Applied to probabilities, the CPW function reproduces the empirical probability weighting of human subjects. Applied to sampled quantile levels it does the opposite: its slope is infinite at 0 and 1, so the sampled level rarely falls in either tail, and the criterion discounts extreme outcomes in both directions.
The key computational observation, made by Dabney et al. (2018) for the implicit quantile network of distributional reinforcement learning, is that Equation 7.5 requires only the quantile function. Changing the criterion changes the law from which \(u\) is sampled, not the network or the draws it supplies. Any distortion available to the implicit quantile network is therefore available to the posterior utility draws at no training cost. The causal content is in where the draws come from. A reinforcement learner observes rewards under the policy it follows, so its return distribution is identified by construction. A causal analyst observes one potential outcome per unit under a possibly confounded assignment, and the utility distribution under \(\mathrm{do}(a)\) is available only through an identified model. The utility draws come from \(\mathrm{do}(a)\) simulations of that model, so \(V_\beta(a)\) is a risk measure of the interventional distribution.
An illustration
Compare two programs with simulated utilities, with \(\theta\) held fixed so that the spread is across recipients. Program A delivers a modest, reliable benefit: its utility is normal with mean 1.00 and standard deviation 0.35. Program B delivers more typically but harms about 12% of recipients: its utility is normal with mean 1.35 and standard deviation 0.35 for 88% of recipients and normal with mean \(-0.9\) and standard deviation 0.5 for the other 12%, so its mean is 1.08. A risk neutral planner prefers B. Table 7.2 gives the values of five criteria, computed from the exact quantile functions of the two utilities.
Table 7.2: Value of each criterion for programs A and B. Made by code/05a-risk.R.
Criterion
Program A
Program B
Risk neutral (mean)
1.00
1.08
CVaR, level 0.25
0.56
\(-0.01\)
Wang, \(\eta=-0.75\)
0.74
0.41
Power, averse, \(\eta=1\)
0.80
0.69
CPW, \(\eta=0.71\)
0.97
1.15
All three risk averse criteria reverse the ranking, though not every risk averse criterion would. As Figure 7.2 shows, CVaR prefers A only at levels below about 0.75, and at higher levels it prefers B again. The CPW criterion, applied as a sampling distortion, prefers B (0.97 against 1.15): it samples the bottom 12% of outcomes only about 6% of the time, and the more so the further into the tail, so B’s harm is discounted rather than feared. The ranking depends on attitude to the tails, which no average effect expresses.
Figure 7.2: CVaR of programs A and B against the CVaR level. The curves cross at a level of 0.75 (dotted line). Made by code/05a-risk.R.
For a nonnegative utility with positive mean, the quantile function also gives the Lorenz curve and Gini coefficient of the benefit,
The bottom fraction \(p\) of outcomes holds the fraction \(L_a(p)\) of total benefit. Computed from \(F_Z^{-1}\), these mix uncertainty about \(\theta\) with differences between recipients: if every recipient gets the same benefit given \(\theta\) and \(\theta\) is uncertain, \(G(a)\) is positive although no recipient is favored. Computed at each posterior draw from the quantile function of utility across recipients, the Lorenz curve and the Gini coefficient have posterior distributions, and a Gini coefficient that is large with high posterior probability means the benefit is concentrated in few recipients. A planner can trade expected benefit against that coefficient along the frontier the posterior supplies. When utilities can be negative, as for program B, the Lorenz curve loses its reading as shares of benefit (it can dip below zero, and the Gini coefficient can exceed one), and the conditional value at risk, computed the same way, is the measure of the lower tail.
7.5 Asymptotics of the policy
Let \(\mathcal{D}\) be a class of policies, \(V_\theta(d) = \mathbb{E}_\theta[\mathcal{U}(d,\theta,Y(d))]\) the value of \(d\) under parameter \(\theta\), \(\theta_0\) the truth, \(d_0^\ast = \arg\max_{\mathcal{D}} V_{\theta_0}(d)\) the oracle policy and \(\hat d_n = \arg\max_{\mathcal{D}} \int V_\theta(d)\,\pi_n(d\theta)\) the Bayes policy.
Proposition 7.1 (Regret of the Bayes policy) Suppose that \(\sup_{d\in\mathcal{D}}\lvert V_\theta(d) - V_{\theta_0}(d)\rvert \le L\,\lVert\theta-\theta_0\rVert\) for all \(\theta\), and that the posterior satisfies \(\int \lVert\theta-\theta_0\rVert\,\pi_n(d\theta) \le \varepsilon_n\). Then the regret satisfies \[
V_{\theta_0}(d_0^\ast) - V_{\theta_0}(\hat d_n) \le 2L\varepsilon_n .
\] If moreover \(V_{\theta_0}(d_0^\ast) - V_{\theta_0}(d) \ge c\lVert d - d_0^\ast\rVert^2\) for all \(d\in\mathcal{D}\), then \(\lVert\hat d_n - d_0^\ast\rVert^2 \le 2L\varepsilon_n/c\).
Proof. Write \(\bar V(d) = \int V_\theta(d)\,\pi_n(d\theta)\). The Lipschitz condition gives \(\sup_d\lvert\bar V(d)-V_{\theta_0}(d)\rvert\le L\varepsilon_n\). Since \(\hat d_n\) maximizes \(\bar V\), \[
\begin{aligned}
V_{\theta_0}(d_0^\ast)-V_{\theta_0}(\hat d_n)
&\le \bar V(d_0^\ast)-\bar V(\hat d_n)+2L\varepsilon_n\\
&\le 2L\varepsilon_n.
\end{aligned}
\] The second claim follows from the margin condition.
In a regular parametric model the posterior mean of \(\lVert\theta-\theta_0\rVert\) is \(O_P(n^{-1/2})\) when the tails of the posterior are controlled (contraction at that rate does not give it alone, since a vanishing posterior mass far from \(\theta_0\) can keep the mean large), so the regret is \(O_P(n^{-1/2})\), the rate of the policy learning bounds of Athey and Wager (2021) for finite complexity classes.
A plug in rule can do better. For incremental value \(V_\theta(d)=\mathbb{E}[d(X)\tau_\theta(X)]\) under a fixed covariate law, with every measurable rule allowed and no budget, the oracle is \(d_0^\ast(x)=\mathbf{1}\{\tau(x)>0\}\), where \(\tau=\tau_{\theta_0}\). If \(\bar\tau_n(x)=\mathbb{E}[\tau_\theta(x)\mid D_n]\) satisfies \(\sup_x\lvert\bar\tau_n(x)-\tau(x)\rvert\le\delta_n\) and \(\tau(X)\) has a bounded density near zero, then \(\hat d_n(x)=\mathbf{1}\{\bar\tau_n(x)>0\}\) disagrees with the oracle only where \(\lvert\tau(X)\rvert\le\delta_n\), and loses \(\lvert\tau(X)\rvert\) there, so
When \(\theta\) is infinite dimensional the Lipschitz condition can still hold in a suitable norm. For the incremental value \(V_\theta(d)=\int d(x)\tau_\theta(x)\,H(dx)\) over a covariate law \(H\), every policy with \(0\le d\le1\) satisfies \(\lvert V_\theta(d)-V_{\theta_0}(d)\rvert\le\lVert\tau_\theta-\tau_{\theta_0}\rVert_{L^1(H)}\), so \(L=1\) however rich the policy class. The rate then rests on how fast the posterior mean of that distance shrinks, which depends on the prior and the smoothness of the effect surface (Ghosal and Vaart 2017).
7.6 Worked examples
Conjugate models give closed forms against which a computed decision can be checked, and the same posterior supports different actions under different criteria.
Normal learning
Let \(Y_i\mid\theta\sim N(\theta,\sigma^2)\) with \(\sigma\) known, \(\theta\sim N(\mu_0,\sigma_0^2)\), and the action be a report \(a\) with utility \(-(a-\theta)^2\). The posterior is \(N(\mu_n,\sigma_n^2)\) with
The Bayes action is \(a^\ast=\mu_n\) with posterior expected loss \(\sigma_n^2 = O(n^{-1})\). The loss \((a^\ast-\theta)^2\) is \(\sigma_n^2\) times a chi squared variable on one degree of freedom, so its upper quantiles, which concern a risk averse reporter, come from the same draws as the mean. The example is trivial as inference and useful as a check. At the sufficient summary \(s=\bar Y\) the posterior quantile function is \(\mu_n(s)+\sigma_n\Phi^{-1}(u)\), a closed form against which an approximate computation can be tested. Check conjugate special cases before trusting the computation elsewhere. When none exists, use simulation based calibration, which repeatedly draws a parameter from the prior, simulates data from it, and checks that the rank of the drawn parameter among the posterior draws given those data is uniform.
The same reference computation can be made for a decision. Take a two arm trial with \(n\) patients per arm, independent uniform priors on the success rates \(p_0\) and \(p_1\), and \(K_w\) successes in arm \(w\). The posterior of \(\tau=p_1-p_0\) is the difference of independent \(\mathrm{Beta}(K_1+1,n-K_1+1)\) and \(\mathrm{Beta}(K_0+1,n-K_0+1)\) variables. The value of treating at CVaR level \(\eta\) and treatment cost \(c\) is \(\mathrm{CVaR}_\eta(\tau\mid D)-c\), against zero for not treating.
With 60 and 45 successes in 100 patients per arm, the posterior mean of the effect is 0.15. The worst quarter of the posterior averages 0.06, and the worst twentieth averages 0.003. A planner who pays 0.05 per patient treats under the mean and under the 0.25 level, and does not treat at the 0.05 level. The same data, the same posterior and the same model can give different actions, which is the reason to carry the whole posterior to the decision.
A stylized supplement trial
In the Lanarkshire milk experiment (Section 5.11), teachers’ discretion in assigning children to milk or control left the controls taller and heavier at the start. Consider a stylized version in which \(X_i\) measures how undernourished child \(i\) is at baseline, \(W_i\) indicates supplementation, and
with \(\psi_1>0\) representing teachers who favor needier children. Because assignment depends on \(X\), the raw contrast is confounded, while the conditional model identifies \(\tau(x) = (\mu_1-\mu_0) + (\alpha_1-\alpha_0)x\). From the posterior of this model one obtains the posterior of the average effect over any chosen population of children, the posterior of \(\tau(x)\), and the Bayes targeting rule \(\mathbf{1}\{\mathbb{E}[\tau(x)\mid D] > c\}\) for a cost \(c\) per child. If the posterior puts \(\alpha_1-\alpha_0>0\), so that benefit grows with undernourishment, the rule treats children above a threshold of need. Under CVaR the rule treats a child only when \(\mathrm{CVaR}_\eta(\tau(x)\mid D) > c\), which lowers the value of treating most where the posterior of the effect is widest.
Smoking and the probability of causation
Let \(W\) indicate heavy smoking and \(Y\) lung cancer. The probability of necessity, \(\mathrm{PN} = \Pr(Y(0)=0\mid W=1, Y=1)\), is the probability that a smoker’s cancer would not have occurred without smoking. It is not point identified. Under exogeneity of \(W\), Tian and Pearl (2000) give the sharp bounds
and without exogeneity they combine observational and experimental distributions. A posterior for the cell probabilities induces one for the bounds, and a prior on the unidentified coupling of \(Y(0)\) and \(Y(1)\) induces a posterior for \(\mathrm{PN}\) itself. Since exogeneity is exactly what Fisher disputed for smoking, arguing that smokers and nonsmokers may differ in genotype and that such differences could produce the association without smoking causing cancer (Fisher 1958), an honest analysis reports the bounds under exogeneity alongside a sensitivity analysis. A court asking whether smoking caused a particular plaintiff’s cancer needs this quantity, not the average effect.
The computation is direct. The summary is the two by two table of smoking and cancer counts. Each joint posterior draw of the cell probabilities and the potential outcome coupling gives both bounds from the cells and \(\mathrm{PN}\) from the cells and coupling, so all three posteriors come from the same draws. Under the court’s more probable than not standard and equal losses for the two wrong findings, the Bayes rule finds causation when the posterior mean \(\mathbb{E}[\mathrm{PN}\mid D]\) exceeds one half. The posterior probability that \(\mathrm{PN}\) exceeds one half answers a different question, about the population parameter, closer to the legal significance that courts have attached to a relative risk of two (Green, Freedman, and Gordis 2011) (under exogeneity and monotonicity \(\mathrm{PN}=1-1/\mathrm{RR}\), so \(\mathrm{PN}>1/2\) exactly when \(\mathrm{RR}>2\)). Both are reported under exogeneity, each with how far it moves as the sensitivity parameter is varied. A point estimate of the relative risk, however precise, does not answer the question put to the witness.
Targeting under a budget and portfolio choice
For the budget rule above, replacing posterior means by the CVaR at level 0.1 ranks units by expected benefit in the worst tenth of posterior outcomes, a criterion for a planner wary of harming a group. It is a separable criterion, the sum over treated units of each unit’s CVaR, and not the CVaR of total benefit, because CVaR is not additive. With three equal groups whose effects are \((0,4)\), \((4,0)\) and \((1,1)\) in two equally likely posterior states and a budget for two groups, ranking by CVaR treats the third group and one other, for a total benefit whose CVaR is 1, while treating the first two gives a certain total of 4. The CVaR of total benefit needs joint posterior draws of the effects across groups.
The mean ranking favors a group whose effect is large but uncertain because the group is small or poorly represented in the data. The CVaR favors one with a modest, well determined effect. Each rule is optimal for its own criterion. Both rankings, their expected benefits and their Lorenz curves come from one set of posterior draws, so the planner can see the cost in expected benefit of the protection the CVaR rule buys.
The same machinery serves portfolio choice. Let \(\theta = (\mu,\Sigma)\) be the mean and covariance of log returns \(r\) on \(K\) assets, with gross returns \(R = \exp(r)\) taken coordinatewise, and let an investor choose long only weights \(w\) (\(w_k\ge0\) and \(\sum_k w_k=1\), so that \(w^\top R>0\)) to maximize the expected power utility \(\{(w^\top R)^\alpha-1\}/\alpha\) of gross portfolio return, with \(\alpha<1\) and \(\alpha\ne0\). Its limit as \(\alpha\to0\) is logarithmic utility, the Kelly criterion, and \(\alpha<0\), a relative risk aversion \(1-\alpha\) above one, gives a more cautious allocation than Kelly. Simulating returns from posterior draws of \(\theta\) and the model gives the posterior predictive law of utility for each \(w\) on a grid. The Wang distortion with \(\eta<0\) yields a portfolio that hedges left tail returns while keeping upside, and the conditional value at risk a portfolio judged by the mean of its worst outcomes. Over a continuous set of weights, the representation \(\mathrm{CVaR}_\eta(Z)=\max_t\{t-\eta^{-1}\mathbb{E}[(t-Z)_+]\}\) of Rockafellar and Uryasev (2000), computed from posterior predictive draws of \(R\), makes the CVaR choice one concave maximization over \(w\) and \(t\), since utility is concave in \(w\).
7.7 Dynamic treatment regimes
With repeated decisions, each period’s transitions are causal: \(p(X_{t+1}, Y_t\mid X_t, \mathrm{do}(W_t=a);\theta)\), with reward \(\mathcal{U}(a,\theta,Y_t(a))\) and discount \(\gamma\in[0,1)\). The g formula (Chapter 6) identifies the transitions under sequential ignorability, the assumption that at each decision the treatment is independent of future potential outcomes given the history so far, together with positivity and consistency. The parameter \(\theta\) is fixed but unknown, and that persistence matters. Given \(\theta\), the problem is a Markov decision process with value \(V_\theta^d\) for policy \(d\). The Bayes value of a policy that does not learn further is \(\int V^d_\theta(s)\,\pi_n(d\theta)\), estimated by simulating whole trajectories, each with one posterior draw of \(\theta\) held fixed, and averaging over draws.
A policy that also learns from the outcomes it generates solves a Bayes adaptive decision process whose state pairs the current covariates with the current posterior, \(s_1=(X_1,\pi_n)\) in the first period. With \(H_2=(s_1,w_1,Y_1,X_2)\) the history after the first action and \(\mathcal{U}_t\) the utility in period \(t\), a two period problem gives
where \(h_2\) is a realized value of \(H_2\) and the expectation in \(Q_2\) is over \(\theta\sim\pi(\theta\mid D_n,h_2)\), the posterior updated by the first period’s outcome. GBC suits this well when the training simulations include the first period’s outcome and the summary records it and the sample size, since updating on \(h_2\) is then one more evaluation with no new chain. A network trained for a fixed sample size returns the wrong posterior spread.
A common shortcut averages the transition law over the current posterior and solves one Markov decision process with the operator
a contraction in the supremum norm with modulus \(\gamma\) when rewards are bounded. Its fixed point is the value of the posterior mean process, as if \(\theta\) were redrawn every period. It ignores the persistence of \(\theta\) and the value of learning, and should be checked against trajectory simulation. Replacing expectations by distorted values at each stage gives risk sensitive dynamic policies, but distorted criteria are not in general time consistent, so stagewise and whole horizon versions can differ.
7.8 In practice
The target of an economic or clinical decision is the causal expected utility of Equation 7.2: the utility of an action averaged over the interventional predictive and over the posterior of the structural parameters. Every quantity in this chapter is a functional of that posterior. Whether the posterior of a given functional, such as the average effect, is efficient in the nonparametric model depends on the prior, for instance a propensity aware one (Ray and Vaart 2020), not on computation, and efficiency has to be checked separately for each functional a decision uses.
Before fitting, the analyst states the regime and which parameters are invariant to the policy change. She fits a posterior over those parameters and simulates the counterfactual policy forward. She treats continuity at the threshold, parallel trends and exclusion as modeling assumptions with a sensitivity analysis rather than as labels. And she reports the probability that the decision is right, the acceptability curve across \(\lambda\) and the posterior of \(\tau(x)\) over the population to be treated, not an interval for a ratio of means.
Double machine learning (DML, Chapter 5) estimates one reduced form contrast under the historical regime, and estimates it well: for an average effect in a large cross section with no policy change in view, its interval is adequate and cheaper than a structural posterior. A merger, a change in a Taylor rule coefficient or a carbon tax is a regime the data have never visited, and only a model of the invariant parameters predicts it. A risk neutral targeting rule needs only the sign of \(\tau(x)\) against a threshold, and policy learning with cross fitted doubly robust scores (Athey and Wager 2021), or the R learner of Nie and Wager (2021) for \(\tau(x)\) itself, delivers it without a posterior. The posterior adds the lower tail of \(\tau(x)\) for a planner who will not risk harming a group, the joint posterior of \(\Delta E\) and \(\Delta C\) for the cost effectiveness decision, the distorted values of Section 7.4.2, which can reverse the ranking the mean gives, and the probability that each decision is right. None of these is the contrast that a DML score estimates.
With homogeneous effects, a fixed regime and squared error loss, DML and the posterior mean agree to first order in large samples if the posterior satisfies a semiparametric Bernstein von Mises theorem at the efficient variance in DML’s model (Ray and Vaart 2020) and its rescaled draws \(\sqrt n(\tau-\hat\tau_n)\), centered at the efficient estimator \(\hat\tau_n\), are uniformly integrable in probability. Total variation convergence alone does not control the posterior mean. The prior can separate them in small samples. When a decision turns on a probability, as the court’s question about the probability of necessity does, the posterior supplies it.
7.9 Key points
A causal decision maximizes the posterior expected utility under \(\mathrm{do}(a)\) (Equation 7.2). Data gathered under one regime inform it only through the identification conditions of Chapter 5.
The average treatment effect is the Bayes report under squared error loss. Targeting, cost effectiveness and risk attitudes need other functionals of the same posterior.
The cost effectiveness acceptability curve gives the posterior chance that a decision is wrong. It does not choose the action: the sign of expected net benefit does, and the expected value of perfect information bounds the worth of more research.
Expected utility is the area under the quantile function of utility, and a risk attitude is a distortion of the level at which that function is sampled. Programs A and B rank differently under the mean and under CVaR at levels below 0.75.
The regret of the Bayes policy is bounded by twice the Lipschitz constant times the posterior mean distance to the truth, and a plug in rule can reach a faster rate under a margin condition.
Dynamic decisions need the posterior to be updated along the trajectory. Averaging the transition law over the current posterior ignores that \(\theta\) is persistent and that learning has value.
DML estimates a reduced form contrast under the historical regime. A new regime needs a model of the parameters that the policy change leaves invariant, and the posterior of that model supplies tail criteria and the probability that a decision is right.
TipDiscussion questions
In Newcomb’s problem let the predictor be correct with probability \(p\) whichever act the agent takes, let the opaque box contain \(M\) if one box is predicted, let the transparent box contain \(m<M\), and let \(q\) be the agent’s credence that the opaque box is full. Compute evidential and causal expected utilities of each act and find the values of \(p\) for which the two theories disagree.
In the twin prisoner’s dilemma with payoffs \((R,S,T,P)\), \(T>R>P>S\), show that causal reasoning recommends defection for any belief about the twin, and, if the twin matches the agent’s act with probability \(p\) whichever act she takes, find the value of \(p\) above which evidential reasoning recommends cooperation.
Plot the probability of positive net benefit against \(\lambda\) for a treatment with \(\Delta E\sim N(0.2, 0.1^2)\) and \(\Delta C\sim N(5000, 2000^2)\) independent, and compare the decision with the one based on the ratio of posterior means.
Prove that \(\mathbb{E}[Z] = \int_0^1 F_Z^{-1}(u)\,du\) for any integrable \(Z\), and that for \(\beta(u)=\eta u\) the distorted value is \(\eta^{-1}\int_0^\eta F_Z^{-1}(u)\,du\).
Show that the Wang distortion with \(\eta<0\) satisfies \(\beta(u)\le u\) and that, for \(Z\sim N(m,s^2)\), \(V_\beta = m + \eta s\).
Compute the CVaR of programs A and B at each level \(\eta\) from simulated draws, find the level at which the planner is indifferent between them, and compare it with the value computed from the exact distributions.
Show by example that a distorted criterion applied stage by stage in a two period problem can choose a different first period action from the same criterion applied to total utility.
Athey, S., and S. Wager. 2021. “Policy learning with observational data.”Econometrica 89: 133–61.
Audibert, J. Y., and A. B. Tsybakov. 2007. “Fast learning rates for plug in classifiers.”Annals of Statistics 35: 608–33.
Dabney, W., G. Ostrovski, D. Silver, and R. Munos. 2018. “Implicit quantile networks for distributional reinforcement learning.” In Proceedings of the 35th International Conference on Machine Learning, 1096–1105.
Dawid, A. P. 2002. “Influence diagrams for causal modelling and inference.”International Statistical Review 70: 161–89.
———. 2021. “Decision theoretic foundations for statistical causality.”Journal of Causal Inference 9: 39–77.
Ghosal, S., and A. W. van der Vaart. 2017. Fundamentals of Nonparametric Bayesian Inference. Cambridge University Press.
Gibbard, A., and W. L. Harper. 1978. “Counterfactuals and two kinds of expected utility.” In Foundations and Applications of Decision Theory. Reidel.
Green, Michael D., D. Michal Freedman, and Leon Gordis. 2011. “Reference Guide on Epidemiology.” In Reference Manual on Scientific Evidence, Third. Washington, DC: National Academies Press. https://www.nationalacademies.org/read/13163/chapter/12.
Joyce, J. M. 1999. The Foundations of Causal Decision Theory. Cambridge University Press.
Kahneman, D., and A. Tversky. 1979. “Prospect theory: an analysis of decision under risk.”Econometrica 47: 263–91.
Lee, D. S. 2008. “Randomized experiments from non random selection in U.S. House elections.”Journal of Econometrics 142: 675–97.
Lewis, D. 1981. “Causal decision theory.”Australasian Journal of Philosophy 59: 5–30.
Neumann, J. von, and O. Morgenstern. 1944. Theory of Games and Economic Behavior. Princeton University Press.
Nie, Xinkun, and Stefan Wager. 2021. “Quasi-Oracle Estimation of Heterogeneous Treatment Effects.”Biometrika 108 (2): 299–319. https://doi.org/10.1093/biomet/asaa076.
Polson, N. G., F. Ruggeri, and V. Sokolov. 2024. “Generative Bayesian computation for maximum expected utility.”Entropy 26 (1076).
Polson, Nicholas G., and Vadim Sokolov. 2026. Bayesian Causality: Models, Accounting and the Bayesian Alternative to Double Machine Learning. Version 1.2.1. Independently published. https://doi.org/10.5281/zenodo.23985916.
Ray, K., and A. W. van der Vaart. 2020. “Semiparametric Bayesian causal inference.”Annals of Statistics 48: 2999–3020.
Rockafellar, R. Tyrrell, and Stanislav Uryasev. 2000. “Optimization of conditional value-at-risk.”Journal of Risk 2 (3): 21–41. https://doi.org/10.21314/JOR.2000.038.
Smith, J. Q. 2010. Bayesian Decision Analysis: Principles and Practice. Cambridge University Press.
Tian, J., and J. Pearl. 2000. “Probabilities of causation: bounds and identification.”Annals of Mathematics and Artificial Intelligence 28: 287–313.
Tversky, A., and D. Kahneman. 1992. “Advances in prospect theory: cumulative representation of uncertainty.”Journal of Risk and Uncertainty 5: 297–323.
Wang, S. S. 2000. “A class of distortion operators for pricing financial and insurance risks.”Journal of Risk and Insurance 67: 15–36.
Wu, G., and R. Gonzalez. 1996. “Curvature of the probability weighting function.”Management Science 42: 1676–90.
Yaari, M. E. 1987. “The dual theory of choice under risk.”Econometrica 55: 95–115.