jfa: Statistical Methods for Auditing

Provides statistical methods for auditing as implemented in JASP for Audit (Derks et al., 2021 <doi:10.21105/joss.02733>). First, the package makes it easy for an auditor to plan a statistical sample, select the sample from the population, and evaluate the misstatement in the sample compliant with international auditing standards. Second, the package provides statistical methods for auditing data, including tests of digit distributions and repeated values. Finally, the package includes methods for auditing algorithms on the aspect of fairness and bias. Next to classical statistical methodology, the package implements Bayesian equivalents of these methods whose statistical underpinnings are described in Derks et al. (2021) <doi:10.1111/ijau.12240>, Derks et al. (2021) <doi:10.31234/osf.io/kzqp5>, and Derks et al. (2022) <doi:10.31234/osf.io/8nf3e>.

Version: 0.7.0
Depends: R (≥ 3.5.0)
Imports: bde (≥ 1.0.1.1), extraDistr (≥ 1.9.1), ggplot2 (≥ 3.4.2), methods, Rcpp (≥ 0.12.0), RcppParallel (≥ 5.0.1), rstan (≥ 2.26.0), rstantools (≥ 2.2.0), stats, truncdist (≥ 1.0-2)
LinkingTo: BH (≥ 1.66.0), Rcpp (≥ 0.12.0), RcppEigen (≥ 0.3.3.3.0), RcppParallel (≥ 5.0.1), rstan (≥ 2.26.0), StanHeaders (≥ 2.26.0)
Suggests: benford.analysis (≥ 0.1.5), BenfordTests (≥ 1.2.0), BeyondBenford (≥ 1.4), fairness, kableExtra (≥ 1.3.4), knitr, MUS (≥ 0.1.6), rmarkdown, samplingbook (≥ 1.2.4), testthat
Published: 2023-10-04
Author: Koen Derks ORCID iD [aut, cre]
Maintainer: Koen Derks <k.derks at nyenrode.nl>
BugReports: https://github.com/koenderks/jfa/issues
License: GPL (≥ 3)
URL: https://koenderks.github.io/jfa/, https://github.com/koenderks/jfa
NeedsCompilation: yes
SystemRequirements: C++17, GNU make
Language: en-US
Citation: jfa citation info
Materials: README NEWS
CRAN checks: jfa results

Documentation:

Reference manual: jfa.pdf
Vignettes: Algorithm auditing: Get started
Audit sampling: Get started
Bayesian sampling workflow
Creating prior distributions
Data auditing: Get started
Digit analysis
Get started with the jfa package
Algorithmic fairness
Evaluating statistical audit samples
Planning statistical audit samples
Selecting statistical audit samples
Classical sampling workflow

Downloads:

Package source: jfa_0.7.0.tar.gz
Windows binaries: r-devel: jfa_0.7.0.zip, r-release: jfa_0.7.0.zip, r-oldrel: jfa_0.7.0.zip
macOS binaries: r-release (arm64): jfa_0.7.0.tgz, r-oldrel (arm64): jfa_0.7.0.tgz, r-release (x86_64): jfa_0.7.0.tgz, r-oldrel (x86_64): jfa_0.7.0.tgz
Old sources: jfa archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=jfa to link to this page.