sbi.analysis.pp_plot_lc2st

Navigation

sbi.analysis.pp_plot_lc2st#

pp_plot_lc2st(probs, probs_null, conf_alpha, **kwargs)[source]#

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

Parameters:
  • probs (List[ndarray] | Dict[Any, ndarray]) – predicted probability on observed data and evaluated on the test set, of shape (n_eval,). One array per estimator.

  • probs_null (List[ndarray] | Dict[Any, ndarray]) – predicted probability under the null hypothesis and evaluated on the test set, of shape (n_eval,). One array per null trial.

  • conf_alpha (float) – significanecee level of the hypothesis test.

  • kwargs (Any) – additional arguments for pp_plot.

Returns:

axes with the P-P plot.

Return type:

ax