Statistical Tests
Statistical tests examining the fit of Benford's law to data have more power when the data values span several orders of magnitude. Since many data samples typically do not have this range, numerical transformation of the data to a base other than 10 may be useful before testing.
Although the chi squared test has been used to test for compliance with Benford's law it has low statistical power when used with small samples.
The Kolmogorov-Smirnov test and the Kuiper test are more powerful when the sample size is small particularly when Stephen's corrective factor is used. These tests may be overly conservative when applied to discrete distribution. Values for the Benford test have been generated by Morrow(2010), and the critical values of the test statistics are shown below:
α = 0.10 | α = 0.05 | α = 0.01 | |
---|---|---|---|
Kuiper Test | 1.191 | 1.321 | 1.579 |
Kolmogorov–Smirnov | 1.012 | 1.148 | 1.420 |
Two alternative tests specific to this law have been published: first, the max (m) statistic from Leemis et al (2000) is given by
and secondly, the distance (d) statistic from Cho and Gaines is given by
where FSD is the First Significant Digit. Morris has determined the critical values for both these statistics, which are shown below:
α = 0.10 | α = 0.05 | α = 0.01 | |
---|---|---|---|
Leemis' m | 0.851 | 0.967 | 1.212 |
Cho–Gaines' d | 1.212 | 1.330 | 1.569 |
Nigrini has suggested the use of a z statistic
with
where || is the absolute value, n is the sample size, 1/(2n) is a continuity correction factor, pe is the proportion expected from Benford's law and po is the observed proportion in the sample.
Morris has also shown that for any random variable X (with a continuous pdf) divided by its standard deviation (σ), a value A can be found such that the probability of the distribution of the first significant digit of the random variable ( X / σ )A will differ from Benford's Law by less than ε > 0. The value of A depends on the value of ε and the distribution of the random variable.
A method of accounting fraud detection based on bootstrapping and regression has been proposed.
Read more about this topic: Benford's Law
Famous quotes containing the word tests:
“From a hasty glance through the various tests I figure it out that I would be classified in Group B, indicating Low Average Ability, reserved usually for those just learning to speak the English Language and preparing for a career of holding a spike while another man hits it.”
—Robert Benchley (18891945)