Decide whether one classifier is better than another, by a practically meaningful margin , with posterior probabilities over the effect size . The three events are (left), (the region of practical equivalence, ROPE) and (right). Do not use scipy; probabilities must be accurate to .
paired_posterior(e1, e2): per-example scores of two methods on the same test set, . Under an uninformative prior the posterior of the mean difference is a Student with location , scale (where is the sample standard deviation with ddof=1) and degrees of freedom. Return (loc, scale, df) with df an int.student_t_cdf(t, df): the CDF of the standard Student distribution.rope_probs(e1, e2, eps): (p_left, p_rope, p_right) under that posterior.rates_rope_probs(y1, n1, y2, n2, eps): two classifiers evaluated on different test sets, with correct out of . With uniform priors the rates have independent posteriors . Return (p_left, p_rope, p_right) for .Return floats.