theor.distr.val {BeyondBenford}R Documentation

Theoretical distribution

Description

The function returns the theorical probability distribution described by Blondeau Da Silva for data. If the dataset follows this particular distribution well enough, it enables not to use Benford's values of first (second, third or fourth) digit distribution but rather Blondeau Da Silva's ones. The distribution depends on a lower and an upper bound, which characterize the data.

Usage

theor.distr.val(lwbound, upbound, dig = 1)

Arguments

lwbound

A positive integer, which characterizes the data. All (or most) of the data are greater than this "lower bound".

upbound

A positive integer, which characterizes the data. All (or most) of the data are lower than this "upper bound".

dig

The chosen position of the digit (from the left).

Value

The function returns a vector contening the probability distribution of the model determined by the upper bound value.

Author(s)

Blondeau Da Silva St\'ephane

References

S. Blondeau Da Silva (2020). Benford or not Benford: a systematic but not always well-founded use of an elegant law in experimental fields. Communications in Mathematics and Statistics, 8:167-201. doi: 10.1007/s40304-018-00172-1.

S. Blondeau Da Silva (2018). Benford or not Benford: new results on digits beyond the first. https://arxiv.org/abs/1805.01291.

Examples

theor.distr.val(10,27)


[Package BeyondBenford version 1.4 Index]