WK10: Statistical Inference - Comparing Two Means: Test of Significance for Two Independent Populations
Test of Significance for Two Independent Populations
Steps
Step 1: State the null and alternative hypotheses, and the level of significance .
- Parameter of interest: Difference between means of two populations.
- Null hypothesis: (no difference in means).
- Alternative hypothesis:
- Two-sided:
- One-sided: or Ha: \mu1 - \mu2 > 0
Step 2: Check conditions and calculate the test statistic.
- Conditions:
- Both samples from the populations of interest must be random.
- Population distributions are either close to normal or sample sizes are large.
- Test statistic:
- General formula:
- For two independent samples:
- Under the null hypothesis ():
- Conditions:
Step 3: Find the P-value.
- The test statistic follows a T distribution.
- Degrees of freedom: Use the conservative approach:
- Use Table C to find the P-value range based on the t statistic and degrees of freedom.
Step 4: Make a statistical decision and draw a conclusion.
- If P-value < \alpha, reject the null hypothesis.
- The samples provide statistically significant evidence that the alternative hypothesis is true at level of significance .
- If P-value > \alpha, fail to reject the null hypothesis.
- The samples do not provide enough evidence to support the alternative hypothesis at level of significance .
- If P-value < \alpha, reject the null hypothesis.
Example: Exercise and Pulse Rate
- Study: Compare the mean resting pulse rate of adults who regularly exercise to those who do not.
- Question: Do these two populations differ in their mean resting pulse rates?
- Level of Significance:
- Direction of Difference: Non-exercisers - Exercisers
Hypotheses
- Null hypothesis:
- The mean resting pulse rate of adults who do not regularly exercise is the same as that of those who do.
- Alternative hypothesis:
- The mean resting pulse rate of adults who do not regularly exercise is different from that of those who do.
Conditions
- The sum of sample sizes is greater than 40 (specifically, 60), so proceed with T procedures.
Test Statistic
- Given sample means and standard deviations, the calculated test statistic is
- Degrees of freedom:
P-value
- For , is larger than the last tabulated value of 3.674.
- Therefore, the P-value is less than 0.001 (for a two-sided test).
Conclusion
- Since the P-value (< 0.001) is less than the level of significance (), we reject the null hypothesis.
- The samples provide statistically significant evidence that, at a 5% level of significance, the mean resting pulse rate of adults who do not regularly exercise is different from that of adults who do regularly exercise.