Blon.val {BeyondBenford} | R Documentation |
Blondeau Da Silva's values
Description
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.
Usage
Blon.val(lwbound = 10^(dig - 1), upbound, fig, dig = 1, sd = 0)
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". |
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. |
Value
The function returns Blondeau Da Silva's probability and, if requested, its standard deviation.
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
Blon.val(171,825, 5, dig = 3)