Dataford
Interview QuestionsInterview GuidesExperiencesMock InterviewsPricing
Get started

Bandit vs A/B for Splice CTA

HardStatistics & Probability00:00
Practice interviewer
In session
5 left
00:00

Your question is Bandit vs A/B for Splice CTA. Take a moment with it on the right.

Talk me through your thinking if you like. When you're confident, submit your answer and I'll grade it like a real screen (7/10 or better passes).

You need to log in / sign up to chat or submit.

Problem

Business Context

Splice is testing three homepage CTA variants on the Splice Sounds landing page to increase trial starts. Product wants to know whether to run a standard fixed-horizon A/B/n test or switch to a multi-armed bandit that reallocates traffic during the experiment.

Given Data

After the first 20,000 visitors, traffic was split evenly across three variants.

VariantVisitorsTrial StartsObserved Conversion Rate
A (current CTA)6,66780012.00%
B ("Start creating")6,66686012.90%
C ("Try Sounds free")6,66792013.80%

Additional planning inputs:

QuantityValue
Remaining visitors expected this month180,000
Significance level for fixed A/B/n follow-up0.05
Desired power0.80
Minimum detectable lift vs control1.5 percentage points
Value per incremental trial start$18

Problem Statement

Decide whether Splice should continue with a standard fixed-horizon experiment or switch to a multi-armed bandit. Your answer should quantify both the learning objective and the traffic-allocation objective.

Requirements

  1. Compute the posterior mean conversion rate for each arm using a Beta(1,1) prior.
  2. Estimate the probability each arm is best, and identify the current leader.
  3. Calculate the expected number of incremental trial starts over the remaining 180,000 visitors if Splice:
    • keeps equal allocation across all 3 arms, or
    • sends all remaining traffic to the current best observed arm.
  4. Compute the approximate per-variant sample size needed for a fixed-horizon test to detect a 1.5 percentage point lift from 12.0% to 13.5%.
  5. Based on the numbers, recommend bandit vs standard A/B/n, and explain when each is preferable.

Assumptions

  • Visitors are independent and randomly assigned in the initial phase.
  • Conversion is binary: visitor starts a trial or not.
  • No interference across users and no major seasonality shift during the month.
  • For sample-size planning, use a normal approximation for two proportions and equal-sized groups.