UQ, STAT2201, 2017, Lecture 8 (and part of 9). Unit 8 – Two Sample Inference. Unit 9 – Linear Regression.
1
UQ, STAT2201, 2017, Lecture 8 (and part of 9). Unit 8 Two Sample - - PowerPoint PPT Presentation
UQ, STAT2201, 2017, Lecture 8 (and part of 9). Unit 8 Two Sample Inference. Unit 9 Linear Regression. 1 Unit 8 Two Sample Inference 2 Sample x 1 , . . . , x n 1 modelled as an i.i.d. sequence of random variables, X 1 , . . . , X n
1
2
3
4
5
6
7
8
9
Model: Xi
i.i.d.
∼ N(µ1, σ2), Yi
i.i.d.
∼ N(µ2, σ2). Null hypothesis: H0 : µ1 − µ2 = ∆0. Test statistic: t = x − y − ∆0 sp
n1 + 1 n2 , T = X − Y − ∆0 Sp
n1 + 1 n2 . Alternative P-value Rejection Criterion Hypotheses for Fixed-Level Tests H1 : µ1 − µ2 = ∆0 P = 2
> t1−α/2,n1+n2−2
t < tα/2,n1+n2−2 H1 : µ1 − µ2 > ∆0 P = 1 − Fn1+n2−2
H1 : µ1 − µ2 < ∆0 P = Fn1+n2−2
10
Model: Xi
i.i.d.
∼ N(µ1, σ2
1),
Yi
i.i.d.
∼ N(µ2, σ2
2).
Null hypothesis: H0 : µ1 − µ2 = ∆0. Test statistic: t = x − y − ∆0
1
n1 + S2
2
n2 , T = X − Y − ∆0
1
n1 + S2
2
n2 . Alternative P-value Rejection Criterion Hypotheses for Fixed-Level Tests H1 : µ1 − µ2 = ∆0 P = 2
t < tα/2,v H1 : µ1 − µ2 > ∆0 P = 1 − Fv
H1 : µ1 − µ2 < ∆0 P = Fv
11
x − y − t1−α/2,n1+n2−2 sp
n1 + 1 n2 ≤ µ1 − µ2 ≤ x − y + t1−α/2,n1+n2−2 sp
n1 + 1 n2
x − y − t1−α/2,v
1
n1 + s2
2
n2 ≤ µ1 − µ2 ≤ x − y + t1−α/2,v
1
n1 + s2
2
n2 12
13
14
15
16
17
18
19
20
21
23
24
25
26
27
28
29