KatInterview

Design and Analyze a Multi-Channel Vaccination Campaign Experiment

Statistics & ExperimentsModel answer
HardModel answerStatistics & Experimentsexperimentationcausal-inferencepower-analysis

Last updated

Plan a randomized experiment to measure the impact of SMS and email reminders on pharmacy vaccination rates, including power calculations and causal inference.

You're leading the analytics for a pharmacy chain's autumn vaccination campaign. The business wants to use digital outreach to drive more customers to get vaccinated in their stores during the fall season.

Context:

  • Your target audience consists of loyalty program members aged 18+ across three large states
  • You have two communication channels available: text messages (cost: $0.02 per send) and email (cost: $0.001 per send)
  • Historical data shows text messages reach recipients 92% of the time, while emails reach 98%
  • The outcome you're measuring is whether someone receives a vaccination at one of your pharmacy locations during the campaign period

Your task is to design the complete experiment:

  1. Design choices: Should you run separate A/B tests for each channel, or use a factorial design with all combinations? Explain your reasoning around interaction effects, resource constraints, and potential interference between units. Define who is eligible, who should be excluded, what your randomization unit should be, and how you'll stratify. Specify your primary success metric and any guardrail metrics.

  2. Sample size calculation: Historical vaccination rates are around 8%. You want to detect at least a 1.5 percentage point increase with 80% power at a 5% significance level (two-sided). Calculate the required sample size per group. Then adjust for the fact that some customers belong to the same household (intracluster correlation = 0.01, average household size = 1.3).

  3. Handling imperfect compliance: Not everyone assigned to receive a message will actually see it. Define the intention-to-treat (ITT) estimate and explain how to calculate the treatment-on-treated (TOT) effect using delivery rates. What assumptions must hold?

  4. Attribution logic: In a factorial design where some customers get both channels, how do you attribute impact to each channel? What data would you collect, and what analysis would you run? Why can't you simply ask customers "which message brought you in?"

  5. Interpret results: In one region, the control group had a 7.5% vaccination rate. The text message group had 9.0% (100 vaccinations out of roughly 1,111 people). When you survey those 100 vaccinated customers, 50 say the text message influenced their decision. Compute the actual lift from the experiment and explain the discrepancy. If the lift falls short of your target, what would you test next?

  6. Reporting plan: How would you monitor the experiment as it runs, finalize your analysis, and make a recommendation about which channels to use at scale given a fixed budget?

Hints

Hint 1

For the design choice, consider whether SMS and email might reinforce or substitute for each other—this determines whether a factorial approach adds value

Hint 2

When calculating treatment-on-treated effects, remember that delivery rate creates one-sided noncompliance: treated units might not receive the message, but control units definitely don't

Hint 3

Self-reported attribution tells you about customer perception, not causality—many people who would have acted anyway will credit the message