KatInterview

Measuring Trial-to-Paid Conversion Rate with Censored Data

Statistics & ExperimentsModel answer
MediumModel answerStatistics & Experimentsconversion-metricscensored-datacohort-analysis

Last updated

Estimate conversion probability from free trial to paid subscription, handling incomplete observations and confounding factors.

Problem

Your company runs a product with a free trial period. Leadership wants to know: "What percentage of trial users convert to paying customers?"

You have access to two datasets:

Trial starts table:

  • user_id
  • trial_start_at (timestamp)
  • trial_length_days (integer, e.g., 14 or 30)
  • Optional: country, channel, device_type, plan_tier

Conversion events table:

  • user_id
  • paid_start_at (timestamp; null if user never converted)
  • Optional: revenue

Your Task

  1. Define the metric precisely. What exactly does "conversion probability" mean? Specify the cohort, the event, and the measurement window.

  2. Compute the estimate. Explain your calculation approach, addressing:

    • Users whose trials haven't ended yet (right-censored observations)
    • Users who convert days or weeks after their trial expires
    • Changes in user mix over time (different channels, countries, etc.)
  3. Quantify uncertainty. Provide confidence or credible intervals and explain your choice of method.

  4. Recommend diagnostics. What additional checks and metrics would you track to ensure this estimate is trustworthy and actionable?

Hints

Hint 1

Define the observation window relative to trial start, not calendar time

Hint 2

Kaplan-Meier estimation handles incomplete observations without bias

Hint 3

Segment-level rates and mix shifts can both drive aggregate changes