Hypothesis Test vs Chi-Square Test
Both terms below come up in the same part of the course, and students mix them up. Here is each one defined on its own, side by side, so you can see where they part company.
Hypothesis test
Hypothesis testing
A hypothesis test uses sample data to weigh a null claim against an alternative, gauging how surprising the data would be if the null claim were true.
A hypothesis test, also called a significance test, assumes a claim about a population parameter and asks how unusual the observed sample would be if that claim held. The machinery is fixed: state and , check the conditions, compute a test statistic, turn it into a p-value using the null distribution, and compare that p-value with a significance level (alpha) fixed beforehand. The output is one of two verdicts, reject or fail to reject , and never a probability that either hypothesis is true.
Test against with (sigma) known to be 15 and , so the standard error is . A sample mean of 106.2 gives and a p-value of 0.0194. At that is a rejection: samples this far above 100 turn up under 2 percent of the time when 100 is the truth.
The misreading that costs points: "the p-value was 0.16, so we accept the null hypothesis and conclude the mean is 100." A test never accepts . A sample mean of 103 in that same setup gives and a p-value of 0.1587, and a 95 percent interval of , or 97.12 to 108.88. Every value in that range is as consistent with the sample as 100 is, so failing to reject rules nothing in. The asymmetry is deliberate: evidence can contradict one specific value, and no sample can confirm one.
A test also answers only the question its hypotheses posed and does not audit its own scope. Whether a conclusion reaches a population depends on random sampling, and whether it supports a cause depends on random assignment: a rejection from a convenience sample is still a rejection and still worth very little. Significant is not the same as large, the subject of statistical vs practical significance.
In the Fall 2026 AP Statistics course, one-proportion tests are Unit 3 topics 3.5 through 3.7, and tests for means are Unit 4 topics 4.4 and 4.5.
Chi-square test
Hypothesis testing
A chi-square test compares observed counts of categorical data to the counts expected under a hypothesis, gauging how far the data stray from that model.
A chi-square test asks whether a table of counts sits further from a model than sampling variability explains. Every version computes across the cells, where is an observed count and the expected count under the null. Squaring throws away the direction of each gap, so every discrepancy pushes the statistic up instead of cancelling another, and all the evidence against the null lives in the upper tail of the chi-square curve.
Two schools are surveyed about biking to school: School A has 45 bikers out of 100, School B 45 out of 140. The expected counts from the margins are 37.5 and 62.5 in the first row, 52.5 and 87.5 in the second, so the four terms are 1.5, 0.9, 1.0714, and 0.6429. That gives on degree of freedom, and a p-value of 0.0425. At that is convincing evidence the two schools differ in their biking rates.
The error that ruins the test: "School A bikes at 45 percent and School B at 32.1 percent, so those go in the formula." Percentages are not counts, and scales with how much data stands behind it. Double both schools while holding those two percentages fixed and the statistic doubles to 8.2286 with a p-value of 0.0041. Raw counts carry the sample size; percentages discard it.
Three tests share the formula and differ in where comes from and how the degrees of freedom are counted. Homogeneity compares separate samples on one categorical variable, which is the table above. Independence takes one sample and cross-classifies it two ways. Both read off the margins and use degrees of freedom. Goodness of fit checks one variable against claimed proportions using .
Homogeneity and independence are AP Statistics topics 3.14 and 3.15. Goodness of fit was removed from the course for Fall 2026, so it is not examinable, though it stays standard in a college introductory course.