$$\ln p(y) = \ln \frac{p(y, \theta)}{p(\theta, y)}$$

which is a result of the product rule

I do not understand here (slide 17)

$$ \ln p(y) = \int q(\theta) \ln \frac{p(y, \theta)}{p(\theta, y)} d\theta $$

It seems like they are trying to marginalize out the $\theta$ but I am not sure.


1 Answer 1


It might be clearer to write it like this:

$$\log p(y) = 1 \times \log \frac{p(y,\theta)}{p(\theta|y)} = \int q(\theta) d\theta \times \log \frac{p(y,\theta)}{p(\theta|y)} $$

And then you can move the thing on the right inside of the integral since it isn't a function of $\theta$


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.