Related Experiment Video
Updated: Jun 21, 2025

Heuristic Mining of Hierarchical Genotypes and Accessory Genome Loci in Bacterial Populations
Published on: December 7, 2021
Estimating and displaying population attributable fractions using the R package: graphPAF.
John Ferguson1, Maurice O'Connell2
1Biostatistics Unit, HRB Clinical Research Facility Galway, University of Galway, Galway City, Ireland. john.ferguson@universityofgalway.ie.
This study introduces graphPAF, an R package for estimating and displaying population attributable fractions (PAF) and impact fractions. It offers advanced features for multi-risk factor analysis, pathway-specific calculations, and continuous exposures, aiding public health research.
Area of Science:
- Epidemiology
- Biostatistics
- Public Health
Background:
- Population attributable fractions (PAF) are crucial for understanding the public health impact of risk factors.
- Existing methods for PAF estimation and visualization can be limited, especially in complex multi-risk factor scenarios.
Purpose of the Study:
- To introduce graphPAF, a novel R package for comprehensive estimation, inference, and display of PAF and impact fractions.
- To provide tools for advanced PAF analyses, including continuous exposures, pathway-specific fractions, and multi-risk factor scenarios.
Main Methods:
- Development of the graphPAF R package.
- Implementation of methods for standard and advanced PAF calculations.
- Integration of visualization tools such as fan-plots and nomograms.
- Application of Bayesian network approaches for complex multi-risk factor scenarios.
Main Results:
- graphPAF enables robust estimation and inference for various types of attributable fractions.
- The package facilitates clear visualization of attributable fractions, including over multiple risk factors.
- It supports calculations for continuous exposures and pathway-specific attributable fractions.
- Bayesian network methods are incorporated for joint, sequential, and average PAF in complex settings.
Conclusions:
- graphPAF is a comprehensive R package that enhances the estimation, inference, and display of population attributable fractions.
- The package provides valuable tools for epidemiologists and biostatisticians to assess the public health impact of risk factors.
- graphPAF serves as both a theoretical guide and a practical tutorial for attributable fraction analysis.
Related Concept Videos
Testing a Claim about Population Proportion
There are two methods of testing a claim about a population proportion: (1) Using the sample proportion from the data where a binomial distribution is approximated to the normal distribution and (2) Using the binomial probabilities calculated from the data.
The first method uses normal distribution as an approximation to the binomial distribution. The requirements are as follows: sample size is large...
Distributions to Estimate Population Parameter
Sample Proportion and Population Proportion
Statistical Methods for Analyzing Epidemiological Data
Interpreting R Charts
An R chart plots the range of subsets of measurements collected from a process. Each point on the chart represents the range—defined as the difference between the maximum and minimum...
Pie Chart
In a pie chart, the central angle, the arc length of each slice, and the area are directly proportional to the quantity or percentage it represents. Some real-world examples that can be depicted using pie charts include marks obtained by students...

