averisk: Calculation of Average Population Attributable Fractions and Confidence Intervals

Share:

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.

Author
John Ferguson [aut, cre]
Date of publication
2016-06-20 20:21:24
Maintainer
John Ferguson <john.ferguson@nuigalway.ie>
License
CC0
Version
1.0.2

View on CRAN

Man pages

averisk
averisk: Calculation of Average Population Attributable...
getAF
Calculate average attributable fractions

Files in this package

averisk
averisk/NAMESPACE
averisk/R
averisk/R/internal.R
averisk/R/averisk.R
averisk/R/main.R
averisk/MD5
averisk/DESCRIPTION
averisk/man
averisk/man/getAF.Rd
averisk/man/averisk.Rd