They Called Me a Cheat for Doing the MathChapter 3

How Surprised Should You Be

Bree Tanaka does not say hello. She says the problem.

"Your sample is fine, your stopping rule is the weak point, and you have a hundred and twelve comments asking if one coin proves anything." She was sixteen, the president of the Calder High Data Club, and she stood in the school library holding a laptop like a clipboard. "Kofi told me to be nice."

"Did you try?"

"I'm doing it now."

My brother sat behind her with his hood up, pretending to inspect a shelf of atlases. Kofi had texted me at one in the afternoon: *Bree wants to see your raw log. She says if you're wrong she wants to be the one who finds out.* I was at the high school forty minutes later, because I had twenty-two hours left on Celeste Marrow's clock, and I had decided that being wrong in front of Bree Tanaka was better than being wrong in front of a court.

I put my laptop on the table and opened the file. Six thousand two hundred twelve rows. Each row: a timestamp, W or L.

"Two thousand nine hundred fifty-three wins," I said. "Three thousand two hundred fifty-nine losses. Halcyon says the Flip is fifty-fifty."

"Okay." Bree sat down. "How surprised should you be?"

"What?"

"That's the whole question. You're not trying to prove the game is rigged. You're trying to measure how surprised you should be if it isn't." She turned my laptop toward herself like a surgeon taking over. "Fair coin. Six thousand two hundred twelve flips. What's the expected number of wins?"

"Half. Three thousand one hundred six."

"And how far from half do honest coins usually wander?"

I had known this since I was nineteen. I had said it to students a hundred times. Under pressure, with a teenager's eyebrow raised at me, I still felt it slip.

"The standard deviation," I said, "of the number of wins in n flips of a fair coin is the square root of n times one-half times one-half. So the square root of six thousand two hundred twelve over four."

Kofi had pulled out his phone. "Thirty-nine point four."

"Thirty-nine point four wins. That's the typical wobble. Most of the time, two out of three, you land within about forty of three thousand one hundred six. Nineteen times in twenty, within about seventy-nine."

"And you're off by?"

"A hundred fifty-three."

"Which is?" Bree prompted.

"A hundred fifty-three over thirty-nine point four. Three point eight eight." I swallowed. "Three point eight eight standard deviations."

Bree did not look impressed. She looked like a person who had been handed a lit match and was about to find out what it was. "That's a z-score. What's the chance of a result that far out, if the coin's honest?"

"About one in ten thousand, counting both directions. Half that if you only count the unlucky side."

"One in ten thousand." Bree typed. "Okay. I don't trust that until I've watched a machine make it happen or not happen. Kofi, run the sim."

Kofi pulled the laptop closer and opened a window of code. It was a dozen lines. I recognized the shape, because it was nearly what I had written for the macro, except that his version flipped virtual coins instead of tapping a screen.

"One hundred thousand fake audits," he said. "Each one is six thousand two hundred twelve fair flips. I'll count how many come out at twenty-nine fifty-three wins or fewer."

"If I'm right, about five," I said.

"If you're right," said Bree, "I'll be surprised. Hit it."

It took four seconds. The screen printed a single line.

**audits at or below 2,953 wins: 4 of 100,000**

Nobody spoke. A janitor's cart rattled by in the hall.

"Four," Kofi said, quietly. "Out of a hundred thousand honest coins, four looked like yours."

"Which is what the formula said," I said. "Roughly five. We got four. The ruler works."

"It doesn't prove the Flip is rigged," Bree said at once. "It proves that *if* the Flip is fair, your result is a one-in-twenty-thousand fluke."

"That's the right sentence."

"Don't say it's proof. Say it's a smoke detector. It goes off when the room is on fire, and also, rarely, when somebody makes toast."

I laughed, loudly enough that the librarian looked up. It was the first time I had laughed in twenty-four hours, and it felt like a muscle I had pulled.

"What about the stopping rule?" Bree asked. "Did you decide in advance to flip six thousand two hundred twelve times?"

"I planned six thousand. The script ran its last queue and stopped at six thousand two hundred twelve because it had two hundred twelve flips left in the batch."

"So you didn't peek and quit when the number looked good."

"No."

