Description Usage Arguments Value Author(s) References Examples
View source: R/theor.distr.val.R
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.
1 | theor.distr.val(lwbound, upbound, dig = 1)
|
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). |
The function returns a vector contening the probability distribution of the model determined by the upper bound value.
Blondeau Da Silva St\'ephane
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.
1 | theor.distr.val(10,27)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.