CHAPTER 04 · TOPIC 02
t-Test Concepts
Understand why estimating an unknown population standard deviation leads to the t distribution and the shared structure of three t tests.
On this page
The t-test tests the population mean or mean difference. Like the Z-test, it standardizes the observed difference by its standard error. The essential difference is not the form of the equation, but whether the population standard deviation σ is known.
Starting from the Z Test#
The Z-score of an individual observation indicates how many population standard deviations it is from the population mean. The standard error σ/√n is used for the sample mean.
In Practice, the Population Standard Deviation σ Is Usually Unknown#
Since the complete population cannot be observed, not only μ but also σ are usually unknown. Estimate σ by calculating the sample standard deviation s from the same sample.
From the Z Statistic to the t Statistic#
σ is a fixed parameter, but s is a random variable. In an independent sample from a normal population, the chi-square variable U created from the standardized mean Z and sample variance is independent.
Why we need degrees of freedom#
The lower the degrees of freedom, the greater the variation in s, and the t-distribution puts more probability in the tails. As the degrees of freedom increase, s becomes more stable and approaches the standard normal distribution.
Comparing the Z Test and t Test#
| Item | Z test | t test |
| population standard deviation | σ known | σ unknown, estimated by s |
| standard error | σ/√n | s/√n |
| reference distribution | N(0,1) | t distribution |
| degree of freedom | Not applicable | Required |
| tails | lighter | heavier at low degrees of freedom |
Types of t Tests#
| method | question | Difference to analyze |
| one sample t test | Is the population mean equal to μ₀? | X̄−μ₀ |
| paired t-test | Is the population mean of the correspondence difference 0? | Create each difference dᵢ and analyze d̄ |
| Independent two-sample t-test | Are two independent population means the same? | X̄₁−X̄₂ |
Basic Assumptions of t Tests#
- Random sampling or appropriate randomization and independence in line with the research design
- Quantitative data for which averages and differences can be reasonably calculated
- Check the observed value in one sample, the difference in paired cases, and the distribution of each group and model error in two independent samples.
- Beware of strong distortions and outliers in small samples
- For two independent samples, distinguish between pooled t with equal variance and Welch t, which corresponds to unequal variance.