Methods For Proportions
Methods For Proportions
Methods For Proportions
100
Percent 1st
cycle
29.0%
198
288
486
40.7%
Total
227
359
586
38.7%
227
nonsmoker
198
29
smoker
0%
486
288
71
1st cycle?
2nd+ cycle?
Strength of Relation:
Relation Compare percents or rates of
those who do with those who dont;
Example: smokers % pregnant for 1st cycle, 29%
2nd cycle
Total
61.3
100
297.7
486
359
586
total
smokers -9.7
difference
+9.7
+9.7
non
difference
-9.7
1st cycle
2 = Di2 / Ei,
2 = (9.7)2[ 1/38.7 + 1/61.3 + 1/188.3 + 1/297.7] = 4.78
This value is greater than 3.84, the critical value for chisquare
at a 95% significance level
1st cycle
smokers 38.7
expected
188.3
non
expected
Total
227
2nd cycle
Total
61.3
100
297.7
486
359
586
Under
Over
Girls
Boys
0%
Boys
Girls
Total
20%
40%
Under
26
8
34
60%
Over
13
22
25
80%
Total
39
30
69
100%
%Under
61
27
49
Both the Risk and Odds give information about the likelihood of a
positive response to a categorical variable, but their numerical values
differ. Example: 2x2 Table gives results for stopping smoking after
eight weeks use of either a nicotine patch or placebo: Note that the risk
of continuing to smoke after using the nicotine patch is 0.47 or 47%
compared to the greater risk for the placebo use, 0.80 or 80 %. Thus the
RISK is equivalent to the conditional probability for the outcome
variable, given a response variable. The ODDS is the ratio of these
conditional probabilities for the two outcome variables and can be less
than or greater than one.
Nicotine
Placebo
Program | Sex
Admit
Deny
Percent Admit
A | Men
A | Women
400
50
B | Men
B | Women
A+B | Men
A+B | Women
50
125
450
175
300
300
550
325
( 50 / 350 ) 14.3
(125 / 425) 29.4
( 450 /1000) 45.0
( 175 / 500) 35.0
Procedure:
tabulate observed frequencies,Ni,for each category;
tabulate expected (theoretical) frequencies, Ei;
take difference between corresponding observed
and theoretical frequencies, Di= Ni-Ei
calculate Chi-square statistic by formula
2 = Di2 / Ei,
with the degrees of freedom (df) = k-1, where k is
the number of categories (one proportion)
Example: Exercises 10-14,10.15 (p 402).
Procedure:
Set up a k (no. of explanatory categories) by r (number of
response proportions) contingency table;
tabulate number for each cell in the table, marginal totals for
each category, Nk, response variable, Nr, and grand total, N.
For the cell in the table corresponding to the kth category, rth
response variable, the expected number (if the proportion
would be the same for all response variables) is E kr = (Nk Nr)
/N
Calculate the difference Dkr = Nkr - Ekr and calculate a Chisquare statistic from the formula
2 = Dkr2 / Ekr
Degrees of freedom, df = (k-1)(r-1)