powered by
Compute ECDF (empirical cumulative distribution function)
compute_ecdf(posterior)
numeric vector with empirical cumulative distribution function (cumulative sum of posterior)
posterior
numeric vector of posterior probabilities over the prior support