Professional Documents
Culture Documents
n
n is sample size
.x is sample mean
is population standard deviation
When used When the population variance 2 is known and
the population distribution is normal.
Critical region Using = 0.05 [see Table 1]
1.
0.025 0.025
1.96 1.96
2.
0.05
1.64
n = 9, .x = 4.6
= 1.0
Z = 1.8
Conclusion 1. Do not reject H0 [see Table 1].
2. Reject H0
6 100 STATISTICAL TESTS
Test 3 Z-test for two population means (variances known and unequal)
Hypotheses and 1. H0: 1 2 = 0
alternatives H1: 1 2 _= 0
2. H0: 1 2 = 0
H1: 1 2 > 0
Test statistics Z = (.x1 .x2) 0
_
2
1
n1
+ 2
2
n2
_1
2
and 2
2 , are known. Populations are normally
distributed.
Critical region Using = 0.05 [see Table 1]
1.
0.025 0.025
1.96 1.96
2.
0.05
1.64
Data H0: 1 2 = 0
n1 = 9, n2 = 16
= 1, 2
2
=4
Z = 0.832
Conclusion 1. Do not reject H0.
2. Do not reject H0.
EXAMPLES OF TEST PROCEDURES 7
Test 7 t-test for a population mean (variance unknown)
Hypotheses and 1. H0: = 0
alternatives H1: _= 0
2. H0: = 0
H1: > 0
Test statistics t =
.x 0
s/
n
where
s2 =
_
(x .x)2
n1
.
When used If 2 is not known and the estimate s2 of 2 is
based on a small sample (i.e. n < 20) and a
normal population.
Critical region and
degrees of freedom
1.
0.025 0.025
DF = n 1
tn 1; 0 025 tn 1; 0 025
2.
0.05
tn 1; 0 05
n = 9, .x = 3.1
s = 1.0
t = 2.7
Conclusion 1. t8; 0.025 = 2.306 [see Table 2].
Reject H0.
2. t8; 0.05 = 1.860 (left-hand side) [see Table 2].
Reject H0.
8 100 STATISTICAL TESTS
Test 8 t-test for two population means (variance unknown but equal)
Htypotheses and 1. H0: 1 2 = 0
alternative H1: 1 2 _= 0
2. H0: 1 2 = 0
H1: 1 2 > 0
Test statistics t = (.x1 .x2) (1 2)
s
_
1
n1
+1
n2
_1
2
where
s2 = (n1 1)s2
1
+ (n2 1)s2
2
n1 + n2 2
.
When used Given two samples from normal populations
1.
0.025 0.025
DF = n1 + n2 2
tn1 + n2 2; 0.025 tn1 + n2 2; 0.025
2.
tn1 + n2 2; 0.05
0.05
Data H0: 1
2 = 0
n1 = 16, n2 = 16
.x1 = 5.0, .x2 = 4
s = 2.0
t = 1.414
Conclusion 1. t30; 0.025 = 2.042 [see Table 2].
Do not reject H0.
2. t30; 0.05 = 1.697 [see Table 2].
Do not reject H0.
EXAMPLES OF TEST PROCEDURES 9
Test 10 Method of paired comparisons
Hypotheses and 1. H0: d = 0
alternatives H1: d _= 0
2. H0: d = 0
H1: d > 0
Test statistics t = d d
s/
n
where di = xi yi, the difference in the n paired
observations.
When used When an experiment is arranged so that each
observation in one sample can be paired
with a value from the second sample and the
populations are normally distributed.
Critical region and
degrees of freedom
1.
0.025 0.025
DF = n 1
tn 1; 0.025 tn 1; 0 025
2.
tn 1; 0.05
0.05
s = 1.0
t = 4.0
Conclusion 1. t15; 0.025 = 2.131 [see Table 2].
Reject H0.
2. t15; 0.05 = 1.753 [see Table 2].
Raject H0.
alternatives H1: 2 _= 2
0
2. H0: 2 = 2
0
H1: 2 > 2
0
2
0
unknown variance.
1.
DF = n 1
0.025 0.025
n
2
1; 0 975 n
2
1; 0.025
2.
0.05
n
2
1; 0.05
n1 = 17, s2 = 7.0
2 = 28.0
Conclusion 1. 2
16; 0.025
= 2
2
alternatives H1: 2
1
_= 2
2
2. H0: 2
1
= 2
2
H1: 2
1 > 2
2
Test statistics F =
s2
1
s2
2
, (s2
1 > s2
2)
where s2
1 and s2
2 are sample variances.
(If, in 2, s2
1 < s2
2, do not reject H0.)
When used Given two sample with unknown variances 2
1
and 2
2 and normal populations.
Critical region and
degrees of freedom
1.
0.025
DF = n1 1 and n2 1
Fn1 1, n2 1; 0.025
2.
0.05
Fn1 1, n2 1; 0.05
Data H0: 2
1
= 2
2
n1 = 11, n2 =
16
s2
1
= 6.0, s2
2
= 3.0
F = 2.0
Conclusion 1. F10, 15; 0.025 = 3.06.
Poisson with = 2.
xi Oi Ei
0 10 13.5
1 27 27.0
2 30 27.0
3 19 18.0
4 8 9.0
5 6 5.5
2 = 1.45
Conclusion v = 5.
2
5; 0.05
Ei
[see Table 5]
When used Given a bivariate frequency table for
2
; 0.05
DF = (n 1) (m 1)
Data
Machine
I II
Grade Oi Ei Oi Ei Total
A 3 4 7 6 10
B 9 8 11 12 20
C 8 8 12 12 20
Total 20 20 30 30 50
2 = 0.625
Conclusion 2
2; 0.05