Professional Documents
Culture Documents
3 Hypothesis Testing
two-sample tests
Dr. Jyotika Doshi
Comparing
two means or two proportions
• Compare the average income of all adults in
one region of the country with the average
income of those in another region
• Compare the proportion of all men who are
vegetarians with the proportion of all women
who are vegetarians
• d.f. = n1 + n2 – 2 = 17 + 18 – 2 = 33
17 1 78002 18 1 73752 1
1
17 18 2 17 18
7584.0355(0.3382) 2564.92
t
x1 x 2 μ1 μ2 35800 35100 0
σ x x 0.273
1 2
2564.92
• 6. Conclusion:
With 5% significance, the sample results supports
the conclusion that the new software package
provides a smaller population mean completion time
• 4. Student 1 2 3 4 5 6 sum
Score (Before) 85 96 70 76 81 78
Score (After) 88 85 89 86 92 89
d -3 11 -19 -10 -11 -11 -43
d2 9 121 361 100 121 121 833
7/10/2021 Dr. Jyotika Doshi 43
Example 6: paired t-test…
• 4. d̅ = ∑d/n = -43/6 = -7.167 𝒅 − 𝝁𝒅 𝑯𝟎
2 2 2 𝒕= 𝒔𝒅
sd = (∑d - n*d̅ )/(n-1)
= (833 – 6*(-7.167)2)/5 𝒏
sd = 10.245 −𝟕.𝟏𝟔𝟕−𝟎
= 𝟏𝟎.𝟐𝟒𝟓 = -1.714
• 5. 𝟔