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

One-Sample Z-Test for Means

College Depth 101 in the knowledge graph ☐ I know this ☆ Set as goal
303topics build on this
514prerequisites beneath it
See this on the map →
Hypothesis Testing FundamentalsStandard Normal Distribution and Z-Score Standardization+5 more→→One-Sample and Two-Sample T-Tests
z-test one-sample test-statistic known-variance hypothesis-testing

Core Idea

The one-sample z-test assesses whether a sample mean x̄ differs significantly from a hypothesized population mean μ₀, when the population standard deviation σ is known. The test statistic z = (x̄ − μ₀) / (σ/√n) follows a standard normal distribution under H₀, by the central limit theorem. The z-test is rarely applicable in practice (σ is almost never known) but provides the theoretical foundation for the more practical t-test.

How It's Best Learned

Work through complete examples: state H₀ and Hₐ, compute z, find the p-value from the z-table, state the conclusion in context. Practice both one-tailed and two-tailed tests. Explicitly note that the z-test assumes σ is known — ask students why this is unrealistic.

Common Misconceptions

Explainer

From hypothesis testing fundamentals you already know the setup: you have a null hypothesis H₀ (some claim about a population parameter) and an alternative Hₐ (what you believe might be true instead), and you need a procedure for deciding whether your data are surprising enough under H₀ to reject it. The one-sample z-test is the cleanest instantiation of that procedure for population means, because the math falls out in a single, interpretable formula.

The core move is standardization. You know from z-scores that any normal random variable X with mean μ and standard deviation σ can be transformed to a standard normal by computing (X − μ)/σ. The sample mean x̄ from a sample of size n is itself a random variable — it has mean μ (assuming H₀ is true) and standard deviation σ/√n, which is called the standard error. The standard error is smaller than σ because averaging over n observations reduces the spread: the more data you collect, the more precisely x̄ estimates μ. By the central limit theorem, x̄ is approximately normally distributed for large n regardless of the shape of the population. This is what justifies using the normal distribution to evaluate the test.

Substituting x̄ into the standardization formula gives the test statistic: z = (x̄ − μ₀) / (σ/√n). Here μ₀ is the hypothesized mean from H₀. Under H₀ this statistic follows a standard normal distribution, so large |z| values indicate that x̄ is far from μ₀ in units of standard errors — suspicious evidence against H₀. The p-value you already know is then just the probability of observing |z| this extreme or more under the standard normal, which you read from the z-table.

The practical limitation is equally important to understand: σ is virtually never known in real research. You know the sample standard deviation s, not the population σ. When you substitute s for σ, the resulting statistic no longer follows a standard normal — it follows a t-distribution, which has heavier tails to account for the extra uncertainty. The z-test is therefore mostly theoretical scaffolding: it reveals the logic clearly (standardize, compare to reference distribution, compute p-value), and that logic carries over without change to the t-test you study next. Think of the z-test as the idealized version of the procedure, made concrete before the complication of unknown σ is introduced.

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 → P-values and Statistical Significance → Effect Size and Practical Significance → Hypothesis Testing: Framework and Logic → Z-Tests and T-Tests for Means → One-Sample Z-Test for Means

Longest path: 102 steps · 514 total prerequisite topics

Prerequisites (7)

Leads To (1)