File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ a two-step procedure:
3131In the above procedure, neither the marginal posterior nor the conditional posterior
3232are typically available in closed form and so they must be approximated.
3333The marginal posterior can be written as $p(\phi \mid y) \propto p(y \mid \phi) p(\phi)$,
34- where $p(y \mid \phi) = \int p(y \mid \phi, \theta) p(\theta) \text{d}\theta$
34+ where $p(y \mid \phi) = \int p(y \mid \phi, \theta) p(\theta) \text{d}\theta$
3535is called the marginal likelihood. The Laplace method approximates
3636$p(y \mid \phi, \theta) p(\theta)$ with a normal distribution centered at
3737$$
@@ -41,6 +41,10 @@ and $\theta^*$ is obtained using a numerical optimizer.
4141The resulting Gaussian integral can be evaluated analytically to obtain an
4242approximation to the log marginal likelihood
4343$\log \hat p(y \mid \phi) \approx \log p(y \mid \phi)$.
44+ Specifically:
45+ $$
46+ \hat p(y \mid \phi) = \frac{p(\theta^* \mid \phi) p(y \mid \theta^*, \phi)}{\hat p (\theta^* \mid \phi, y)}.
47+ $$
4448
4549Combining this marginal likelihood with the prior in the ` model `
4650block, we can then sample from the marginal posterior $p(\phi \mid y)$
You can’t perform that action at this time.
0 commit comments