Knowing If It WorksLesson 23 of 76

Module 3 · Deciding whether a difference is real

Sizing the set before you run it

In this lesson

  • 9 min read
  • 7 reading sections
  • Knowledge check
  • Lesson 3 of 9 in this chapter

This chapter’s goalDecide whether an observed difference between two systems is larger than the noise in your set, compute an interval for any metric you can calculate using the bootstrap, and state in advance how many items the comparison needs to detect the effect you would act on.

This chapter’s media

The film explains chapter ideas. The audiobook narrates the complete teaching text.

FormatEnglishहिंदी
Chapter filmNot availableNot available
Full audiobookNot availableNot available
Items needed to detect a gap around an 80% pass rateUnpaired, 10-point gap256Unpaired, 5-point gap1024Unpaired, 2.5-point gap4096Paired, 5-point gap, 15%of items flip450labelled itemsn ≈ 16 p(1 − p) / d² at 80% power and 5% significance, per group. Halving the gap quadruples thecount. Pairing counts only the discordant items, so about 68 flips settle the same five-pointquestion.
n ≈ 16 p(1 − p) / d² at 80% power and 5% significance, per group. Halving the gap quadruples the count. Pairing counts only the discordant items, so about 68 flips settle the same five-point question.

Figure

A little at a time

Explore an idea, try it, then check what stays.

Step 1 of 8Free · no account needed
Lesson steps

Ask it in the other direction

The usual question is “we have 200 items, what can we conclude”. The useful question is asked before the run: “what is the smallest difference I would act on, and how many items does seeing it require”.

That first number is the minimum detectable effect, and it is a product decision, not a statistical one. Would you ship for 1 point? For 3? If a 2-point improvement would not change what you do, do not design an experiment to find one.

Your place and first choices stay on this browser. Classroom credit is recorded separately.

Every lesson here is open. Your progress is recorded once you pass the Shipping It exam.

Stuck on something?Ask Sayali, your AI tutor

How to cite: Addaly (2026) ‘Sizing the set before you run it’, in Knowing If It Works. Edited by M. Mun. Addaly. Available at: https://addaly.com/learn/evaluating-ai/how-many-items-do-you-need (Accessed: 29 November 2026).