Professional Documents
Culture Documents
Lecture - 5 (3 Slides Per Page)
Lecture - 5 (3 Slides Per Page)
Lecture 5
Lecture 5 – Introduction
• Population parameter m
• Sample estimate x
• Standard error of the estimate s.e.(x)
1
26/02/2020
• Population parameter m
• Sample estimate x
• Standard error of the estimate s.e.(x)
• Confidence interval
m
Lower limit x Upper limit
2
26/02/2020
Example
Sample mean and 95% CI for ‘length of stay in hospital’ from 20 samples
of 100 patients
3
26/02/2020
0.95
Z score -z 0 +z
10
s
• Lower limit = x − (1.96 )
n
s
• Upper limit = x + (1.96 )
n
m
Lower limit x Upper limit
11
s
• Lower limit = x − (1.645 )
n
s
• Upper limit = x + (1.645 )
n
m
Lower limit x Upper limit
12
4
26/02/2020
13
14
15
5
26/02/2020
n = 100 houses
POPULATION SAMPLE
16
17
18
6
26/02/2020
19
2.925 4.329
Upper limit = 4.329 kg
3.557 3.697
Upper limit = 3.697 kg
20
21
7
26/02/2020
Exposed Unexposed
(subscript 1) (subscript 0)
Sample mean x1 x0
Sample standard deviation s1 s0
Number of participants n1 n0
Population mean m1 m0
Population standard deviation s1 s0
22
Exposed Unexposed
(subscript 1) (subscript 0)
Sample mean x1 x0
Sample standard deviation s1 s0
Number of participants n1 n0
Population mean m1 m0
Population standard deviation s1 s0
23
Exposed Unexposed
(subscript 1) (subscript 0)
Sample mean x1 x0
Sample standard deviation s1 s0
Number of participants n1 n0
Population mean m1 m0
Population standard deviation s1 s0
24
8
26/02/2020
Exposed Unexposed
(subscript 1) (subscript 0)
Sample mean x1 x0
Sample standard deviation s1 s0
Number of participants n1 n0
Population mean m1 m0
Population standard deviation s1 s0
25
• Unpaired samples
– Independent samples obtained from two populations
– e.g., effect of a medical treatment
• Enroll 1,000 subjects into a study.
• Randomly assign 500 subjects to the treatment group and 500 subjects
to the control group
• Paired samples
– Same individuals (tested twice, before and after)
– Each individual is their own “control”
– Not covered in this subject
26
27
9
26/02/2020
Unpaired samples
28
29
where
30
10
26/02/2020
Sample
Sample Sample
mean weight
Group n standard standard
loss after 4
deviation error
weeks (kgs)
Atkins
n1 = 60 x1 = 4.40 s1 = 2.45 s.e.(x1) = 0.32
(Group 1)
Weight Watchers
n0 = 61 x0 = 2.86 s0 = 2.23 s.e.(x0) = 0.29
(Group 0)
We are interested in difference in the population mean weight loss after 4 weeks
between Atkins & Weight Watchers groups: m1 - m0
Truby H et al. BMJ 2007
31
32
Interpretation
m1 - m0
0 0.7 2.38
33
11
26/02/2020
Alternative interpretations
-1.3 -0.1 0
34
Alternative interpretations
-1.3 0 2.1
35
Summary
36
12