A topic in the Open Knowledge Graph — a free, open map of 15,290 topics and the order to learn them in.

Hypothesis Testing Fundamentals

College Depth 97 in the knowledge graph ☐ I know this ☆ Set as goal
1,580topics build on this
500prerequisites beneath it
See this on the map →
Central Limit TheoremCentral Limit Theorem: Rigor and Applications+4 more→→Chi-Square TestEffect Size and Statistical Power+15 more
hypothesis-testing null-hypothesis alternative-hypothesis

Core Idea

Hypothesis testing is a method for deciding between two competing claims about a population parameter. The null hypothesis (H₀) represents the status quo or 'no effect'; the alternative hypothesis (H₁ or H_a) represents what we're testing for. A test statistic is computed from sample data, and a p-value gives the probability of observing such an extreme statistic if H₀ is true. We reject H₀ when the p-value is smaller than a predetermined significance level α (typically 0.05), but this does not prove H₀ is false—only that the data provide evidence against it.

How It's Best Learned

Set up hypotheses for realistic scenarios. Interpret p-values correctly: probability of data given H₀, not probability H₀ is true. Distinguish statistical significance from practical significance.

Common Misconceptions

Thinking p-value is the probability that H₀ is true. Confusing 'fail to reject' with 'accept.' Believing p < α proves the alternative is true. Forgetting that p-values measure evidence, not truth of hypotheses.

Explainer

Suppose a pharmaceutical company claims their drug reduces blood pressure. You cannot test every patient in the world, so you test a sample. Hypothesis testing gives you a principled framework for deciding whether your sample result is convincing enough to conclude the drug actually works — or whether it could just be random variation.

You start by setting up two competing claims. The null hypothesis (H₀) is the conservative, boring claim: "nothing is happening" — the drug has no effect, the coin is fair, the groups are identical. The alternative hypothesis (H₁) is what you are trying to demonstrate: "there is an effect." You never directly test H₁; instead, you ask how surprising your data would be *if H₀ were true*. This is where your knowledge of sampling distributions comes in: you know what the distribution of sample statistics looks like under H₀, so you can measure where your actual result falls.

The p-value is the probability of observing a test statistic at least as extreme as yours, assuming H₀ is true. A small p-value means your data are unlikely under H₀ — the evidence points against it. When the p-value falls below your pre-chosen threshold α (often 0.05), you reject H₀. Note carefully what this does and does not say: rejecting H₀ is not the same as proving H₁ is true, and a large p-value is not proof that H₀ is true — it just means you did not find enough evidence against it. The phrase is "fail to reject," not "accept."

The most persistent misconception in statistics is reading the p-value backwards: thinking p = 0.03 means "there is a 3% chance H₀ is true." That is wrong. The p-value is a probability about the *data given H₀*, not about H₀ given the data. To put probabilities on hypotheses you need Bayesian methods. What p = 0.03 actually says is: "if H₀ were true, only 3% of experiments like mine would produce results this extreme or more." That is evidence against H₀, but it is not a probability that H₀ is false.

Finally, statistical significance and practical significance are different things. With a very large sample, even a trivially small effect (a drug that lowers blood pressure by 0.001 mmHg) can yield p < 0.05. Always pair your p-value with an effect size or confidence interval to assess whether the result is meaningful in the real world, not just statistically detectable.

Practice Questions 3 questions

Prerequisite Chain

Understanding Zero → The Number Zero → Counting to Five → Counting to 10 → Counting to 20 → Counting a Set of Objects Up to 20 → Cardinality: The Last Number Counted → Matching Numerals to Quantities → Subitizing Small Quantities → Addition Within 10 → Number Bonds to 10 → Addition Within 20 → Doubles and Near Doubles → Doubles Facts Within 10 → Near Doubles Facts Within 20 → Mental Math Strategies for Addition → Mental Math: Adding and Subtracting Tens → Addition Within 100 → Repeated Addition as Multiplication → Multiplication as Equal Groups → Multiplication: Arrays → Basic Multiplication Facts (0s, 1s, 2s, 5s, 10s) → Multiplication Facts Within 100 → Division as Equal Sharing → Division as Grouping (Measurement Division) → Division: Grouping (Repeated Subtraction) Model → Division: Fair Sharing Model → Division as Equal Sharing → Division as Grouping → Basic Division Facts → Division Facts Within 100 → Multiplication and Division Fact Families → Relationship Between Multiplication and Division → Division Facts as Inverse of Multiplication → Remainders and Quotients in Division → Division Word Problems → Multi-Step Word Problems → Solving Multi-Step Word Problems → Multiplication Word Problems → Division Word Problems → Introduction to Long Division → Factors and Multiples → Prime and Composite Numbers → Equivalent Fractions → Relating Fractions and Decimals → Decimal Place Value → Integers and the Number Line → Comparing and Ordering Integers → Absolute Value → Adding Integers → Subtracting Integers → Multiplying Integers → Dividing Integers → Unit Rates → Proportions → Percent Concept → Converting Between Fractions, Decimals, and Percents → Operations with Rational Numbers → Two-Step Equations → Solving Multi-Step Equations → Equations with Variables on Both Sides → Angle Pairs: Complementary, Supplementary, and Vertical → Parallel Lines and Transversals → Corresponding Angles → Alternate Interior Angles → Triangle Angle Sum Theorem → Exterior Angle Theorem → Triangle Inequality Theorem → Similar Triangles: AA Similarity → Similar Triangles: SSS and SAS Similarity → Proportions in Similar Triangles → Right Triangle Trigonometry Introduction → Sine, Cosine, and Tangent Ratios → Trigonometric Ratios Review → Radian Measure → Converting Between Degrees and Radians → The Unit Circle → Graphing Sine and Cosine → Graphing Tangent and Reciprocal Trigonometric Functions → Derivatives of Trigonometric Functions → Antiderivatives → Indefinite Integrals → Basic Integration Rules → Riemann Sums → Definite Integral Definition → Probability Density Functions and Continuous Distributions → Cumulative Distribution Functions → Continuous Random Variables → Probability Density Functions → Expected Value → Weak Law of Large Numbers → Probability Axioms and Rules → Conditional Probability → Conditional Distributions → Bivariate Normal Distribution → Normal Distribution → Standard Normal Distribution and Z-Scores → Hypothesis Testing Fundamentals

Longest path: 98 steps · 500 total prerequisite topics

Prerequisites (6)

Leads To (17)