cl}
\mu_1, \mu_2 &amp; \sim &amp; \mathsf{normal}(0, 10)
\\[8pt]
\sigma_1, \sigma_2 &amp; \sim &amp; \mathsf{Halfnormal}(0, 10)
\end{array}
\]</span></p>
<p>The prior on the mixture ratio is uniform,</p>
<p><span class="math display">\[
\lambda \sim \mathsf{Uniform}(0, 1),
\]</span></p>
<p>so that with the likelihood</p>
<p><span class="math display">\[
p(y_n \, | \, \mu, \sigma)
= \lambda \, \mathsf{normal}(y_n \, | \, \mu_1, \sigma_1)
+ (1 - \lambda) \, \mathsf{normal}(y_n \, | \, \mu_2, \sigma_2),
\]</sp