KatInterview

Designing a Native E-Commerce Shopping Module Experiment

Statistics & ExperimentsModel answer
HardModel answerStatistics & ExperimentsA/B TestingExperiment DesignMetric Design

Last updated

Define a comprehensive metric hierarchy, interference strategy, power analysis, and multi-objective launch framework for an embedded feed feature.

You are leading the experimentation strategy for adding a native, interactive E-Commerce Shopping Module directly inside a social platform's discovery feed.

Formulate a detailed experimentation proposal covering the following four components:

1. Metric Hierarchy & Definitions

  • Select and precisely define one primary success metric and 3–5 guardrail metrics (specifying numerator, denominator, unit of analysis, and aggregation window).
  • Include at least one explicit intermediate funnel metric (e.g., feature click-through rate, dwell time within the shopping surface, add-to-cart rate).
  • Evaluate the trade-offs of using broad platform engagement metrics (e.g., DAU, total user time spent) as primary success metrics versus localized purchase/conversion metrics (e.g., Shopping CTR, Add-to-Cart Rate, GMV per DAU).
  • Define acceptable non-inferiority margins (direction and relative magnitude) for all guardrail metrics.

2. Experimental Architecture, Interference & Novelty

  • Compare potential experimental designs (user-level randomization with counterfactual logging, cluster/geographic split, switchback/time-based, or two-stage saturation). Select one primary design and justify your choice.
  • Detail the exact unit of randomization, user eligibility criteria, exposure logging rules, and cooldown/washout periods.
  • Propose concrete statistical techniques to:
    1. Detect and quantify spillover effects (e.g., control users observing shoppable content via re-shares or graph connections).
    2. Separate novelty/learning effects from true long-term behavior change (e.g., tracking feature usage slopes across user exposure cohorts).

3. Power Analysis, Sample Size & Variance Reduction

  • Provide explicit sample size calculations and MDE (Minimum Detectable Effect) estimates under concrete baseline variance/CV assumptions.
  • Address variance reduction using CUPED (or covariate adjustment) and describe how you will handle ratio metrics.
  • Detail how you will account for weekly seasonality, peak traffic events, and potential sample ratio mismatches (SRM).

4. Trade-off & Launch Decision Framework

Suppose a 21-day experiment yields the following results:

  • Shopping CTR: $+2.3%$ (statistically significant)
  • GMV per User: $+1.1%$ (statistically significant)
  • Total Time Spent: $-0.6%$ (statistically significant; breaches a $-0.5%$ guardrail)
  • DAU: $-0.2%$ (statistically significant; breaches a $-0.1%$ guardrail)

Formulate a multi-objective decision framework. Recommend whether to launch, hold, or iterate, detailing specific diagnostic checks (e.g., cannibalization of ad revenue, repeat vs. one-off buyers, user segment heterogeneity) required before making a final executive decision.

Hints

Hint 1

For the primary metric, balance business value against variance; ITT metrics (denominated by assigned users) prevent post-exposure selection bias.

Hint 2

User-level randomization usually yields higher statistical power than cluster-level, provided exposure logging handles shared content appropriately by suppressing treatment UI for control viewers.

Hint 3

When total time spent decreases while conversion increases, evaluate whether the feature improved transaction efficiency or degraded content feed engagement.