Skip to content
Curriculum

A/B testing

Measuring whether a change really worked, with two random groups and an honestly read result.

4 units16 bitesAbout 48 min

What this course covers

The method for answering "did this change raise orders?" without being fooled by the season, payday or chance. You learn what an A/B test can and cannot answer, how to choose one primary metric, why a random split beats a before-and-after comparison, why small tests mislead, and how to read the interval of the difference B − A. Then hypothesis tests, sample size and power, and the pitfalls companies run into. Interactive widgets show how the number of visitors changes what you can conclude.

New to AI? Start with AI & data fundamentals.

Part of the career paths:Data analystData scientist

What you will be able to do

  • Design an A/B test with one primary metric and guardrails
  • Explain why a before-and-after comparison misleads
  • Estimate how many visitors a test needs
  • Read the interval of B − A and make an honest decision

Units and bites

  1. Unit 15 bitesAbout 15 min

    A/B test essentials

    What an A/B test answers, one primary metric, why randomise, why small tests mislead, and how to read the result.

    1. What an A/B test answers

      One change, two random groups, one period: an A/B test answers "did this change cause the difference?" and not much more.

      3 min
    2. Choosing one primary metric

      Decide the one metric that settles the test before it starts, plus a few guardrails that must not get worse.

      3 min
    3. Why randomise

      A "before vs after" comparison mixes the effect of the change with everything else that changed. A random split separates them.

      3 min
    4. Why small tests mislead

      With few visitors, conversion rates swing so widely that a "winner" can appear by chance alone.

      3 min
    5. Reading the result

      Read the interval of the difference B − A against 0: wholly above, wholly below, or spanning 0. Then ask whether the size is worth it.

      3 min
  2. Unit 23 bitesAbout 9 min

    Designing a test

    Design, sample size and when to stop. Distributions and p-values are covered in the Statistics course.

    1. Designing an A/B test

      Randomisation unit, primary metric and guardrails before the test starts.

      3 min
    2. Sample size and power

      How long a test has to run to detect a 0.5 percentage-point lift.

      3 min
    3. Peeking and stopping early

      Stopping the first time p dips below 0.05 multiplies false alarms.

      3 min
  3. Unit 34 bitesAbout 12 min

    A/B test pitfalls

    The things that make a well-designed test give the wrong answer anyway.

    1. Novelty effects

      Users click because something is new, not because it is better. How to spot it in week-by-week data.

      3 min
    2. Sample ratio mismatch

      The plan was 50/50, the result 52/48. Why that is a sign something is broken, not chance.

      3 min
    3. Fishing in segments

      "It did not win overall, but it won for Android users in Surabaya": why that is almost always chance.

      3 min
    4. When groups affect each other

      On marketplaces and ride-hailing apps, groups A and B share the same sellers and drivers.

      3 min
  4. Unit 44 bitesAbout 12 min

    Running tests in a company

    From one test to a habit: a written plan, guardrails, a test calendar and honest sharing of results.

    1. Writing a test plan

      Hypothesis, primary metric, sample size and stopping rule, written down before the test starts.

      3 min
    2. Guardrail metrics

      Metrics that must not get worse: cancellations, complaints, app speed, margin.

      3 min
    3. Running tests side by side

      When two tests can run at once, and avoiding tests during 11.11 or Lebaran.

      3 min
    4. Sharing test results

      Writing up losing and unclear results as honestly as winners, so the company learns.

      3 min

Questions about this course

Learning

How long does A/B testing take?

About 48 minutes in all: 4 units made of 16 bites of about three minutes each, and every bite ends with a quick check. You can do one bite a day or several in a row.

Do I need to know how to code?

Not to start. The foundations explain every idea in plain words first; where a course uses SQL or Python, it teaches it from the beginning, with a playground in the lesson.

Where should I start?

If you are new to AI, begin with AI & data fundamentals. If you know the job you want, follow its career path; A/B testing has a place in it.

When can I start learning?

Datamew is coming to iOS and Android soon. There is no release date or price announced yet: join the waitlist and we will tell you when the app is out.

Is it available in Bahasa Indonesia?

Yes. Datamew is written in English and Bahasa Indonesia.

Help Center

More courses

Curriculum

Read while you wait

Guides from the Datamew team, free on the web today.

Waitlist

Be first on the app

Leave your email and we will tell you the day Datamew lands on your phone. One email at launch, no spam.