# Is it real or luck?

> A hypothesis test asks: if nothing were going on, how surprising would this data be? The "nothing going on" claim is the null hypothesis, H₀.

Canonical URL: https://monte.markets/learn/test/the-question/

License: CC BY 4.0, reuse with credit to monte.markets.

Lesson 1 of 5 in [Hypothesis tests](https://monte.markets/learn/test.md).

**Question:** A coin comes up heads 7 times in 10. Is it unfair?

- Yes, any difference counts: Some difference is expected just by luck.
- **Not necessarily, a fair coin does that fairly often** (right answer): Yes. A fair coin gives 7 or more heads in 10 about 17% of the time. That's not rare enough to call it unfair.
- Yes, 7 is far from 5: Small samples swing a lot. 7 of 10 isn't unusual for a fair coin.

A hypothesis test asks: if nothing were going on, how surprising would this data be? The "nothing going on" claim is the null hypothesis, H₀. The claim you're testing for is the alternative, H₁.

**Question:** A company claims its new ad lifts sales. What's the null hypothesis?

- The ad lifts sales: That's the alternative, the claim you'd need evidence for.
- The ad lowers sales: H₀ is no difference. Lower is one direction an alternative could take.
- **The ad makes no difference** (right answer): Yes. H₀ is the boring explanation: no effect.

You assume H₀ and look for data that makes it hard to believe.

Next: [The p-value](https://monte.markets/learn/test/the-p-value.md)
