Predictive check with KDEs
Plot of samples from the posterior predictive and observed data.
using ArviZPythonPlots, ArviZExampleData
use_style("arviz-variat")
data = load_example_data("radon")
pc = plot_ppc_dist(data)
See plot_ppc_dist.
See also the EABM chapter on Posterior predictive checks.