Software
infer

infer

An R package for tidyverse-friendly statistical inference

R

The infer package performs statistical inference using a tidy, grammar-based approach that integrates with the tidyverse. It provides four main verbs—specify(), hypothesize(), generate(), and calculate()—that work together to conduct randomization-based hypothesis tests and construct null distributions.

The package makes simulation-based inference accessible through an expressive, pipeline-style workflow. It supports various statistical tests including t-tests, ANOVA, and chi-square tests using a consistent interface. The package includes visualization tools to compare observed statistics against null distributions and calculate p-values, making it particularly useful for teaching and applying modern resampling-based inference methods.

Contributors