How to calculate attributable fractions

Nick Griffiths · Feb 16, 2020

Attributable fractions represent the proportion of cases that happened because of a particular exposure. In other words, attributable cases would not have the outcome if they had never been exposed.

At the end of a study, we can measure the number of cases in the exposed group and the unexposed group and sort the exposed cases into an attributable group and a non-attributable group. The non-attributable cases occur at a baseline rate equal to the unexposed rate, and these are independent of the exposure. The attributable cases make up the rest.

To calculate an attributable risk, we just calculate the risk difference, \(R_e - R_u\). This represents the risk of getting the disease due to the exposure in the exposed group. It doesn’t include people that would have gotten it regardless of their exposure.

To calculate a population attributable risk, we begin with the total risk, which includes all attributable and non-attributable cases in the population. Then we remove the non-attributable cases by subtracting the unexposed risk: \(R_{total} - R_u\). This represents the risk, among the whole population, of getting the disease due to the exposure. Note that the population attributable risk is lower when the exposure is rare, but the attributable risk is the same.

The attributable fraction is the proportion of the 15 exposed cases that are attributable to the exposure (\(5/15 = 33\%\)), which is the same as the attributable risk divided by the exposed risk. The population attributable fraction is the proportion of all 35 cases that are attributable (\(5/35 = 14.3\%\)), or the population attributable risk divided by the total risk.

These measures are most useful when thinking about the impact of an intervention, since they estimate how many cases would be prevented if you completely removed the exposure.