Learn R Programming

jfa: Statistical Methods for Auditing

jfa is an R package that provides statistical methods for auditing. The package includes functions for planning, performing, and evaluating audit samples compliant with international auditing standards, as well as functions for auditing data, such as testing the distribution of leading digits against Benford's law, and functions for auditing algorithms with respect to fairness. In addition to offering classical (frequentist) methods, jfa also provides a straightforward implementation of their Bayesian counterparts.

The functionality of the jfa package and its intended workflow are implemented with a graphical user interface in the Audit module of JASP, a free and open-source software program for statistical analyses.


Resources

Installation

Latest Release

The most recent jfa release can be installed from CRAN via:

install.packages("jfa")

Development Version

To install the development version from GitHub, first make sure that you can install the rstan package and C++ toolchain by following these instructions. Once rstan is successfully installed, you can install jfa from GitHub using the remotes package by executing the following command in R:

# install.packages("remotes")
remotes::install_github("koenderks/jfa", INSTALL_opts = "--no-multiarch")

Copy Link

Version

Install

install.packages('jfa')

Monthly Downloads

318

Version

0.7.3

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Koen Derks

Last Published

March 10th, 2025

Functions in jfa (0.7.3)

digit_test

Data Auditing: Digit Distribution Test
jfa-package

jfa --- Statistical Methods for Auditing
jfa-methods

Methods for jfa objects
sanitizer

Factory Workers' use of Hand Sanitizer
sinoForest

Sino Forest Corporation's Financial Statements.
selection

Audit Sampling: Selection
repeated_test

Data Auditing: Repeated Values Test
model_fairness

Algorithm Auditing: Fairness Metrics and Parity
planning

Audit Sampling: Planning
retailer

Retailer Group Audit
benchmark

Benchmark Analysis of Sales Versus Cost of Sales
allowances

Legitimacy Audit
accounts

Accounts Receivable
auditPrior

Audit Sampling: Prior Distributions
BuildIt

BuildIt Construction Financial Statements
carrier

Carrier Company Financial Statements
compas

COMPAS Recidivism Prediction
fairness_selection

Algorithm Auditing: Fairness Measures Selection
evaluation

Audit Sampling: Evaluation