1

There are 1 best solutions below

0
On

The middle step comes from Bayes' rule: $$ \pi(\theta | x) = \frac{\pi(x | \theta) \pi(\theta)}{\pi(x)} $$ where the denominator is an integral over $\theta$.