bayes
bayes is one function. Everything below came out of it during this
build, at parameters taken from the essays rather than invented for this page — so a figure
here is the same figure a reader meets in an essay, and if the generator changes, this page
changes with it.
At its defaults
show: "sweep"
show: "monty"
show: "monty-scale"
What it checks while it draws
Collected by running the family and listening to lib/verify.js, not written
here. The count is how many separate times this build put that claim to the test.
- and at three doors it is two thirds ×1
- everybody has it, so everybody positive has it ×1
- nobody has it, so nobody who tests positive has it ×1
- one of the two strategies wins, and only one ×1
- staying wins as often as the first pick was right ×1
- switching gets better with more doors ×1
- switching wins two thirds against a host who knows, and half against one who does not ×1
- the answer rises with the base rate ×1
- the four cells fill the square ×1
- the game needs at least three doors ×1
- the ignorant host's story throws two of the six worlds away ×1
- the ignorant-host variant is only drawn at three doors, where switching has one meaning ×1
- the shaded fraction is Bayes' theorem ×1
- the two strategies exhaust the possibilities ×1
Where it is called
Changing this generator changes every figure on this list. That is what makes the list worth publishing rather than keeping in a check script.
Bayes' theorem is a picture of a square
A test that is 99% accurate returns a positive result. The chance it is right can easily be under one in five, and the reason is visible the moment the population is drawn as a square rather than described as a formula.
ProbabilityThe door that was not opened
Three doors, one prize, a host who opens a losing door and offers a swap. Switching wins two times in three, and the reason is not about doors — it is about what the host was allowed to do.