Description Usage Arguments Value References See Also
SimultBenp
indicates whether the simultaneous confidence intervals
(generated by the user's significant digit frequencies in
SimultConf
) cover the Benford probabilities.
1 | SimultBenp(freq, alpha = 0.05, digits = 1:9)
|
freq |
Vector of multinomial frequencies. |
alpha |
Choose |
digits |
A significant digits vector which must match the frequecies #' @examples set.seed(123) SimultConf((firstdigitsfreq(rnorm(100), 1)), alpha=.05) SimultBenp((firstdigitsfreq(rnorm(100), 1)), alpha=.05) |
The output is a vector containing 0's and 1's, where each 0 or 1 corresponds to one of the seven simultaneous confidence intervals (Quesenberry and Hurst, Goodman, etc.). A zero indicates that at least Benford probability falls outside a given CI. A one indicates that all Benford probabilities fall within a given CI.
Lesperance M, Reed WJ, Stephens MA, Tsao C, Wilton B (2016) Assessing conformance with Benford's Law: goodness-of-fit tests and simultaneous confidence intervals. PLoS one; 11(3). Wong, S. (2010) Testing Benford's Law with the first two significant digits. University of Victoria, Master's thesis.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.