"Write that down. Put it first. If you stop an experiment when the result looks good, you can make nearly any coin look cursed." She said it flatly, as a settled fact, which it is. "Fine. I'll say it's a start."

"A start of what?"

"Of the second experiment," she said. "The one where somebody who isn't you does it."


By six o'clock I had a plan for the evening and no plan for the court. I sat in my car in the school lot and read the comments again, trying to sort the honest skeptics from the ones who had decided before they saw a number.

It was an odd feeling, being believed by one teenager and not by four thousand adults. A fraction of me wanted to delete the videos and be quiet. The clock said eighteen hours left on Celeste Marrow's deadline. I turned my phone face down and made the video.

I did not make it in the kitchen this time. I made it in the school parking lot, with the dome light on and a legal pad on the steering wheel, and I held the pad up to the camera.

"Here is the only claim I'm making tonight," I said. "Halcyon says its Flip is a fair coin. On a fair coin, my result would happen about once in ten thousand audits. In a computer simulation of a hundred thousand fair audits, it happened four times. That doesn't prove the Flip is rigged. It means that either I'm the unluckiest customer Halcyon has ever had, or the coin isn't what they say. Here is my log, all six thousand two hundred twelve rows. Check it. Please check it."

I uploaded the file, with a one-page guide to the arithmetic, and went home.

Halcyon's reply arrived at nine. I watched it appear on my phone like an unwanted guest.

It was a short video from a man in a gray suit, seated in front of a bookcase. A caption introduced him as **Dr. Lyle Hartwell, Independent Statistical Consultant.** He had the mild, almost grieving voice of someone who regrets having to be right.

"Rare things happen every day," he said. "Four hundred thousand members flip the Flip. Statistically, someone is going to be very unlucky. Ms. Mensah happens to be that someone. This is a classic example of the law of small numbers, where an unlikely result is misread as evidence of a pattern. We recommend that members consult their own experience with the game."

It was a smooth answer. It was also a clever one, because every word of it was true except for the thing it implied.

I wrote it out on my legal pad and underlined the clause that mattered.

*"Someone is going to be very unlucky."*

If you gather four hundred thousand members and look for the unluckiest one, you will find someone who looks cursed, the way a lottery always finds a winner. But I was not the unluckiest of four hundred thousand. I was a single account, picked in advance, run once, with a sample size I had written down before the first flip. Hartwell was describing a search. I was describing a measurement.

"That's a different sentence," I said to the empty kitchen. "You can't turn a test into a lottery by saying the word *someone*."

Then I made a second, shorter video that I recorded in one take. I said it plainly. "Dr. Hartwell is right that rare things happen. If you look at four hundred thousand accounts, you'll find strange ones. That's why I didn't look at four hundred thousand accounts. I tested one account, once, with the stopping rule written down first. If Halcyon thinks my result is luck, they can prove it. Release the outcomes of the Flip. All of them, for everyone. If the coin is fair, the data will show it, and I'll apologize on every platform I own."

I did not know yet that a company that could offer me forty thousand dollars to promote its product was a company that could not afford to hand over a single number.

I only knew that by ten o'clock, the number of views on the second video had passed ninety thousand, and the messages were different.

*Tutor here. Replicated your count with the log. Same result.*

*My daughter's stats class did your z-score in class today. She's fourteen. Her answer matched yours.*

*Mr. Bell speaking. I would like to apologize to you in person.*

I read that last one four times. In the morning, three of the parents who had walked out of the library asked to reschedule. Mrs. Delacroix asked me to bring Theo's worksheet.

I let myself think for a second that the worst might be over.

At 11:40, an email arrived from an address I did not know. No greeting. A single paragraph, signed **H. Grey.**

*Ms. Mensah. I audited random number generators for the state gaming lab for thirty-one years, and I have watched your videos twice. Your arithmetic is correct. Your 3.9 sigma is real. But you are chasing the wrong problem. The Flip is not what they are afraid of. It is what they put in front of you so you would stop looking at where the money goes. If you want to understand why they froze your account instead of simply ignoring you, call me. I will be awake.*

He left a phone number.

I looked at it for a long time, and then I looked at the clock, and it said eleven forty-two. I had thirteen hours to decide whether to delete my videos, and a retired auditor telling me I had been solving the easy problem.

I called.