Skip to content
Edition NigeriaGlobal
Country: Mexico

You are in the Mexico edition. Type your country to switch.

The Americas

Set up your profile

You are learning in the Mexico edition, with examples in pesos and from Mexico.

AI for marketing · Lesson 5 of 9

Testing and optimisation

Controlled tests show what a change really does. This lesson works through a test with real arithmetic, explains why testing many AI variants multiplies false winners, outlines how multi-armed bandits shift traffic and shows how to use assistants for hypotheses rather than verdicts.

Intermediate11 min read5 steps

This lesson is complete in writing. A video for it is on its way.

What you will learn

  • By the end you can set up and read a controlled test, working out conversions, the difference and the relative lift.
  • You can explain why testing many AI-generated variants at once multiplies false winners, and how to limit that.
  • You can describe in outline how a multi-armed bandit shifts traffic and when it suits better than a fixed test.
  • You can use an assistant to generate test hypotheses rather than to declare winners.

Key terms in this lesson

Percentage point
The unit for the gap between two percentages. A rate that moves from 4% to 5% has risen 1 percentage point, which is a 25% rise in the rate itself.
Sample size
The number of observations, such as trades, in a test. Small samples make it hard to tell a real effect from luck.
False positive
An alert raised on something innocent, such as a genuine payment flagged as fraud.
Cherry-picking
Choosing the dates, examples or data that support a point and leaving out the rest.
Multi-armed bandit
An adaptive testing method that shifts more traffic towards the better-performing versions as results come in, while still giving weaker versions a small share.

Step 1 of 5

Controlled tests in one page

Opening this step…

Step 2 of 5

Reading a test: worked numbers

This step opens when you finish the one above.

Step 3 of 5

Why many variants multiply false winners

This step opens when you finish the one above.

Step 4 of 5

Adaptive testing in outline

This step opens when you finish the one above.

Step 5 of 5

Using AI for hypotheses, not verdicts

This step opens when you finish the one above.

Key takeaways

The key takeaways open when you finish every step.

Lesson quiz

5 questions. You need 85% to pass.

The quiz opens when you finish every step.

Read first

Stockertim Learn is education. It explains how investing works and never recommends buying or selling anything.

Up next

AI at workEmail and customer dataRead nowEmail and customer dataAI at work · Intermediate · 15 minAI at workAd creative and automated media …Read nowAd creative and automated media buyingAI at work · Intermediate · 15 minAI at workMeasuring AI-driven marketingRead nowMeasuring AI-driven marketingAI at work · Intermediate · 15 minAI at workRules, consent and trustRead nowRules, consent and trustAI at work · Intermediate · 15 minWealth, retirement & long-term planningBuilding generational wealthRead nowBuilding generational wealthWealth, retirement & long-term planning · Advanced · 15 minSkills for the AI ageA budget, variance analysis and …Read nowA budget, variance analysis and a simple business caseSkills for the AI age · Beginner · 15 minInvesting strategiesdiversificationRead nowWhat is diversification?Investing strategies · Beginner · 15 minRisk & psychologyTypes of investment riskRead nowTypes of investment riskRisk & psychology · Intermediate · 15 minProjects, consulting & analysisBuilding recommendations and the…Read nowBuilding recommendations and the pyramid principleProjects, consulting & analysis · Advanced · 15 minTrading: risk, costs and processMaintenance margin and margin ca…Read nowMaintenance margin and margin callsTrading: risk, costs and process · Advanced · 15 minValuation & company analysisEarnings quality and accounting …Read nowEarnings quality and accounting red flagsValuation & company analysis · Advanced · 15 minTrading: risk, costs and processRetail FX rules: leverage caps, …Read nowRetail FX rules: leverage caps, protections and licencesTrading: risk, costs and process · Advanced · 15 min
English