Test statistics
T-statistic for the observed data and posterior predictive data.
using ArviZPythonPlots, ArviZExampleData
use_style("arviz-variat")
data = load_example_data("radon")
pc = plot_ppc_tstat(data; t_stat="median")
See plot_ppc_tstat.
See also the EABM chapter on Posterior predictive checks with summary statistics.