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 moreChi-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 ZeroThe Number ZeroCounting to FiveCounting to 10Counting to 20Counting a Set of Objects Up to 20Cardinality: The Last Number CountedMatching Numerals to QuantitiesSubitizing Small QuantitiesAddition Within 10Number Bonds to 10Addition Within 20Doubles and Near DoublesDoubles Facts Within 10Near Doubles Facts Within 20Mental Math Strategies for AdditionMental Math: Adding and Subtracting TensAddition Within 100Repeated Addition as MultiplicationMultiplication as Equal GroupsMultiplication: ArraysBasic Multiplication Facts (0s, 1s, 2s, 5s, 10s)Multiplication Facts Within 100Division as Equal SharingDivision as Grouping (Measurement Division)Division: Grouping (Repeated Subtraction) ModelDivision: Fair Sharing ModelDivision as Equal SharingDivision as GroupingBasic Division FactsDivision Facts Within 100Multiplication and Division Fact FamiliesRelationship Between Multiplication and DivisionDivision Facts as Inverse of MultiplicationRemainders and Quotients in DivisionDivision Word ProblemsMulti-Step Word ProblemsSolving Multi-Step Word ProblemsMultiplication Word ProblemsDivision Word ProblemsIntroduction to Long DivisionFactors and MultiplesPrime and Composite NumbersEquivalent FractionsRelating Fractions and DecimalsDecimal Place ValueIntegers and the Number LineComparing and Ordering IntegersAbsolute ValueAdding IntegersSubtracting IntegersMultiplying IntegersDividing IntegersUnit RatesProportionsPercent ConceptConverting Between Fractions, Decimals, and PercentsOperations with Rational NumbersTwo-Step EquationsSolving Multi-Step EquationsEquations with Variables on Both SidesAngle Pairs: Complementary, Supplementary, and VerticalParallel Lines and TransversalsCorresponding AnglesAlternate Interior AnglesTriangle Angle Sum TheoremExterior Angle TheoremTriangle Inequality TheoremSimilar Triangles: AA SimilaritySimilar Triangles: SSS and SAS SimilarityProportions in Similar TrianglesRight Triangle Trigonometry IntroductionSine, Cosine, and Tangent RatiosTrigonometric Ratios ReviewRadian MeasureConverting Between Degrees and RadiansThe Unit CircleGraphing Sine and CosineGraphing Tangent and Reciprocal Trigonometric FunctionsDerivatives of Trigonometric FunctionsAntiderivativesIndefinite IntegralsBasic Integration RulesRiemann SumsDefinite Integral DefinitionProbability Density Functions and Continuous DistributionsCumulative Distribution FunctionsContinuous Random VariablesProbability Density FunctionsExpected ValueWeak Law of Large NumbersProbability Axioms and RulesConditional ProbabilityConditional DistributionsBivariate Normal DistributionNormal DistributionStandard Normal Distribution and Z-ScoresHypothesis Testing Fundamentals

Longest path: 98 steps · 500 total prerequisite topics

Prerequisites (6)

Leads To (17)