Professional Documents
Culture Documents
Hypothesis Testing
Hypothesis
Testing
2 2
1 1 𝑛1 − 1 𝑠1 + 𝑛2 − 1 𝑠2
CI: 𝑥ҧ1 − 𝑥ҧ 2 ± 𝑡𝛼Τ2,𝑛1 +𝑛2−2 𝑠𝑝2 + 𝑠𝑝2 =
𝑛1 𝑛2
𝑛1 + 𝑛2 − 2
Case 5: 𝐻0 : 𝜇1 = 𝜇2 (Matched Pairs)
𝑥ҧ𝐷
• Test Statistic: 𝑡 = , 𝐷:
Difference, 𝑥ҧ𝐷 : Average Difference, 𝑠𝐷 : Standard
𝑠 𝐷 Τ 𝑛𝐷
Deviation of Differences, 𝑛𝐷 : Number of Pairs.
• 𝐻1 : 𝜇1 > 𝜇2 . Reject 𝐻0 if observed 𝑡 > 𝑡𝛼,𝑛𝐷 −1 .
• 𝐻1 : 𝜇1 < 𝜇2 . Reject 𝐻0 if observed 𝑡 < −𝑡𝛼,𝑛𝐷 −1 .
• 𝐻1 : 𝜇1 ≠ 𝜇2 . Reject 𝐻0 if observed 𝑡 > 𝑡𝛼,𝑛 .
2 𝐷 −1
𝑠𝐷
• CI:𝑥ҧ𝐷 ± 𝑡𝛼Τ2,𝑛𝐷 −1 .
𝑛𝐷
Case 6: 𝐻0 : 𝑝1 − 𝑝2 = 𝐷
𝐷=0 𝐷≠0
𝑝Ƹ1 − 𝑝Ƹ 2 𝑥1 + 𝑥2 𝑝Ƹ1 − 𝑝Ƹ 2 − 𝐷
𝑧= , 𝑝Ƹ = 𝑧=
1 1 𝑛1 + 𝑛2 𝑝Ƹ1 1 − 𝑝Ƹ1 𝑝Ƹ 1 − 𝑝Ƹ 2
𝑝Ƹ 1 − 𝑝Ƹ +
𝑛1 𝑛2 + 2
𝑛1 𝑛2