Type I and Type II Errors › The Two Ways Tests Can Fail
Machine Learning from ScratchAll chapters Type I and Type II Errors › The Two Ways Tests Can FailOne section · Sections in this chapter2 / 10 ↓
Reading tools Definitions & inline links
Choose your expertise level to adjust how many terms are explained. Beginners see more tooltips, experts see fewer to maintain reading flow. Hover over underlined terms for instant definitions.
Article links
Make inline references clickable
When we conduct a hypothesis test, we are making a binary decision: reject the null hypothesis or fail to reject it. Reality also has two states: either the null hypothesis is true, or it is false. This creates a 2×2 matrix of possible outcomes.

Let's define these four outcomes precisely:
-
True Negative: The null hypothesis is true (no effect exists), and we correctly fail to reject it. This is a correct decision.
-
True Positive: The null hypothesis is false (an effect exists), and we correctly reject it. This is a correct decision, and its probability is called power.
-
Type I Error (False Positive): The null hypothesis is true (no effect exists), but we incorrectly reject it. We claim to have found something that isn't there.
-
Type II Error (False Negative): The null hypothesis is false (an effect exists), but we fail to reject it. We miss an effect that is there.