Statistics Quest

Checkout redesign A/B test

A 14-day online experiment at a fictional e-commerce site, Nakhla Market. About 16 000 new visitors were randomly assigned to the current checkout (A) or a redesigned one-page checkout (B). Each row is one user with the variant, device, country segment, signup day, whether they bought (converted), revenue and the page-load time of the checkout page as a guardrail metric. Built for two-proportion tests, confidence intervals for a lift, revenue comparisons with skewed data, guardrails and the dangers of peeking at daily results.

Rows
16,000
Columns
9
One row is
one user in the experiment
Version
v1

Data dictionary

ColumnTypeUnitSummaryDescription
user_id
User
idAnonymous user identifier.
signup_day
Test day
integerdaymean 7.06, median 7, SD 4.054, range 1–14Day of the test on which the user entered the experiment (1–14).
signup_date
Signup date
dateCalendar date the user entered the experiment.
variant
Variant
category2 levels: A, BA = current checkout (control), B = redesigned checkout (treatment).
device
Device
category3 levels: mobile, desktop, tabletDevice type.
segment
Country segment
category3 levels: domestic, gcc, internationalVisitor location segment.
converted
Converted
integermean 0.03075, median 0, SD 0.1726, range 0–11 if the user completed a purchase within the test, else 0 (coded 0/1 so means are conversion rates).
revenue_sar
Revenue
numberSARmean 6.968, median 0, SD 51.08, range 0–2094Order value; 0 for users who did not convert.
page_load_ms
Checkout load time
integermsmean 1622, median 1551, SD 514, range 395–5042Load time of the checkout page for the user's first visit (guardrail metric).

What it is good for

  • Estimate conversion rates per variant and a confidence interval for the absolute and relative lift.
  • Run a two-proportion z-test or chi-square test and interpret it in business terms.
  • Analyse revenue per user when most values are zero and the rest are skewed.
  • Check a guardrail metric (page-load time) and a sample-ratio mismatch.
  • See how cumulative daily p-values fluctuate and why peeking inflates false positives.

Methods: two-proportion z-test, chi-square test, confidence interval for a difference in proportions, Welch t-test, Mann–Whitney test, sample ratio mismatch check, sequential peeking.

Data quality notes

  • True conversion rates are 3.1% (A) and 3.5% (B); observed rates differ slightly because of sampling variation.
  • revenue_sar is 0 for about 97% of users and heavily right-skewed among converters.
  • Variant B's checkout is about 6% slower — a guardrail trade-off to discuss.
  • The variant split is not exactly 50/50 because assignment was random per user; it is consistent with a fair coin.
  • No missing values.

Provenance and licence

Each user is assigned A or B with probability 0.5 (so the split is close to, but not exactly, 50/50). Device (mobile 62%, desktop 33%, tablet 5%) and segment are drawn independently of the variant. True conversion probability is 3.1% for A and 3.5% for B, multiplied by a device factor (desktop 1.3, mobile 0.85, tablet 1.0, averaging ≈1). Revenue for converters is log-normal (median ≈180 SAR) and identical in distribution for both variants. Page-load time is log-normal (median ≈1.35 s on desktop, slower on mobile) and 6% slower under B.

Synthetic data · CC0-1.0 (synthetic data generated by Statistics Quest) · generated deterministically (seed 20241005). It does not describe real people or organisations; any resemblance is coincidental.

Preview

Dataset

Checkout redesign A/B test

16,000 rows · one row = one user in the experiment · synthetic data

UserTest day (day)Signup dateVariantDeviceCountry segmentConvertedRevenue (SAR)Checkout load time (ms)
U0000112024-05-05Bmobiledomestic001781
U0000212024-05-05Bmobiledomestic001842
U0000312024-05-05Bmobiledomestic001197
U0000412024-05-05Adesktopgcc001035
U0000512024-05-05Btabletgcc001774
U0000612024-05-05Adesktopdomestic001609
U0000712024-05-05Amobiledomestic00899
U0000812024-05-05Btabletdomestic002025
U0000912024-05-05Amobiledomestic001837
U0001012024-05-05Amobiledomestic001485
U0001112024-05-05Bdesktopdomestic001251
U0001212024-05-05Adesktopdomestic001886

Used in