Analyze lift
analyze_liftEstimates absolute and relative lift with confidence intervals from offer IDs or control/treatment arrays, supporting bootstrap intervals and optional CUPED adjustment.
Instructions
Estimate absolute and relative lift with a confidence interval.
Pass offer_id to read the bundled synthetic exposures, or pass control
and treatment arrays. Bootstrap intervals report progress and stop
between batches if the client cancels. CUPED uses a pre-period
covariate when one is available. Reported arm means stay on the
original scale; the lift uses adjusted outcomes when CUPED is on.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | ||
| alpha | No | ||
| control | No | Control outcomes. | |
| outcome | No | redeemed or post_spend for an offer. Any label for raw arrays. | redeemed |
| offer_id | No | Offer id in the bundled dataset. | |
| ci_method | No | normal | |
| treatment | No | Treatment outcomes. | |
| use_cuped | No | Adjust both arms with a pooled CUPED theta. | |
| control_arm | No | control | |
| treatment_arm | No | treatment | |
| control_covariate | No | Control CUPED covariate. | |
| treatment_covariate | No | Treatment CUPED covariate. | |
| bootstrap_iterations | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alpha | Yes | ||
| control | Yes | ||
| outcome | Yes | ||
| cancelled | No | ||
| ci_method | Yes | ||
| treatment | Yes | ||
| use_cuped | Yes | ||
| cuped_theta | No | ||
| absolute_lift | Yes | ||
| relative_lift | No | ||
| absolute_ci_low | Yes | ||
| relative_ci_low | No | ||
| absolute_ci_high | Yes | ||
| relative_ci_high | No | ||
| bootstrap_iterations | No |