AF: Model-Based Estimation of Confounder-Adjusted Attributable Fractions

Estimates the attributable fraction in different sampling designs adjusted for measured confounders using logistic regression (cross-sectional and case-control designs), conditional logistic regression (matched case-control design), Cox proportional hazard regression (cohort design with time-to- event outcome) and gamma-frailty model with a Weibull baseline hazard. The variance of the estimator is obtained by combining the delta method with the the sandwich formula. Dahlqwist et al.(2016) <doi:10.1007/s10654-016-0137-7>.

Getting started

Package details

AuthorElisabeth Dahlqwist and Arvid Sjölander
MaintainerElisabeth Dahlqwist <[email protected]>
LicenseGPL-2 | GPL-3
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:

Try the AF package in your browser

Any scripts or data that you put into this service are public.

AF documentation built on May 29, 2017, 7:06 p.m.