Published on *Explorable.com* (https://explorable.com)

Any statistical test that uses t distribution can be called a t-test, or the "student's t-test". It is basically used when the sample size is small i.e. n<30.

For example, if a person wants to test the hypothesis [3] that mean height of student's of a college is not different from 150 cms, he can take a sample of size say 20 from the college. From the mean height of these students, he can test the hypothesis [4]. The test to be used for this purpose is t-test.

There are different types of t-test [1] each for different purpose. Some of the popular types are outlined below:

**Student's t-test for single mean**is used to test a hypothesis on a specific value of the population mean. Statistically speaking, we test the null hypothesis [5] H_{0}: μ = μ_{0}against the alternative hypothesis [3] H_{1}: μ >< μ0 where μ is the population mean and μ_{0}is a specific value of the population that we would like to test for acceptance.The example on heights of students explained above requires this test. In that example, μ0 = 150.

- The
**t-test for difference of means**is used to test the hypothesis that two populations have the same mean.For example suppose one is interested to test if there is any significant difference between the mean height of male and female students in a particular college. In such a situation, t-test for difference of means can be applied. One would have to take two independent samples from the college- one from males and the other from females in order to perform this test.

An additional assumption of this test is that the variance of the two populations is equal.

- A
**paired t-test**is usually used when the two samples are dependent- this happens when each individual observation of one sample has a unique relationship with a particular member of the other sample.For example we may wish to test if a newly developed intervention program for disadvantaged students is useful. For this, we need to obtain scores from say 22 students in a standardized test before administering the program. After the program is over, the same test needs to be administered again on the same group of 22 students and scores obtained.

The two samples- the sample of prior intervention scores and the sample of post intervention scores are related as each student has two scores. The samples are therefore dependent. The paired t-test can is applicable in such scenarios.

- A
**t-test for correlation coefficient**is used for testing an observed sample correlation coefficient (r).For example suppose a random sample [6] of 27 pairs of observation from a normal population gave a correlation coefficient 0.2. Notice that this is the sample correlation coefficient obtained from a sample of observations. One may be interested to know whether the variables are correlated in the population. In this case we can use t-test for correlation coefficient

- A
**t-test for testing significance of regression coefficient**is used to test the significance [7] of regression coefficients in linear [8] and multiple [9] regression setup.

Irrespective of the type of t-test used, two assumptions have to be met.

- the populations from which the samples are drawn are normal [10].
- the population standard deviation [11] is not known.

Student's t-test [12] is a small sample test. It is difficult to drawn a clearest line of demarcation between large and small sample. Statisticians have generally agreed that a sample may be considered small if its size is < 30.

The test used for dealing with problems relating the large samples are different from the one used for small samples. We often use z-test [13] for large samples.

**Links**

[1] https://explorable.com/students-t-test-2

[2] https://explorable.com/

[3] https://explorable.com/research-hypothesis

[4] https://explorable.com/hypothesis-testing

[5] https://explorable.com/null-hypothesis

[6] https://explorable.com/simple-random-sampling

[7] https://explorable.com/significance-test

[8] https://explorable.com/linear-regression-analysis

[9] https://explorable.com/multiple-regression-analysis

[10] https://explorable.com/normal-probability-distribution

[11] https://explorable.com/measurement-of-uncertainty-standard-deviation

[12] http://www.socialresearchmethods.net/kb/stat_t.php

[13] https://explorable.com/z-test