t-Statistic — Definition, Formula & Examples
The t-statistic (also called a t score) is a number that tells you how many standard errors a sample mean lies above or below the mean claimed in the null hypothesis. You use it instead of a z-score when the population standard deviation is unknown and has to be estimated from the sample.
For a simple random sample of size with mean and sample standard deviation , the one-sample t-statistic is . If is true and the population is approximately normal (or is large), this statistic follows a t-distribution with degrees of freedom. That distribution has heavier tails than the standard normal and approaches it as grows.
Key Formula
Where:
- = sample mean
- = population mean stated in the null hypothesis
- = sample standard deviation
- = sample size
- = standard error of the sample mean
- = degrees of freedom used to read the t-table
Worked Example
Problem: A company claims its batteries last 50 hours on average. You test a random sample of 16 batteries and find a mean life of 55 hours with a sample standard deviation of 8 hours. Compute the t-statistic for versus . Then compare it with the two-sided critical value at .
Step 1: Find the standard error of the mean.
Step 2: Subtract the hypothesized mean and divide by the standard error.
Step 3: Find the degrees of freedom. For a two-sided test at with 15 degrees of freedom, the t-table gives . Your statistic is larger.
Answer: with . Because , you reject at the 0.05 level. The sample gives evidence that the mean battery life differs from 50 hours.
Why It Matters
Every inference procedure for means in AP Statistics depends on the t-statistic. That includes one-sample t-tests, paired t-tests, two-sample t-tests, and the t-intervals built from them. Clinical researchers use the same calculation to decide whether a drug changes average blood pressure more than chance would explain.
Common Mistakes
Mistake: Dividing by the sample standard deviation instead of the standard error .
Correction: The t-statistic measures distance in standard errors of the mean, not in individual-data standard deviations. In the example, dividing by 8 gives 0.625 instead of 2.5. That error would lead you to the wrong conclusion.
