11.4 Comparing data to replications from a fitted model

  • Another use of simulation: posterior predictive checking.

  • Idea is to generate simulated data sets and compare to the observed data.

Speed of light example

(From folder Newcomb at https://github.com/behrman/ros )