Analysis

Analysis#

sbi.analysis.ActiveSubspace

Identify the active subspace of the posterior for sensitivity analyses.

sbi.analysis.conditional_corrcoeff

Returns the conditional correlation matrix of a distribution.

sbi.analysis.conditional_pairplot

Plot conditional distribution given all other parameters.

sbi.analysis.conditional_potential

Returns potential function that can be used to sample the conditional potential.

sbi.analysis.marginal_plot

Plot samples in a row showing 1D marginals of selected dimensions.

sbi.analysis.pairplot

Plot samples in a 2D grid showing marginals and pairwise marginals.

sbi.analysis.plot_tarp

Plots the expected coverage probability (ECP) against the credibility level,alpha, for a given alpha grid.

sbi.analysis.pp_plot

Probability - Probability (P-P) plot for hypothesis tests to assess the validity of one (or several) estimator(s).

sbi.analysis.pp_plot_lc2st

Probability - Probability (P-P) plot for LC2ST.

sbi.analysis.sbc_rank_plot

Plot simulation-based calibration ranks as empirical CDFs or histograms.