Professional Documents
Culture Documents
6 Hypothesis Test
6 Hypothesis Test
6 Hypothesis Test
Dr Bob He
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Summary: Tests About a Population Mean, with Known
Variance
a Null hypothesis: Ho : µ = µo
a Test statistic:
_X_-_µ_o
Z=
o-/vn
a Alternative hypotheses and rejection regions with significance a
15
16
17
18
19
20
21
Example
A survey of credit card holders revealed that Americans carried an
average credit card balance of $3900 in 1995 and $3300 in 1994.
Suppose that these averages are based on random samples of 400
credit card holders in 1995 and 450 credit card holders in 1994 and
that the population standard deviations of the balances were $880
in 1995 and $810 in 1994. Test at 1% significance level if the
mean credit card balances for all credit card holders in America in
1995 and 1994 were different.
Sol. Let A: 1995 and B: 1994.
Step 1. H0 : µA − µB = 0, H1 : µA − µB 6= 0.
Step 2. Test statistic
X̄A − X̄B − d0 3900 − 3300 − 0 600
Z= q 2 = q = = 10.30
σA 2
σB (880)2 (810)2 58.0258
nA + nB 400 + 450
Rejection region:
Rα = (−∞, −Zα/2 ) ∪ (Zα/2 , ∞) = (−∞, −2.58) ∪ (2.58, ∞).
Step 3. Z ∈ Rα . Reject H0 . Therefore, they were different. 22
23
24
25
Example
To test two car breaking systems, we equip 6 cars with system A and get the
stopping distances at 50 mph data with x̄A = 115.7 and sA = 5.03. We do the
same experiment on system B with 6 cars to get x̄B = 129.3 and sB = 5.38. At
significance level α = 1% test the hypothesis H0 : µA − µB = −10 against
H1 : µA − µB < −10.
28
Sol. Step 1. H0 : µR − µB = d0 = 0, H1 : µR − µB > 0. α = 0.05.
Step 2. Test statistic
D̄ − d0 0.1417 − 0
T = √ = √ = 2.4854.
sD / n 0.1975/ 12
29
30
Example
31