Learn R Programming

⚠️There's a newer version (1.0.3) of this package.Take me there.

averisk (version 1.0.2)

Calculation of Average Population Attributable Fractions and Confidence Intervals

Description

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.

Copy Link

Version

Install

install.packages('averisk')

Monthly Downloads

253

Version

1.0.2

License

CC0

Maintainer

John Ferguson

Last Published

June 20th, 2016

Functions in averisk (1.0.2)

averisk

averisk: Calculation of Average Population Attributable Fractions and Confidence Intervals.
getAF

Calculate average attributable fractions