Z-test

A z-test is a hypothesis test that uses the standard normal distribution to find a p-value; on the AP Statistics exam it's used almost exclusively for proportions (one-proportion and two-proportion z-tests), because tests for means use t-procedures instead.

Verified for the 2027 AP Statistics examLast updated June 2026

What is z-test?

A z-test is a significance test where your test statistic follows the standard normal distribution. You compute a z-score, which measures how many standard deviations your sample statistic sits from the value claimed in the null hypothesis, then convert that z-score into a p-value using the normal curve.

Here's the part that trips people up. Textbook definitions say z-tests work for means when the population standard deviation is known. In real life (and on the AP exam), you almost never know the population standard deviation. So on AP Statistics, z-tests show up for proportions: the one-proportion z-test (testing a claim like "85% of patients improve") and the two-proportion z-test (comparing success rates between two groups). Proportions get z-procedures because the standard deviation of a proportion is calculated directly from p, so there's nothing unknown to estimate. Means get t-procedures because you have to estimate the standard deviation from your sample, and that extra uncertainty is exactly what the t-distribution accounts for. Before running any z-test, you check conditions: random sampling or assignment, independence (often via the 10% Condition), and a large enough sample for normality (expected successes and failures both at least 10).

Why z-test matters in AP Statistics

The z-test lives at the heart of Units 6 and 7, and it's the star of Topic 7.10, Skills Focus: Selecting, Implementing, and Communicating Inference Procedures. That topic is essentially one big question repeated over and over. Given a scenario, which procedure do you pick? Choosing a z-test when the data are proportions (and a t-test when they're means) is the single most common selection decision on the exam. Get the procedure wrong on an FRQ and you can lose most of the points even with perfect arithmetic, because the whole inference chain (conditions, test statistic, p-value, conclusion) depends on that first choice. The z-test also ties the entire course together. It takes the standard normal distribution from Unit 1, the sampling distributions from Unit 5, and the hypothesis-testing logic from Unit 6, and packages them into one procedure you can actually run.

How z-test connects across the course

Standard Normal Distribution (Unit 1)

The z-test is just the standard normal curve put to work. The z-score you computed in Unit 1 to describe how unusual a data point is becomes, in inference, a test statistic that tells you how unusual your sample result would be if the null hypothesis were true.

Hypothesis Testing (Units 6-7)

A z-test is one specific flavor of hypothesis test. The four-step logic (hypotheses, conditions, calculations, conclusion) is identical across all tests; what makes it a z-test is that the test statistic gets compared to the standard normal distribution.

p-value (Unit 6)

The z-test exists to produce a p-value. You find your z-statistic, then the p-value is the area under the standard normal curve beyond that z, in the direction(s) your alternative hypothesis points.

10% Condition (Unit 5)

When you sample without replacement, the 10% Condition (sample is less than 10% of the population) is part of the independence check you must write out before running a z-test. Skipping conditions costs FRQ points even if your math is flawless.

Is z-test on the AP Statistics exam?

Multiple-choice questions love the selection angle. A stem describes a study and asks which inference procedure fits, and the trap answers swap z for t or one-sample for two-sample. For example, "Which inference procedure is appropriate for comparing two population means?" wants a two-sample t-test, and the z-test option is the bait. Proportion scenarios flip it: a drug company claiming 85% of patients improve, with 94 of 120 trial patients improving, is a one-proportion z-test setup.

On FRQs, question 4 is reliably a full significance test, and released exams like 2018 Q4, 2019 Q4, and 2021 Q4 have asked for complete z-test write-ups in contexts from ACL surgery recovery to repeat-purchase coupons. To earn full credit you must name the test, state hypotheses with defined parameters, verify conditions (random, 10% Condition, large counts), report the z-statistic and p-value, and write a conclusion in context that compares p to the significance level. The 2024 exam (Q1) shows this can blend with sampling design questions too, so expect z-tests wherever proportions and inference meet.

Z-test vs t-test

Both follow the same four-step hypothesis testing structure, but they handle different parameters on the AP exam. Use a z-test for proportions, because the standard deviation of a proportion comes straight from p with nothing left to estimate. Use a t-test for means, because you have to estimate the population standard deviation from your sample, and the t-distribution's fatter tails account for that extra uncertainty. The fastest sorting trick on the exam is to ask what the data are. Percentages and success/failure counts mean z; averages of measured quantities mean t.

Key things to remember about z-test

  • A z-test uses the standard normal distribution to convert a test statistic into a p-value for a hypothesis test.

  • On the AP Statistics exam, z-tests are for proportions (one-proportion and two-proportion), while tests about means use t-procedures.

  • The quickest way to choose between z and t is to identify the data type: success/failure counts and percentages point to z, measured averages point to t.

  • Before running a z-test you must check conditions: random sampling or assignment, independence (often the 10% Condition), and at least 10 expected successes and 10 expected failures.

  • A full-credit z-test FRQ response names the test, states hypotheses in symbols with parameters defined, verifies conditions, shows the z-statistic and p-value, and states a conclusion in context.

  • Topic 7.10 tests whether you can select the right procedure, so misidentifying a t-test scenario as a z-test (or vice versa) can sink an otherwise correct response.

Frequently asked questions about z-test

What is a z-test in AP Stats?

A z-test is a hypothesis test that uses the standard normal distribution to calculate a p-value. On the AP exam it's used for proportions, like testing whether a drug really helps 85% of patients when 94 out of 120 trial patients improved.

Do you use a z-test or t-test for means?

Use a t-test. Z-tests for means require knowing the population standard deviation, which you essentially never do on the AP exam, so means get t-procedures and proportions get z-procedures.

How is a z-test different from a z-score?

A z-score describes one value's distance from the mean in standard deviations, while a z-test is a full inference procedure that uses a z-score as its test statistic to produce a p-value and reach a conclusion about a population parameter.

What conditions do I need to check for a z-test?

Three things: the data come from a random sample or random assignment, observations are independent (check the 10% Condition if sampling without replacement), and the sample is large enough that expected successes and expected failures are both at least 10.

Is the z-test on the AP Statistics exam?

Yes, heavily. One-proportion and two-proportion z-tests appear in multiple choice and as full significance-test FRQs, including released questions like 2018 Q4 and 2021 Q4, and Topic 7.10 tests whether you can correctly pick z versus t procedures.