You are on page 1of 1

Statistical

Statistical Inference
Inference for
for μ
μ1 − μ2
1 − μ2

n1 = 5 x̄1 = 24.8 s₁= 2.01246

n2 = 3 x̄2 = 19.7 s₂= 2.4248

Assume: σ₁ ≠ σ₂

95% CI for μ1 − μ2 :
−− −−−−− − − −−−−−− −−−−−−− −−
2 2 2 2
s s 2.01246 2.4248
1 2
x̄1 − x̄2 ± tα/2,ν √ + = 24.8 − 19.7 ± 2.874√ +
n1 n2 5 3

= 5.10000 ± 4.78344

= (0.31656, 9.88344)

2 2 2 2 2 2
s s 2.01246 2.4248
1 2
( + ) ( + )
n1 n2 5 3
ν = = = 3.68
2 2 2 2 2 2
2 2 2.01246 2.4248
s s
1 2 ( ) ( )
( ) ( ) 5 3
n n
1 2 +
+ 5−1 3−1
n1 −1 n2 −1

H0 : μ1 − μ2 = 0

Ha : μ1 − μ2 ≠ 0

Significance level: α = 0.05

Critical value: ±tα/2,ν = ±t0.025,3.68 = ±2.874

Test statistic:

(x̄1 − x̄2 ) − (Δ 0 ) (24.8 − 19.7) − (0)



t = = = 3.064
−−−−−−− −−−−−−
2
−−−−−−−
2
2 2 2.01246 2.4248
s s √
1 2 +
√ + 5 3
n1 n2

p-value: ∗
2P (t(ν) > |t |) = 2P (t(3.68) > 3.064) = 0.04186

t(3.68) rejection region p-value critical value


test statistic
0.4

0.3
f(x)

0.2

0.1

0.0
-3 -2 -1 0 1 2 3
x

Show equations

Help ©2017 Matt Bognar


Department of Statistics and Actuarial Science
University of Iowa

You might also like