The t-distribution or t-test is used when:
1
the sample size is less than 30 and the population standard deviation is known
2
the sample size is less than 30 and the population mean is knownra
3
the sample size is 30 or less and the population mean is unknown
4
the sample size is 30 or less and the population standard deviation is unknown