Let's illustrate the hypothesis testing procedure with a practical example:
Scenario: A manufacturer claims that the average thickness of its spearmint gum is 7.5 hundredths of an inch. A quality control specialist wants to verify this claim.
1. State the Hypotheses:
- Null Hypothesis (H₀): The mean thickness of the gum is 7.5 hundredths of an inch (μ = 7.5).
- Alternative Hypothesis (H₁): The mean thickness of the gum is not 7.5 hundredths of an inch (μ ≠ 7.5).
2. Choose the Significance Level (α):
- Set α = 0.05, which is a common choice in hypothesis testing.
3. Collect and Analyze Data:
- A random sample of 10 pieces of gum is measured, yielding the following thicknesses (in hundredths of an inch):
7.65, 7.60, 7.65, 7.70, 7.55, 7.55, 7.40, 7.40, 7.50, 7.50.
- Calculate the sample mean (x̄) and standard deviation (s):
4. Select the Appropriate Test:
- Use a one-sample t-test since the sample size is small (n < 30) and the population standard deviation is unknown.
5. Calculate the Test Statistic:
- Compute the t-statistic using the formula:
[ t = \frac{x̄ - μ}{s / \sqrt{n}} ]
[ t = \frac{7.55 - 7.5}{0.1027 / \sqrt{10}} ]
[ t ≈ 1.54 ]
6. Determine the Critical Value or P-value:
- For a two-tailed test with α = 0.05 and degrees of freedom (df) = n - 1 = 9, the critical t-values are approximately ±2.262.
- Alternatively, calculate the p-value associated with t = 1.54.
7. Make a Decision:
- Since the calculated t-value (1.54) does not exceed the critical value (±2.262), and the p-value is greater than 0.05, we fail to reject the null hypothesis.
8. Draw Conclusions:
- There is insufficient evidence to conclude that the mean thickness of the gum differs from 7.5 hundredths of an inch.
This example demonstrates the systematic approach to hypothesis testing, ensuring that conclusions drawn from sample data are statistically valid.