Professional Documents
Culture Documents
Contingency Table: Cessation Period, Are
Contingency Table: Cessation Period, Are
Learning
QUESTION
Among the huge literature on smoking are data detailing the relative
successfulness of males and females in quitting smoking. A study of 400
adults (ages 20 and older) who began various smoking-cessation programs
produced the data in the table below. In the table, "less than two weeks"
means that the individual returned to smoking within two weeks of beginning
the program; "between two weeks and one year" means that the individual
survived the first two weeks without smoking but returned to smoking within a
year; and "at least one year" means that the individual has not smoked for at
least a year since beginning the program.
The table is a contingency table whose cells contain the respective observed
frequencies of classifications of the 400 smokers. In addition, three of the cells
have blanks beneath the observed frequencies. Fill in these blanks with the
frequencies expected if the two variables, sex and length of the smoking
cessation period, are independent.
Between two
Less than two At least one
weeks and one Total
weeks year
year
52 108 78
Male 238
Sex
45 86 31
Female 162
EXPLANATION
https://www-awa.aleks.com/alekscgi/x/Isl.exe/1xlBCB0-UB-w3sz…iKOYHHVeqzU3CYyb7eZbXe9buYoBifRT2stWjmqLSD3IkxWQTVPOHbJjVaby Page 1 of 4
ALEKS 1/12/20, 12'43 PM
and
are independent.
If these events are independent, then the probability P A∩B of both A and
B occurring is
P A∩B =P A P B .
Let's use this fact to compute the expected frequency in the upper-left cell.
There are 400 individuals total in the sample, 238 of whom are male and 97 of
whom returned to smoking within two weeks. Thus, from the sample, we
238 97
estimate P A to be , and we estimate P B to be
. Under the
400 400
assumption of independence of the two variables, we estimate P A ∩ B to be
238 97
P A P B = · . So, under the assumption of independence, in a
400 400
sample of 400 smokers, we'd "expect"
to be males who returned to smoking within two weeks. The number 57.72 is
the expected frequency for the upper-left cell of the table. (Some authors call
this the estimated expected frequency since the probabilities are estimated
from the sample.)
https://www-awa.aleks.com/alekscgi/x/Isl.exe/1xlBCB0-UB-w3sz…iKOYHHVeqzU3CYyb7eZbXe9buYoBifRT2stWjmqLSD3IkxWQTVPOHbJjVaby Page 2 of 4
ALEKS 1/12/20, 12'43 PM
size size
(Row i total) (Column j
= total)
Sample size
The expected
We can use this formula to compute the expected frequencies and
frequency of each of the 6 cells in the contingency table: the row and
column totals
Between two
Less than two At least one
weeks and one Total
weeks year
year
ANSWER
Between two
Less than two At least one
weeks and one Total
weeks year
year
52 108 78
Male 238
57.72 64.86
Sex
45 86 31
Female 162
78.57
https://www-awa.aleks.com/alekscgi/x/Isl.exe/1xlBCB0-UB-w3sz…iKOYHHVeqzU3CYyb7eZbXe9buYoBifRT2stWjmqLSD3IkxWQTVPOHbJjVaby Page 3 of 4
ALEKS 1/12/20, 12'43 PM
https://www-awa.aleks.com/alekscgi/x/Isl.exe/1xlBCB0-UB-w3sz…iKOYHHVeqzU3CYyb7eZbXe9buYoBifRT2stWjmqLSD3IkxWQTVPOHbJjVaby Page 4 of 4