What a p-value is and is not
Today let's understand what a p-value actually says, and what it does not, using a trading record that looks impressive on its own.
Jordan calls the next day's stock direction, up or down, for 20 trading days in a row, and gets 14 of them right. That's a 70% hit rate.
A pure guesser, someone with no real skill who just calls up or down at random, gets about half of the calls right on average, so 10 out of 20. But a pure guesser does not land on exactly 10 every single time. By chance alone, a run of guesses can land on 11, 13, or even higher. So "looks good" and "could not have happened by chance" are two different claims.
So here is the question this lesson answers: if Jordan were in fact a pure guesser with no skill at all, how often would 20 calls like that reach 14 correct or more, purely from chance? And once that number is in hand, what does it actually tell you, and what does it not?
Press Run below and see how often, out of many tries, a pure guesser's 20 calls reach 14 correct or more.
Every bar in that chart is one pure guesser's run of 20 calls, and the question this whole lesson works out is how many of those bars reach as far as Jordan's 14.
Jordan's twenty calls, and what pure guessing would look like
Before you can say whether Jordan's 14 out of 20 is real skill, you have to be precise about what "no skill at all" would actually look like in this test. That precise statement is called the null hypothesis.
If Jordan has no skill at all, then every one of the 20 calls is right with probability 0.5, exactly like a fair coin toss, and one call's outcome has no bearing on the next. That is the null hypothesis for this test, written H0 and said out loud as "H naught": Jordan is a pure guesser, calling independently 20 times in a row. The alternative is that Jordan's true hit rate, the share of calls Jordan would get right over many more tries, actually sits above 0.5.
So the question from the opening page becomes precise: under H0 alone, with no real skill anywhere in the picture, how often would 20 calls land on 14 correct or more? Answering that question with an actual number starts with a simulation.