Data & Analytics free courses

Master the TrickProfessionalFree

A/B Testing Foundations

Plan a randomized comparison with a primary metric, guardrails and careful interpretation of uncertainty.

3 reading lessons · about 30 min ·written by MTT

The idea

An A/B test randomly assigns eligible units to alternatives. Define the unit, primary metric, duration and guardrails before examining results. Users who can enter both variants complicate interpretation. Randomization helps reduce confounding but does not excuse unethical exposure or poor implementation.

Worked example

A fictional checkout test assigns each eligible user consistently to version A or B. The primary metric is completed purchases per assigned user; an error-rate guardrail catches a variant that harms reliability even if some purchases increase.

Try it

Write an experiment brief naming the unit, eligibility, primary metric and one guardrail. Define consistent assignment for returning users. Identify a harmful change you would not test and a configuration check needed before collecting outcomes.

Lesson 1 of 3 · About 10 min

Define the experiment before launch

Check your understanding

Course quiz

Finish the course to unlock the quiz

Complete all 3 lessons and 5 questions open up here. You have 3 to go.

What you will learn

  • Define assignment and an eligible population
  • Calculate observed conversion differences
  • Distinguish estimates from confident conclusions

Before you start

Prerequisites
Basic percentages and statistics. All examples are fictional; no live experiment is required.
Cost
Free introductory reading lessons, exercises and quiz. Optional third-party tools, hosting or AI subscriptions may cost money.

Original introductory lessons and assessment by Master the Trick. Estimated times include the suggested exercises.