ab_test
Determine if an A/B test has a winner using peek-safe confidence sequences that do not inflate false-positive rates, even when monitored continuously.
Instructions
Can you call a winner on an A/B test yet? Uses anytime-valid confidence sequences, so it is SAFE TO RUN AFTER EVERY OBSERVATION — peeking does not inflate the false-positive rate the way a t-test or z-test does.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alpha | No | error budget, default 0.05 | |
| a_label | No | ||
| a_total | Yes | total observations in arm A | |
| b_label | No | ||
| b_total | Yes | total observations in arm B | |
| a_successes | Yes | conversions in arm A | |
| b_successes | Yes | conversions in arm B |