7. Hypothesis Testing: One-sample t-test
One-sample t-test: Purpose, Hypotheses, and Assumptions
One of the drawbacks of using a -test to test hypotheses about a population mean is that it requires more information than is usually available.
Specifically, we need to know the value of the population standard deviation in order to calculate the -statistic:
This information is very rarely available in 'real-life', however, which drastically limits the practical applicability of the -test.
When we want to perform a hypothesis test for a population mean , but the value of is unknown, we will have to use a one-sample Student's -test instead.
Student's t-test
A Student's -test is any statistical test for which the distribution of the test statistic follows a Student's -distribution under the null hypothesis.
One-sample t-test: Purpose and Hypotheses
A one-sample -test is used to test hypotheses about an unknown population mean . It is used instead of the one-sample -test at times when the population standard deviation is unknown.
Here, one-sample indicates that a single sample is analyzed to draw inferences about a single population.
The hypotheses of a one-sample -test for a population mean are identical to the hypotheses of a one-sample -test for :
Two-tailed | Left-tailed | Right-tailed |
|
|
|
Assumptions of the One-Sample t-test
The following assumptions are required to hold in order for a one-sample t-test to produce valid results:
- Random sampling is used to draw the samples.
- Independence of observations, meaning the occurrence of one observation does not influence the chances of another observation occurring.
- The sampling distribution of the sample mean is approximately normal. The one-sample -test is quite robust to violations of normality, meaning that the assumption of normality can be slightly violated and the test will still produce valid results.