Skip to content

pifpaf v1.0.0

Latest
Compare
Choose a tag to compare
@RodrigoZepeda RodrigoZepeda released this 01 Jun 15:24
· 1 commit to master since this release

First release!

The R package pifpaf calculates the Population Attributable Fraction (PAF) and the Potential Impact Fraction (PIF) via the empirical, kernel, and approximate methods. Confidence intervals for the PAF and the PIF using different approaches have been programmed. In addition, sensitivity analysis can be conducted.

Major Features

  • Estimation of the Potential Impact Fraction pif and Population Attributable Fraction paf.
  • Computation of confidence intervals under different methods such as bootstrap, one2one, linear, loglinear and inverse using pif.confidence and paf.confidence.
  • Graphical sensitivity analysis on how estimates change when changing the relative risk's parameter (pif.plot and paf.plot), when reducing the sample size (pif.sensitivity and paf.sensitivity) as well as on the counterfactual (pif.heatmap).