One-sample t-test for means
One-Sample t-Test for Means
The one-sample t-test for means is a statistical hypothesis test used to determine if an unknown population mean (μ) is significantly different from a hypothesized value (μ₀) when the population standard deviation (σ) is unknown. This is a common scenario in real-world applications, as σ is rarely known.
When to Use the t-Distribution
Unlike the z-test, which relies on the normal distribution and requires a known population standard deviation, the t-test uses the t-distribution (also known as Student's t-distribution). The t-distribution is more spread out than the normal distribution, especially for small sample sizes, accounting for the additional uncertainty introduced by estimating σ with the sample standard deviation (s). As the degrees of freedom (df) increase, the t-distribution approaches the standard normal distribution. For a one-sample t-test, df = n - 1, where n is the sample size.
Hypotheses
The hypotheses for a one-sample t-test are structured as follows:
- Null Hypothesis (H₀): μ = μ₀ (The population mean is equal to the hypothesized value.)
- Alternative Hypothesis (Hₐ): Can be one of three forms:
- μ ≠ μ₀ (Two-sided test: The population mean is not equal to the hypothesized value.)
- μ > μ₀ (One-sided test: The population mean is greater than the hypothesized value.)
- μ < μ₀ (One-sided test: The population mean is less than the hypothesized value.)
Conditions for Inference
Before performing a one-sample t-test, several conditions must be met:
- Random: The data must come from a random sample or randomized experiment. This ensures that the sample is representative of the population.
- 10% Condition: When sampling without replacement, the sample size (n) should be no more than 10% of the population size (N). This ensures independence among observations.
- Normal/Large Sample: The population distribution should be approximately normal, OR the sample size should be large (typically n ≥ 30) due to the Central Limit Theorem (CLT). If n < 30 and the population is not known to be normal, inspect a graph (e.g., histogram, box plot) of the sample data for strong skewness or outliers. If strong skewness or outliers are present in a small sample, the t-test may not be appropriate.
Test Statistic and P-value
The t-test statistic for a one-sample t-test is calculated as:
t = (x̄ - μ₀) / (s / √n)
- x̄ is the sample mean.
- μ₀ is the hypothesized population mean from the null hypothesis.
- s is the sample standard deviation.
- n is the sample size.
The calculated t-statistic is then compared to a t-distribution with df = n - 1 to find the P-value. The P-value is the probability of observing a sample mean as extreme as, or more extreme than, the one observed, assuming the null hypothesis is true. A small P-value (typically less than a predetermined significance level α, e.g., 0.05) provides evidence against H₀, leading to its rejection.
Interpretation
If P-value < α, we reject the null hypothesis. There is sufficient evidence to conclude that the true population mean is different from (or greater/less than, depending on Hₐ) the hypothesized value μ₀. If P-value ≥ α, we fail to reject the null hypothesis. There is not sufficient evidence to conclude that the true population mean is different from μ₀. This does not mean H₀ is true, only that the data does not provide convincing evidence against it.
Practice questions
Which condition for a one-sample t-test addresses the independence of observations when sampling without replacement?
A researcher wants to test if the average weight of a certain species of fish is different from 10 pounds. A sample of 25 fish yields a mean weight of 9.5 pounds and a standard deviation of 2 pounds. What is the degrees of freedom for the t-distribution in this test?
Why is the t-distribution used instead of the normal distribution for a one-sample test for means when the population standard deviation is unknown?
What is the consequence of failing to reject the null hypothesis in a one-sample t-test?
Related topics
Free AP4U account — unlimited practice, AI grader, and progress tracking.
Canonical: https://apforu.com/ap/statistics/unit-7-inference-for-quantitative-data-means/one-sample-t-test-for-means