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

Chi-Square Distribution: Theory and Tests

College Depth 108 in the knowledge graph ☐ I know this ☆ Set as goal
1,253topics build on this
508prerequisites beneath it
See this on the map →
Standard Normal Distribution and Z-Score Standardization→→Chi-Square TestChi-Square Test for Independence+1 more
chi-square

Core Idea

χ²(k): distribution of sum of k squared independent standard normals. E[χ²(k)]=k, Var[χ²(k)]=2k. Right-skewed. Arises in testing independence and goodness-of-fit. Critical values depend on degrees of freedom.

Explainer

The chi-square distribution arises naturally from normal random variables in a way that connects directly to the statistical tests you will build from it. The fundamental construction: if Z₁, Z₂, …, Z_k are independent standard normal random variables, then X = Z₁² + Z₂² + ⋯ + Z_k² follows a chi-square distribution with k degrees of freedom, written χ²(k). This is not merely a definition — it is the distribution that appears whenever you sum squared standardized normal quantities, which is exactly what happens in many test statistics.

The moments reveal the distribution's shape. E[χ²(k)] = k because E[Zᵢ²] = Var(Zᵢ) = 1 and expectations add. Var[χ²(k)] = 2k because Var(Zᵢ²) = E[Zᵢ⁴] − (E[Zᵢ²])² = 3 − 1 = 2 and variances of independent variables add. The distribution is right-skewed — a square is always non-negative, so the distribution is bounded below at 0, and the right tail extends far. As k grows, the skewness decreases: by the CLT, χ²(k) is approximately N(k, 2k) for large k. The right tail is what matters for hypothesis tests: you compute a test statistic, then ask how probable it is to see a value at least this large if H₀ is true.

Two key test contexts build directly from this structure. In a goodness-of-fit test, you have observed counts O_i and expected counts E_i across k categories. The test statistic Σ (O_i − E_i)²/E_i follows approximately χ²(k−1) when H₀ is true — the −1 comes from the constraint that counts must sum to n, removing one degree of freedom. In a test of independence on a contingency table with r rows and c columns, the statistic follows approximately χ²((r−1)(c−1)). The degrees of freedom always count the independent pieces of information: cells minus constraints imposed by row and column totals.

The chi-square distribution also connects to the sample variance: if X₁, …, X_n are i.i.d. N(μ, σ²), then (n−1)S²/σ² ~ χ²(n−1). This result underpins the t-distribution (formed as a ratio involving a standard normal over a √chi-square) and the F-distribution (a ratio of two independent chi-square values divided by their degrees of freedom). Understanding χ²(k) as a sum of squared standard normals is the correct mental model, because it makes every downstream result feel derived from first principles rather than memorized as an isolated fact.

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 → Combining Small Groups Within 5 → Number Bonds Within 5 → Number Bonds to 10 → Tens and Ones Place Value → Reading and Writing Three-Digit Numbers → Comparing Three-Digit Numbers → Comparing and Ordering Three-Digit Quantities → Comparing and Ordering Whole Numbers → Comparing Numbers 1 to 20 → Ordering Numbers to 20 → Number Line 0 to 20 → 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 → Opposites and Additive Inverses → Absolute Value → Adding Integers → Subtracting Integers → Multiplying Integers → Introduction to Exponents → Order of Operations → Integer Order of Operations → Variable Expressions → The Distributive Property → Variables and Expressions Review → Introduction to Polynomials → Adding and Subtracting Polynomials → Multiplying Polynomials → Multiplying Binomials (FOIL) → Factoring Trinomials → Factoring Completely → Introduction to Rational Expressions → Simplifying Radical Expressions → Segments and Distance → Triangle Inequality Theorem → Similar Triangles: AA Similarity → Similar Triangles: SSS and SAS Similarity → Proportions in Similar Triangles → Similar Right Triangles and the Geometric Mean → Right Triangle Trigonometry Introduction → Sine, Cosine, and Tangent Ratios → Special Right Triangles: 30-60-90 → 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: Properties and Fundamentals → Standard Normal Distribution and Z-Score Standardization → Chi-Square Distribution: Theory and Tests

Longest path: 109 steps · 508 total prerequisite topics

Prerequisites (1)

Leads To (3)