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.5)benford.analysis_0.1.5.zip(r-4.4)benford.analysis_0.1.5.zip(r-4.3)
benford.analysis_0.1.5.tgz(r-4.4-any)benford.analysis_0.1.5.tgz(r-4.3-any)
benford.analysis_0.1.5.tar.gz(r-4.5-noble)benford.analysis_0.1.5.tar.gz(r-4.4-noble)
benford.analysis_0.1.5.tgz(r-4.4-emscripten)benford.analysis_0.1.5.tgz(r-4.3-emscripten)
benford.analysis.pdf |benford.analysis.html
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'))

Peer review:

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

Datasets:

On CRAN:

18 exports 61 stars 3.39 score 1 dependencies 74 scripts 522 downloads

Last updated 5 years agofrom:31a98c4faf. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKAug 28 2024
R-4.5-winOKAug 28 2024
R-4.5-linuxOKAug 28 2024
R-4.4-winOKAug 28 2024
R-4.4-macOKAug 28 2024
R-4.3-winOKAug 28 2024
R-4.3-macOKAug 28 2024

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