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

Version: 1.0.3
Imports: MASS (≥ 7.3.0)
Published: 2017-03-21
DOI: 10.32614/CRAN.package.averisk
Author: John Ferguson [aut, cre]
Maintainer: John Ferguson <john.ferguson at nuigalway.ie>
License: CC0
NeedsCompilation: no
CRAN checks: averisk results


Reference manual: averisk.pdf


Package source: averisk_1.0.3.tar.gz
Windows binaries: r-devel: averisk_1.0.3.zip, r-release: averisk_1.0.3.zip, r-oldrel: averisk_1.0.3.zip
macOS binaries: r-release (arm64): averisk_1.0.3.tgz, r-oldrel (arm64): averisk_1.0.3.tgz, r-release (x86_64): averisk_1.0.3.tgz, r-oldrel (x86_64): averisk_1.0.3.tgz
Old sources: averisk archive


Please use the canonical form https://CRAN.R-project.org/package=averisk to link to this page.