Need help on sbc uniform proof

Recall that sampling is just a way to approximate expectation/integration. Anytime you have a method that samples from a distribution you are approximating an expectation with respect to that distribution. In SBC we utilize a sample from the full Bayesian model

\tilde{\theta}, \tilde{y} \sim \pi(\theta, y)

which is typically generated through ancestral sampling of the conditional decomposition \pi(\theta, y) = \pi(y \mid \theta) \, \pi(\theta),

\tilde{\theta} \sim \pi(\theta) \\ \tilde{y} \sim \pi(y \mid \tilde{\theta}).

That latter step is what “implements” the integration over y.

It’s all a consequence of the particular conditional dependence structure of the joint distribution. In particular we can use Bayes’ Theorem to write the joint density \pi(\theta', \theta) as

\begin{align*} \pi(\theta', \theta) &= \int \mathrm{d} y \, \pi(\theta' \mid y) \, \pi(y, \theta) \\ &= \int \mathrm{d} y \, \pi(\theta' \mid y) \, \pi(y \mid \theta) \, \pi(\theta) \\ &= \pi(\theta) \int \mathrm{d} y \, \pi(\theta' \mid y) \, \pi(y \mid \theta) \end{align*}

or

\begin{align*} \pi(\theta', \theta) &= \int \mathrm{d} y \, \pi(\theta' \mid y) \, \pi(y, \theta) \\ &= \int \mathrm{d} y \, \frac{ \pi(y \mid \theta') \, \pi(\theta') }{ \pi(y) } \, \pi(\theta \mid y) \, \pi(y) \\ &= \int \mathrm{d} y \, \pi(y \mid \theta') \, \pi(\theta') \, \pi(\theta \mid y) \\ &= \pi(\theta') \int \mathrm{d} y \, \pi(\theta \mid y) \, \pi(y \mid \theta'). \end{align*}

Because \pi(\theta') = \pi(\theta) – that’s the self-consistency condition on which SBC is based – we have

\begin{align*} \pi(\theta', \theta) &= \pi(\theta) \int \mathrm{d} y \, \pi(\theta' \mid y) \, \pi(y \mid \theta) \\ &= \pi(\theta') \int \mathrm{d} y \, \pi(\theta' \mid y) \, \pi(y \mid \theta) \\ &= \pi(\theta, \theta'). \end{align*}

I don’t understand what you’re trying to get at here. (C) can’t be true because it’s not even a well-defined expectation value.

1 Like