2. Controlled Experimentation (A/B Testing)!
• Method to study effects of a treatment
#
• Concept:!
- Randomly split users into two groups#
Randomly)
Divide) A : Control#
B: Treatment#
- A and B are identical to each other except
A)(Control)) B)(Treatment)) for the treatment being evaluated#
- Collect performance metrics from the
experiment#
- Run statistical tests to determine if
differences between A and B are purely
by chance#
Measure)&)
Evaluate)
Controlled)Experimenta=on)Panel) 2
3. Why Run Controlled Experiments?!
• Commonly used approach in clinical trials!
- What is the effect of a particular drug / treatment?#
• Systematically validate hypotheses with data!
!
• Concurrently run the treatment and control!
- The difference (if any) is#
Because of the treatment OR#
Due to random chance#
• Determine if a treatment is causal in nature!
- E.g., Making the search box bigger causes increase in queries / user#
Controlled)Experimenta=on)Panel) 3
7. Controlled Experimentation: Use Cases!
#
Backend)changes)(e.g.,)Personaliza=on)Algorithm))
Controlled)Experimenta=on)Panel) 7
8. Controlled Experimentation: Use Cases!
# • Follow-up message for users
who previously clicked on an
ad#
• Incentive campaign to re-
engage lapsed users#
• Think of this as placing filters /
guards on a randomly chosen
user population#
Custom)Defined)User)Segments)
Controlled)Experimenta=on)Panel) 8
10. Ensure Identical Control and Treatment!
Gender""
• Custom Segments#
Male)
Female)
• Frequency Distribution#
CONTROL" TREAMENT"
Region"Size"
Small)
Medium)
Large)
CONROL" TREATMENT"
Prior"Exposure"
• Large Difference in Prior
Exposure Rate violates δ%"
assumptions# No)
Yes)
CONROL" TREATMENT"
Controlled)Experimenta=on)Panel) 10
11. A/A Tests!
• Run an experiment with two identical variants#
• Helps to determine if:#
- Users are being split uniformly at random#
- Correct data is being logged#
- Variance between identical populations of users is acceptable#
• Challenge:!
- Few purchases of high value deals render statistically significant
difference between treatment and control#
SPAIN"TRIP"
$1,999"
Controlled)Experimenta=on)Panel) 11
12. Monitor Each Variant!
• Place yourself in each variant
to validate the experience#
!
• Wrong sort order!!
!
!
Carefully)inspect)each)variant)
Controlled)Experimenta=on)Panel) 12
14. Measure Overall Impact!
• Test focuses on#
- A particular area of
the website#
- A sub-population of
users#
• Measure!
- Improvement on the
sub-segment AND#
- Entire population!#
Measure)overall)impact)to)guard)against)cannibaliza=on)
Controlled)Experimenta=on)Panel) 14
16. Acknowledgements#
Thanks to many talented individuals at Groupon I am privileged to work with!#
• Data Science#
• Engineering#
• Marketing / Market Research#
Controlled)Experimenta=on)Panel) 16