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 96 in the knowledge graph ☐ I know this ☆ Set as goal
1,434topics build on this
480prerequisites beneath it
See this on the map →
Probability Rules: Addition, Multiplication, and ComplementSampling Distributions+1 more→→Classical Test Theory FoundationsError Analysis and Statistics in Analytical Chemistry+12 more
hypothesis-testing inference framework

Core Idea

Hypothesis testing has two competing hypotheses: null (H₀, no effect) and alternative (H₁). We calculate a test statistic and p-value to decide whether data provides sufficient evidence against H₀. The test controls Type I error rate (α).

How It's Best Learned

Set up hypotheses for various research questions. Understand the asymmetry: we test H₀, not H₁. Recognize that 'fail to reject H₀' ≠ 'H₀ is true'. Practice interpreting p-values correctly.

Common Misconceptions

Thinking p-value is P(H₀|data); it's P(data|H₀). Interpreting failure to reject as acceptance of H₀. Believing small p-value proves large effect size. Confusing α (Type I error) with p-value.

Explainer

You understand probability distributions and sampling distributions — the idea that a statistic computed from a sample (like a sample mean x̄) follows a predictable distribution when sampling is random. Hypothesis testing uses this to answer a precise question: is the pattern in my data consistent with chance alone, or is something real going on? The framework converts a scientific question into a decision procedure with controlled error rates.

Every hypothesis test begins with two competing claims. The null hypothesis H₀ is the "nothing special" baseline — typically no effect, no difference, or no relationship. The alternative hypothesis H₁ is what you are trying to find evidence for. This setup is deliberately asymmetric: you assume H₀ is true and ask whether the data are surprising under that assumption. You never directly "test" H₁; you only ask how incompatible the observed data are with H₀. The analogy to a courtroom is useful: H₀ is innocence (the default), and you are asking whether the evidence is strong enough to convict.

Once H₀ is fixed, you compute a test statistic — a single number summarizing how far the observed data are from what H₀ predicts. For testing a population mean μ against a hypothesized value μ₀, the test statistic is typically (x̄ − μ₀) / (s/√n): the sample mean expressed in units of standard error. You know from sampling distributions that this quantity follows a predictable distribution (t, z, χ², F, etc.) when H₀ is true. The p-value is the probability, under H₀, of observing a test statistic at least as extreme as the one you computed. A small p-value means your data would be unusual if H₀ were true — not impossible, but rare enough to warrant suspicion.

The significance level α (commonly 0.05) is a pre-chosen threshold: if p < α, you reject H₀; otherwise, you fail to reject it. Critically, α is the Type I error rate — the probability of rejecting H₀ when it is actually true. You fix α before seeing the data, not after, so that the decision rule is not influenced by the outcome. A Type II error — failing to reject H₀ when it is actually false — is a separate concern governed by the power of the test. The most important misconception to avoid: the p-value is P(data this extreme | H₀ true), a conditional probability with H₀ in the condition. It is not P(H₀ true | data). Failing to reject H₀ does not mean H₀ is true — it only means the data are not surprising enough under H₀ to cross the threshold you set.

Practice Questions 5 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 → Independence of Events → Sampling Distributions → Standard Error of Estimators → Hypothesis Testing: Framework and Logic

Longest path: 97 steps · 480 total prerequisite topics

Prerequisites (3)

Leads To (14)