Relative Risk Calculation Epidemiology and Confidence Interval
Relative risk is a fundamental measure in epidemiology used to quantify the strength of association between an exposure and an outcome. When combined with confidence intervals, it provides a more complete picture of the relationship by indicating the precision of the estimate.
What is Relative Risk?
Relative risk (RR) is a ratio that compares the probability of an outcome occurring in an exposed group to the probability of the outcome occurring in an unexposed group. It is calculated as:
Relative Risk (RR) = (Probability of outcome in exposed group) / (Probability of outcome in unexposed group)
Relative risk values can be interpreted as follows:
- RR = 1: No association between exposure and outcome
- RR > 1: Exposure increases the risk of outcome
- RR < 1: Exposure decreases the risk of outcome
Relative risk is particularly useful in cohort studies where researchers follow groups of people over time to observe outcomes. It helps identify which factors increase or decrease the likelihood of a particular health outcome.
How to Calculate Relative Risk
To calculate relative risk, you need data from a cohort study that includes:
- Number of people with the outcome in the exposed group
- Number of people without the outcome in the exposed group
- Number of people with the outcome in the unexposed group
- Number of people without the outcome in the unexposed group
The calculation involves these steps:
- Calculate the probability of the outcome in the exposed group
- Calculate the probability of the outcome in the unexposed group
- Divide the exposed probability by the unexposed probability to get RR
Note: Relative risk should only be calculated from prospective cohort studies, not retrospective case-control studies, to avoid selection bias.
Confidence Interval for Relative Risk
A confidence interval (CI) provides a range of values that is likely to contain the true relative risk. It quantifies the precision of the estimate and helps determine whether the observed effect is statistically significant.
The most common method for calculating the confidence interval for relative risk is the Wald method, which uses the following formula:
Lower bound = RR × exp(-1.96 × √(1/a + 1/b + 1/c + 1/d))
Upper bound = RR × exp(1.96 × √(1/a + 1/b + 1/c + 1/d))
Where:
- a = number of people with outcome in exposed group
- b = number of people without outcome in exposed group
- c = number of people with outcome in unexposed group
- d = number of people without outcome in unexposed group
The confidence interval is typically reported at the 95% level, meaning we're 95% confident that the true relative risk falls within this range. If the interval includes 1, it suggests that the observed effect might be due to chance rather than a true association.
Interpreting Relative Risk
When interpreting relative risk, consider these key points:
- The magnitude of the relative risk: A RR of 2 means the exposed group is twice as likely to have the outcome as the unexposed group
- The width of the confidence interval: A narrow interval indicates a more precise estimate
- Whether the confidence interval includes 1: If it does, the effect may not be statistically significant
- Potential confounding variables: Other factors that might influence the relationship between exposure and outcome
It's important to remember that relative risk measures association, not causation. Even with a strong relative risk, other factors might explain the observed relationship.
Worked Example
Let's calculate the relative risk and confidence interval for a hypothetical study examining the relationship between smoking and lung cancer.
| Group | Lung Cancer (Cases) | No Lung Cancer (Controls) | Total |
|---|---|---|---|
| Smokers | 120 | 380 | 500 |
| Non-smokers | 20 | 480 | 500 |
Calculations:
- Probability of lung cancer in smokers = 120/500 = 0.24
- Probability of lung cancer in non-smokers = 20/500 = 0.04
- Relative Risk = 0.24 / 0.04 = 6
- Standard error = √(1/120 + 1/380 + 1/20 + 1/480) ≈ 0.12
- Lower bound = 6 × exp(-1.96 × 0.12) ≈ 6 × 0.88 ≈ 5.28
- Upper bound = 6 × exp(1.96 × 0.12) ≈ 6 × 1.13 ≈ 6.78
Interpretation: The relative risk of lung cancer among smokers compared to non-smokers is 6 (95% CI: 5.28-6.78). This indicates that smokers are about 6 times more likely to develop lung cancer than non-smokers, with a high degree of precision as indicated by the narrow confidence interval.
Frequently Asked Questions
What is the difference between relative risk and odds ratio?
Relative risk measures the ratio of probabilities of an outcome occurring in exposed vs. unexposed groups. Odds ratio measures the ratio of odds of an outcome occurring in exposed vs. unexposed groups. Relative risk is generally preferred in cohort studies, while odds ratio is often used in case-control studies.
How wide should a confidence interval be for the relative risk to be considered significant?
A confidence interval that does not include 1 suggests a statistically significant association. For a 95% confidence interval, if the interval excludes 1, the effect is likely not due to chance. However, the clinical or public health significance should also be considered.
Can relative risk be greater than 1 if the exposure is protective?
No, if the exposure is protective, the relative risk should be less than 1. A relative risk greater than 1 indicates that the exposure increases the risk of the outcome.
What factors can affect the calculation of relative risk?
Several factors can affect relative risk calculations including: study design, sample size, follow-up time, potential confounding variables, and measurement error in exposure and outcome assessment.