Learn R Programming

⚠️There's a newer version (1.4) of this package.Take me there.

BeyondBenford (version 1.1)

Compare the Goodness of Fit of Benford's and Blondeau Da Silva's Digit Distributions to a Given Dataset

Description

Allows to compare the goodness of fit of Benford's and Blondeau Da Silva's digit distributions in a dataset. It is used to check whether the data distribution is consistent with theoretical distributions highlighted by Blondeau Da Silva or not (through the dat.distr() function): this ideal theoretical distribution must be at least approximately followed by the data for the use of Blondeau Da Silva's model to be well-founded. It also enables to plot histograms of digit distributions, both observed in the dataset and given by the two theoretical approaches (with the digit.ditr() function). Finally, it proposes to quantify the goodness of fit via Pearson's chi-squared test (with the chi2() function).

Copy Link

Version

Install

install.packages('BeyondBenford')

Monthly Downloads

538

Version

1.1

License

GPL-2

Maintainer

Blondeau Silva Stephane

Last Published

January 19th, 2019

Functions in BeyondBenford (1.1)

chi2

Pearson's chi-squared test
address_AixesurVienne

Street addresses of Aixe-sur-Vienne
obs.numb.dig

Frequency of each figure at a given position
theor.distr.val

Theoretical distribution
address_Limoges

Street addresses of Limoges
address_PierreBuffiere

Street addresses of Pierre-Buffiere
census

Alabama census
dat.distr

Data distribution
Benf.val

Benford's values
Blon.val

Blondeau Da Silva's values
BeyondBenford-package

Compare the goodness of fit of Benford's and Blondeau Da Silva's digit distributions to a given dataset
digit.distr

Distribution of figures in a given position