Blon.val {BeyondBenford} | R Documentation |
The function returns Blondeau Da Silva's probability that a figure is at a given position (once the associated lower and upper bounds have been specified) and, if requested, the associated standard deviation.
Blon.val(lwbound = 10^(dig - 1), upbound, fig, dig = 1, sd = 0)
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". |
fig |
The considered figure. |
dig |
The chosen position of the digit (from the left). |
sd |
If sd=0, only the probability is returned. Else, the function returns a dataframe containing the probability and the standard deviation of the expected digit frequency. |
The function returns Blondeau Da Silva's probability and, if requested, its standard deviation.
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.
Blon.val(171,825, 5, dig = 3)