averisk: Calculation of Average Population Attributable Fractions and Confidence Intervals
Version 1.0.3

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.

Getting started

Package details

AuthorJohn Ferguson [aut, cre]
Date of publication2017-03-21 06:50:31 UTC
MaintainerJohn Ferguson <[email protected]>
LicenseCC0
Version1.0.3
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("averisk")

Try the averisk package in your browser

Any scripts or data that you put into this service are public.

averisk documentation built on May 29, 2017, 3:54 p.m.