@jepcastel

Model-based estimation of the attributable fraction for cross-sectional, case-control and cohort studies using the R package AF.

, , , and . European journal of epidemiology, 31 (6): 575-82 (June 2016)Risc atribuïble; Observacionals; R.
DOI: 10.1007/s10654-016-0137-7

Abstract

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.

Links and resources

Tags