Gibbs Sampling
\(p(\theta, \phi | y) \propto g(\theta, \phi)\)
interested in getting \(\theta\), if \(\phi\) is known, we can draw \(\theta\)
Assume we know \(\phi\)
\(p(\theta, \phi | y) = p(\phi | y) * p(\theta | \phi, y)\)
Therefore, if \(\phi\) is a known constant,
\(p(\theta | \phi, y) \propto p(\theta, \phi | y) \propto g(\theta, \phi)\)
Or, if \(\theta\) is a known constant,
\(p(\phi | \theta, y) \propto p(\theta, \phi | y) \propto g(\theta, \phi)\)