A/B testing that shows its work.

Understand the impact of product changes with open-source Python analysis, from a dataframe or your warehouse to results your team can inspect and discuss.

See the result

Experiment: Pricing Page v2
Illustrative values · fixed-horizon intervals
Metric Lift
Revenue per User +3.4%
[+0.9%, +5.9%]
Conversion +1.2%
[-0.3%, +2.7%]
D14 Retention +2.1%
[+0.4%, +3.8%]
-5.0%0.0%+5.0%
Experiment: Pricing Page v2
Illustrative values · fixed-horizon intervals
Metric Lift
Revenue per User +3.4%
[+0.9%, +5.9%]
Conversion +1.2%
[-0.3%, +2.7%]
D14 Retention +2.1%
[+0.4%, +3.8%]
-5.0%0.0%+5.0%
Synthetic example · illustrative values, not a real experiment.

Occasional release updates. No spam.

01 / Dataframe or warehouse

Same analysis. Two ways in.

From a dataframe

One row per unit is all it takes: no YAML, no warehouse connection, not even DuckDB.

import increment

experiment, reader = increment.from_frame(
    df,
    shape="summary",
    unit="user_id",
    group="variant",
    control="control",
    metrics=["revenue", "converted"],
)
results = increment.run(experiment, reader)
input: one row per unit
>>> df.head(3)
  user_id    variant  revenue  converted
0      u1    control     0.00      False
1      u2  treatment    42.50       True
2      u3    control    18.00       True
Run your first analysis

From your warehouse

Declare experiments and metrics once in version-controlled YAML. Install increment[warehouse] and your Ibis backend to run the generated SQL in your warehouse.

experiments:
  - name: checkout_redesign
    exposure: checkout_view
    unit: user_id
    control_group: control
    start: 2026-09-01
    plan:
      primary: converted
      secondaries: [revenue]
metrics:
  - name: converted
    type: conversion
    fact: order
    entity: user_id
    window_days: 14
  - name: revenue
    type: mean
    fact: order
    aggregation: sum
    entity: user_id
    window_days: 14
import increment

# con is an Ibis connection to your warehouse
experiment, reader = increment.from_definitions(
    "definitions/",
    con,
    experiment_name="checkout_redesign",
)
with reader:
    results = increment.run(experiment, reader)
Declare warehouse definitions

02 / Segments

The average isn't the whole story.

Break results out by customer segment. Compare lifts and intervals to see where the treatment effect differs.

Explore segment effects
Pricing Page v2 · by segment
Illustrative values · 3 segments · 14-day daily trend to final read
Metric Segment Lift % Lift Daily lift
Revenue per User New users +1.0%
[-2.1%, +4.1%]
Returning +3.6%
[+1.0%, +6.2%]
Enterprise +5.8%
[+2.6%, +9.0%]
-5.0%0.0%+5.0% 36912Jan
Pricing Page v2 · by segment
Illustrative values · 3 segments · 14-day daily trend to final read
Metric Segment Lift % Lift Daily lift
Revenue per User New users +1.0%
[-2.1%, +4.1%]
Returning +3.6%
[+1.0%, +6.2%]
Enterprise +5.8%
[+2.6%, +9.0%]
-5.0%0.0%+5.0% 36912Jan
Scroll horizontally to see all columns. Illustrative output with synthetic values, not a real experiment.

03 / Personalization

Find who benefits most.

Go beyond average lift. Estimate how treatment effects vary with customer characteristics, score new customer profiles, and build targeting rules from experiment data.

Explore personalization
Illustrative estimates and intervals, not experiment results. Engagement is measured before the experiment. Relative lift divides each profile's conversion change by its fixed 10% control conversion rate.
Conditional treatment effects
Relative lift in purchase conversion (%)
Profile Relative lift
New customer Low engagement
New customer High engagement
Returning customer Low engagement
Returning customer High engagement
0%+10%+20%
Conditional treatment effects
Relative lift in purchase conversion (%)
Profile Relative lift
New customer Low engagement
New customer High engagement
Returning customer Low engagement
Returning customer High engagement
0%+10%+20%

04 / Statistical methods

Methods with their assumptions stated.

CUPED variance reduction, sample-ratio-mismatch checks, multiple-comparison corrections, power planning, and sequential monitoring under stated assumptions. Unsupported combinations are refused rather than silently changed; see the compatibility guide and statistical limitations.

Read the CUPED guide

CUPED adjusts each user's revenue with their pre-period revenue. In the CUPED guide's example, the unadjusted lift is +2.01% with a 3.79-point interval; the CUPED-adjusted lift is +2.15% with a 1.77-point interval.

Hover the chart, orSynthetic users from the CUPED guide's simulation; lift and intervals are that guide's output for 20,000 users.
import increment

cuped = increment.Method.cuped(covariates="pre_revenue")

experiment, reader = increment.from_frame(
    df,  # one row per unit, with a pre-experiment revenue column
    shape="summary",
    unit="user_id",
    group="variant",
    control="control",
    metrics=[increment.MetricSpec(name="revenue", decision_method=cuped)],
)
results = increment.run(experiment, reader)

Stay in the loop

Get release updates.

New methods, releases, and worked examples. Occasional email, no spam.