 We have $$\begin{aligned} \pi(\phi,\xi|\mathcal D)&=\pi(\phi,\xi|\mathcal D,\mathcal Z)=\pi(\xi|\mathcal D,\mathcal Z)\pi(\phi|\xi ,\mathcal D).\end{aligned}$$ The idea of the two-step procedure is to 