Lesson 6 — Hypothesis Testing
How we turn a hunch into statistical evidence — and why rejection is actually a win.
We can never prove something is true for all cases — we can only collect evidence that makes it unlikely to be false.
We test whether the data is so unlikely under the null that we can safely reject it. We can never be 100% certain — but we can be 95%, or 99%.
The probability of getting our result by random chance alone, if the null were true.
0.05 means we accept a 5% chance of being wrong. That’s not zero — but it beats guessing!
Key: we never “accept” the null. We only reject it or fail to reject it.
Every test produces a test statistic — a single number that summarizes the data and maps to a p-value.
The test statistic follows a known distribution (z, t, F, χ²), so we can calculate exactly how rare our result is. The more extreme the statistic, the smaller the p-value.
The full workflow