18.03.2016 | Methods
Model-based estimation of the attributable fraction for cross-sectional, case–control and cohort studies using the R
package AF
Erschienen in: European Journal of Epidemiology | Ausgabe 6/2016
Einloggen, um Zugang zu erhaltenAbstract
The attributable fraction (or attributable risk) is a widely used measure that quantifies the public health impact of an exposure on an outcome. Even though the theory for AF estimation is well developed, there has been a lack of up-to-date software implementations. The aim of this article is to present a new
R
package for AF estimation with binary exposures. The package AF
allows for confounder-adjusted estimation of the AF for the three major study designs: cross-sectional, (possibly matched) case–control and cohort. The article is divided into theoretical sections and applied sections. In the theoretical sections we describe how the confounder-adjusted AF is estimated for each specific study design. These sections serve as a brief but self-consistent tutorial in AF estimation. In the applied sections we use real data examples to illustrate how the AF
package is used. All datasets in these examples are publicly available and included in the AF
package, so readers can easily replicate all analyses.Anzeige