Sub topic 1
What an Experiment Is and When to Run One
Prerequisites
Assume you know basic product terms such as feature, funnel, and KPI. You should also be comfortable with proportions and percentages, and know that a feature flag controls which users see a product change. No programming experience is required.
What an experiment measures
A product experiment is a controlled comparison used to estimate the effect of a change. In a typical A/B test, eligible users are assigned by chance to one of two variants:
- The control keeps the current experience.
- The treatment receives the proposed change.
Because assignment is random, the groups should be similar on average before the change. If their outcomes differ afterward, the change is a plausible cause of the difference. This is the experiment’s main advantage over simply comparing users who chose different experiences.
For example, suppose a team wants to add address autofill to checkout. It could compare checkout completion for users who see the existing form with completion for users who see the autofill form. The useful question is not “Did treatment users buy more?” It is “Did assigning users to the treatment increase purchase completion compared with assigning similar users to control?”
When an experiment is the right tool
Run an experiment when all of these conditions are reasonably true:
- You have a specific change that can be exposed to some users but not others.
- The product can assign users consistently to variants.
- The outcome can be measured with acceptable data quality.
- You can wait for enough users and outcomes to support a useful decision.
- The change is safe to test and can be rolled back.
Experiments are especially useful when the expected effect is uncertain and the cost of shipping the wrong change is meaningful. They can distinguish genuine improvement from changes caused by seasonality, traffic mix, or regression to the mean.
An experiment is not always the best method. Use qualitative research when you need to understand why users struggle. Use usability testing when observing behavior on an early design matters more than measuring a production outcome. Use a pre/post comparison cautiously when random assignment is impossible, because outside events can explain the observed change. For infrastructure or legal changes that must reach everyone, monitor operational and business outcomes instead of forcing an A/B test.
> callout note > Do not experiment merely because experimentation is available. First identify the decision, the uncertainty, and the outcome that would change your decision.
Define the experiment boundary
Before implementation, state what decision the experiment will inform. A useful boundary includes:
- the product change being tested;
- the eligible population;
- the comparison experience;
- the main outcome;
- safety outcomes that must not worsen; and
- the time period or evidence threshold for deciding.
Keep the experiment focused on one primary question. A checkout test might measure completion rate as its primary outcome while watching payment errors and page-load time as safety metrics. These choices prevent the team from searching through many results until one looks favorable.
Exercise
Exercise
A team wants to compare users who voluntarily enable a new onboarding flow with users who leave it disabled. Is this a strong A/B experiment? Why or why not?
Show answer
No. Voluntary choice can differ from the feature itself. Users who enable the flow may be more motivated or technically confident. Randomly assign eligible users, or use qualitative research if random assignment is not practical.