0

The usual two-component Normal mixture model is instructed in these slides http://www2.stat.duke.edu/~rcs46/modern_bayes17/lecturesModernBayes17/lecture-8/08-data-augment.pdf.

We define Latent allocation variables $Z_i$. But how to implement the R code for full conditions of $\mu_0$ and $\mu_1$?

enter image description here

fblundun
  • 3,732
  • 1
  • 5
  • 18
Lili
  • 3
  • 1