Takes all variables marked with binary_var_attribute() in the statistics (the $stats field of an SBC_results object) and transforms the reported CDF values into probabilities that the underlying binary variable is 1.

binary_probabilities_from_stats(stats)

Value

A data.frame with at least the columns variable and prob.

Details

To support exact binary probabilities, a backend must implement SBC_posterior_cdf(), as exact probabilities cannot be derived from samples.