KatInterview

Designing and Analyzing a Free-Trial Growth Experiment

Statistics & ExperimentsModel answer
MediumModel answerStatistics & Experimentsab-testingcausal-inferencemetrics

Last updated

Design metrics, choose analysis populations, identify pitfalls, and make a business decision for an A/B test offering a one-month free trial.

Your company is considering a growth initiative: offering new visitors a free one-month trial instead of requiring immediate payment.

Before launching to everyone, you run a randomized experiment. Visitors are randomly assigned on their first visit:

  • Control group: standard experience with no trial offer
  • Treatment group: shown the free trial offer

Leadership wants to know two things:

  1. Does the trial increase the number of people who sign up?
  2. Does it affect how many of those users stick around afterward?

There's a concern that while a free trial might boost initial signups, it could attract users with lower commitment, potentially reducing retention rates or lifetime value.

Your task

You are responsible for the experimental design, analysis plan, and final recommendation. Address the following:

Part 1: Metric design

  • Define a primary metric that reflects real business value
  • Specify 2–3 secondary metrics
  • Propose at least one guardrail metric
  • For both "signup rate" and "retention," provide precise definitions including numerator, denominator, and time window

Part 2: Analysis strategy

  • Should you use an intent-to-treat (ITT) analysis, a per-protocol analysis, or both? Justify your choice
  • How do you handle users who were assigned to treatment but never actually saw the offer?
  • Explain how you'd estimate treatment effects for:
    • A binary outcome like signup
    • Retention, which is only observable among users who signed up (this involves post-treatment selection)

Part 3: Implementation review

  • You're reviewing a colleague's analysis code. Without writing code yourself, list 5–7 common mistakes or bugs you'd specifically look for in an A/B test analysis pipeline (e.g., issues with time windows, joins, filters, statistical testing)

Part 4: Business decision

  • How would you decide whether to launch the free trial, iterate on it, or abandon it?
  • What additional analyses would you run to connect the experiment results to long-term business impact?

Assume you'll use standard frequentist hypothesis testing unless you have a specific reason to do otherwise.

Hints

Hint 1

The trial lasts 30 days—what does that tell you about when you can measure retention that actually matters?

Hint 2

Comparing retention rates only among users who signed up is not a valid causal comparison. Why not, and what should you do instead?

Hint 3

Think about what could go wrong in the code: wrong denominators, filtering after treatment, join logic that drops non-converters, or time windows that vary by user.