Test statistics

Test statistics#

T-statistic for the observed data and posterior predictive data.

Matplotlib version of plot_ppc_tstat

Link to this page with the bokeh tab selected

Link to this page with the plotly tab selected

from arviz_base import load_arviz_data

import arviz_plots as azp

azp.style.use("arviz-variat")

dt = load_arviz_data("regression1d")
pc = azp.plot_ppc_tstat(
    dt,
    t_stat="median",
    backend="none"
)
pc.show()

See also

API Documentation: plot_ppc_tstat

EABM chapter on Posterior predictive checks with summary statistics

Other examples with plot_ppc_tstat#