Professional Documents
Culture Documents
Biostatistics
Min-Kyung Jung, Ph.D.
Biostatistician
mjung01@nyit.edu
NYCOM I Room 314E
Objectives
State chi-square test, McNemars test, and
Fishers exact test as major statistical
procedures for comparing proportions
Choose a right test among them for a given
study design
Interpret odds ratios to measure effect
sizes and their confidence intervals to
describe precision
Chi-square test:
Statistical Procedure for Comparing
Proportions
Chi-square tests are performed to
compare proportions of two (or more)
independent groups
e.g.) If you want to compare the proportions of
having headache between the group of chronic
caffeine users and the group of non-caffeine
users, which statistical test would you perform?
1. Check assumptions
e.g.)
Caffeine
relieved
headache
s?
Yes
No
Total
Yes
No
Total
Yes
No
Total
Yes
16
24
No
26
102
128
Total
42
110
152
Yes
No
Total
Yes
16
24
No
26
102
128
Total
42
110
152
Observed(O)
to chi-square
Headache/Relief
Yes/Yes cell:
Yes/No cell:
No/Yes cell:
No/No cell:
16
26
8
102
6.6
35.4
17.4
92.6
Expected(E)
Contrib.
Yes
No
Total
Yes
16
24
No
26
102
128
Total
42
110
152
Contrib. to chi-square
test statistic
2
13.4
Headache/Relief (16 - 6.6) / 6.6 = 13.4
Yes/Yes cell: (26 35.4)2 / 35.4 = 2.5 + 2.5
Yes/No cell: (8 17.4)2 / 17.4 = 5.1 + 5.1
No/Yes cell: (102 92.6)2 / 92.6 = 1.0+ 1 = 22
No/No cell:
Yes
No
Total
Yes
16
24
No
26
102
128
Total
42
110
152
Degree of freedom
= (number of rows 1) * (number of
columns 1)
= (2 1) * (2 1) = 1
Suppl.
computed statistic: 22
Look up value with df = 1 and = 0.05: 3.84
Thus, the proportions of the two groups are
significantly different.
Disease
Yes
No
Exposed
Unexposed
AD
A/B
Odds ratio =
=
BC
C/D
(OR)
Exercise
A group of researchers conducted a survey study about
caffeine-withdrawal headache with 152 subjects. They
compared caffeine-withdrawal headache subgroup to nonheadache subgroup regarding various caffeine self-report
items including whether they agree that caffeine relieved
headaches. The result was presented in a 2X2 table as
Have caffeine-withdrawal headaches?
below:
Caffeine
Yes
No
Total
relieved
headache
s?
Yes
16
24
No
26
102
128
Total
42
110
152
Yes
No
Total
Yes
16
24
No
26
102
128
Total
42
110
152
Odds ratio (OR) (16
= / 8) / (26 / 102) = 7.85
Standard error of Ln(OR)=
16 8 26 102
1 1 1
1
1 1 1
1
95% CI of OR = exp[Ln(7.85) 16
1.96
8 26 102
]
95% Confidence interval of OR 7.85 is (3.03, 20.33)
which does not contain the null value 1.
How to interpret?
OR = 1 means no increased risk
OR > 1 means an increased risk
OR < 1 means a protective effect
e.g. 1) OR = 0.56 in the study of effect of low-dose
aspirin on cardiovascular disease means
a protective effect of having aspirin
e.g. 2) OR = 3.9 in the study of effect of helmet
wearing on head injury at bike ride means
an increased risk of not wearing helmet
0.88) means
1.04) means
1.73) means
3.51) means
Reference article 1
Gender and the functional outcome of elderly
ischemic stroke patients. Mizrahi et al.
: To compare between the two gender groups,
they performed t-test for continuous variables
and chi-square test for categorical variables
Reference article 2
Gender differences in non-motor symptoms
(NMS) in early PD: A 2-yr follow-up study on
previously untreated patients. Picillo et al.
: To compare NMS frequency between the
baseline and the follow-up, they performed
McNemars test
Reference article 3
Depression in PD is related to a genetic polymorphism
of the cannabinoid receptor gene (CNR1). Barrero et al.