Package: benford.analysis 0.1.5

benford.analysis: Benford Analysis for Data Validation and Forensic Analytics

Provides tools that make it easier to validate data using Benford's Law.

Authors:Carlos Cinelli

benford.analysis_0.1.5.tar.gz
benford.analysis_0.1.5.zip(r-4.7)benford.analysis_0.1.5.zip(r-4.6)benford.analysis_0.1.5.zip(r-4.5)
benford.analysis_0.1.5.tgz(r-4.6-any)benford.analysis_0.1.5.tgz(r-4.5-any)
benford.analysis_0.1.5.tar.gz(r-4.7-any)benford.analysis_0.1.5.tar.gz(r-4.6-any)
benford.analysis_0.1.5.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
benford.analysis/json (API)

# Install 'benford.analysis' in R:
install.packages('benford.analysis', repos = c('https://carloscinelli.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/carloscinelli/benford.analysis/issues

Datasets:

On CRAN:

Conda:

5.78 score 65 stars 92 scripts 466 downloads 18 exports 1 dependencies

Last updated from:31a98c4faf. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK117
source / vignettesOK211
linux-release-x86_64OK112
macos-release-arm64OK207
macos-oldrel-arm64OK196
windows-develOK105
windows-releaseOK71
windows-oldrelOK82
wasm-releaseOK96

Exports:benfordchisqdfactorduplicatesTableextract.digitsgetBfdgetDatagetDigitsgetDuplicatesgetSuspectskslast.two.digitsMADmantissamarcp.these.digitsp.this.digit.at.nsuspectsTable

Dependencies:data.table

Readme and manuals

Help Manual

Help pageTopics
Benford Analysis of a datasetbenford
Benford Analysis for data validation and forensic analyticsbenford.analysis-package benford.analysis
Population data - US - 2000 and 2010census.2000_2010
Population data of Towns and Cities of the US - 2009census.2009
Gets the Chi-squared test of a Benford objectchisq
Corporate payments of a West Coast utility company - 2010corporate.payment
Gets the Distortion Factor of a Benford objectdfactor
Shows the duplicates of the dataduplicatesTable
Extracts the leading digits from the dataextract.digits
The first 500 Fibonacci numbers.fibonacci.500
Gets the the statistics of the first Digits of a benford objectgetBfd
Gets the data used of a Benford objectgetData
Gets the data starting with some specific digitsgetDigits
Gets the duplicates from datagetDuplicates
Gets the 'suspicious' observations according to Benford's LawgetSuspects
General Motors payments.gm.payments
Journal entries in a company's accounting system.journal.entry
Gets the Kolmogorov-Smirnov test of a Benford objectks
Perimeter of lakes around the worldlakes.perimeter
Extracts the last two digits from the datalast.two.digits
Gets the MAD of a Benford objectMAD
MAD conformity to Benford's Law using the MADMAD.conformity
The potential amount of the exposure of a partial list released by Wall Street Journal (WSJ) of the Madoff victims - 2009.madoff.returns
Gets the main stats of the Mantissa of a Benford objectmantissa
Gets the Mantissa Arc test of a Benford objectmarc
Probability of a digit sequencep.these.digits
Probability of a digit at the nth positionp.this.digit.at.n
Plot method for Benford Analysisplot.Benford
Print method for Benford Analysisprint.Benford
Purchasing cards transactions - 2010.purchasing.cards.2010
Financial Statements of Sino Forest Corporation's 2010 Reportsino.forest
Annual average flows.streamflow
Shows the first digits ordered by the mains discrepancies from Benford's LawsuspectsTable
Taxable Income 1978taxable.incomes.1978