Calculation of Average Population Attributable Fractions and Confidence Intervals

Average population attributable fractions are calculated for a set of risk factors (either binary or ordinal valued) for both prospective and case- control designs. Confidence intervals are found by Monte Carlo simulation. The method can be applied to either prospective or case control designs, provided an estimate of disease prevalence is provided. In addition to an exact calculation of AF, an approximate calculation, based on randomly sampling permutations has been implemented to ensure the calculation is computationally tractable when the number of risk factors is large.


News

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("averisk")

1.0.3 by John Ferguson, 2 years ago


Browse source code at https://github.com/cran/averisk


Authors: John Ferguson [aut, cre]


Documentation:   PDF Manual  


CC0 license


Imports MASS


See at CRAN