Test Statistic vs Standardized Test Statistic

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.

Test statistic

Hypothesis testing

A test statistic is a single number computed from sample data that measures how far the sample falls from what the null hypothesis predicts.

A test statistic compresses a whole sample into one number whose behavior under the null hypothesis you already know, which is what lets you convert it into a p-value. The common ones in an introductory course are z, t, and χ2\chi^2 (chi-square), and the first two share the single recipe described in standardized test statistic. For example, z=2.10z = 2.10 says the sample proportion sits 2.10 standard errors above the value the null hypothesis claims. The larger the magnitude, the further the data are from the null, and the smaller the p-value.

Full entry for test statistic

Standardized test statistic

Hypothesis testing

The standardized test statistic is the statistic minus the parameter, divided by the standard error of the statistic.

That one formula, statisticparameterstandard error of the statistic\frac{\text{statistic} - \text{parameter}}{\text{standard error of the statistic}}, generates every z and t statistic you will compute, and it appears in exactly that form on the AP formula sheet. It counts how many standard errors separate what you observed from what the null hypothesis assumed. For example, testing H0:p=0.50H_0: p = 0.50 with p-hat (the sample proportion) equal to 0.60 and n = 100, the standard error is 0.50(0.50)/100=0.05\sqrt{0.50(0.50)/100} = 0.05, so z=(0.600.50)/0.05=2.00z = (0.60 - 0.50)/0.05 = 2.00. Notice the standard error uses the null value 0.50 rather than p-hat, because the calculation assumes the null hypothesis is true.

Full entry for standardized test statistic

Where each one fits in the course