Skip to content
AP Statistics · Inference for Quantitative Data: Means

Test statistic

Test statistic appears in 24 reviewed AP Statistics questions and sits in Inference for Quantitative Data: Means. Below are worked examples showing exactly how the exam tests it, with the answer marked and every distractor explained.

How Test statistic is tested

Example 1Medium
A researcher tests whether the mean recovery time from surgery is different from the hospital's standard of 5 days. From a random sample of 36 patients, the sample mean is 5.8 days and the sample standard deviation is 1.8 days. The test statistic is:
  1. At = (5 - 5.8) / (1.8/36) ≈ -16
  2. Bt = (5.8 - 5) / (1.8/6) = 0.8 / 0.3 ≈ 2.67Correct
  3. Cz = (5.8 - 5) / (1.8/6) ≈ 2.67
  4. Dt = (5.8 - 5) / 1.8 ≈ 0.44

Why B is right

One-sample t-test: t = (x̄ - μ₀) / (s/√n) = (5.8 - 5) / (1.8/√36) = 0.8 / (1.8/6) = 0.8 / 0.3 ≈ 2.67. With df = 35, this would be compared to the t-distribution. The confidence interval or hypothesis test for a mean uses the sample statistic and standard error from the setup.
Why the other 3 choices miss
A
The numerator (5 - 5.8) has the wrong sign (should be x̄ - μ₀ = 5.8 - 5 = 0.8). Also, dividing by 1.8/36 = 0.05 instead of 1.8/√36 = 0.3 is an error — the SE uses √n, not n.
C
The formula is correct and gives the same numerical answer as A, but the statistic should be called 't', not 'z', because the population standard deviation is unknown and the sample SD (s) is used.
D
This divides by s (1.8) alone instead of the standard error s/√n = 1.8/6 = 0.3. The standard error accounts for sample size.
Example 2Medium
A paired t-test is used to compare pre-test and post-test scores for 15 students. The mean difference (post - pre) is d-bar = 4.2, and the standard deviation of the differences is s_d = 6.8. The t-statistic for testing H0: mu_d = 0 is
  1. At = 4.2 * sqrt(15) / 6.8 ≈ 2.39
  2. Bt = (4.2 - 6.8) / sqrt(15) ≈ -0.67
  3. Ct = 4.2 / (6.8 / sqrt(15)) = 4.2 / 1.756 ≈ 2.39Correct
  4. Dt = 4.2 / 6.8 ≈ 0.62

Why C is right

For a paired t-test, t = d-bar / (s_d / sqrt(n)) = 4.2 / (6.8 / sqrt(15)) = 4.2 / (6.8 / 3.873) = 4.2 / 1.756 ≈ 2.39. The test statistic compares the mean of the differences to zero, standardized by the standard error of the differences.
Why the other 3 choices miss
A
Incorrect. While this produces the same numerical answer as A (both equal approximately 2.39), it rearranges the formula. Choice A shows the standard form: d-bar divided by the standard error. Both A and D are algebraically equivalent, so the answer is A as it shows the standard formula.
B
Incorrect. This incorrectly subtracts s_d from d-bar and divides by sqrt(n). The formula involves dividing d-bar by the standard error, not subtracting s_d.
D
Incorrect. This divides d-bar by s_d without accounting for the sample size. The denominator should be the standard error s_d/sqrt(n), not the standard deviation s_d.
Example 3Harder
A sample of n = 64 observations from a population has x-bar = 105 and s = 24. The researcher tests H0: mu = 100 vs. Ha: mu ≠ 100. The t-statistic is t = (105 - 100)/(24/sqrt(64)) = 1.67 with df = 63. The researcher notes that if the sample had been n = 256 (four times as large) with the same x-bar and s, the t-statistic would have been
  1. A0.84 (halved because larger n increases the denominator)
  2. B6.68 (quadrupled because n quadrupled)
  3. C1.67 (unchanged because x-bar and s are the same)
  4. D3.33 (doubled because n quadrupled and SE halved)Correct

Why D is right

With n = 256: SE = 24/sqrt(256) = 24/16 = 1.5 (compared to 24/8 = 3 for n = 64). t = (105 - 100)/1.5 = 5/1.5 = 3.33. Quadrupling n doubles sqrt(n) (from 8 to 16), which halves the SE, which doubles the t-statistic. This illustrates why larger samples can produce significant results for the same effect.
Why the other 3 choices miss
A
Incorrect. A larger n makes SE smaller (not larger), which makes t larger (not smaller). The denominator decreases, increasing the test statistic.
B
Incorrect. Quadrupling n only doubles the t-statistic (because t depends on sqrt(n), and sqrt(4) = 2). It does not quadruple it.
C
Incorrect. The t-statistic depends on n through the standard error. Quadrupling n changes the SE and therefore the t-statistic.

Studied alongside

Other concepts from Inference for Quantitative Data: Means.