Hi,
in R code 5.15, both mu<-link(5.3) and D_sim<-sim(m5.3) are created, but the code in R code 5.16 uses only the mu_mean version and yet Figure 5.5 calls it the posterior predictive distribution. I thought D_sim would be the right one? D_sim is computed and not used.
Sorry if this is something obviously wrong in my understanding.
Thanks!