Choose the randomization unit
Randomizing by user, account or session affects a test's validity as much as its power. The lesson helps you weigh a coherent experience for every user, the risk of interference between groups and the number of units available. A critical choice in B2B and marketplaces, best discussed early with the engineering team.
Lesson objective
By the end of this lesson, you will be able to choose the unit to randomize (user, account, session, business object, cluster) by weighing consistency of experience, interference and number of units, and to spot the B2B and marketplace cases where groups influence each other.
Questions this lesson answers
- How do you choose the randomization unit for an A/B test?
- What is interference between groups in an A/B test?
- When should you randomize by cluster instead of by user?
Topics covered
- randomization unit
- interference
- B2B A/B testing
- marketplace
- cluster randomization
In the glossary
Where it fits
Write the protocol
What must be settled before launching the test so that its result is readable and credible?
Lessons in this module
- Hypothesis, primary metric and guardrails
- Choose the randomization unit (this lesson)
- Compute the sample size and the duration
What you will learn in this module
This lesson is part of the course Design and analyze an A/B test
- Write a testable hypothesis, choose a sensitive, attributable primary metric, guardrails and the exposure event to log.
- Choose the randomization unit and prevent interference between groups, including in B2B.
- Compute a sample size and a duration from the baseline rate, the minimum detectable effect, the significance level and the power.
Related courses
- Product ManagementJuniorSome basics are useful: introductory knowledge of the topic.
Design and validate a product experience with AI
2 hr 30 min
- Product ManagementAdvancedRegular practice: you already use the tools or work on this topic.
Write specs that developers and AI agents understand
2 hr 30 min
- Product ManagementAdvancedRegular practice: you already use the tools or work on this topic.
Instrument a product and use data to make decisions
3 hr 30 min