How do seasonality, holidays, and external shocks threaten an experiment, and how do you account for them?
Role: Data Scientist
Category: Analytics & Experimentation
Difficulty: medium
Interview Round: Other
How do seasonality, holidays, and external shocks threaten an experiment, and how do you account for them?
```hint Two separate risks
Ask whether the calendar can bias the measured effect, and separately whether it can make a correctly measured effect fail to hold in a normal week.
```
```hint What concurrency fixes
Think about which calendar effects a concurrent control group cancels out, and which ones it cannot, such as a treatment that works differently during a holiday.
```
### What a Strong Answer Covers
- Why before/after comparisons are confounded by the calendar, and what a concurrent control fixes.
- The difference between a calendar shift that moves both arms equally and one that changes the treatment effect itself.
- When an external shock can land on one arm more than the other, depending on the randomization unit.
- Design choices: test duration, full weekly cycles, and timing around holidays.
- Analysis choices: daily treatment-effect plots, variance reduction, and sensitivity analysis around shocks.
### Follow-up Questions
- A two-week test that spans Thanksgiving shows a 3% lift. Would you ship, and what would you check first?
- How would you test a feature whose value is mostly seasonal, such as gift recommendations?
- In a geo experiment, a storm hits two of the treatment regions. What do you do?
- How do you tell a novelty effect from a seasonal trend in the daily treatment effect?
Overview: Asks how seasonality, holidays and external shocks can distort an A/B test and how to design and analyze around them. Tests concurrent controls, treatment effects that change with the calendar, test duration, and sensitivity analysis.