Professional Documents
Culture Documents
ANSWER KEY
Confounding and Stratified Analysis
Learning Objectives:
You conduct a case control study to look at the association between prenatal exposure
to hair dye (mother died her hair during pregnancy) with the development of asthma in
the child. You recruit 25 cases of new onset pediatric asthma and 50 healthy
population-based controls. You then ask the children’s mothers whether they dyed their
hair during pregnancy (exposure). You are concerned that maternal age at pregnancy
might be a confounder because: 1. the proportion of women dying their hair is likely to
differ by age; and 2. older maternal age is associated with adverse outcomes in the
child and may be a risk factor for pediatric asthma. Therefore, you want to determine
whether it is a confounder in the association between prenatal exposure to hair dye and
pediatric asthma. Below are the tables you collect for the total sample, as well as
stratified by maternal age:
Total
Asthma No Asthma Asthma No Asthma
(D+) (D-) (D+) (D-)
Hair dye (E+) 4 5 13 8 30
No hair dye (E-) 4 25 4 12 45
Total 8 30 17 20 75
1
Fundamentals of Epidemiology (EPID 610)
1. Calculate the crude (not stratified on age) OR of the relationship between hair dye
during pregnancy and pediatric asthma. Interpret the OR in words.
Women whose children had asthma had 6 times the odds of having used hair
dye during pregnancy as women whose children did not have asthma. This
indicates a greater odds of having used hair dye during pregnancy among
those women whose children had asthma.
2. Calculate the stratum specific ORs of the relationship between hair dye during
pregnancy and pediatric asthma (i.e. calculate the OR for mothers under age 35 and
mothers 35 and older separately). Are they similar to each other? Are they similar
to the crude OR?
The stratum specific ORs are quite similar to each other, 5.0 and 4.9 are nearly
the same. (Stay tuned for next week, in terms of what we might consider if
they were different from each other). They are also fairly different from the
crude OR of 6.0. This suggests confounding may have occurred, but let’s
calculate the MH adjusted OR to get a precise adjusted estimate and confirm
that confounding is present.
Use a1, b1, c1 and d1 to represent the values of the cells in your first stratum-
specific crosstab. Then use n1 to equal to the total number of participants in your
first stratum specific table. Next use a2, b2, c2, c2 and n2 to represent the cells in
your second stratum- specific crosstab.
Now you can calculate the MH OR for the association between hair dye during
pregnancy and pediatric asthma, adjusting for maternal age. Is the MH OR similar
to your stratum specific ORs? Is it similar to the crude OR? Interpret the MH OR in
words.
2
Fundamentals of Epidemiology (EPID 610)
The MH OR is nearly identical to the stratum specific ORs. This makes sense
as it is a weighted average of the two, and the stratum specific ORs were
nearly identical. The MH OR is different from the crude OR (4.9 vs. 6.0).
Women whose children had asthma had 4.9 times the odds of having used
hair dye during pregnancy, compared to women whose children did not have
asthma, after adjusting for maternal age. This indicates a greater odds of
having used hair dye during pregnancy among those women whose children
had asthma, after adjusting for maternal age.
4. Based on these calculations, do you think the association between hair dye during
pregnancy and pediatric asthma was confounded by maternal age? Why or why
not?
Now let’s repeat this analysis using SPSS (with the new addition of also having 95%
confidence intervals for our ORs). The data are available on Blackboard in today’s
folder, called “lab9data.sav.” Using stratified analysis, answer the following questions.
(Note the syntax for running stratified tables, includes ‘cmh’ which is asking SPSS to
calculate the MH OR).
3
Fundamentals of Epidemiology (EPID 610)
5. What is the crude OR and 95% CI for the association between pediatric asthma and
maternal hair dye use during pregnancy? How do you interpret this?
The crude OR=6.0 (95% CIs 2.1, 17.3). The odds of using hair dye among women
whose children developed asthma is 6.0 times (95% CIs 2.1, 17.3) the odds of
using hair dye among women whose children did not develop asthma. This
indicates a greater odds of having used hair dye during pregnancy among those
women whose children had asthma. Because the 95% CI does not include 1, this
association is statistically significant at the 0.05 level. But, since the width of the
interval is wide, the estimate is not precise which means there is a lot of random
error. Increasing the sample size may result in a more precise measurement.
Asthma
Unexposed Count 8 37 45
Risk Estimate
4
Fundamentals of Epidemiology (EPID 610)
6. What are the stratum-specific ORs & 95% CIs when stratified on age
category (i.e. what is the OR for the association between pediatric asthma and
maternal hair dye for women with a maternal age under 35, versus for women with a
maternal age of 35 and over)?
Asthma
Unexposed Count 4 12 16
Total Count 17 20 37
Unexposed Count 8 37 45
Total Count 25 50 75
5
Fundamentals of Epidemiology (EPID 610)
Risk Estimate
N of Valid Cases 37
<35 Odds Ratio for Mother used 5.000 .926 26.990
hair dye during pregnancy
(Exposed / Unexposed)
For cohort Asthma = Case 3.222 1.003 10.349
For cohort Asthma = Control .644 .353 1.177
N of Valid Cases 38
Total Odds Ratio for Mother used 6.048 2.113 17.308
hair dye during pregnancy
(Exposed / Unexposed)
N of Valid Cases 75
6
Fundamentals of Epidemiology (EPID 610)
7. Use the results above to assess confounding in the association between hair dye
and pediatric asthma. Does maternal age appear to be a confounder? Describe
the procedure you followed to reach your conclusion. Which OR would you report?
Estimate 4.922
ln(Estimate) 1.594
Std. Error of ln(Estimate) .559
Asymp. Sig. (2-sided) .004
Asymp. 95% Confidence Common Odds Lower Bound 1.645
Interval Ratio Upper Bound 14.728
ln(Common Odds Lower Bound .498
Ratio) Upper Bound 2.690
The Mantel-Haenszel common odds ratio estimate is asymptotically normally distributed under the common odds
ratio of 1.000 assumption. So is the natural log of the estimate.
8. What is the Mantel Haenszel Adjusted OR (i.e. the OR adjusted for age) with 95%
confidence interval? How do you interpret these results?
Women whose children had asthma had a 4.9 times the odds of having used hair
dye during pregnancy, compared to women whose children did not have asthma,
after adjusting for maternal age. This indicates a greater odds of having used
hair dye during pregnancy among those women whose children had asthma, after
adjusting for maternal age. Because this 95% CI does not include 1, the
association is statistically significant at the 0.05 level. But, since the width of the
Fundamentals of Epidemiology (EPID 610)
interval is wide, the estimate is not precise which means there is a lot of random
error. Increasing the sample size may result in a more precise measurement.
Estimate 4.922
ln(Estimate) 1.594
Std. Error of ln(Estimate) .559
Asymp. Sig. (2-sided) .004
Asymp. 95% Confidence Common Odds Lower Bound 1.645
Interval Ratio Upper Bound 14.728
ln(Common Odds Lower Bound .498
Ratio) Upper Bound 2.690
The Mantel-Haenszel common odds ratio estimate is asymptotically normally distributed under the common odds
ratio of 1.000 assumption. So is the natural log of the estimate.
Fundamentals of Epidemiology (EPID 610)
SPSS INSTRUCTIONS
CROSSTAB:
1. Crude OR
Go to ANALYZE and select DESCRIPTIVE STATISTICS and the CROSSTABS
Put the exposure in the ROW box and the outcome in the COLUMN box.
Click on STATISTICS and check the box next to RISK. Hit CONTINUE
Click on OK and the results will open in the OUTPUT window, or
o Click on PASTE, then highlight and run the syntax you just pasted into the
SYNTAX WINDOW, and the results will open up in the OUTPUT window
2. Stratified & Adjusted OR
Go to ANALYZE and select DESCRIPTIVE STATISTICS and the CROSSTABS
Put the exposure in the ROW box and the outcome in the COLUMN box, and
put the confounder in the LAYER box
Click on STATISTICS and check the box next to RISK and next to COCHRAN’S
& MANTEL HAENSZEL STATISTICS. Hit CONTINUE
Click on OK and the results will open in the OUTPUT window, or
o Click on PASTE, then highlight and run the syntax you just pasted into the
SYNTAX WINDOW, and the results will open up in the OUTPUT window