~/talk

expectation: A modern take on statistical A/B testing with e-values and martingales

Talkat PyCon DE & PyData 2025 · on Wednesday, 2025-04-23· at 12:25· Helium3· [machine-learning, data-science]
links:none on file
slides:none on file

A new Python library called expectation implements e-values and martingales for sequential A/B testing, change‑point detection and confidence sequences, with demos showing a simulated 10%→12% uplift detected within a few days and early stopping that remains valid. The framework treats accumulated evidence as a wealth process starting at $1, ties rejection thresholds to money (e.g. $20 ≈ 1/0.05, $100 ≈ 1/0.01), relies on Ville's inequality for type‑I guarantees, and ships as modular, object‑oriented, research‑driven code.

AI-written summary · about

  1. 0:00Expectation library intro
  2. 1:55Why create expectation
  3. 3:39E-values intuition
  4. 8:55Sequential testing importance
  5. 10:45E-values definition
  6. 14:57Martingale wealth analogy
  7. 19:52Demo sequential A/B testing
  8. 25:53Early stopping rules
  9. 30:59Library features
  10. 33:27Change point detection
  11. 35:38Demo conformal E-testing
  12. 38:51Key takeaways
  13. 40:08Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.