# The Secretary Problem: Picking from the Top 10 Percent

> A hundred houses arrive one at a time in random order. You accept or reject each on the spot, and a rejected house is gone for good. Aiming for the single best house is famously hard, and even the optimal plan wins only about thirty seven times in a hundred. Aiming instead for any of the ten best changes everything. This lecture builds the cutoff rule by hand: look at thirty seven houses and buy nothing, take the best of them as your bar, then buy the first house that clears it. Counting on screen shows why that bar is almost always already in the top ten, why anything clearing it is then a winner with certainty, and how relaxing the bar near the end of the list removes the one way the plan can fail.

- Canonical watch page: [The Secretary Problem: Picking from the Top 10 Percent](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent)
- Publisher: [Academa, Inc.](https://academa.ai)
- Subject: Mathematics
- Published: 2026-09-01T00:55:05.174Z
- Updated: 2026-09-01T00:55:05.174Z
- Duration: PT450S (7 minutes 30 seconds)
- Chapters: 3
- Views: 1
- Language: en-US
- Access: Free
- Video stream: [HLS content](https://academa.ai/media/l/01M1D5AZXKQQ0DPCPAC2B7B5JY/0/dark/master.m3u8)
- Audiovisual record: [Semantic JSON](https://academa.ai/media/l/01M1D5AZXKQQ0DPCPAC2B7B5JY/0/semantic.json)
- Thumbnail: [Image](https://academa.ai/media/l/01M1D5AZXKQQ0DPCPAC2B7B5JY/0/dark/poster.jpg)

## Description

A hundred houses, one at a time, no going back. Why looking at 37 and then taking the best you have seen lands you in the top ten.

## Chapters

- [00:00–01:50.896 · The Offer, and the Target](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=0)
- [01:50.896–05:28.62 · Look, Then Leap](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=110.89575000000002)
- [05:28.62–07:30 · The Hole, and How to Close It](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=328.6203958333333)

## Transcript

### [00:00 · The Offer, and the Target](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=0)

Somebody offers you a hundred houses. You will see them one at a time, in a random order, and each time you must say yes or no on the spot. Say no, and that house is gone for good. Here is the kind part. You do not need the best of the hundred. Any of the ten best would make you perfectly happy, and that single change turns a famously hard problem into an easy one. Let me build a scale to measure this on. Give every house a score, and hand the scores one to a hundred out to the hundred houses, one each. So a hundred is the best house there is, and one is the worst. They arrive in a random order, so they land anywhere along it. The first house scores forty two. The second scores sixty eight, better, and both are already gone, because you turned them down. One warning about this picture. We are outside the story, so we can read the scores. The buyer cannot. All the buyer can ever do is hold two houses side by side and say which of them is better. Now the target. The ten best houses are the ten highest scores, ninety one up to a hundred, so winning means landing under this brace at the top of the scale. Compare that with the famous version, where nothing but the very best house will do. That target is a single point, and everything else is failure. The known answer is to look at thirty seven houses, buy nothing, then take the first one that beats them all. It wins about thirty seven times in a hundred. Now widen the target to ten points and keep that very same strategy, cutoff and all. Whenever it buys a house, the house it buys is one of the ten best better than ninety eight times in a hundred. Making sure it buys at all is the only job left over.

### [01:50.896 · Look, Then Leap](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=110.89575000000002)

Here is one journey through a hundred houses, seen from outside. Along the bottom, the order they arrive in. Up the side, their scores, with the ten best of them inside the red band at the top. I will not draw all hundred houses. I will draw one thing instead: the best score seen so far. That line can only climb, and every step in it is a house that beat everything before it. There are only five or six of those steps in a random hundred, and they thin out as you go, because beating the best of fifty is far harder than beating the best of five. Now the strategy, in three lines. One: let the first thirty seven houses go past, whatever they are, and buy nothing at all. Two: take the best score among those thirty seven. Here it is, ninety three, at house twenty six. That score is now your bar. Three: from house thirty eight onward, buy the first house that clears the bar. And that is the whole rule. Look for a third of the list, then take the first house that beats everything you saw while you were looking. Watch it run. House forty one is pleasant enough. House forty nine scores eighty seven, better than almost anything you have seen, and you must let it go, because it does not clear the bar. Then house fifty eight scores ninety seven. That clears the bar, so you buy it and stop. And look where it landed, inside the band. It is the fourth best house of the hundred. The very best house of all, the one scoring a hundred, turns up much later, at house eighty four. You never see it, and it does not matter in the slightest. You were not trying to find it. Two things could have gone wrong, and both are about where that dashed line stands. Stop looking after five houses and the bar would sit at sixty eight, low enough for an ordinary house to clear it. Look at ninety and the bar would be a hundred, which nothing left could ever beat. So why is a bar built from only thirty seven houses good enough? Let me take the climbing line away and mark the ten best houses instead. There they are. Ten houses inside the band, landing anywhere, because the order is random. Now count how many arrived in your first thirty seven. Exactly one, the ninety three that set your bar. One is all you need, and that is the secret. Each of these ten, on its own, has a sixty three percent chance of landing after the line. For your bar to miss the band, every single one of them has to. Sixty three percent, ten times over, is about one chance in a hundred. The ten crowd each other slightly, so the true figure is smaller still, about one chance in a hundred and thirty five. Which means the bar you built out of thirty seven houses is itself one of the ten best, ninety nine times in a hundred. And here is the step that turns that into a promise. Suppose the bar is inside the band. The band runs from the bar up to the top of the scale, so every score above the bar is inside the band as well. So any house clearing the bar is one of the ten best. Not probably. Certainly. The only way this rule hands you a bad house is if the bar itself missed the band, and that is the one chance in a hundred and thirty five. Which leaves exactly one weakness, and it is not about buying badly. It is about never buying at all.

### [05:28.62 · The Hole, and How to Close It](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=328.6203958333333)

Here is a different hundred houses, in a different order, and this time the luck runs the other way. The best house in the whole set, the one scoring a hundred, arrives at house twelve, while you are still only looking. So the best of your first thirty seven is a hundred, and your bar sits at the very top of the scale. Nothing can clear it. You watch the remaining sixty three houses go past, turn every one of them down, and reach the end of the list having bought nothing at all. And this is no freak. The best house of the hundred is equally likely to be anywhere, so it lands inside your looking window thirty seven times in a hundred, and every one of those runs ends empty handed. Here is the cure, drawn as a second picture. Along the bottom, the order again. Up the side, how many houses you are willing to have above the one you buy. At first you accept nothing but the best you have seen. As the list runs out you relax. After fifty, the second best of what you have seen will do, then the third, and near the end you take almost anything decent. Why is that safe? The second best of fifty houses misses the top ten only if nine or ten of the ten best hid in the second half. That is like ten coin flips coming up almost all heads, about eleven chances in a thousand. Relax that way all the way down the list, and the rule nearly always buys, and what it buys is nearly always in the top ten. Better than ninety eight times in a hundred, and that is the promise. So here is the whole strategy, in four lines. Look at the first thirty seven houses and buy nothing. Set the bar at the best of them. Then buy the first house that clears it. And as the list runs out, let the bar come down, one place at a time, so you never reach the end with nothing. That is the whole of it. You cannot know which house is the best. But you can spend a third of your search learning what good looks like, and then have the nerve to stop.

## About Academa, Inc.

Academa makes technical knowledge easier to understand through visual lectures and lets learners request new lecture videos on the topics they need.

## Complete audiovisual record

Immutable source: [semantic.json](https://academa.ai/media/l/01M1D5AZXKQQ0DPCPAC2B7B5JY/0/semantic.json)

Record version: 1. Render attempt: 0.

### How to read this timeline

Each scene owns its object identifiers. A beat's board is the complete board when listed, empty when marked empty, and unchanged from the nearest earlier listed board in the same scene when marked unchanged. Action times are absolute positions in the published video.

### Scene 1: [The Offer, and the Target](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=0)

Span: 00:00–01:50.896 (0s–110.89575000000002s).

#### Objects

- classic: a Math \[text\] that says "$P(upright("the single best")) approx 0.37$"
- house\_one: a Point \[blue\] labelled "42" drawn in scale (location=(42.0, 0.0))
- house\_two: a Point \[blue\] labelled "68" drawn in scale (location=(68.0, 0.0))
- ours: a Math \[text\] that says "$P(upright("top ten")) \> 0.98$"
- point: a Point \[yellow\] drawn in scale (location=(83.0, 0.0))
- point\_2: a Point \[yellow\] drawn in scale (location=(55.0, 0.0))
- rules: a Panel that says "A hundred houses arrive one at a time, in random order. Accept or reject each one on the spot, and a rejected house is gone for good. You do not need the best house. You need one of the ten best."
- scale: a NumberLine labelled "upright("score")" (x\_range=(0.0, 104.0), include\_numbers=True, ticks\_every=20.0)
- single\_best: a Point \[green\] labelled "upright("the best")" drawn in scale (location=(100.0, 0.0))
- ten\_best: a Brace \[text\] labelled "upright("the ten best")" drawn in scale (x\_start=90.5, x\_end=100.5)

#### Beats

##### [00:00](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=0)

Narration: Somebody offers you a hundred houses. You will see them one at a time, in a random order, and each time you must say yes or no on the spot. Say no, and that house is gone for good.

Board: Empty.

Actions:
- [00:00](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=0): rules is shown on the screen, written out.

##### [00:12.5](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=12.5)

Narration: Here is the kind part. You do not need the best of the hundred. Any of the ten best would make you perfectly happy, and that single change turns a famously hard problem into an easy one.

Board: rules — a Panel that says "A hundred houses arrive one at a time, in random order. Accept or reject each one on the spot, and a rejected house is gone for good. You do not need the best house. You need one of the ten best."

Actions:
- [00:17.933](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=17.933): rules (the "one of the ten best" part) is emphasized.
- [00:21.149](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=21.149): rules (the "one of the ten best" part) is no longer emphasized.
- [00:24.424](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=24.4235): rules moves to a new place on the board.

##### [00:25.023](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=25.0235)

Narration: Let me build a scale to measure this on. Give every house a score, and hand the scores one to a hundred out to the hundred houses, one each. So a hundred is the best house there is, and one is the worst.

Board: Unchanged from the preceding beat in this scene.

Actions:
- [00:25.023](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=25.0235): scale is shown on the screen, written out.

##### [00:38.707](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=38.707499999999996)

Narration: They arrive in a random order, so they land anywhere along it. The first house scores forty two. The second scores sixty eight, better, and both are already gone, because you turned them down.

Board: rules — a Panel that says "A hundred houses arrive one at a time, in random order. Accept or reject each one on the spot, and a rejected house is gone for good. You do not need the best house. You need one of the ten best."; scale — a NumberLine labelled "upright("score")" (x\_range=(0.0, 104.0), include\_numbers=True, ticks\_every=20.0)

Actions:
- [00:44.048](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=44.047999999999995): house\_one is shown on the screen, written out.
- [00:46.405](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=46.404999999999994): house\_two is shown on the screen, written out.

##### [00:51.788](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=51.7885)

Narration: One warning about this picture. We are outside the story, so we can read the scores. The buyer cannot. All the buyer can ever do is hold two houses side by side and say which of them is better.

Board: rules — a Panel that says "A hundred houses arrive one at a time, in random order. Accept or reject each one on the spot, and a rejected house is gone for good. You do not need the best house. You need one of the ten best."; scale — a NumberLine labelled "upright("score")" (x\_range=(0.0, 104.0), include\_numbers=True, ticks\_every=20.0); house\_one — a Point \[blue\] labelled "42" drawn in scale (location=(42.0, 0.0)); house\_two — a Point \[blue\] labelled "68" drawn in scale (location=(68.0, 0.0))

Actions:
- [01:1.564](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=61.56399999999999): point is shown on the screen, grown.
- [01:3.694](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=63.69376983279971): point is hidden from the screen.
- [01:3.84](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=63.839999999999996): point\_2 is shown on the screen, grown.

##### [01:5.218](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=65.218)

Narration: Now the target. The ten best houses are the ten highest scores, ninety one up to a hundred, so winning means landing under this brace at the top of the scale.

Board: rules — a Panel that says "A hundred houses arrive one at a time, in random order. Accept or reject each one on the spot, and a rejected house is gone for good. You do not need the best house. You need one of the ten best."; scale — a NumberLine labelled "upright("score")" (x\_range=(0.0, 104.0), include\_numbers=True, ticks\_every=20.0); house\_one — a Point \[blue\] labelled "42" drawn in scale (location=(42.0, 0.0)); house\_two — a Point \[blue\] labelled "68" drawn in scale (location=(68.0, 0.0)); point\_2 — a Point \[yellow\] drawn in scale (location=(55.0, 0.0))

Actions:
- [01:5.218](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=65.218): house\_one is hidden from the screen.
- [01:5.218](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=65.218): house\_two is hidden from the screen.
- [01:6.624](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=66.6241280671054): point\_2 is hidden from the screen.
- [01:9.676](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=69.676): The segment (90.5, 0.0) to (100.5, 0.0) in scale is lit up.
- [01:12.962](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=72.96199999999999): ten\_best is shown on the screen, written out.
- [01:12.962](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=72.96199999999999): scale: retire a lit segment (unemphasize\_line).

##### [01:15.338](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=75.33800000000001)

Narration: Compare that with the famous version, where nothing but the very best house will do. That target is a single point, and everything else is failure. The known answer is to look at thirty seven houses, buy nothing, then take the first one that beats them all. It wins about thirty seven times in a hundred.

Board: rules — a Panel that says "A hundred houses arrive one at a time, in random order. Accept or reject each one on the spot, and a rejected house is gone for good. You do not need the best house. You need one of the ten best."; scale — a NumberLine labelled "upright("score")" (x\_range=(0.0, 104.0), include\_numbers=True, ticks\_every=20.0); ten\_best — a Brace \[text\] labelled "upright("the ten best")" drawn in scale (x\_start=90.5, x\_end=100.5)

Actions:
- [01:22.142](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=82.14200000000001): single\_best is shown on the screen, written out.
- [01:32.254](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=92.254): scale moves to a new place on the board.
- [01:32.254](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=92.254): classic is shown on the screen, written out.

##### [01:34.805](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=94.8045)

Narration: Now widen the target to ten points and keep that very same strategy, cutoff and all. Whenever it buys a house, the house it buys is one of the ten best better than ninety eight times in a hundred. Making sure it buys at all is the only job left over.

Board: rules — a Panel that says "A hundred houses arrive one at a time, in random order. Accept or reject each one on the spot, and a rejected house is gone for good. You do not need the best house. You need one of the ten best."; scale — a NumberLine labelled "upright("score")" (x\_range=(0.0, 104.0), include\_numbers=True, ticks\_every=20.0); classic — a Math \[text\] that says "$P(upright("the single best")) approx 0.37$"; ten\_best — a Brace \[text\] labelled "upright("the ten best")" drawn in scale (x\_start=90.5, x\_end=100.5); single\_best — a Point \[green\] labelled "upright("the best")" drawn in scale (location=(100.0, 0.0))

Actions:
- [01:40.308](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=100.308): ours is shown on the screen, written out.
- [01:44.267](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=104.267): A box is drawn around ours.
- [01:49.854](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=109.85408333333334): classic is hidden from the screen — left the board.
- [01:49.854](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=109.85408333333334): ours is hidden from the screen — left the board.
- [01:49.854](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=109.85408333333334): rules is hidden from the screen — left the board.
- [01:49.854](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=109.85408333333334): scale is hidden from the screen — left the board.
- [01:49.854](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=109.85408333333334): ten\_best is hidden from the screen — scale left the board.
- [01:49.854](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=109.85408333333334): single\_best is hidden from the screen — scale left the board.

### Scene 2: [Look, Then Leap](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=110.89575000000002)

Span: 01:50.896–05:28.62 (110.89575000000002s–328.6203958333333s).

#### Objects

- axes: an Axes (x\_range=(0.0, 104.0), y\_range=(0.0, 108.0), x\_ticks\_every=20.0)
- band: a Polygon \[red\] drawn in axes (vertices=((0.0, 90.5), (104.0, 90.5), (104.0, 100.5), (0.0, 100.5)), fill\_opacity=0.25)
- bar: a Line \[yellow\] labelled "upright("bar")" drawn in axes (start=(37.0, 93.0), end=(104.0, 93.0))
- bought: a Point \[green\] labelled "97" drawn in axes (location=(58.0, 97.0))
- cut: a Line \[gray\] drawn in axes (start=(37.0, 0.0), end=(37.0, 104.0), dashed=True)
- exact: a Math \[text\] that says "$frac(63 dot.op dots.h dot.op 54, 100 dot.op dots.h dot.op 91) = 0.0074$"
- good: a Math \[text\] that says "$P(upright("bar in the band")) = 0.9926$"
- head\_rule: a Heading that says "Look, Then Leap"
- head\_why: a Heading that says "Why That Bar Is High Enough"
- outcome: a Math \[text\] that says "$upright("bought") = 97$"
- overall\_best: a Point \[gray\] labelled "100" drawn in axes (location=(84.0, 100.0))
- point: a Point \[yellow\] drawn in axes (location=(11.0, 88.0))
- point\_2: a Point \[yellow\] drawn in axes (location=(41.0, 62.0))
- point\_3: a Point \[yellow\] drawn in axes (location=(49.0, 87.0))
- rough: a Math \[text\] that says "$(63 / 100)^10 approx 0.010$"
- running: a FunctionPlot \[blue\] labelled "upright("best so far")" drawn in axes (function=\<function\>, x\_range=(1.0, 100.0))
- safe: a Polygon \[green\] drawn in axes (vertices=((37.0, 93.0), (104.0, 93.0), (104.0, 100.5), (37.0, 100.5)), fill\_opacity=0.4)
- sample\_best: a Point \[yellow\] labelled "93" drawn in axes (location=(26.0, 93.0))
- step\_one: a Text \[text\] that says "1. Look at the first 37. Buy nothing."
- step\_three: a Text \[text\] that says "3. Buy the first house that clears it."
- step\_two: a Text \[text\] that says "2. The bar: the best of those 37."
- top\_dots: a Point \[red\] drawn in axes (location=(26.0, 93.0))
- top\_dots\_10: a Point \[red\] drawn in axes (location=(95.0, 99.0))
- top\_dots\_2: a Point \[red\] drawn in axes (location=(39.0, 91.0))
- top\_dots\_3: a Point \[red\] drawn in axes (location=(44.0, 92.0))
- top\_dots\_4: a Point \[red\] drawn in axes (location=(58.0, 97.0))
- top\_dots\_5: a Point \[red\] drawn in axes (location=(63.0, 94.0))
- top\_dots\_6: a Point \[red\] drawn in axes (location=(71.0, 95.0))
- top\_dots\_7: a Point \[red\] drawn in axes (location=(79.0, 96.0))
- top\_dots\_8: a Point \[red\] drawn in axes (location=(84.0, 100.0))
- top\_dots\_9: a Point \[red\] drawn in axes (location=(88.0, 98.0))

#### Beats

##### [01:50.896](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=110.89575000000002)

Narration: Here is one journey through a hundred houses, seen from outside. Along the bottom, the order they arrive in. Up the side, their scores, with the ten best of them inside the red band at the top.

Board: Empty.

Actions:
- [01:50.896](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=110.89575000000002): head\_rule is shown on the screen, written out.
- [01:50.896](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=110.89575000000002): axes is shown on the screen, written out.
- [02:2.715](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=122.71475000000002): band is shown on the screen, written out.

##### [02:4.975](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=124.97475000000001)

Narration: I will not draw all hundred houses. I will draw one thing instead: the best score seen so far. That line can only climb, and every step in it is a house that beat everything before it.

Board: axes — an Axes (x\_range=(0.0, 104.0), y\_range=(0.0, 108.0), x\_ticks\_every=20.0); head\_rule — a Heading that says "Look, Then Leap"; band — a Polygon \[red\] drawn in axes (vertices=((0.0, 90.5), (104.0, 90.5), (104.0, 100.5), (0.0, 100.5)), fill\_opacity=0.25)

Actions:
- [02:10.815](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=130.81475): running is shown on the screen, written out.

##### [02:19.17](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=139.16975000000002)

Narration: There are only five or six of those steps in a random hundred, and they thin out as you go, because beating the best of fifty is far harder than beating the best of five.

Board: axes — an Axes (x\_range=(0.0, 104.0), y\_range=(0.0, 108.0), x\_ticks\_every=20.0); head\_rule — a Heading that says "Look, Then Leap"; band — a Polygon \[red\] drawn in axes (vertices=((0.0, 90.5), (104.0, 90.5), (104.0, 100.5), (0.0, 100.5)), fill\_opacity=0.25); running — a FunctionPlot \[blue\] labelled "upright("best so far")" drawn in axes (function=\<function\>, x\_range=(1.0, 100.0))

Actions:
- [02:21.144](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=141.14375): point is shown on the screen, grown.
- [02:23.039](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=143.03934414732595): point is hidden from the screen.

##### [02:28.93](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=148.93025000000003)

Narration: Now the strategy, in three lines. One: let the first thirty seven houses go past, whatever they are, and buy nothing at all.

Board: Unchanged from the preceding beat in this scene.

Actions:
- [02:32.53](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=152.52975000000004): axes moves to a new place on the board.
- [02:32.53](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=152.52975000000004): step\_one is shown on the screen, written out.
- [02:34.028](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=154.02775000000003): cut is shown on the screen, written out.

##### [02:39.074](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=159.07375000000002)

Narration: Two: take the best score among those thirty seven. Here it is, ninety three, at house twenty six. That score is now your bar.

Board: step\_one — a Text \[text\] that says "1. Look at the first 37. Buy nothing."; axes — an Axes (x\_range=(0.0, 104.0), y\_range=(0.0, 108.0), x\_ticks\_every=20.0); head\_rule — a Heading that says "Look, Then Leap"; band — a Polygon \[red\] drawn in axes (vertices=((0.0, 90.5), (104.0, 90.5), (104.0, 100.5), (0.0, 100.5)), fill\_opacity=0.25); running — a FunctionPlot \[blue\] labelled "upright("best so far")" drawn in axes (function=\<function\>, x\_range=(1.0, 100.0)); cut — a Line \[gray\] drawn in axes (start=(37.0, 0.0), end=(37.0, 104.0), dashed=True)

Actions:
- [02:39.48](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=159.47975000000002): step\_two is shown on the screen, written out.
- [02:43.973](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=163.97275000000002): sample\_best is shown on the screen, written out.
- [02:48.258](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=168.25775000000002): bar is shown on the screen, written out.

##### [02:49.833](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=169.83275000000003)

Narration: Three: from house thirty eight onward, buy the first house that clears the bar. And that is the whole rule. Look for a third of the list, then take the first house that beats everything you saw while you were looking.

Board: step\_one — a Text \[text\] that says "1. Look at the first 37. Buy nothing."; step\_two — a Text \[text\] that says "2. The bar: the best of those 37."; axes — an Axes (x\_range=(0.0, 104.0), y\_range=(0.0, 108.0), x\_ticks\_every=20.0); head\_rule — a Heading that says "Look, Then Leap"; band — a Polygon \[red\] drawn in axes (vertices=((0.0, 90.5), (104.0, 90.5), (104.0, 100.5), (0.0, 100.5)), fill\_opacity=0.25); running — a FunctionPlot \[blue\] labelled "upright("best so far")" drawn in axes (function=\<function\>, x\_range=(1.0, 100.0)); cut — a Line \[gray\] drawn in axes (start=(37.0, 0.0), end=(37.0, 104.0), dashed=True); sample\_best — a Point \[yellow\] labelled "93" drawn in axes (location=(26.0, 93.0)); bar — a Line \[yellow\] labelled "upright("bar")" drawn in axes (start=(37.0, 93.0), end=(104.0, 93.0))

Actions:
- [02:50.309](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=170.30875000000003): step\_three is shown on the screen, written out.

##### [03:3.807](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=183.80725)

Narration: Watch it run. House forty one is pleasant enough. House forty nine scores eighty seven, better than almost anything you have seen, and you must let it go, because it does not clear the bar.

Board: step\_one — a Text \[text\] that says "1. Look at the first 37. Buy nothing."; step\_two — a Text \[text\] that says "2. The bar: the best of those 37."; step\_three — a Text \[text\] that says "3. Buy the first house that clears it."; axes — an Axes (x\_range=(0.0, 104.0), y\_range=(0.0, 108.0), x\_ticks\_every=20.0); head\_rule — a Heading that says "Look, Then Leap"; band — a Polygon \[red\] drawn in axes (vertices=((0.0, 90.5), (104.0, 90.5), (104.0, 100.5), (0.0, 100.5)), fill\_opacity=0.25); running — a FunctionPlot \[blue\] labelled "upright("best so far")" drawn in axes (function=\<function\>, x\_range=(1.0, 100.0)); cut — a Line \[gray\] drawn in axes (start=(37.0, 0.0), end=(37.0, 104.0), dashed=True); sample\_best — a Point \[yellow\] labelled "93" drawn in axes (location=(26.0, 93.0)); bar — a Line \[yellow\] labelled "upright("bar")" drawn in axes (start=(37.0, 93.0), end=(104.0, 93.0))

Actions:
- [03:5.793](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=185.79275): point\_2 is shown on the screen, grown.
- [03:8.086](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=188.0858917847197): point\_2 is hidden from the screen.
- [03:8.161](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=188.16075): point\_3 is shown on the screen, grown.
- [03:10.505](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=190.50510592340825): point\_3 is hidden from the screen.

##### [03:15.947](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=195.94725)

Narration: Then house fifty eight scores ninety seven. That clears the bar, so you buy it and stop. And look where it landed, inside the band. It is the fourth best house of the hundred.

Board: Unchanged from the preceding beat in this scene.

Actions:
- [03:17.805](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=197.80475): bought is shown on the screen, written out.
- [03:20.592](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=200.59175): outcome is shown on the screen, written out.
- [03:22.716](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=202.71575): bought is indicated — a transient flash.
- [03:25.363](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=205.36275): A box is drawn around outcome.

##### [03:27.739](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=207.73925000000003)

Narration: The very best house of all, the one scoring a hundred, turns up much later, at house eighty four. You never see it, and it does not matter in the slightest. You were not trying to find it.

Board: step\_one — a Text \[text\] that says "1. Look at the first 37. Buy nothing."; step\_two — a Text \[text\] that says "2. The bar: the best of those 37."; step\_three — a Text \[text\] that says "3. Buy the first house that clears it."; outcome — a Math \[text\] that says "$upright("bought") = 97$"; axes — an Axes (x\_range=(0.0, 104.0), y\_range=(0.0, 108.0), x\_ticks\_every=20.0); head\_rule — a Heading that says "Look, Then Leap"; band — a Polygon \[red\] drawn in axes (vertices=((0.0, 90.5), (104.0, 90.5), (104.0, 100.5), (0.0, 100.5)), fill\_opacity=0.25); running — a FunctionPlot \[blue\] labelled "upright("best so far")" drawn in axes (function=\<function\>, x\_range=(1.0, 100.0)); cut — a Line \[gray\] drawn in axes (start=(37.0, 0.0), end=(37.0, 104.0), dashed=True); sample\_best — a Point \[yellow\] labelled "93" drawn in axes (location=(26.0, 93.0)); bar — a Line \[yellow\] labelled "upright("bar")" drawn in axes (start=(37.0, 93.0), end=(104.0, 93.0)); bought — a Point \[green\] labelled "97" drawn in axes (location=(58.0, 97.0))

Actions:
- [03:32.395](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=212.39475000000002): overall\_best is shown on the screen, written out.

##### [03:39.311](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=219.31125000000003)

Narration: Two things could have gone wrong, and both are about where that dashed line stands. Stop looking after five houses and the bar would sit at sixty eight, low enough for an ordinary house to clear it. Look at ninety and the bar would be a hundred, which nothing left could ever beat.

Board: step\_one — a Text \[text\] that says "1. Look at the first 37. Buy nothing."; step\_two — a Text \[text\] that says "2. The bar: the best of those 37."; step\_three — a Text \[text\] that says "3. Buy the first house that clears it."; outcome — a Math \[text\] that says "$upright("bought") = 97$"; axes — an Axes (x\_range=(0.0, 104.0), y\_range=(0.0, 108.0), x\_ticks\_every=20.0); head\_rule — a Heading that says "Look, Then Leap"; band — a Polygon \[red\] drawn in axes (vertices=((0.0, 90.5), (104.0, 90.5), (104.0, 100.5), (0.0, 100.5)), fill\_opacity=0.25); running — a FunctionPlot \[blue\] labelled "upright("best so far")" drawn in axes (function=\<function\>, x\_range=(1.0, 100.0)); cut — a Line \[gray\] drawn in axes (start=(37.0, 0.0), end=(37.0, 104.0), dashed=True); sample\_best — a Point \[yellow\] labelled "93" drawn in axes (location=(26.0, 93.0)); bar — a Line \[yellow\] labelled "upright("bar")" drawn in axes (start=(37.0, 93.0), end=(104.0, 93.0)); bought — a Point \[green\] labelled "97" drawn in axes (location=(58.0, 97.0)); overall\_best — a Point \[gray\] labelled "100" drawn in axes (location=(84.0, 100.0))

Actions:
- [03:46.846](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=226.84575): The segment (5.0, 68.0) to (104.0, 68.0) in axes is lit up.
- [03:50.91](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=230.90975000000003): axes: retire a lit segment (unemphasize\_line).
- [03:50.91](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=230.90975000000003): The segment (90.0, 100.0) to (104.0, 100.0) in axes is lit up.
- [03:53.348](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=233.34775000000002): axes: retire a lit segment (unemphasize\_line).
- [03:54.996](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=234.99625000000003): head\_rule is hidden from the screen — left the board.
- [03:54.996](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=234.99625000000003): outcome is hidden from the screen — left the board.
- [03:54.996](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=234.99625000000003): step\_one is hidden from the screen — left the board.
- [03:54.996](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=234.99625000000003): step\_three is hidden from the screen — left the board.
- [03:54.996](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=234.99625000000003): step\_two is hidden from the screen — left the board.

##### [03:56.196](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=236.19625000000002)

Narration: So why is a bar built from only thirty seven houses good enough? Let me take the climbing line away and mark the ten best houses instead.

Board: axes — an Axes (x\_range=(0.0, 104.0), y\_range=(0.0, 108.0), x\_ticks\_every=20.0); band — a Polygon \[red\] drawn in axes (vertices=((0.0, 90.5), (104.0, 90.5), (104.0, 100.5), (0.0, 100.5)), fill\_opacity=0.25); running — a FunctionPlot \[blue\] labelled "upright("best so far")" drawn in axes (function=\<function\>, x\_range=(1.0, 100.0)); cut — a Line \[gray\] drawn in axes (start=(37.0, 0.0), end=(37.0, 104.0), dashed=True); sample\_best — a Point \[yellow\] labelled "93" drawn in axes (location=(26.0, 93.0)); bar — a Line \[yellow\] labelled "upright("bar")" drawn in axes (start=(37.0, 93.0), end=(104.0, 93.0)); bought — a Point \[green\] labelled "97" drawn in axes (location=(58.0, 97.0)); overall\_best — a Point \[gray\] labelled "100" drawn in axes (location=(84.0, 100.0))

Actions:
- [03:56.196](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=236.19625000000002): head\_why is shown on the screen, written out.
- [04:1.583](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=241.58275000000003): running is hidden from the screen.
- [04:1.583](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=241.58275000000003): sample\_best is hidden from the screen.
- [04:1.583](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=241.58275000000003): bought is hidden from the screen.
- [04:1.583](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=241.58275000000003): overall\_best is hidden from the screen.
- [04:1.99](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=241.98975000000002): top\_dots is shown on the screen, written out.
- [04:2.086](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=242.08584604802405): top\_dots\_2 is shown on the screen, written out.
- [04:2.182](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=242.18194209604806): top\_dots\_3 is shown on the screen, written out.
- [04:2.261](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=242.26056940970489): top\_dots\_4 is shown on the screen, written out.
- [04:2.327](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=242.32684254627316): top\_dots\_5 is shown on the screen, written out.
- [04:2.456](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=242.45579264632318): top\_dots\_6 is shown on the screen, written out.
- [04:2.618](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=242.61785117558782): top\_dots\_7 is shown on the screen, written out.
- [04:2.746](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=242.74629647323664): top\_dots\_8 is shown on the screen, written out.
- [04:2.862](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=242.86186025512757): top\_dots\_9 is shown on the screen, written out.
- [04:2.976](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=242.975633941971): top\_dots\_10 is shown on the screen, written out.

##### [04:4.853](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=244.85325000000003)

Narration: There they are. Ten houses inside the band, landing anywhere, because the order is random. Now count how many arrived in your first thirty seven. Exactly one, the ninety three that set your bar.

Board: axes — an Axes (x\_range=(0.0, 104.0), y\_range=(0.0, 108.0), x\_ticks\_every=20.0); band — a Polygon \[red\] drawn in axes (vertices=((0.0, 90.5), (104.0, 90.5), (104.0, 100.5), (0.0, 100.5)), fill\_opacity=0.25); cut — a Line \[gray\] drawn in axes (start=(37.0, 0.0), end=(37.0, 104.0), dashed=True); bar — a Line \[yellow\] labelled "upright("bar")" drawn in axes (start=(37.0, 93.0), end=(104.0, 93.0)); head\_why — a Heading that says "Why That Bar Is High Enough"; top\_dots — a Point \[red\] drawn in axes (location=(26.0, 93.0)); top\_dots\_2 — a Point \[red\] drawn in axes (location=(39.0, 91.0)); top\_dots\_3 — a Point \[red\] drawn in axes (location=(44.0, 92.0)); top\_dots\_4 — a Point \[red\] drawn in axes (location=(58.0, 97.0)); top\_dots\_5 — a Point \[red\] drawn in axes (location=(63.0, 94.0)); top\_dots\_6 — a Point \[red\] drawn in axes (location=(71.0, 95.0)); top\_dots\_7 — a Point \[red\] drawn in axes (location=(79.0, 96.0)); top\_dots\_8 — a Point \[red\] drawn in axes (location=(84.0, 100.0)); top\_dots\_9 — a Point \[red\] drawn in axes (location=(88.0, 98.0)); top\_dots\_10 — a Point \[red\] drawn in axes (location=(95.0, 99.0))

Actions:
- [04:14.861](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=254.86075000000005): top\_dots is indicated — a transient flash.

##### [04:19.083](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=259.08325)

Narration: One is all you need, and that is the secret. Each of these ten, on its own, has a sixty three percent chance of landing after the line. For your bar to miss the band, every single one of them has to.

Board: Unchanged from the preceding beat in this scene.

Actions:
- [04:30.821](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=270.8207500000001): rough is shown on the screen, written out.

##### [04:33.453](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=273.45275000000004)

Narration: Sixty three percent, ten times over, is about one chance in a hundred. The ten crowd each other slightly, so the true figure is smaller still, about one chance in a hundred and thirty five.

Board: axes — an Axes (x\_range=(0.0, 104.0), y\_range=(0.0, 108.0), x\_ticks\_every=20.0); band — a Polygon \[red\] drawn in axes (vertices=((0.0, 90.5), (104.0, 90.5), (104.0, 100.5), (0.0, 100.5)), fill\_opacity=0.25); cut — a Line \[gray\] drawn in axes (start=(37.0, 0.0), end=(37.0, 104.0), dashed=True); bar — a Line \[yellow\] labelled "upright("bar")" drawn in axes (start=(37.0, 93.0), end=(104.0, 93.0)); rough — a Math \[text\] that says "$(63 / 100)^10 approx 0.010$"; head\_why — a Heading that says "Why That Bar Is High Enough"; top\_dots — a Point \[red\] drawn in axes (location=(26.0, 93.0)); top\_dots\_2 — a Point \[red\] drawn in axes (location=(39.0, 91.0)); top\_dots\_3 — a Point \[red\] drawn in axes (location=(44.0, 92.0)); top\_dots\_4 — a Point \[red\] drawn in axes (location=(58.0, 97.0)); top\_dots\_5 — a Point \[red\] drawn in axes (location=(63.0, 94.0)); top\_dots\_6 — a Point \[red\] drawn in axes (location=(71.0, 95.0)); top\_dots\_7 — a Point \[red\] drawn in axes (location=(79.0, 96.0)); top\_dots\_8 — a Point \[red\] drawn in axes (location=(84.0, 100.0)); top\_dots\_9 — a Point \[red\] drawn in axes (location=(88.0, 98.0)); top\_dots\_10 — a Point \[red\] drawn in axes (location=(95.0, 99.0))

Actions:
- [04:41.116](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=281.11575000000005): exact is shown on the screen, written out.

##### [04:45.988](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=285.98825)

Narration: Which means the bar you built out of thirty seven houses is itself one of the ten best, ninety nine times in a hundred.

Board: axes — an Axes (x\_range=(0.0, 104.0), y\_range=(0.0, 108.0), x\_ticks\_every=20.0); band — a Polygon \[red\] drawn in axes (vertices=((0.0, 90.5), (104.0, 90.5), (104.0, 100.5), (0.0, 100.5)), fill\_opacity=0.25); cut — a Line \[gray\] drawn in axes (start=(37.0, 0.0), end=(37.0, 104.0), dashed=True); bar — a Line \[yellow\] labelled "upright("bar")" drawn in axes (start=(37.0, 93.0), end=(104.0, 93.0)); rough — a Math \[text\] that says "$(63 / 100)^10 approx 0.010$"; exact — a Math \[text\] that says "$frac(63 dot.op dots.h dot.op 54, 100 dot.op dots.h dot.op 91) = 0.0074$"; head\_why — a Heading that says "Why That Bar Is High Enough"; top\_dots — a Point \[red\] drawn in axes (location=(26.0, 93.0)); top\_dots\_2 — a Point \[red\] drawn in axes (location=(39.0, 91.0)); top\_dots\_3 — a Point \[red\] drawn in axes (location=(44.0, 92.0)); top\_dots\_4 — a Point \[red\] drawn in axes (location=(58.0, 97.0)); top\_dots\_5 — a Point \[red\] drawn in axes (location=(63.0, 94.0)); top\_dots\_6 — a Point \[red\] drawn in axes (location=(71.0, 95.0)); top\_dots\_7 — a Point \[red\] drawn in axes (location=(79.0, 96.0)); top\_dots\_8 — a Point \[red\] drawn in axes (location=(84.0, 100.0)); top\_dots\_9 — a Point \[red\] drawn in axes (location=(88.0, 98.0)); top\_dots\_10 — a Point \[red\] drawn in axes (location=(95.0, 99.0))

Actions:
- [04:51.329](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=291.32875): good is shown on the screen, written out.

##### [04:53.612](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=293.61225)

Narration: And here is the step that turns that into a promise. Suppose the bar is inside the band. The band runs from the bar up to the top of the scale, so every score above the bar is inside the band as well.

Board: axes — an Axes (x\_range=(0.0, 104.0), y\_range=(0.0, 108.0), x\_ticks\_every=20.0); band — a Polygon \[red\] drawn in axes (vertices=((0.0, 90.5), (104.0, 90.5), (104.0, 100.5), (0.0, 100.5)), fill\_opacity=0.25); cut — a Line \[gray\] drawn in axes (start=(37.0, 0.0), end=(37.0, 104.0), dashed=True); bar — a Line \[yellow\] labelled "upright("bar")" drawn in axes (start=(37.0, 93.0), end=(104.0, 93.0)); rough — a Math \[text\] that says "$(63 / 100)^10 approx 0.010$"; exact — a Math \[text\] that says "$frac(63 dot.op dots.h dot.op 54, 100 dot.op dots.h dot.op 91) = 0.0074$"; good — a Math \[text\] that says "$P(upright("bar in the band")) = 0.9926$"; head\_why — a Heading that says "Why That Bar Is High Enough"; top\_dots — a Point \[red\] drawn in axes (location=(26.0, 93.0)); top\_dots\_2 — a Point \[red\] drawn in axes (location=(39.0, 91.0)); top\_dots\_3 — a Point \[red\] drawn in axes (location=(44.0, 92.0)); top\_dots\_4 — a Point \[red\] drawn in axes (location=(58.0, 97.0)); top\_dots\_5 — a Point \[red\] drawn in axes (location=(63.0, 94.0)); top\_dots\_6 — a Point \[red\] drawn in axes (location=(71.0, 95.0)); top\_dots\_7 — a Point \[red\] drawn in axes (location=(79.0, 96.0)); top\_dots\_8 — a Point \[red\] drawn in axes (location=(84.0, 100.0)); top\_dots\_9 — a Point \[red\] drawn in axes (location=(88.0, 98.0)); top\_dots\_10 — a Point \[red\] drawn in axes (location=(95.0, 99.0))

Actions:
- [05:2.865](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=302.86475): safe is shown on the screen, written out.

##### [05:6.541](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=306.54125)

Narration: So any house clearing the bar is one of the ten best. Not probably. Certainly. The only way this rule hands you a bad house is if the bar itself missed the band, and that is the one chance in a hundred and thirty five.

Board: axes — an Axes (x\_range=(0.0, 104.0), y\_range=(0.0, 108.0), x\_ticks\_every=20.0); band — a Polygon \[red\] drawn in axes (vertices=((0.0, 90.5), (104.0, 90.5), (104.0, 100.5), (0.0, 100.5)), fill\_opacity=0.25); cut — a Line \[gray\] drawn in axes (start=(37.0, 0.0), end=(37.0, 104.0), dashed=True); bar — a Line \[yellow\] labelled "upright("bar")" drawn in axes (start=(37.0, 93.0), end=(104.0, 93.0)); rough — a Math \[text\] that says "$(63 / 100)^10 approx 0.010$"; exact — a Math \[text\] that says "$frac(63 dot.op dots.h dot.op 54, 100 dot.op dots.h dot.op 91) = 0.0074$"; good — a Math \[text\] that says "$P(upright("bar in the band")) = 0.9926$"; head\_why — a Heading that says "Why That Bar Is High Enough"; top\_dots — a Point \[red\] drawn in axes (location=(26.0, 93.0)); top\_dots\_2 — a Point \[red\] drawn in axes (location=(39.0, 91.0)); top\_dots\_3 — a Point \[red\] drawn in axes (location=(44.0, 92.0)); top\_dots\_4 — a Point \[red\] drawn in axes (location=(58.0, 97.0)); top\_dots\_5 — a Point \[red\] drawn in axes (location=(63.0, 94.0)); top\_dots\_6 — a Point \[red\] drawn in axes (location=(71.0, 95.0)); top\_dots\_7 — a Point \[red\] drawn in axes (location=(79.0, 96.0)); top\_dots\_8 — a Point \[red\] drawn in axes (location=(84.0, 100.0)); top\_dots\_9 — a Point \[red\] drawn in axes (location=(88.0, 98.0)); top\_dots\_10 — a Point \[red\] drawn in axes (location=(95.0, 99.0)); safe — a Polygon \[green\] drawn in axes (vertices=((37.0, 93.0), (104.0, 93.0), (104.0, 100.5), (37.0, 100.5)), fill\_opacity=0.4)

Actions:
- [05:11.592](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=311.59175): safe is indicated — a transient flash.
- [05:16.003](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=316.00275): A box is drawn around good.

##### [05:20.783](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=320.78274999999996)

Narration: Which leaves exactly one weakness, and it is not about buying badly. It is about never buying at all.

Board: Unchanged from the preceding beat in this scene.

Actions:
- [05:27.579](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=327.5787291666667): axes is hidden from the screen — left the board.
- [05:27.579](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=327.5787291666667): band is hidden from the screen — axes left the board.
- [05:27.579](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=327.5787291666667): cut is hidden from the screen — axes left the board.
- [05:27.579](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=327.5787291666667): bar is hidden from the screen — axes left the board.
- [05:27.579](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=327.5787291666667): top\_dots is hidden from the screen — axes left the board.
- [05:27.579](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=327.5787291666667): top\_dots\_2 is hidden from the screen — axes left the board.
- [05:27.579](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=327.5787291666667): top\_dots\_3 is hidden from the screen — axes left the board.
- [05:27.579](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=327.5787291666667): top\_dots\_4 is hidden from the screen — axes left the board.
- [05:27.579](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=327.5787291666667): top\_dots\_5 is hidden from the screen — axes left the board.
- [05:27.579](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=327.5787291666667): top\_dots\_6 is hidden from the screen — axes left the board.
- [05:27.579](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=327.5787291666667): top\_dots\_7 is hidden from the screen — axes left the board.
- [05:27.579](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=327.5787291666667): top\_dots\_8 is hidden from the screen — axes left the board.
- [05:27.579](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=327.5787291666667): top\_dots\_9 is hidden from the screen — axes left the board.
- [05:27.579](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=327.5787291666667): top\_dots\_10 is hidden from the screen — axes left the board.
- [05:27.579](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=327.5787291666667): safe is hidden from the screen — axes left the board.
- [05:27.579](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=327.5787291666667): exact is hidden from the screen — left the board.
- [05:27.579](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=327.5787291666667): good is hidden from the screen — left the board.
- [05:27.579](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=327.5787291666667): head\_why is hidden from the screen — left the board.
- [05:27.579](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=327.5787291666667): rough is hidden from the screen — left the board.

### Scene 3: [The Hole, and How to Close It](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=328.6203958333333)

Span: 05:28.62–07:29.78 (328.6203958333333s–449.7797916666666s).

#### Objects

- axes: an Axes (x\_range=(0.0, 104.0), y\_range=(0.0, 108.0), x\_ticks\_every=20.0)
- band: a Polygon \[red\] drawn in axes (vertices=((0.0, 90.5), (104.0, 90.5), (104.0, 100.5), (0.0, 100.5)), fill\_opacity=0.25)
- coins: a Math \[text\] that says "$frac(11, 1024) approx 0.011$"
- cut: a Line \[gray\] drawn in axes (start=(37.0, 0.0), end=(37.0, 104.0), dashed=True)
- drawn: a VariableNumber (initial\_value=49.0)
- head\_fix: a Heading that says "Let the Bar Come Down"
- head\_hole: a Heading that says "When the Bar Is Never Beaten"
- head\_recap: a Heading that says "The Whole Strategy"
- hole: a Math \[text\] that says "$P(upright("nothing bought")) = 0.37$"
- ladder: an Axes (x\_range=(0.0, 104.0), y\_range=(0.0, 12.0), x\_ticks\_every=20.0)
- peak: a Point \[red\] labelled "100" drawn in axes (location=(12.0, 100.0))
- point: a Point \[yellow\] drawn in axes (location=(70.0, 84.0))
- promise: a Math \[text\] that says "$P(upright("top ten")) \> 0.98$"
- relax: a FunctionPlot \[green\] labelled "upright("the standard, relaxing")" drawn in ladder (function=\<function\>, x\_range=(37.0, \<VariableNumber drawn = 100.0\>))
- step\_four: a Text \[text\] that says "4. Near the end, let the bar come down."
- step\_one: a Text \[text\] that says "1. Look at the first 37 houses. Buy nothing."
- step\_three: a Text \[text\] that says "3. Buy the first house that clears the bar."
- step\_two: a Text \[text\] that says "2. Set the bar at the best of those 37."
- unlucky: a FunctionPlot \[blue\] labelled "upright("best so far")" drawn in axes (function=\<function\>, x\_range=(1.0, 100.0))

#### Beats

##### [05:28.62](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=328.6203958333333)

Narration: Here is a different hundred houses, in a different order, and this time the luck runs the other way.

Board: Empty.

Actions:
- [05:28.62](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=328.6203958333333): head\_hole is shown on the screen, written out.
- [05:28.62](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=328.6203958333333): axes is shown on the screen, written out.
- [05:30.768](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=330.76839583333333): band is shown on the screen, written out.
- [05:32.951](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=332.9513958333333): unlucky is shown on the screen, written out.

##### [05:35.13](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=335.1298958333333)

Narration: The best house in the whole set, the one scoring a hundred, arrives at house twelve, while you are still only looking. So the best of your first thirty seven is a hundred, and your bar sits at the very top of the scale.

Board: axes — an Axes (x\_range=(0.0, 104.0), y\_range=(0.0, 108.0), x\_ticks\_every=20.0); head\_hole — a Heading that says "When the Bar Is Never Beaten"; band — a Polygon \[red\] drawn in axes (vertices=((0.0, 90.5), (104.0, 90.5), (104.0, 100.5), (0.0, 100.5)), fill\_opacity=0.25); unlucky — a FunctionPlot \[blue\] labelled "upright("best so far")" drawn in axes (function=\<function\>, x\_range=(1.0, 100.0))

Actions:
- [05:39.541](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=339.5413958333333): peak is shown on the screen, written out.
- [05:44.185](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=344.1853958333333): cut is shown on the screen, written out.
- [05:46.101](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=346.1013958333333): The segment (37.0, 100.0) to (104.0, 100.0) in axes is lit up.
- [05:48.504](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=348.5043958333333): axes: retire a lit segment (unemphasize\_line).

##### [05:49.104](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=349.1043958333333)

Narration: Nothing can clear it. You watch the remaining sixty three houses go past, turn every one of them down, and reach the end of the list having bought nothing at all.

Board: axes — an Axes (x\_range=(0.0, 104.0), y\_range=(0.0, 108.0), x\_ticks\_every=20.0); head\_hole — a Heading that says "When the Bar Is Never Beaten"; band — a Polygon \[red\] drawn in axes (vertices=((0.0, 90.5), (104.0, 90.5), (104.0, 100.5), (0.0, 100.5)), fill\_opacity=0.25); unlucky — a FunctionPlot \[blue\] labelled "upright("best so far")" drawn in axes (function=\<function\>, x\_range=(1.0, 100.0)); peak — a Point \[red\] labelled "100" drawn in axes (location=(12.0, 100.0)); cut — a Line \[gray\] drawn in axes (start=(37.0, 0.0), end=(37.0, 104.0), dashed=True)

Actions:
- [05:53.109](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=353.1093958333333): point is shown on the screen, grown.
- [05:54.962](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=354.96161363275456): point is hidden from the screen.

##### [05:58.551](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=358.5508958333333)

Narration: And this is no freak. The best house of the hundred is equally likely to be anywhere, so it lands inside your looking window thirty seven times in a hundred, and every one of those runs ends empty handed.

Board: Unchanged from the preceding beat in this scene.

Actions:
- [06:5.215](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=365.21539583333333): axes moves to a new place on the board.
- [06:5.215](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=365.21539583333333): hole is shown on the screen, written out.
- [06:9.569](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=369.5693958333333): axes is hidden from the screen — left the board.
- [06:9.569](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=369.5693958333333): band is hidden from the screen — axes left the board.
- [06:9.569](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=369.5693958333333): unlucky is hidden from the screen — axes left the board.
- [06:9.569](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=369.5693958333333): peak is hidden from the screen — axes left the board.
- [06:9.569](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=369.5693958333333): cut is hidden from the screen — axes left the board.
- [06:9.569](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=369.5693958333333): head\_hole is hidden from the screen — left the board.
- [06:9.569](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=369.5693958333333): hole is hidden from the screen — left the board.

##### [06:10.169](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=370.1693958333333)

Narration: Here is the cure, drawn as a second picture. Along the bottom, the order again. Up the side, how many houses you are willing to have above the one you buy.

Board: Empty.

Actions:
- [06:10.169](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=370.1693958333333): head\_fix is shown on the screen, written out.
- [06:12.491](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=372.4913958333333): ladder is shown on the screen, written out.
- [06:18.424](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=378.4243958333333): relax is shown on the screen, written out.

##### [06:21.16](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=381.1598958333333)

Narration: At first you accept nothing but the best you have seen. As the list runs out you relax. After fifty, the second best of what you have seen will do, then the third, and near the end you take almost anything decent.

Board: ladder — an Axes (x\_range=(0.0, 104.0), y\_range=(0.0, 12.0), x\_ticks\_every=20.0); head\_fix — a Heading that says "Let the Bar Come Down"; relax — a FunctionPlot \[green\] labelled "upright("the standard, relaxing")" drawn in ladder (function=\<function\>, x\_range=(37.0, \<VariableNumber drawn = 100.0\>))

Actions:
- [06:26.245](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=386.2453958333333): relax is redrawn as the numbers it depends on change.
- [06:26.245](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=386.2453958333333): drawn ticks to 100.0.

##### [06:35.216](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=395.2163958333333)

Narration: Why is that safe? The second best of fifty houses misses the top ten only if nine or ten of the ten best hid in the second half. That is like ten coin flips coming up almost all heads, about eleven chances in a thousand.

Board: Unchanged from the preceding beat in this scene.

Actions:
- [06:47.557](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=407.5573958333333): ladder moves to a new place on the board.
- [06:47.557](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=407.5573958333333): coins is shown on the screen, written out.

##### [06:50.084](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=410.0843958333333)

Narration: Relax that way all the way down the list, and the rule nearly always buys, and what it buys is nearly always in the top ten. Better than ninety eight times in a hundred, and that is the promise.

Board: coins — a Math \[text\] that says "$frac(11, 1024) approx 0.011$"; ladder — an Axes (x\_range=(0.0, 104.0), y\_range=(0.0, 12.0), x\_ticks\_every=20.0); head\_fix — a Heading that says "Let the Bar Come Down"; relax — a FunctionPlot \[green\] labelled "upright("the standard, relaxing")" drawn in ladder (function=\<function\>, x\_range=(37.0, \<VariableNumber drawn = 100.0\>))

Actions:
- [06:54.09](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=414.09039583333333): promise is shown on the screen, written out.
- [07:1.143](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=421.1428958333333): coins is hidden from the screen — left the board.
- [07:1.143](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=421.1428958333333): head\_fix is hidden from the screen — left the board.
- [07:1.143](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=421.1428958333333): ladder is hidden from the screen — left the board.
- [07:1.143](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=421.1428958333333): relax is hidden from the screen — ladder left the board.
- [07:1.143](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=421.1428958333333): promise is hidden from the screen — left the board.

##### [07:1.743](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=421.7428958333333)

Narration: So here is the whole strategy, in four lines. Look at the first thirty seven houses and buy nothing. Set the bar at the best of them. Then buy the first house that clears it.

Board: Empty.

Actions:
- [07:1.743](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=421.7428958333333): head\_recap is shown on the screen, written out.
- [07:4.709](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=424.7093958333333): step\_one is shown on the screen, written out.
- [07:7.542](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=427.5423958333333): step\_two is shown on the screen, written out.
- [07:10.653](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=430.6533958333333): step\_three is shown on the screen, written out.

##### [07:12.531](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=432.5308958333333)

Narration: And as the list runs out, let the bar come down, one place at a time, so you never reach the end with nothing.

Board: step\_one — a Text \[text\] that says "1. Look at the first 37 houses. Buy nothing."; step\_two — a Text \[text\] that says "2. Set the bar at the best of those 37."; step\_three — a Text \[text\] that says "3. Buy the first house that clears the bar."; head\_recap — a Heading that says "The Whole Strategy"

Actions:
- [07:15.119](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=435.11939583333333): step\_four is shown on the screen, written out.

##### [07:19.772](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=439.7718958333333)

Narration: That is the whole of it. You cannot know which house is the best. But you can spend a third of your search learning what good looks like, and then have the nerve to stop.

Board: step\_one — a Text \[text\] that says "1. Look at the first 37 houses. Buy nothing."; step\_two — a Text \[text\] that says "2. Set the bar at the best of those 37."; step\_three — a Text \[text\] that says "3. Buy the first house that clears the bar."; step\_four — a Text \[text\] that says "4. Near the end, let the bar come down."; head\_recap — a Heading that says "The Whole Strategy"

Actions:
- [07:28.738](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=448.73812499999997): head\_recap is hidden from the screen — left the board.
- [07:28.738](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=448.73812499999997): step\_four is hidden from the screen — left the board.
- [07:28.738](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=448.73812499999997): step\_one is hidden from the screen — left the board.
- [07:28.738](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=448.73812499999997): step\_three is hidden from the screen — left the board.
- [07:28.738](https://academa.ai/@sina/lectures/the-secretary-problem-picking-from-the-top-10-percent?t=448.73812499999997): step\_two is hidden from the screen — left the board.
