Any statistical test that uses t distribution can be called a ttest, or the "student's ttest". It is basically used when the sample size is small i.e. n<30.
This article is a part of the guide:
Browse Full Outline
 1Statistical Hypothesis Testing
 2Relationships
 3Correlation
 4Regression
 5Student’s TTest
 6ANOVA
 7Nonparametric Statistics
 8Other Ways to Analyse Data
For example, if a person wants to test the hypothesis 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. The test to be used for this purpose is ttest.
Student's Ttest for Different Purposes
There are different types of ttest each for different purpose. Some of the popular types are outlined below:

Student's ttest for single mean is used to test a hypothesis on a specific value of the population mean. Statistically speaking, we test the null hypothesis H_{0}: μ = μ_{0} against the alternative hypothesis 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 ttest 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, ttest 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 ttest 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 ttest can is applicable in such scenarios.

A ttest for correlation coefficient is used for testing an observed sample correlation coefficient (r).
For example suppose a random sample 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 ttest for correlation coefficient
 A ttest for testing significance of regression coefficient is used to test the significance of regression coefficients in linear and multiple regression setup.
Assumptions
Irrespective of the type of ttest used, two assumptions have to be met.
 the populations from which the samples are drawn are normal.
 the population standard deviation is not known.
Student's ttest 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 ztest for large samples.
Explorable.com (Jul 20, 2009). Student’s TTest (II). Retrieved Apr 26, 2020 from Explorable.com: https://explorable.com/studentsttest2
You Are Allowed To Copy The Text
The text in this article is licensed under the Creative CommonsLicense Attribution 4.0 International (CC BY 4.0).
This means you're free to copy, share and adapt any parts (or all) of the text in the article, as long as you give appropriate credit and provide a link/reference to this page.
That is it. You don't need our permission to copy the article; just include a link/reference back to this page. You can use it freely (with some kind of link), and we're also okay with people reprinting in publications like books, blogs, newsletters, coursematerial, papers, wikipedia and presentations (with clear attribution).
Want to stay up to date? Follow us!
Footer bottom