Experiment Design for Low-Rate Subscription Cancellations
Hard · Analytics & Experimentation · Data Scientist · Online Assessment
Prompt
A subscription video-streaming platform plans to evaluate an automatic video-preview experience on its main browse screen. Because only 0.30% of active paid subscribers cancel in a typical week, detecting churn shifts is statistically challenging. Leadership wants an online controlled experiment capable of catching a 0.05 percentage-point absolute shift in weekly cancellation rate inside a 4-week readout window.
Lay out the end-to-end experimental design and decision framework covering: 1. Bucketing & eligibility: Selecting the randomization entity and trigger rules when single subscriptions span multiple viewer profiles and shared household screens. 2. Metric specifications: Exact event numerators, denominators, and observation windows for the primary weekly cancellation metric alongside app-stability (crash) and engagement (weekly streaming hours) guardrails. 3. Sample-size & covariate adjustment: Binomial power calculations from scratch, plus quantifying how much CUPED using prior-period streaming hours reduces required sample size on rare cancellations versus continuous streaming hours. 4. Interim monitoring rules: Choosing between a single fixed-horizon readout and a group-sequential alpha-spending schedule, including concrete stopping thresholds. 5. Variance & tail controls: Safeguards for sparse binary outcomes and heavy-tailed viewing hours (such as blocked assignment, balance checks, and outlier capping). 6. Live observability spec: A BI dashboard blueprint separating daily operational health, cumulative treatment estimates, and traffic-split diagnostics. 7. Subgroup analysis & rollout governance: Evaluating country-level and device-family differences without chasing noise, and translating those findings into a global launch recommendation.
Scope & Expectations
- Spillover-free bucketing & airtight metrics: Justify why household billing structure dictates the randomization unit, handle Intent-to-Treat versus triggered exposure symmetrically, and avoid post-treatment conditioning or preview-clip inflation in metric definitions.
- Rigorous rare-event math: Show explicit two-proportion sample-size arithmetic over four weeks, prove mathematically why continuous pre-period covariates yield minimal variance reduction on sparse
0/1outcomes while sharply tightening continuous watch-time guardrails, and state exact sequential z-boundaries. - Operational guardrails & disciplined slicing: Pair pre-experiment stratification, Sample Ratio Mismatch checks, and pre-launch Winsorization thresholds with interaction testing and multiple-comparison adjustments for regional and platform slices.
Step-by-step walkthrough
(1) Choose the randomization unit and exposure rules
The unit of randomization (the entity flipped by our virtual coin into Control or Treatment) must match where the business outcome happens. Because a streaming plan is billed and cancelled once per household — ending access for every family member simultaneously — randomize at the subscription account level so every profile and screen signed into that account receives the exact same variant.
Why finer-grained bucketing breaks the experiment (interference / spillover, where one unit's treatment leaks into another unit's behavior): - Profile-level fails: One adult's profile could receive automatic video previews while another adult's profile on the same account sees static artwork, yet both share a single "Cancel Subscription" button — diluting any treatment effect and making it impossible to attribute a cancellation cleanly. - Device-level fails: One viewer switches across a living-room smart TV, phone, and tablet, and household members share the living-room TV, mixing Control and Treatment inside one billing household. - Shared-device rule: Render whichever variant belongs to the account currently authenticated; attribute session-level events (like crashes) to that active account's arm.
Lock eligibility strictly from pre-assignment attributes on Day 0 (so the treatment itself can never alter who enters the denominator): - Active, paid, auto-renewing subscribers at Day 0 (exclude free trials or analyze them separately, since trial conversion churn behaves completely differently). - Located in eligible markets and active in the prior 28 days on a client version capable of rendering video previews. - Exclude employee/QA accounts and isolate from overlapping browse-screen or save-offer experiments.
Track exposure symmetrically across arms: - Enroll a fixed Day-0 cohort so every account has a full 28-day observation window. - Primary readout uses Intent-to-Treat (ITT) — comparing all assigned accounts regardless of whether they opened the browse screen, which preserves pure randomized balance (at the cost of mild dilution from inactive subscribers). - Secondary readout uses a triggered (exposed) analysis: log a trigger event the first time any eligible profile renders the browse screen on a capable client in both arms (in Control, log a counterfactual trigger — "video preview would have fired here"). Respecting identical rules in both arms (e.g., skipping kids profiles or profiles with previews turned off) gives higher sensitivity without selection bias.
(2) Define exact primary and guardrail metrics
Define every metric's exact numerator, denominator, and UTC window (
Week w= Days7*(w-1) + 1through7*wpost-launch) before collecting a single row:Metric Numerator (exact event) Denominator & aggregation unit ----------------------------- --------------------------------------------- ------------------------------------------ Primary: Weekly voluntary Accounts in at_risk[w] submitting their first Pooled subscriber-weeks at_risk[w] across cancellation rate voluntary cancel request during Week w w = 1..4 (equiv: 28d account cancel %) Guardrail 1: App crash rate Client crash events on capable surfaces Total app sessions on capable surfaces (account-clustered variance via delta method) Guardrail 2: Weekly watch-hrs Hours of intentional title playback (excluding All Day-0 assigned accounts (keeping 0.0 h per assigned account preview-clip seconds!) summed across account for non-watchers!) averaged over Weeks 1..4Critical edge-case rules inside those three definitions: - Voluntary request timestamp, not billing expiration: Count explicit subscriber cancellations (switching off auto-renew) at the moment the subscriber clicks cancel. Using billing expiration date pushes most cancellations past the 4-week window when subscribers are mid-cycle, and involuntary card declines only add unrelated noise. Analyze at the account unit via the equivalent 28-day voluntary cancellation proportion (
accounts cancelling in Days 1..28 / assigned accounts), counting at most one event per account (with net un-reversed cancellations at Day 28 as a secondary check). - Clustered session ratios: Because one heavy viewer generates dozens of sessions, session crash events are correlated within an account. Compute crash-rate standard errors with the delta method (a formula that adjusts a ratio metric's variance when one randomized account contributes multiple denominator sessions), alongside a simple binary check (% of accounts with >= 1 crash). - Never condition watch-hours on watching, and strip preview seconds: Counting preview clips inside watch-hours makes Treatment win mechanically even if viewers dislike it, and dropping0-hourinactive accounts conditions on post-treatment behavior (if previews drive casual viewers away, dropping zeros artificially inflates average hours among remaining heavy viewers!). - Supporting guardrails: Browse-screenp95render latency, playback-start failure rate, preview opt-out toggles per 1,000 accounts, and mobile cellular data consumption.(3a) Calculate power and sample size under binomial assumptions
Set standard design targets: baseline weekly cancellation
p_c = 0.30%(0.0030), Minimum Detectable Effect (MDE) of0.05 percentage points (pp)(0.0005, a16.7%relative shift), two-sided Type I erroralpha = 0.05(5% false-positive risk when true effect is zero,z_0.975 = 1.960), and statistical power1 - beta = 0.80(80% chance of catching a true0.05 ppshift,z_0.80 = 0.842). Size against an increase (p_t = 0.35%) sincep * (1 - p)variance is slightly larger at0.35%than0.25%.Under the two-sample binomial normal approximation, required observations per arm are:
n_per_arm = (z_0.975 + z_0.80)^2 * [p_c * (1 - p_c) + p_t * (1 - p_t)] / (p_t - p_c)^2 = (1.960 + 0.842)^2 * [0.0030 * 0.9970 + 0.0035 * 0.9965] / (0.0005)^2 = 7.849 * 0.006479 / 0.00000025 = 203,404 subscriber-weeks per armOver 4 weeks, each enrolled account contributes ~4 subscriber-weeks (
203,404 / 4 = 50,851accounts). Verify directly at the exact account level over 28 days (p_4w = 1 - (1 - p_weekly)^4, since an account cancels at most once):from statistics import NormalDist def sample_size_two_proportions(p_control, p_treatment, alpha=0.05, power=0.80): """Required units per arm for a two-sided difference-in-proportions z-test.""" normal = NormalDist() z_alpha = normal.inv_cdf(1.0 - alpha / 2.0) z_power = normal.inv_cdf(power) unpooled_var = p_control * (1.0 - p_control) + p_treatment * (1.0 - p_treatment) return ((z_alpha + z_power) ** 2) * unpooled_var / ((p_treatment - p_control) ** 2) sub_weeks = sample_size_two_proportions(0.0030, 0.0035) # 203,404 subscriber-weeks / arm p28_control = 1.0 - (1.0 - 0.0030) ** 4 # 0.01195 (1.195% cancel in 28d) p28_treat = 1.0 - (1.0 - 0.0035) ** 4 # 0.01393 (1.393%, +0.198 pp diff) accounts = sample_size_two_proportions(p28_control, p28_treat) # 51,096 accounts / armAdding
~2%for 4 group-sequential looks (~52,100) plus a~22%safety buffer for non-triggering dilution gives a clean enrollment target of64,000 accounts per arm(128,000total, yielding88.0%fixed-horizon power).(3b) Quantify what CUPED buys on rare cancellations vs. watch-hours
CUPED (Controlled-experiment Using Pre-Experiment Data) reduces noise by subtracting out predictable pre-experiment differences between accounts using a pre-launch covariate
X(here, prior 4-week streaming hours):Y_cuped = Y - theta * (X - mean(X)), where theta = cov(X, Y) / var(X) (pooled across arms) var(Y_cuped) = var(Y) * (1 - rho^2), so required sample size scales by (1 - rho^2)Here
rho = corr(X, Y)is the linear correlation between pre-period streaming hoursXand the outcomeY. Crucially, CUPED behaves very differently on our two metrics:- On 28-day cancellation (
Y in {0, 1},p = 1.195%), CUPED barely helps (~1%savings): The exact correlation between a rare0/1outcome of ratepand any continuous featureXis the point-biserial correlation:rho = d * sqrt(p * (1 - p)), whered = (mean_X_cancellers - mean_X_stayers) / sd(X)is how many standard deviations apart cancellers and stayers sit on pre-period streaming hours. Atp = 0.01195,sqrt(p * (1 - p)) = 0.109! Even under a huge1.0-standard-deviation separation (d = -1.0),rho = -0.109andrho^2 = 0.0118— trimming sample size by only 1.2%!
import math def cuped_accounts_for_binary(base_accounts, event_rate, std_gap_d): """Remaining sample size after CUPED when cancellers differ on X by std_gap_d std devs.""" rho = std_gap_d * math.sqrt(event_rate * (1.0 - event_rate)) return round(base_accounts * (1.0 - rho ** 2)), round(rho, 3) for gap_d in (0.5, 1.0, 2.0): print(gap_d, cuped_accounts_for_binary(51096, 0.01195, gap_d)) # d=0.5 -> (50945, 0.054) | d=1.0 -> (50493, 0.109) | d=2.0 -> (48683, 0.217)Intuitively, `98.8%` of a rare `0/1` event's variance is pure coin-flip randomness (even a full multi-feature churn score rarely exceeds `rho^2 = 4–5%` here). **Never shrink the `64,000/arm` cancellation budget counting on CUPED.**- On weekly watch-hours (
Ycontinuous), CUPED is a massive win (~49%savings): Suppose weekly streaming hours havemean = 7.5 h,sd = 9.0 h, andrho = 0.70correlation with pre-period streaming hours (1 - 0.70^2 = 0.51). Detecting a2%(0.15 h) shift drops from56,512accounts/arm unadjusted down to28,821accounts/arm with CUPED — improving our64,000/armdetectable watch-time shift from1.9%(0.141 h) to1.3%(0.101 h).
- On 28-day cancellation (
(4) Sequential vs. fixed-horizon testing and exact decision bounds
Checking a standard fixed-horizon test (
|z| >= 1.96) every day for 28 days creates the peeking problem: random noise gets 28 tries to cross1.96, inflating the true false-positive rate from5%to~27%. Yet locking eyes shut for 4 full weeks if automatic previews are actively driving subscribers to cancel is too risky.Use a group-sequential design with 4 planned weekly looks (end of Weeks 1, 2, 3, and 4 — full weeks avoid weekend/weekday cycles) governed by a Lan-DeMets O'Brien-Fleming alpha-spending function (
0.025alpha per side). Alpha-spending budgets cumulative false-positive risk across looks as a function of the information fraction (the share of total expected 4-week cancellations observed so far, roughly0.25, 0.50, 0.75, 1.00), requiring overwhelming evidence early so the final Week-4 cutoff stays almost identical to fixed-horizon (2.01vs1.96, costing only~2%extra sample size):Planned look End Wk 1 End Wk 2 End Wk 3 End Wk 4 (Final) ---------------------- -------- -------- -------- ---------------- Information fraction 0.25 0.50 0.75 1.00 Critical |z| boundary 4.33 2.96 2.36 2.01Implement an asymmetric stopping rule where
z = (cancel_rate_T - cancel_rate_C) / SE:OBF_BOUNDS = [4.33, 2.96, 2.36, 2.01] def evaluate_weekly_look(week_number, z_stat): """Stop early for subscriber harm at any week; declare benefit only after full 4 weeks.""" bound = OBF_BOUNDS[week_number - 1] if z_stat >= bound: return "STOP FOR HARM: cancellations significantly higher — roll back immediately" if week_number < 4: return "CONTINUE: hold until Week 4 to observe past novelty effects" if z_stat <= -bound: return "SHIP CANDIDATE: statistically significant cancellation reduction" return "NEUTRAL: check confidence interval against non-inferiority margin and guardrails"- Why never stop early for benefit? Novelty effects — curious clicks in Week 1 often turn into preview fatigue by Week 3. Skipping early benefit stops only makes Type I error more conservative while preserving full 4-week learning.
- Daily crash circuit breaker: Treat client crashes as an operational safety switch, not a 4-week test — if Treatment's crash rate exceeds Control by
> 10%relative withz > 3.0on two consecutive days, pause immediately.
(5) Stabilize rare events and heavy-tailed watch-hours
At
~1.2%28-day churn across64,000accounts/arm, the entire readout hinges on roughly 765 cancellations per arm — an accidental surplus of 50 newly signed-up, high-churn accounts in one arm could skew the conclusion! Build five stability layers into randomization and cleaning:- Stratified (blocked) randomization: Because Day-0 accounts are known up front, partition them into strata of
country x primary_device x tenure_bucket x pre_churn_risk_decile(new subscribers churn several times faster than 2-year subscribers!) and split every single block50/50, including stratum fixed effects in the analysis. - Daily Sample Ratio Mismatch (SRM) & covariate checks: SRM uses a chi-square test to catch assignment or logging bugs when observed traffic drifts from
50/50— e.g.,64,640vs.63,360yieldschi2 = 2 * 640^2 / 64,000 = 12.8(p = 0.00035), an immediate hard stop before trusting any metric! Also verify pre-period streaming hours and tenure have Standardized Mean Differences (SMD) (|mean_T - mean_C| / sd < 0.10). - Pre-fixed Winsorization for watch-hours: Winsorization caps extreme values at a fixed upper percentile so a tiny fraction of idle smart TVs playing 24/7 cannot inflate variance. Fix the cap at the
99.9thpercentile of pooled pre-experiment weekly streaming hours (and at the physical limitmax_concurrent_streams * 168 h/week), applying the exact same constant cap to both arms. - Strict event hygiene & mutual exclusion: Deduplicate to at most one voluntary cancel per account, isolate retention save-offer tests in a mutually exclusive experiment layer, and use Wilson confidence intervals or Fisher's exact test whenever inspecting small segments with
< 30cancellations per arm.
- Stratified (blocked) randomization: Because Day-0 accounts are known up front, partition them into strata of
(6) Monitoring dashboard specification
Drive a 4-panel BI dashboard (in Tableau or Looker) from a daily summary table keyed by
date x arm x country x device_platform x tenure_bucket, stamped with pipeline freshness:+-----------------------------------------------------------------------------------+ | Global Filters: Date | Country | Device (TV/Mobile/Web) | Tenure | ITT vs Trigger | +----------------------------------+------------------------------------------------+ | Panel 1: Assignment & Balance | Panel 2: Daily Guardrails (non-cumulative!) | | - Enrolled & triggered / arm | - Daily crash rate / 1k sessions (by platform) | | - SRM chi-square p (RED < 0.001) | - Browse-screen p95 latency & playback error % | | - Pre-period covariate SMD table | - Preview opt-out toggles / 1k accounts | | (flagged if |SMD| > 0.10) | - Daily circuit-breaker alert banners | +----------------------------------+------------------------------------------------+ | Panel 3: Cumulative Impact | Panel 4: Pre-Registered Segment Forest Plot | | - Running cancel diff + 95% CI | - Treatment-minus-Control 28d cancel diff & CI | | - z-stat vs OBF bounds [4.33, | for TV, Mobile, Web, and top markets | | 2.96, 2.36, 2.01] at Wks 1..4 | - Account n & raw cancel count per row | | - CUPED watch-hours diff + CI | - Watermark: "Decision on pre-reg interactions"| +----------------------------------+------------------------------------------------+- Why Panel 2 is daily while Panel 3 is cumulative: Plotting guardrails daily catches a broken Friday mobile app release immediately instead of burying it inside 20 days of healthy history; plotting cumulative cancellation
zdirectly against the 4 O'Brien-Fleming steps stops stakeholders from reacting to Tuesday noise.
- Why Panel 2 is daily while Panel 3 is cumulative: Plotting guardrails daily catches a broken Friday mobile app release immediately instead of burying it inside 20 days of healthy history; plotting cumulative cancellation
(7) Interpret heterogeneous effects and make the ship decision
Slicing a rare outcome into countries and devices multiplies noise fast: a segment containing fraction
sof traffic has standard errorSE_overall / sqrt(s). At64,000/arm, the overall 28-day cancellation difference hasSE = 0.061 pp:Segment traffic share 100% (All) 55% (TV) 30% (Mobile) 15% (Web) 5% (Small market) --------------------- ---------- -------- ------------ --------- ----------------- 28-day SE (pp) 0.061 pp 0.082 pp 0.111 pp 0.157 pp 0.272 ppA 5% market's standard error (
0.272 pp) exceeds the entire0.198 pp28-day MDE! Prevent false segment narratives with three strict rules:- Pre-register a short, mechanism-driven list: Primary device (
TV,mobile,web— since unsolicited cellular video + audio feels very different on a phone than on a living-room TV) and top 3–5 countries; mark all other slices exploratory. - Test the interaction (
effect_A - effect_B), never isolated significance: Seeingp < 0.05on TV andp > 0.05on mobile does not prove TV and mobile differ; computez_interaction = (effect_mobile - effect_TV) / sqrt(SE_mobile^2 + SE_TV^2). - Correct for multiple tests and shrink noisy slices: Apply Holm-Bonferroni correction across the
mpre-registered interaction tests (comparing the smallest p-value to0.05 / m) and apply empirical Bayes shrinkage (pulling noisy small-market estimates toward the global mean in proportion to their variance).
Concrete Week-4 decision trace (illustrative 28-day cancellation differences, Treatment minus Control): - Overall:
-0.18 pp(SE = 0.061 pp,z = -2.95 < -2.01-> statistically significant cancellation drop!). - By device: TV-0.29 pp(SE = 0.082), Mobile+0.04 pp(SE = 0.111), Web-0.14 pp(SE = 0.157). - Mobile vs. TV interaction:z = (0.04 - (-0.29)) / sqrt(0.111^2 + 0.082^2) = 0.33 / 0.138 = 2.39(p = 0.017). Acrossm = 8pre-registered interactions, Holm requiresp < 0.05 / 8 = 0.00625, and Mobile's standalone 95% CI (-0.18to+0.26 pp) spans zero — so Mobile harm is an unconfirmed watch item, not a proven regression. - Global ship rule: Ship globally if overall cancellations significantly decrease (or stay safely inside a pre-agreed non-inferiority margin if engagement is the primary goal), all guardrails pass, and zero pre-registered segments show statistically significant interaction + shrunken harm. If Mobile had crossed the Holm-adjusted harm threshold (e.g., paired with cellular opt-out spikes), ship on TV/Web while holding Mobile off (or defaulting previews off on cellular) for a targeted follow-up test. Never cherry-pick "winning markets only" after the fact — post-hoc winners suffer from the winner's curse (upward random-noise bias that evaporates after launch).- Pre-register a short, mechanism-driven list: Primary device (
Intuition & how it works
Designing an A/B test when only 0.30% of subscribers cancel per week (3 out of 1,000) is like trying to hear whether a new living-room soundbar causes a faint buzz across thousands of noisy homes. First, you must flip the coin once per entire household subscription rather than per TV or phone so family members sharing one bill never get mixed versions. Second, because 99.7% of weekly rows are quiet zeros, clever math tricks on past streaming hours barely shrink cancellation noise — you need enough accounts over 4 full weeks, guarded by strict weekly check-in boundaries so daily curiosity peeks don't mistake random static for a real signal.
Three tempting shortcuts ruin rare-event experiments in practice. Randomizing by profile or device splits households across Control and Treatment while cancellation happens once on the shared billing account, diluting the effect. Expecting CUPED (pre-experiment regression adjustment) using prior streaming hours to slash cancellation sample size fails because a 1.2% binary event has a tiny correlation ceiling with any continuous feature (~1% variance reduction), leaving an underpowered test. And checking a standard p < 0.05 chart every morning for 28 days inflates false alarms from 5% to ~27%.
Trace the exact numbers end to end across our 4-week test:
1. Size the cohort: Baseline 0.30%/week vs. 0.35%/week (+0.05 percentage points) compounds over 4 weeks to 1.195% vs. 1.393% (+0.198 pp per account), requiring 51,096 accounts per arm at 80% power — buffered to 64,000 accounts/arm (~765 cancellations/arm, 88.0% power) using stratified randomization on tenure and prior churn risk.
2. Apply CUPED where it actually works: Prior streaming hours cut 28-day cancellation variance by just 1.2%, so we keep all 64,000/arm — while on the continuous watch-hours guardrail (corr = 0.70), CUPED cuts variance by 49%, sharpening detectable watch-time shifts to 1.3%.
3. Check safely once a week: At Weeks 1, 2, 3, 4, compare cancellation z against Lan-DeMets O'Brien-Fleming bounds [4.33, 2.96, 2.36, 2.01], stopping early only for harm (holding benefit decisions until Week 4 so novelty fades) while watching daily client crashes with an instant safety kill-switch.
4. Judge global ship: At Week 4 (overall -0.18 pp, z = -2.95), test pre-registered device/country interactions with Holm multiple-testing correction rather than chasing noisy small-market slices.
Key points
- Randomize subscription accounts, not profiles or devices: Cancellation is an account-level billing event; account randomization prevents interference (household spillover), analyzed primarily via Intent-to-Treat (ITT) (all Day-0 assigned accounts) plus a symmetric triggered secondary readout.
- Pin down exact metric numerators and denominators: Measure voluntary cancellation by request timestamp (ignoring billing-end lag and card failures), compute session crash-rate variance with the delta method (accounting for multi-session correlation within an account), and average watch-hours across all assigned accounts (zeros kept, preview seconds excluded).
- Size for 28-day binomial variance (
64,000accounts/arm):0.30%vs.0.35%weekly needs203,404subscriber-weeks (51,096accounts over 4 weeks) at two-sidedalpha = 0.05and80%power;64,000/armcovers sequential looks and inactive-user dilution (88.0%power). - Point-biserial math limits CUPED on rare
0/1events: Correlation with ap = 1.2%binary event isd * sqrt(p * (1 - p)) ≈ 0.11 * d, trimming cancellation sample size by~1%, whereasrho = 0.70on continuous watch-hours halves variance (1 - 0.70^2 = 0.51). - Use asymmetric weekly O'Brien-Fleming bounds
[4.33, 2.96, 2.36, 2.01]: Group-sequential alpha-spending allows binding weekly harm rollbacks at a2%sample-size cost, withholds early benefit stops to outlast Week-1 novelty effects, and pairs with a daily crash circuit breaker. - Engineer stability up front: Block-randomize on
country x device x tenure x churn-risk decile, run daily Sample Ratio Mismatch (SRM) chi-square checks (p < 0.001halts readout), and Winsorize (cap) watch-hours at a pooled pre-experiment99.9thpercentile. - Require interaction tests + shrinkage for segments: Segment standard error scales as
1 / sqrt(share)(0.272 ppin a 5% market vs.0.061 ppoverall), so pre-register key slices, test(effect_A - effect_B)with Holm-Bonferroni correction, apply empirical Bayes shrinkage, and avoid the winner's curse of shipping post-hoc winners.
Common mistakes
- Randomizing by device ID or profile ID: Exposing one household's TV to Treatment and its tablet to Control contaminates the single account-level cancellation button and biases the effect toward zero.
- Measuring cancellations by subscription expiration date: Monthly subscribers who cancel in Week 2 often keep access until Week 5, hiding real treatment harm outside the 4-week window.
- Counting preview seconds inside watch-hours or dropping non-watchers: Including preview clips rigs watch-hours in Treatment's favor, and excluding
0-houraccounts conditions on a post-treatment variable. - Under-enrolling because "CUPED reduces variance by 40%": Applying continuous-metric CUPED rules of thumb to a
0.30%/weekbinary event leaves the primary cancellation readout badly underpowered. - Peeking daily at unadjusted
p < 0.05or stopping Week 1 for a win: Daily peeking quintuples false positives (~27%), and stopping at Week 1 misses weeks 2–4 fatigue after curiosity wears off. - Computing Winsorization caps separately per arm or post-launch: If Treatment changes heavy viewing, per-arm percentile caps clip Treatment and Control at different hour thresholds and inject bias.
- Claiming "Mobile differs from TV" without an interaction test: Comparing one significant subgroup (
p = 0.01) and one noisy non-significant subgroup (p = 0.40) against zero instead of testing their difference fabricates fake heterogeneity.
Follow-up questions
- Suppose the product goal is boosting engagement and cancellations only act as a 'do-no-harm' guardrail—how would you size a non-inferiority test? Define a maximum tolerable cancellation increase — the non-inferiority margin — in business dollars first: for instance,
+0.025 pp/week(+0.099 ppover 28 days) equals250extra cancellations/week per million subscribers, weighed against expected lifetime value and engagement gains. Because ruling out+0.025 pp/weekis tighter than detecting0.05 pp/week, even at one-sidedalpha = 0.05and80%power (assuming true zero effect), required sample size climbs to(1.645 + 0.842)^2 * 2 * 0.01195 * 0.98805 / (0.00099)^2 ≈ 148,717accounts per arm (~2.9xlarger than51,096). Always lock and size for the non-inferiority margin before launch if "do no harm on churn" is the ship gate. - How can you tell whether an apparent Week-1 retention gain is merely novelty rather than durable renewal behavior across billing cycles? Break out weekly cancellation hazards separately for Week 1, Week 2, Week 3, and Week 4 (and cohort by days until the subscriber's next monthly billing date, since many subscribers only reconsider value when a charge hits). If cancellation savings shrink steadily from Week 1 toward zero in Week 4, novelty is wearing off; if savings hold or deepen around billing dates, the habit is durable. After shipping globally, keep a small long-term holdout (such as
1–2%of accounts without previews for 90 days) to verify 3-month cumulative retention across multiple billing renewals. - What compromises and statistical adjustments are needed if client SDK constraints force bucketing by hardware device ID rather than billing account? First ask engineering whether the bucketing SDK can hash
account_idinside the client flag evaluation whenever a subscriber is authenticated (which restores clean account-level randomization on logged-in surfaces). If hardware-level device bucketing is unavoidable, aggregate outcomes at the account level using cluster-robust standard errors, track the exact share of multi-device accounts exposed to both variants ("mixed accounts"), and treat the Intent-to-Treat estimate as an attenuated lower bound diluted toward zero by cross-device contamination.
Follow-up questions
- Suppose the product goal is boosting engagement and cancellations only act as a 'do-no-harm' guardrail—how would you size a non-inferiority test?
- How can you tell whether an apparent Week-1 retention gain is merely novelty rather than durable renewal behavior across billing cycles?
- What compromises and statistical adjustments are needed if client SDK constraints force bucketing by hardware device ID rather than billing account?
Similar questions
- Production Weekly Churn Pipeline Without Leakage
- Independent vs. Stratified Ad Placement in a 100-Item Feed
- Customer Support Costing, Metric Drops, and Order Defects
- Causal Evaluation of a Regional Feature Rollout
- Evaluating a Paid-Plan Trial Experiment
- Experiment Analysis Under Margin and Capacity Trade-Offs