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

Hypothesis Testing: Framework and Logic

College Depth 99 in the knowledge graph I know this Set as goal
1,359topics build on this
483prerequisites beneath it
See this on the map →
Conditional ProbabilityEffect Size and Practical SignificanceChi-Square TestChi-Square Test for Independence+2 more
hypothesis-testing

Core Idea

Test H₀ vs H₁. Compute test statistic under H₀. P-value=P(statistic this extreme or more|H₀ true). Reject H₀ if p<α; fail to reject otherwise. Significance level α controls Type I error. Logical structure: assume H₀ true, ask if data are surprising.

Explainer

Your prerequisite is conditional probability: P(A|B) = P(A ∩ B)/P(B). Hypothesis testing is built on exactly this idea, but the conditioning runs in a direction that can be disorienting at first. The p-value is P(data this extreme | H₀ true) — you condition on the hypothesis being true and ask how surprising the data are. This is *not* P(H₀ true | data), which is what you might intuitively want. Understanding this distinction is the most important conceptual move in the entire framework.

The logical structure is an analogy to proof by contradiction. You begin by assuming the null hypothesis H₀ (typically "no effect," "no difference," or some baseline claim). Under this assumption, you know — or can derive — the distribution of a test statistic, a number computed from the data that measures how far results are from what H₀ predicts. You then compute the p-value: the probability, under H₀, of observing a test statistic as extreme as yours or more extreme. If the p-value is tiny, the data would be very surprising if H₀ were true — this undermines H₀'s credibility, just as a contradiction undermines an assumption in a proof.

The significance level α is the threshold you set in advance. If p < α, you reject H₀ and conclude the data are inconsistent with it. If p ≥ α, you fail to reject H₀ — not "accept it," because a large p-value only means the data are *consistent* with H₀, not that H₀ is proven true. The choice α = 0.05 is conventional: you accept a 5% chance of rejecting H₀ when it is actually true. This is the Type I error rate (false positive rate). Smaller α reduces false positives but makes it harder to detect real effects.

The complementary error is Type II error: failing to reject H₀ when H₁ is actually true (a false negative). The probability of correctly detecting a real effect is called power = 1 - P(Type II error). These two error types trade off: making α smaller reduces Type I error but increases Type II error, reducing power. For a fixed α, power increases with sample size (more data makes real effects easier to detect) and with the size of the true effect. A complete understanding of any hypothesis test requires specifying both error rates — statistical significance at α = 0.05 only tells you about Type I error, and a "significant" result with low power may be rejecting H₀ for the wrong reasons.

Practice Questions 5 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 ProbabilityIndependence of EventsSampling DistributionsStandard Error of EstimatorsHypothesis Testing: Framework and LogicP-values and Statistical SignificanceEffect Size and Practical SignificanceHypothesis Testing: Framework and Logic

Longest path: 100 steps · 483 total prerequisite topics

Prerequisites (2)

Leads To (4)