Abstract
AbstractHere we introduce graphPAF, a comprehensive R package designed for estimation, inference and display of population attributable fractions (PAF) and impact fractions. In addition to allowing inference for standard population attributable fractions and impact fractions, graphPAF facilitates display of attributable fractions over multiple risk factors using fan-plots and nomograms, calculations of attributable fractions for continuous exposures, inference for attributable fractions appropriate for specific risk factor $$\rightarrow $$
→
mediator $$\rightarrow $$
→
outcome pathways (pathway-specific attributable fractions) and Bayesian network-based calculations and inference for joint, sequential and average population attributable fractions in multi-risk factor scenarios. This article can be used as both a guide to the theory of attributable fraction estimation and a tutorial regarding how to use graphPAF in practical examples.
Publisher
Springer Science and Business Media LLC