Planning a Controlled Experiment for a New Signup Journey
Statistics & ExperimentsModel answerLast updated
Plan a randomized experiment for a revamped first-run experience in a subscription product, size it, monitor it safely, and decide when a gain comes with a rise in support load.
Scenario
A subscription app has rebuilt the first-run flow that new customers go through right after they sign up. The product team believes the new flow will get people to real usage faster, and wants rigorous evidence before rolling it out to everyone.
Your task
Describe how you would design a randomized experiment to evaluate the new flow. Your answer should cover:
- Hypotheses you would state and how you would define the key outcome ("activation").
- Randomization unit, and why it is the right choice over the alternatives.
- Metrics: one primary decision metric, supporting secondary metrics, and guardrail metrics.
- Sample size and runtime: pick reasonable baseline numbers, show the calculation, and explain how calendar effects and the measurement window affect how long the test runs.
- Monitoring: how you would handle stakeholders who want to look at results every day.
- A conflicting result: partway through, activation is clearly up, but support tickets are also up. Explain how you would decide whether to launch.
State your assumptions explicitly and call out the mistakes that would invalidate the conclusion.
Hints
Hint 1
Pin down activation as a concrete behavior within a fixed time window after signup, and make sure the randomization unit stays consistent across devices and sessions.
Hint 2
For sizing, choose a baseline rate, a minimum detectable effect, alpha and power, then plug them into the two-proportion formula. Then ask what else sets the runtime: full weekly cycles and the length of the outcome window.
Hint 3
Repeated looks at a fixed-horizon p-value inflate false positives, so name a method that controls them. For the conflict, normalize tickets by assigned accounts, diagnose the cause, check downstream retention, and convert both sides into a common value unit against rules set in advance.
Model answer
Medium Try it yourself first — then compare your approach, complexity and edge cases.
What a strong answer demonstrates
The goal is a launch decision you can defend. That means a precise outcome definition, contamination-free assignment, honest sizing, controlled peeking, and a conflict-resolution rule agreed before any data arrives.
1. Hypotheses
- Null: the new flow does not change the 7-day activation rate of new accounts.
- Alternative: it changes it. Use a two-sided test, since a redesign can also hurt and you want to detect that.
- Business rationale: a shorter, clearer flow gets people to a first meaningful use sooner, which should raise activation and, downstream, retention past the first billing cycle.
Write down the hypotheses, metrics, minimum detectable effect (MDE), runtime and decision rules before launch.
2. Randomization unit
- Unit: the new account, assigned once at the moment it becomes eligible for the flow (right after signup), with the assignment persisted server-side.
- Not session or device: the flow spans several sessions and often several devices. Device-level assignment can expose one person to both versions and contaminate the comparison.
- Not sub-profiles or later entities: these are created during the flow, so they cannot be the unit.
- Analyze as assigned (intent-to-treat). Do not restrict to people who finished the flow. Completion is itself affected by the treatment, so filtering on it creates selection bias.
- Validity checks: a sample ratio mismatch test (chi-square on arm counts) and a balance check on country, platform and plan.
3. Metrics
Primary: 7-day activation rate, the share of assigned accounts that reach a meaningful usage threshold (for example 30 minutes of use) within 7 days of signup. Pick the threshold from historical data so it predicts retention. "Completed the flow" is too easy to move with UI tweaks alone.
Secondary:
- Flow completion rate and time to first meaningful use.
- Paid retention through the first billing cycle (about day 30 to 37), the metric closest to business value.
- Usage volume in the first 28 days.
Guardrails, each with a pre-set non-inferiority margin:
- Support tickets per 1,000 assigned accounts (for example, no more than a 10% relative increase at 95% confidence).
- Early cancellations.
- Signup and payment errors.
- Crash rate and latency in the flow.
- Complaint or unsubscribe rate on related messages.
4. Sample size and runtime
Assumptions: baseline p₁ = 40%, MDE of 2 percentage points (p₂ = 42%), two-sided α = 0.05, power 80%.
n per arm = (z₁₋α/₂ + z₁₋β)² × [p₁(1−p₁) + p₂(1−p₂)] / δ²
- (1.96 + 0.84)² ≈ 7.84
- 0.24 + 0.2436 = 0.4836
- n ≈ 7.84 × 0.4836 / 0.0004 ≈ 9,500 per arm, roughly 19,000 in total.
Adjustments:
- Inflate by about 10 to 20% to account for the power cost of interim looks.
- Check sizing for the noisiest decision metric. Rare guardrails such as tickets, and retention, can need far more sample than activation.
Runtime = enrollment + outcome window.
- With, say, 20,000 eligible signups a day, the raw sample is reached in about a day, but that is not enough. Enroll for at least 14 days to cover two full weekly cycles, marketing and regional variation, and to dilute novelty effects.
- Each account needs its full 7-day window, so the activation read is around day 21.
- The day-30 retention read arrives around day 45. Keep a small holdback if you want longer-term tracking.
5. Monitoring without inflating false positives
Checking a fixed-horizon p-value every day pushes the real false-positive rate well above 5%. Two sound options:
- Group sequential design: a few planned looks (for example days 7, 14, 21) with an O'Brien-Fleming alpha-spending function. Early looks demand very strong evidence, and the final look stays close to 0.05.
- Always-valid inference: mSPRT or confidence sequences, if the platform supports continuous monitoring.
Stop early freely for harm (guardrail breach, crash spike). Be conservative about stopping early for a win, since early uplifts are often novelty effects that overstate the true gain.
6. Activation up, support tickets also up
Do not let the most favorable metric win by default.
- Is it real and normalized correctly? Measure tickets per assigned account, not raw counts, because more active users naturally contact support more. Also look at tickets per activated account to separate a volume effect from a confusion effect. Test against the pre-registered margin.
- Diagnose the cause. Categorize tickets (login, setup, billing, playback). A spike at one confusing step is fixable. Check timing: front-loaded tickets suggest learning-curve or novelty, persistent ones suggest a real problem. Slice by platform and country, since a single-platform bug can be fixed and retested.
- Check downstream impact. Do ticket-filers churn more? Is day-30 retention in treatment at least as good as control? If activation rises but retention does not, the gain may be shallow.
- Put both sides in one unit, such as money. Example with 1M signups a month: +2 pp activation is 20,000 extra activated accounts. If 30% are incremental retained subscribers worth $100 each, that is about $600K. If tickets rise by 0.5 per 100 accounts, that is 5,000 extra tickets at about $6 each, roughly $30K, plus any measured churn from ticket-filers.
- Apply the pre-agreed rules.
- Guardrail breached beyond its margin: do not ship as is. Fix the cause and rerun or extend.
- Within margin and net value clearly positive: launch with a staged ramp (for example 50% then 100%), fix the ticket driver, keep monitoring, and retain a small holdback (about 5%) to confirm retention.
- Ambiguous: iterate on the problem step and retest rather than shipping on hope.
Common mistakes
- Vague activation definition, or one that is trivially gameable.
- Randomizing by session or device, causing cross-exposure.
- Analyzing only completers.
- Daily peeking with a fixed-horizon test and declaring an early win.
- Sizing only for the primary metric and ignoring guardrails.
- Running less than two weekly cycles.
- Comparing raw ticket counts instead of rates per assigned account.
- Choosing the decision rule after seeing the data.