AF 0.1.4

Model-Based Estimation of Confounder-Adjusted Attributable Fractions

Released Feb 11, 2017 by Elisabeth Dahlqwist

This package can be loaded by Renjin but 6 out 7 tests failed.


stdReg 2.2.0 data.table 1.10.4-3 drgee 1.1.6 survival 2.41-3

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



This package can be included as a dependency from a Java or Scala project by including the following your project's pom.xml file. Read more about embedding Renjin in JVM-based projects.

    <name>bedatadriven public repo</name>

View build log

Renjin CLI

If you're using Renjin from the command line, you load this library by invoking:


Test Results

This package was last tested against Renjin 0.8.2543 on Dec 17, 2017.



View GitHub Mirror

Release History