Statistics, P Value, Bayesian Statistics, Hypothesis Testing, Binomial Distribution.
I couldn’t find open source libraries that do this — the closest is R’s ttestBF, but even then it only handles the two-sided H0-H1 setup: H0: p1=p2, H1: p1!=p2, whereas I’m interested in the one-sided H0: p1<=p2 setup. Math. Note these facts about beta distribution: (1) Beta(1,1) is a uniform