Testing Pharmacy Staffing Changes When Stores Share Patients

Last updated: November 29, 2026

Quick Overview

Pharmacy operations wants to test a new technician staffing model that should reduce wait times. Stores in the same area share patients who switch locations when one is busy. Design the experiment so interference does not bias the result.

CVS Health
Analytics & Experimentation
Data Scientist
CVS Health
November 29, 2026
Data Scientist
Onsite
Analytics & Experimentation
Hard

0

0

0 solved


Pharmacy operations wants to test a new technician staffing model that should reduce wait times. Stores in the same area share patients who switch locations when one is busy. Design the experiment so interference does not bias the result.

CVS stores in dense markets are close together, and a busy pharmacy pushes patients to transfer prescriptions to a nearby location. Interviewers use this to check understanding of SUTVA violations, cluster randomization, and the power cost of larger units.

What the Interviewer Expects
  • Identifies interference between nearby stores as a SUTVA violation
  • Explains the direction of bias
  • Proposes cluster randomization by market or geography
  • Uses matched pairs or stratification to recover power
  • Computes the design effect and number of clusters needed
  • Plans to measure spillover directly
Key Topics to Cover
interference
SUTVA
cluster randomization
design effect
spillover
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
  • You only have 60 eligible markets. Is that enough?
  • How would you use a switchback design here, and why might it fail?
  • How would you measure the spillover effect itself?
  • What if store managers in control areas change behavior after hearing about the pilot?
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 options: store, or cluster of stores (trade area). Outcomes: median wait time, prescriptions per labor hour, and transfers out. Patients switch between nearby stores, so a treated store that gets...

Approach

Randomize at the level where interference is mostly contained: geographic clusters of stores whose patients overlap heavily (built from transfer and multi-store patient data). Pair clusters on pre-per...


Submit Your Answer
Markdown supported

Related Questions