Hypothesis Test for Two Means (Independent Populations)
Module 6: Hypothesis Test for 2 Means (Independent Populations)
Independent Populations
Definition: Two populations are independent if they do not influence each other.
- Example 1: Comparing weights of males and females in a company.
- Example 2: Comparing grades of students in Edmonton vs. Calgary.
Key Notations:
- Population 1:
- Sample Mean:
- Population Mean:
- Population Std Dev:
- Sample Size:
- Population 2:
- Sample Mean:
- Population Mean:
- Population Std Dev:
- Sample Size:
Comparing Two Populations
- The goal is to determine if sample means are significantly different rather than just comparing their means directly.
- The observed difference is assessed against the variability within the populations.
- Inferential statistics necessitates an analysis of the sampling distribution of the difference between means ().
Sampling Distribution
- Assuming Equal Variances:
- Assuming Unequal Variances:
- Pooled Standard Deviation:
- Standard Error of the Difference:
- Pooled Standard Deviation:
- If both populations are normally distributed or have large sample sizes, the sampling distribution approaches normality.
Testing for Equal or Unequal Variance
- Criteria for Equal Variability:
- Standard deviation ratio < 2
- Similar Interquartile Range (IQR) in box plots.
T-Tests
- Pooled T-Test (Equal Variance):
- Test Statistic:
- Distribution: -distribution with
- Test Statistic:
- Non-Pooled T-Test (Unequal Variance):
- Test Statistic:
- Distribution: -distribution with degrees of freedom calculated using the formula:
- Test Statistic:
P-Value Interpretation
- Decision Criteria:
- If -value ≤ , reject .
- If -value > , do not reject .
Confidence Intervals
- Pooled T-Test Confidence Interval:
- Non-Pooled T-Test Confidence Interval:
- Where represents the critical value from the -distribution.
Example Analysis: Vitamin Supplement
- Scenario: Testing a vitamin's effect on recovery time.
- Sample Information:
- No Vitamin:
- Sample Size: 45, Mean: 7.2, Standard Deviation: 3
- Vitamin:
- Sample Size: 45, Mean: 6.3, Standard Deviation: 1.6
Hypotheses
- Null (): (no effect)
- Alternative (): (effect exists)
Test Execution
- Test Statistic:
- Using pooled variance (assuming equal variance since the ratio is < 2):
- Degrees of Freedom:
- P-Value Calculation Outcomes:
- Since , do not reject .
- Conclusion: Insufficient evidence to support vitamin's effectiveness.
Confidence Interval Calculation
- For difference in means:
- Result Interval: indicates no significant mean difference.
Caveats for Non-Pooled T-Test
- Use of non-pooled test indicated if standard deviation ratio > 2.
Conclusion
- Findings do not support the claim that the vitamin decreases average recovery time. Further investigation required.
Notes
- Remember: Equal variances should only be assumed if the informal standard deviation ratio is less than two.