- Related Topics:
- hypothesis testing
- Student’s t distribution
- On the Web:
- National Center for Biotechnology Information - T Test (Oct. 22, 2026)
Student’s t-test
-
What is a Student’s t-test?
A Student's t-test is a statistical method used to test hypotheses about the mean of a small sample drawn from a normally distributed population when the population standard deviation is unknown. Developed by William Sealy Gosset under the pseudonym "Student," this test is crucial when dealing with limited data.
The t-test helps determine if there's a significant difference between the observed sample mean and a hypothesized population mean, or between the means of two independent samples. It's particularly useful in fields like agriculture, where Gosset originally applied it to small sample sizes encountered in his work at a brewery. The test statistic, t, is calculated and compared to critical values from the t-distribution to decide whether to reject the null hypothesis (the assumption of no effective difference).
2 Britannica SourcesCreated from Britannica articles using AI. AI can make mistakes, so verify using Britannica articles. -
Why do people use Student’s t-tests in statistics?
Student's t-test is a statistical method used for hypothesis testing concerning the mean of a small sample drawn from a normally distributed population when the population's standard deviation is unknown. Developed by William Sealy Gosset under the pseudonym "Student," this test is particularly useful when dealing with small sample sizes, as traditional methods relying on large samples are not applicable.
The t-test helps determine if there is a significant difference between an observed sample mean and a hypothesized population mean, or if two independent samples have the same mean. It is also used to construct confidence intervals for population means or the difference between two sample means. The test statistic, t, is calculated, and if it exceeds a critical value determined by the t distribution, the null hypothesis (stating no effective difference) is rejected.
2 Britannica SourcesCreated from Britannica articles using AI. AI can make mistakes, so verify using Britannica articles. -
What types of data are compared using a t-test?
A Student's t-test is a statistical method used to test hypotheses about the mean of a small sample drawn from a normally distributed population when the population standard deviation is unknown. It is particularly useful for comparing the means of two independent samples or for constructing confidence intervals for the true mean of a population or the difference between two sample means. The test helps determine if observed differences between sample means are likely due to chance or represent a significant difference.
2 Britannica SourcesCreated from Britannica articles using AI. AI can make mistakes, so verify using Britannica articles. -
How does a t-test decide if there is a significant difference between two groups?
A Student's t-test determines if there's a statistically significant difference between the means of two groups when the population standard deviation is unknown. It works by calculating a t-statistic, which measures the difference between the sample means relative to the variability within the samples.
The process involves setting a null hypothesis, stating no effective difference exists between the groups. The calculated t-statistic is then compared to a critical value from the t-distribution. If the observed t-statistic is more extreme than the critical value, the null hypothesis is rejected, indicating a significant difference between the groups. This signifies that the observed difference is unlikely to be due to random chance.
3 Britannica SourcesCreated from Britannica articles using AI. AI can make mistakes, so verify using Britannica articles. -
What is the difference between an independent and a paired t-test?
The primary difference between an independent t-test and a paired t-test lies in the nature of the data being compared. An independent t-test is used when the two groups of data are independent of each other, meaning the observations in one group do not influence the observations in the other. For example, comparing the test scores of two different classes of students.
In contrast, a paired t-test is used when the data points are related or matched. This typically occurs when measurements are taken from the same subjects at two different times (e.g., before and after an intervention) or when subjects are matched based on certain characteristics. The paired t-test accounts for this dependency to provide a more accurate comparison.
2 Britannica SourcesCreated from Britannica articles using AI. AI can make mistakes, so verify using Britannica articles. -
What information do you need to calculate a t-test, and how do you interpret the results?
To calculate a Student's t-test, you need sample data, including the sample mean, sample standard deviation, and the number of observations. The t-test is used when the population standard deviation is unknown and the sample is drawn from a normally distributed population.
To interpret the results:
* A null hypothesis is formulated, stating there is no effective difference between the sample mean and the population mean.
* A t-statistic is calculated.
* This statistic is compared to a critical value from the t-distribution. If the calculated t-statistic is more extreme than the critical value, the null hypothesis is rejected, indicating a statistically significant difference.
* The p-value represents the probability of observing the data if the null hypothesis is true. A low p-value (typically below 0.05) suggests the result is not due to chance.3 Britannica SourcesCreated from Britannica articles using AI. AI can make mistakes, so verify using Britannica articles.
Student’s t-test, in statistics, a method of testing hypotheses about the mean of a small sample drawn from a normally distributed population when the population standard deviation is unknown.
In 1908 William Sealy Gosset, an Englishman publishing under the pseudonym Student, developed the t-test and t distribution. (Gosset worked at the Guinness brewery in Dublin and found that existing statistical techniques using large samples were not useful for the small sample sizes that he encountered in his work.) The t distribution is a family of curves in which the number of degrees of freedom (the number of independent observations in the sample minus one) specifies a particular curve. As the sample size (and thus the degrees of freedom) increases, the t distribution approaches the bell shape of the standard normal distribution. In practice, for tests involving the mean of a sample of size greater than 30, the normal distribution is usually applied.
It is usual first to formulate a null hypothesis, which states that there is no effective difference between the observed sample mean and the hypothesized or stated population mean—i.e., that any measured difference is due only to chance. In an agricultural study, for example, the null hypothesis could be that an application of fertilizer has had no effect on crop yield, and an experiment would be performed to test whether it has increased the harvest. In general, a t-test may be either two-sided (also termed two-tailed), stating simply that the means are not equivalent, or one-sided, specifying whether the observed mean is larger or smaller than the hypothesized mean. The test statistic t is then calculated. If the observed t-statistic is more extreme than the critical value determined by the appropriate reference distribution, the null hypothesis is rejected. The appropriate reference distribution for the t-statistic is the t distribution. The critical value depends on the significance level of the test (the probability of erroneously rejecting the null hypothesis).
For example, suppose a researcher wishes to test the hypothesis that a sample of size n = 25 with mean = 79 and standard deviation s = 10 was drawn at random from a population with mean μ = 75 and unknown standard deviation. Using the formula for the t-statistic,
the calculated t equals 2. For a two-sided test at a common level of significance α = 0.05, the critical values from the t distribution on 24 degrees of freedom are −2.064 and 2.064. The calculated t does not exceed these values, hence the null hypothesis cannot be rejected with 95 percent confidence. (The confidence level is 1 − α.)
A second application of the t distribution tests the hypothesis that two independent random samples have the same mean. The t distribution can also be used to construct confidence intervals for the true mean of a population (the first application) or for the difference between two sample means (the second application). See also interval estimation.

" height="20" alt="HEW Logo">