Comparing Time to First Marketplace Sale With Censored Data

Last updated: November 29, 2026

Quick Overview

A Marketplace experiment changes listing creation to suggest a price. You want to know if it shortens time to first sale. Many listings have not sold by the end of the test. Explain how to analyze this properly.

Meta
Analytics & Experimentation
Data Scientist
Meta
November 29, 2026
Data Scientist
Technical Screen
Analytics & Experimentation
Medium

0

0

0 solved


A Marketplace experiment changes listing creation to suggest a price. You want to know if it shortens time to first sale. Many listings have not sold by the end of the test. Explain how to analyze this properly.

Marketplace outcomes take time to happen, and experiments end before many listings resolve. The interviewer is checking whether you know survival analysis and avoid comparing only completed sales or averages that treat unsold listings as missing.

What the Interviewer Expects
  • Recognizes right censoring of unsold listings
  • Uses Kaplan-Meier curves by arm and a log-rank test
  • Reports a clear summary such as sale probability by day 7 or median time to sale
  • Considers Cox regression with hazard ratios
  • Accounts for listings removed by the seller as a competing outcome
Key Topics to Cover
Survival analysis
Censoring
Kaplan-Meier
Marketplace experiments
Competing risks
How to Approach This
  1. Define success metrics carefully. A good metric is measurable, actionable, and aligned with business goals.
  2. Run experiments long enough to account for novelty effects and weekly seasonality.
  3. Use funnel analysis to identify where users drop off for maximum optimization impact.
  4. Segment results by key dimensions (platform, country, user cohort) to catch hidden patterns.
  5. Consider network effects and interference between treatment and control groups.
Possible Follow-up Questions
  • Why is comparing average days to sale among sold listings biased?
  • How would you handle listings deleted by sellers before selling?
  • What if the treatment speeds up sales but lowers prices?
  • How would you treat sellers with many listings?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Browse Analytics Questions
Sample Answer
Clarify

Unit: listing created during the 3-week test. Event: first marked sold. Censoring: test end or the listing still open. Also: listings deleted without sale, which is not the same as censoring. Randomiz...

Approach

Comparing average time to sale among sold listings ignores unsold listings and can mislead: if treatment sells some slow items that would otherwise never sell, average time among sold items can go **u...


Submit Your Answer
Markdown supported