Design A/B Test for Cost-Per-Conversion Efficiency Analysis

Quick Overview

Design A/B Test for Cost-Per-Conversion Efficiency Analysis evaluates metric design, causal reasoning, experiment setup, diagnostics, SQL/statistical checks, and recommendations in a realistic interview setting. A strong answer states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.

Design A/B Test for Cost-Per-Conversion Efficiency Analysis

Company: TikTok

Role: Data Scientist

Category: Analytics & Experimentation

Difficulty: hard

Interview Round: Onsite

##### Scenario You are the data scientist for a marketing division considering four new acquisition channels—YouTube ads, Google Search ads, Facebook ads, and direct-mail. Leadership wants the marketing budget used in the most cost-efficient way. ##### Question How would you design an A/B (multi-arm) test to compare the cost-per-conversion efficiency of YouTube, Google Search, Facebook, and Direct Mail campaigns? What metric will you optimize and how will you define it precisely? State the null and alternative hypotheses and the statistical test you would apply. How will you determine sample size, budget split, and test duration given desired power and MDE? What post-hoc or follow-up analyses would you conduct after the main test? ##### Hints Discuss cost-per-conversion metric, multi-arm design, power & alpha, ANOVA vs pairwise tests, budget allocation, assumptions, and demographic or creative differences.

Quick Answer: Design A/B Test for Cost-Per-Conversion Efficiency Analysis evaluates metric design, causal reasoning, experiment setup, diagnostics, SQL/statistical checks, and recommendations in a realistic interview setting. A strong answer states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.

|Home/Analytics & Experimentation/TikTok
TikTok logo
TikTok
Aug 4, 2025, 10:55 AM
hardData ScientistOnsiteAnalytics & Experimentation
154
0

Design A/B Test for Cost-Per-Conversion Efficiency Analysis

Multi-Arm A/B Test: Comparing Cost-Per-Conversion Across Channels

Scenario

You need to compare four new acquisition channels—YouTube ads, Google Search ads, Facebook ads, and Direct Mail—to choose the most cost-efficient option for driving conversions given a fixed budget.

Task

Design a rigorous multi-arm A/B test to evaluate cost-per-conversion efficiency across these channels.

Address the following:

  1. Primary metric
    • What exactly will you optimize? Define the metric precisely (including incrementality vs. attribution, unit of analysis, and conversion window).
  2. Experimental design
    • Randomization scheme (units, arms, control), avoiding cross-channel contamination, frequency caps, and deduped conversions.
  3. Hypotheses and statistical test
    • State the null and alternative hypotheses, and specify the appropriate global and pairwise tests.
  4. Sample size, budget split, and duration
    • How will you determine these given desired power and minimum detectable effect (MDE)? Include how per-user costs differ by channel.
  5. Post-hoc / follow-up analyses
    • What analyses will you run after the main test (e.g., multiple comparisons, heterogeneity, creative, response curves)?

Hints: Discuss cost-per-conversion metric, multi-arm design, power/alpha, ANOVA vs. pairwise tests, budget allocation, assumptions, and demographic/creative differences.

Clarifying Questions to Ask Guidance

  • Clarify the business objective, unit of analysis, time window, exposure definition, and primary metric.
  • State assumptions about instrumentation, randomization, sample size, and data quality.
  • Separate descriptive analysis from causal claims.

What a Strong Answer Covers Guidance

  • A metric framework with primary, guardrail, and diagnostic metrics.
  • A credible analysis or experiment design with clear assumptions and bias checks.
  • SQL/statistical logic for segmentation, variance, confidence, and data validation where relevant.
  • An actionable recommendation that explains trade-offs and next steps.

Follow-up Questions Guidance

  • What sanity checks would you run before trusting the result?
  • How would you handle novelty effects, seasonality, or selection bias?
  • What decision would you make if metrics disagree?
Loading comments...