You might also want to take a look at Prior and Posterior Predictive Checks — PyMC 5.0.2 documentation