← Back to directory

Posterior, probability to beat control, probability of being best, expected loss...

https://www.brainiac.software/api/v1/experimentation/bayesian-ab

Overview

Posterior, probability to beat control, probability of being best, expected loss and equal-tailed credible intervals for 2-10 conversion arms. Docs: https://www.brainiac.software/api/experimentation/bayesian-ab

Protocol x402 (POST)
Price $0.03
Payment Asset USD Coin
Payment Network eip155:8453
Category uncategorized
Provider /B Arms Bayesian Beta-Binomial
Source self-registered
Indexed 2026-11-20 21:35:43

Health

Status healthy
Latency (p50) —
Uptime (30d) —
Reliability Score —
Last Checked Never
Last Healthy Never
Consecutive Failures 0

x402 Payment Validation

Payment Requirements —
Asset Verified —
Facilitator —

Input Schema

{ "body": { "arms": [ { "conversions": 1000, "name": "A", "users": 10000 }, { "conversions": 1100, "name": "B", "users": 10000 } ], "credibleLevel": 0.95, "prior": { "alpha": 1, "beta": 1 } }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "example": { "arms": [ { "credible": [ 0.09427511307, 0.106036332 ], "expectedLoss": 0.01001358271, "mean": 0.100079984, "name": "A", "posterior": { "alpha": 1001, "beta": 9001 }, "probBeatControl": null, "probBest": 0.01054264559 }, { "credible": [ 0.1040187816, 0.1162848782 ], "expectedLoss": 0.00001558231261, "mean": 0.1100779844, "name": "B", "posterior": { "alpha": 1101, "beta": 8901 }, "probBeatControl": 0.9894573544, "probBest": 0.9894573544 } ], "control": "A", "credibleLevel": 0.95, "limitations": [ "Independent Beta-Binomial posteriors; no Monte Carlo, so results are reproducible. Quadrature spans the 1e-9 to 1-1e-9 posterior quantiles of all arms.", "Probabilities describe the posterior under the supplied prior, not the long-run error rate of a procedure." ], "method": { "expectedLoss": "deterministic Simpson quadrature of E[max_j p_j] minus posterior mean", "probBeatControl": "exact (Miller 2015)", "probBest": "pairwise probability to beat control" }, "sources": [ { "retrievedAt": "2026-11-14T00:00:00.000Z", "source": "Miller (2015) Formulas for Bayesian A/B Testing", "status": "ok", "url": "https://www.evanmiller.org/bayesian-ab-testing.html" } ] }, "type": "json" }