Epid 620-801 Computer Assignment 1
Epid 620-801 Computer Assignment 1
Computer Assignment 1
Cohort Study & Measures of Association
Learning Objectives
Analyze data from a cohort study
Interpret and compare the risk ratio, risk difference, odds ratio and rate ratio
Study:
You conduct a study to determine whether diet soft drinks are associated with an elevated risk
for cancers (specifically bladder cancer and esophageal cancer). You recruit 253 individuals
who are cancer-free, and follow them over a period of 10 years. Exposure was defined at
baseline: in other words, 42 of the study participants reported drinking diet soft drinks on a
regular basis (at least 60ozs per week) at the beginning of the study, and were therefore
classified as exposed. The data, called “CompAssign1.sav”, are available on Blackboard in the
Computer Assignment 1 folder. Using PROC FREQ in SAS, create a 2x2 table and calculate
relevant statistics to answer the following questions. There is sample code at the bottom of
this worksheet. Please show your calculations and relevant outputs to answer the questions.
Esophageal Cancer
1. What hypothesis are you testing regarding diet soft drinks and esophageal cancer?
2. What is the risk (incidence proportion over 10 years) of esophageal cancer among the
exposed? Among the unexposed?
3. What is the RR and 95% confidence interval obtained from SAS? How would you interpret
your findings?
4. Calculate the risk ratio (RR) for the diet soda - esophageal cancer association by hand.
5. What is the OR and 95% CI from SAS? How would you interpret your findings?
6. Calculate the odds ratio (OR) for the diet soda - esophageal cancer association by hand.
7. What is the risk difference (RD), and how would you interpret it?
1
EPID 620/PUBH 801: Epidemiologic Methods I
9. Can you estimate the rate ratio from the 2x2 table? If so, what assumptions do you need to
make to estimate the rate ratio given the information you have? Calculate and interpret the
rate ratio using this method.
10. How do the risk ratio, odds ratio and rate ratio compare to each other (i.e. are they similar,
different or the same)? Please explain the pattern observed and your answer.
Bladder Cancer
1. What hypothesis are you testing regarding diet soft drinks and bladder cancer?
2. What are the risk ratio (RR) and 95% confidence interval from SAS? How would you interpret
your findings?
3. What are the OR and 95% CI from SAS? How would you interpret the findings?
5. As in question 10 above, please compare the RR, OR, and IRR and explain the pattern
observed and your answer.
SAS EXAMPLE: