jfa
jfa is an R package that provides statistical methods for auditing. Its functionality and intended workflow are implemented with a graphical user interface in the Audit module of JASP (https://jasp-stats.org), a free and open-source software program for statistical analyses.
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (19.2%) to scientific vocabulary
Keywords
Keywords from Contributors
Repository
jfa is an R package that provides statistical methods for auditing. Its functionality and intended workflow are implemented with a graphical user interface in the Audit module of JASP (https://jasp-stats.org), a free and open-source software program for statistical analyses.
Basic Info
- Host: GitHub
- Owner: koenderks
- License: gpl-3.0
- Language: R
- Default Branch: development
- Homepage: https://koenderks.github.io/jfa
- Size: 92.8 MB
Statistics
- Stars: 8
- Watchers: 4
- Forks: 6
- Open Issues: 0
- Releases: 25
Topics
Metadata Files
README.md
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
- Package website (online documentation, vignettes)
- Textbook (detailed information, code examples)
- Ask a question (discussion forum)
- Open an issue (bug reports, feature requests)
Installation
Latest Release
The most recent jfa release can be installed from CRAN via:
r
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:
```r
install.packages("remotes")
remotes::installgithub("koenderks/jfa", INSTALLopts = "--no-multiarch") ```
Owner
- Name: Koen Derks
- Login: koenderks
- Kind: user
- Location: Amsterdam
- Company: Nyenrode Business University
- Website: https://koenderks.com
- Twitter: koenderks
- Repositories: 9
- Profile: https://github.com/koenderks
Assistant Professor at Nyenrode Business University & Developer at JASP (www.jasp-stats.org), free and open-source statistical software.
Citation (CITATION.cff)
# --------------------------------------------
# CITATION file created with {cffr} R package
# See also: https://docs.ropensci.org/cffr/
# --------------------------------------------
cff-version: 1.2.0
message: 'To cite package "jfa" in publications use:'
type: software
license: GPL-3.0-or-later
title: 'jfa: Statistical Methods for Auditing'
version: 0.7.4
doi: 10.32614/CRAN.package.jfa
identifiers:
- type: doi
value: 10.32614/CRAN.package.jfa
abstract: Provides statistical methods for auditing as implemented in JASP for Audit
(Derks et al., 2021 <https://doi.org/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)
<https://doi.org/10.1111/ijau.12240>, Derks et al. (2024) <https://doi.org/10.2308/AJPT-2021-086>,
Derks et al. (2022) <https://doi.org/10.31234/osf.io/8nf3e> Derks et al. (2024)
<https://doi.org/10.31234/osf.io/tgq5z>, and Derks et al. (2025) <https://doi.org/10.31234/osf.io/b8tu2>.
authors:
- family-names: Derks
given-names: Koen
email: k.derks@nyenrode.nl
orcid: https://orcid.org/0000-0002-5533-9349
preferred-citation:
type: manual
title: 'jfa: Statistical methods for auditing'
authors:
- family-names: Derks
given-names: Koen
email: k.derks@nyenrode.nl
orcid: https://orcid.org/0000-0002-5533-9349
year: '2025'
notes: R package version 0.7.4
url: https://CRAN.R-project.org/package=jfa
doi: 10.32614/CRAN.package.jfa
repository: https://CRAN.R-project.org/package=jfa
repository-code: https://github.com/koenderks/jfa
url: https://koenderks.github.io/jfa/
date-released: '2025-08-12'
contact:
- family-names: Derks
given-names: Koen
email: k.derks@nyenrode.nl
orcid: https://orcid.org/0000-0002-5533-9349
keywords:
- algorithm-auditing
- audit
- audit-sampling
- bayesian
- data-auditing
- jasp
- jasp-for-audit
- r
- r-package
- rstats
- statistical-audit
- statistics
references:
- type: software
title: 'R: A Language and Environment for Statistical Computing'
notes: Depends
url: https://www.R-project.org/
authors:
- name: R Core Team
institution:
name: R Foundation for Statistical Computing
address: Vienna, Austria
year: '2025'
version: '>= 3.5.0'
- type: software
title: bde
abstract: 'bde: Bounded Density Estimation'
notes: Imports
repository: https://CRAN.R-project.org/package=bde
authors:
- family-names: Santafe
given-names: Guzman
- family-names: Calvo
given-names: Borja
- family-names: Perez
given-names: Aritz
- family-names: Lozano
given-names: Jose A.
year: '2025'
doi: 10.32614/CRAN.package.bde
version: '>= 1.0.1.1'
- type: software
title: extraDistr
abstract: 'extraDistr: Additional Univariate and Multivariate Distributions'
notes: Imports
url: https://github.com/twolodzko/extraDistr
repository: https://CRAN.R-project.org/package=extraDistr
authors:
- family-names: Wolodzko
given-names: Tymoteusz
year: '2025'
doi: 10.32614/CRAN.package.extraDistr
version: '>= 1.9.1'
- type: software
title: ggplot2
abstract: 'ggplot2: Create Elegant Data Visualisations Using the Grammar of Graphics'
notes: Imports
url: https://ggplot2.tidyverse.org
repository: https://CRAN.R-project.org/package=ggplot2
authors:
- family-names: Wickham
given-names: Hadley
email: hadley@posit.co
orcid: https://orcid.org/0000-0003-4757-117X
- family-names: Chang
given-names: Winston
orcid: https://orcid.org/0000-0002-1576-2126
- family-names: Henry
given-names: Lionel
- family-names: Pedersen
given-names: Thomas Lin
email: thomas.pedersen@posit.co
orcid: https://orcid.org/0000-0002-5147-4711
- family-names: Takahashi
given-names: Kohske
- family-names: Wilke
given-names: Claus
orcid: https://orcid.org/0000-0002-7470-9261
- family-names: Woo
given-names: Kara
orcid: https://orcid.org/0000-0002-5125-4188
- family-names: Yutani
given-names: Hiroaki
orcid: https://orcid.org/0000-0002-3385-7233
- family-names: Dunnington
given-names: Dewey
orcid: https://orcid.org/0000-0002-9415-4582
- family-names: Brand
given-names: Teun
name-particle: van den
orcid: https://orcid.org/0000-0002-9335-7468
year: '2025'
doi: 10.32614/CRAN.package.ggplot2
version: '>= 3.4.2'
- type: software
title: methods
abstract: 'R: A Language and Environment for Statistical Computing'
notes: Imports
authors:
- name: R Core Team
institution:
name: R Foundation for Statistical Computing
address: Vienna, Austria
year: '2025'
- type: software
title: Rcpp
abstract: 'Rcpp: Seamless R and C++ Integration'
notes: Imports
url: https://www.rcpp.org
repository: https://CRAN.R-project.org/package=Rcpp
authors:
- family-names: Eddelbuettel
given-names: Dirk
email: edd@debian.org
orcid: https://orcid.org/0000-0001-6419-907X
- family-names: Francois
given-names: Romain
orcid: https://orcid.org/0000-0002-2444-4226
- family-names: Allaire
given-names: JJ
orcid: https://orcid.org/0000-0003-0174-9868
- family-names: Ushey
given-names: Kevin
orcid: https://orcid.org/0000-0003-2880-7407
- family-names: Kou
given-names: Qiang
orcid: https://orcid.org/0000-0001-6786-5453
- family-names: Russell
given-names: Nathan
- family-names: Ucar
given-names: Iñaki
orcid: https://orcid.org/0000-0001-6403-5550
- family-names: Bates
given-names: Doug
orcid: https://orcid.org/0000-0001-8316-9503
- family-names: Chambers
given-names: John
year: '2025'
doi: 10.32614/CRAN.package.Rcpp
version: '>= 0.12.0'
- type: software
title: RcppParallel
abstract: 'RcppParallel: Parallel Programming Tools for ''Rcpp'''
notes: Imports
url: https://rcppcore.github.io/RcppParallel/
repository: https://CRAN.R-project.org/package=RcppParallel
authors:
- family-names: Allaire
given-names: JJ
email: jj@rstudio.com
- family-names: Francois
given-names: Romain
- family-names: Ushey
given-names: Kevin
email: kevin@rstudio.com
- family-names: Vandenbrouck
given-names: Gregory
- family-names: Geelnard
given-names: Marcus
website: https://tinythreadpp.bitsnbites.eu/
- name: Intel
website: https://www.threadingbuildingblocks.org/
year: '2025'
doi: 10.32614/CRAN.package.RcppParallel
version: '>= 5.0.1'
- type: software
title: rstan
abstract: 'rstan: R Interface to Stan'
notes: Imports
url: https://mc-stan.org/rstan/
repository: https://CRAN.R-project.org/package=rstan
authors:
- family-names: Guo
given-names: Jiqiang
email: guojq28@gmail.com
- family-names: Gabry
given-names: Jonah
email: jsg2201@columbia.edu
- family-names: Goodrich
given-names: Ben
email: benjamin.goodrich@columbia.edu
- family-names: Johnson
given-names: Andrew
email: andrew.johnson@arjohnsonau.com
- family-names: Weber
given-names: Sebastian
email: sdw.post@waebers.de
- family-names: Badr
given-names: Hamada S.
email: badr@jhu.edu
orcid: https://orcid.org/0000-0002-9808-2344
year: '2025'
doi: 10.32614/CRAN.package.rstan
version: '>= 2.26.0'
- type: software
title: rstantools
abstract: 'rstantools: Tools for Developing R Packages Interfacing with ''Stan'''
notes: Imports
url: https://mc-stan.org/rstantools/
repository: https://CRAN.R-project.org/package=rstantools
authors:
- family-names: Gabry
given-names: Jonah
email: jsg2201@columbia.edu
- family-names: Goodrich
given-names: Ben
email: benjamin.goodrich@columbia.edu
- family-names: Lysy
given-names: Martin
email: mlysy@uwaterloo.ca
- family-names: Johnson
given-names: Andrew
year: '2025'
doi: 10.32614/CRAN.package.rstantools
version: '>= 2.2.0'
- type: software
title: stats
abstract: 'R: A Language and Environment for Statistical Computing'
notes: Imports
authors:
- name: R Core Team
institution:
name: R Foundation for Statistical Computing
address: Vienna, Austria
year: '2025'
- type: software
title: truncdist
abstract: 'truncdist: Truncated Random Variables'
notes: Imports
repository: https://CRAN.R-project.org/package=truncdist
authors:
- family-names: Novomestky
given-names: Frederick
email: fn334@nyu.edu
- family-names: Nadarajah
given-names: Saralees
email: saralees.nadarajah@manchester.ac.uk
year: '2025'
doi: 10.32614/CRAN.package.truncdist
version: '>= 1.0-2'
- type: software
title: benford.analysis
abstract: 'benford.analysis: Benford Analysis for Data Validation and Forensic Analytics'
notes: Suggests
url: http://github.com/carloscinelli/benford.analysis
repository: https://CRAN.R-project.org/package=benford.analysis
authors:
- family-names: Cinelli
given-names: Carlos
year: '2025'
doi: 10.32614/CRAN.package.benford.analysis
version: '>= 0.1.5'
- type: software
title: BenfordTests
abstract: 'BenfordTests: Statistical Tests for Evaluating Conformity to Benford''s
Law'
notes: Suggests
url: https://cran.r-project.org/package=BenfordTests
repository: https://CRAN.R-project.org/package=BenfordTests
authors:
- family-names: Joenssen
given-names: Dieter William
email: Dieter.Joenssen@googlemail.com
year: '2025'
doi: 10.32614/CRAN.package.BenfordTests
version: '>= 1.2.0'
- type: software
title: BeyondBenford
abstract: 'BeyondBenford: Compare the Goodness of Fit of Benford''s and Blondeau
Da Silva''s Digit Distributions to a Given Dataset'
notes: Suggests
repository: https://CRAN.R-project.org/package=BeyondBenford
authors:
- family-names: Stephane
given-names: Blondeau Da Silva
year: '2025'
doi: 10.32614/CRAN.package.BeyondBenford
version: '>= 1.4'
- type: software
title: fairness
abstract: 'fairness: Algorithmic Fairness Metrics'
notes: Suggests
url: https://kozodoi.me/r/fairness/packages/2020/05/01/fairness-tutorial.html
repository: https://CRAN.R-project.org/package=fairness
authors:
- family-names: Kozodoi
given-names: Nikita
email: n.kozodoi@icloud.com
- family-names: V. Varga
given-names: Tibor
email: tirgit@hotmail.com
orcid: https://orcid.org/0000-0002-2383-699X
year: '2025'
doi: 10.32614/CRAN.package.fairness
- type: software
title: knitr
abstract: 'knitr: A General-Purpose Package for Dynamic Report Generation in R'
notes: Suggests
url: https://yihui.org/knitr/
repository: https://CRAN.R-project.org/package=knitr
authors:
- family-names: Xie
given-names: Yihui
email: xie@yihui.name
orcid: https://orcid.org/0000-0003-0645-5666
year: '2025'
doi: 10.32614/CRAN.package.knitr
- type: software
title: MUS
abstract: 'MUS: Monetary Unit Sampling and Estimation Methods, Widely Used in Auditing'
notes: Suggests
url: https://github.com/alsguimaraes/MUS
repository: https://CRAN.R-project.org/package=MUS
authors:
- family-names: Prömpers
given-names: Henning
- family-names: Guimarães
given-names: André
year: '2025'
doi: 10.32614/CRAN.package.MUS
version: '>= 0.1.6'
- type: software
title: rmarkdown
abstract: 'rmarkdown: Dynamic Documents for R'
notes: Suggests
url: https://pkgs.rstudio.com/rmarkdown/
repository: https://CRAN.R-project.org/package=rmarkdown
authors:
- family-names: Allaire
given-names: JJ
email: jj@posit.co
- family-names: Xie
given-names: Yihui
email: xie@yihui.name
orcid: https://orcid.org/0000-0003-0645-5666
- family-names: Dervieux
given-names: Christophe
email: cderv@posit.co
orcid: https://orcid.org/0000-0003-4474-2498
- family-names: McPherson
given-names: Jonathan
email: jonathan@posit.co
- family-names: Luraschi
given-names: Javier
- family-names: Ushey
given-names: Kevin
email: kevin@posit.co
- family-names: Atkins
given-names: Aron
email: aron@posit.co
- family-names: Wickham
given-names: Hadley
email: hadley@posit.co
- family-names: Cheng
given-names: Joe
email: joe@posit.co
- family-names: Chang
given-names: Winston
email: winston@posit.co
- family-names: Iannone
given-names: Richard
email: rich@posit.co
orcid: https://orcid.org/0000-0003-3925-190X
year: '2025'
doi: 10.32614/CRAN.package.rmarkdown
- type: software
title: samplingbook
abstract: 'samplingbook: Survey Sampling Procedures'
notes: Suggests
url: https://www.samplingbook.manitz.org
repository: https://CRAN.R-project.org/package=samplingbook
authors:
- family-names: Manitz
given-names: Juliane
- family-names: Hempelmann
given-names: Mark
- family-names: Kauermann
given-names: Goeran
- family-names: Kuechenhoff
given-names: Helmut
- family-names: Shao
given-names: Shuai
- family-names: Oberhauser
given-names: Cornelia
- family-names: Westerheide
given-names: Nina
- family-names: Wiesenfarth
given-names: Manuel
year: '2025'
doi: 10.32614/CRAN.package.samplingbook
version: '>= 1.2.4'
- type: software
title: testthat
abstract: 'testthat: Unit Testing for R'
notes: Suggests
url: https://testthat.r-lib.org
repository: https://CRAN.R-project.org/package=testthat
authors:
- family-names: Wickham
given-names: Hadley
email: hadley@posit.co
year: '2025'
doi: 10.32614/CRAN.package.testthat
- type: software
title: BH
abstract: 'BH: Boost C++ Header Files'
notes: LinkingTo
url: https://dirk.eddelbuettel.com/code/bh.html
repository: https://CRAN.R-project.org/package=BH
authors:
- family-names: Eddelbuettel
given-names: Dirk
email: edd@debian.org
orcid: https://orcid.org/0000-0001-6419-907X
- family-names: Emerson
given-names: John W.
- family-names: Kane
given-names: Michael J.
orcid: https://orcid.org/0000-0003-1899-6662
year: '2025'
doi: 10.32614/CRAN.package.BH
version: '>= 1.66.0'
- type: software
title: RcppEigen
abstract: 'RcppEigen: ''Rcpp'' Integration for the ''Eigen'' Templated Linear Algebra
Library'
notes: LinkingTo
url: https://dirk.eddelbuettel.com/code/rcpp.eigen.html
repository: https://CRAN.R-project.org/package=RcppEigen
authors:
- family-names: Bates
given-names: Doug
orcid: https://orcid.org/0000-0001-8316-9503
- family-names: Eddelbuettel
given-names: Dirk
email: edd@debian.org
orcid: https://orcid.org/0000-0001-6419-907X
- family-names: Francois
given-names: Romain
orcid: https://orcid.org/0000-0002-2444-4226
- family-names: Qiu
given-names: Yixuan
orcid: https://orcid.org/0000-0003-0109-6692
year: '2025'
doi: 10.32614/CRAN.package.RcppEigen
version: '>= 0.3.3.3.0'
- type: software
title: StanHeaders
abstract: 'StanHeaders: C++ Header Files for Stan'
notes: LinkingTo
url: https://mc-stan.org/
repository: https://CRAN.R-project.org/package=StanHeaders
authors:
- family-names: Goodrich
given-names: Ben
email: benjamin.goodrich@columbia.edu
- family-names: Gelman
given-names: Andrew
- family-names: Carpenter
given-names: Bob
- family-names: Hoffman
given-names: Matt
- family-names: Lee
given-names: Daniel
- family-names: Betancourt
given-names: Michael
- family-names: Brubaker
given-names: Marcus
- family-names: Guo
given-names: Jiqiang
- family-names: Li
given-names: Peter
- family-names: Riddell
given-names: Allen
- family-names: Inacio
given-names: Marco
- family-names: Morris
given-names: Mitzi
- family-names: Arnold
given-names: Jeffrey
- family-names: Goedman
given-names: Rob
- family-names: Lau
given-names: Brian
- family-names: Trangucci
given-names: Rob
- family-names: Gabry
given-names: Jonah
- family-names: Kucukelbir
given-names: Alp
- family-names: Grant
given-names: Robert
- family-names: Tran
given-names: Dustin
- family-names: Malecki
given-names: Michael
- family-names: Gao
given-names: Yuanjun
- family-names: Badr
given-names: Hamada S.
email: badr@jhu.edu
orcid: https://orcid.org/0000-0002-9808-2344
year: '2025'
doi: 10.32614/CRAN.package.StanHeaders
version: '>= 2.26.0'
GitHub Events
Total
- Create event: 1
- Release event: 1
- Issues event: 2
- Issue comment event: 9
- Push event: 64
- Pull request review comment event: 6
- Pull request review event: 9
- Pull request event: 10
- Fork event: 1
Last Year
- Create event: 1
- Release event: 1
- Issues event: 2
- Issue comment event: 9
- Push event: 64
- Pull request review comment event: 6
- Pull request review event: 9
- Pull request event: 10
- Fork event: 1
Committers
Last synced: 7 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Koen Derks | k****s@h****m | 1,147 |
| github-actions[bot] | 4****] | 320 |
| federicapicogna | 1****a | 5 |
| Andrew Johnson | a****n@a****m | 2 |
| lottemensink | 9****k | 1 |
| Evan Thompson | a****n | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 2
- Total pull requests: 112
- Average time to close issues: 7 days
- Average time to close pull requests: 3 days
- Total issue authors: 2
- Total pull request authors: 5
- Average comments per issue: 1.0
- Average comments per pull request: 0.19
- Merged pull requests: 109
- Bot issues: 0
- Bot pull requests: 97
Past Year
- Issues: 1
- Pull requests: 10
- Average time to close issues: 14 days
- Average time to close pull requests: 12 days
- Issue authors: 1
- Pull request authors: 4
- Average comments per issue: 1.0
- Average comments per pull request: 1.8
- Merged pull requests: 10
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- lottemensink (1)
Pull Request Authors
- github-actions[bot] (97)
- federicapicogna (9)
- koenderks (6)
- lottemensink (2)
- andrjohns (2)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 2
-
Total downloads:
- cran 515 last-month
-
Total dependent packages: 1
(may contain duplicates) -
Total dependent repositories: 5
(may contain duplicates) - Total versions: 32
- Total maintainers: 1
cran.r-project.org: jfa
Statistical Methods for Auditing
- Homepage: https://koenderks.github.io/jfa/
- Documentation: http://cran.r-project.org/web/packages/jfa/jfa.pdf
- License: GPL (≥ 3)
-
Latest release: 0.7.3
published 12 months ago
Rankings
Maintainers (1)
conda-forge.org: r-jfa
- Homepage: https://koenderks.github.io/jfa/
- License: GPL-3.0-only
-
Latest release: 0.6.4
published over 3 years ago
Rankings
Dependencies
- extraDistr * imports
- graphics * imports
- stats * imports
- MUS * suggests
- kableExtra * suggests
- knitr * suggests
- rmarkdown * suggests
- samplingbook * suggests
- testthat * suggests
- actions/cache v2 composite
- actions/checkout v2 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- Mattraks/delete-workflow-runs v2 composite
- actions/checkout v3 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
- actions/cache v1 composite
- actions/checkout v2 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- actions/cache v2 composite
- actions/checkout v2 composite
- actions/upload-artifact main composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- actions/checkout v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite