Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.
Originally posted by: mermacoraHi,
It's relatively simple to implement the Benford's law logic in LAE.
Some time ago I developed a couple of library nodes which perform simple 1 and 2 digit Benford�s law analysis on a set of currency amounts.
A graph and some sample data to drive it are attached.
The graph includes two library nodes:
- 1-Digit Benford � extracts the 1st (left-most) digit of an input field and calculates the % distribution of this across the set of amount values. The Bedford probability is also calculated using the standard log10(1 + 1/n) formula and the deviation of the digit distribution from Benford is output.
- 2-Digit Benford � as above but uses left-most 2 digits of an input field.
Let me know if you have any questions about this.
Regards,
Mario Ermacora
Attachments:
Benford_Analysis.zip