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>.

Install the latest version of this package by entering the following in R:
install.packages("AF")
AuthorElisabeth Dahlqwist and Arvid Sjölander
Date of publication2017-02-11 00:42:31
MaintainerElisabeth Dahlqwist <elisabeth.dahlqwist@ki.se>
LicenseGPL-2 | GPL-3
Version0.1.4

View on CRAN

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.