Learn R Programming

⚠️There's a newer version (0.1.5) of this package.Take me there.

AF (version 0.1.2)

Model-Based Estimation of Confounder-Adjusted Attributable Fractions

Description

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) and Cox proportional hazard regression (cohort design with time-to-event outcome). The variance of the estimator is obtained by combining the delta method with the the sandwich formula.

Copy Link

Version

Install

install.packages('AF')

Monthly Downloads

611

Version

0.1.2

License

GPL-2 | GPL-3

Maintainer

Elisabeth Dahlqwist

Last Published

February 19th, 2016

Functions in AF (0.1.2)

singapore

Case-control study on oesophageal cancer in Chinese Singapore men.
plot.AF

AF.cs

Attributable fraction for cross-sectional sampling designs.
AF.cc

Attributable fraction for mached and non-matched case-control sampling designs.
summary.AF

Summary function for objects of class "AF".
clslowbwt

Birthweight data clustered on the mother.
AF.ch

Attributable fraction function for cohort sampling designs with time-to-event outcomes.
rott2

Cohort study on breast cancer patients from the Netherlands.