T test-SDM 2017
T test-SDM 2017
T test-SDM 2017
𝑋−𝜇 𝑋−𝜇
𝑡= =
𝑆𝐸 𝑠/ 𝑛
Compare the t statistic , with t critical value at (n-1)
degrees of freedom.
Accept HO, if the t statistic < t critical
Given a sample mean of 83, a sample standard deviation
of 12.5 and a sample size of 22, test the hypothesis that
the value of the population mean is 70 against the
alternative that the hypothesis is more than 70. At 10%
level of significance.
H0: 𝜇 = 70
H1: 𝜇 > 70
s=12.5
n=22
𝑥 = 83
𝑋−𝜇 𝑋−𝜇
𝑡= = = 4.878
𝑆𝐸 𝑠/ 𝑛
Step 1:
H0: µ1 = µ2
H1: µ1 ≠ µ2
1 1
SE = Sp x +
𝑛1 𝑛2
Sp = 3.406
SE = 1.9943
𝑋−𝜇
t-test = = 0.501
𝑆𝐸
α = 0.05
Degrees of freedom = 10-1 = 9
Two tailed test
Critical Limit = [-2.23, 2.23]
Decision: H0 is not rejected
After 170 179 203 192 172 161 174 187 186 204
BEFORE AFTER LOSS x LOSS SQUARED
189 170 19 361
202 179 23 529
220 203 17 289
207 192 15 225
194 172 22 484
177 161 16 256
193 174 19 361
202 187 15 225
208 186 22 484
233 204 29 841
TOTAL: 197 4055
HO: 𝜇1 − 𝜇2 = 17
Average weight loss is 17 pounds
H1: 𝜇1 − 𝜇2 > 17
Average weight loss is more than 17 pounds
𝑥 197
𝑥 = = = 19.7
𝑛 10
𝑥2 𝑛𝑥 2 4055
𝑠 = − = − 10(19.7)2
𝑛−1 𝑛−1 9
=1.39
𝑋−𝜇 19.7−17
t-test = = = 1.94
𝑆𝐸 1.39
T distribution statistic at (10+10-2)=18 degrees of
freedom, (one sided) 5 % level of significance is 1.734
t statistic > t critical , hence we cannot accept the null
hypothesis.