Lecture 4: Hypothesis Testing
Ani Manichaikul amanicha@jhsph.edu 20 April 2007
1 / 69
Lecture 4: Hypothesis Testing Ani Manichaikul amanicha@jhsph.edu - - PowerPoint PPT Presentation
Lecture 4: Hypothesis Testing Ani Manichaikul amanicha@jhsph.edu 20 April 2007 1 / 69 Steps of Hypothesis Testing Define the null hypothesis, H 0 Define the alternative hypothesis, H a , where H a is usually of the form not H 0 Define
1 / 69
2 / 69
3 / 69
4 / 69
5 / 69
6 / 69
7 / 69
8 / 69
9 / 69
10 / 69
¯ X−µ0 σ/√n
¯ X−µ0 s/√n
¯ X−µ0 σ/√n
¯ X−µ0 s/√n
11 / 69
ˆ p−p0 q
p0(1−p0) n
12 / 69
X1− ¯ X2)−µ0 r
σ2 1 n1 + σ2 2 n2
X1− ¯ X2)−µ0 r
s2 p n1 + s2 p n2
1 = σ2 2,
X1− ¯ X2)−µ0 r
s2 1 n1 + s2 2 n2
1 = σ2 2,
13 / 69
14 / 69
15 / 69
1
2
16 / 69
17 / 69
18 / 69
X1− ¯ X2)−µ0 r
σ2 1 n1 + σ2 2 n2
X1− ¯ X2)−µ0 r
s2 p n1 + s2 p n2
1 = σ2 2,
X1− ¯ X2)−µ0 r
σ2 1 n1 + σ2 2 n2
1 = σ2 2,
19 / 69
20 / 69
21 / 69
22 / 69
23 / 69
24 / 69
25 / 69
26 / 69
27 / 69
28 / 69
29 / 69
30 / 69
31 / 69
32 / 69
33 / 69
34 / 69
35 / 69
36 / 69
37 / 69
38 / 69
39 / 69
40 / 69
41 / 69
42 / 69
43 / 69
44 / 69
2
1 2 · 1 2 ·n, which is approximately normally distributed 45 / 69
46 / 69
47 / 69
48 / 69
49 / 69
50 / 69
51 / 69
52 / 69
53 / 69
54 / 69
55 / 69
56 / 69
57 / 69
58 / 69
59 / 69
60 / 69
61 / 69
62 / 69
63 / 69
64 / 69
65 / 69
66 / 69
67 / 69
68 / 69
69 / 69