Benford's Law Mini Toolbox
Given an array (being it a signal or an image), with this mini toolbox it is possible to calculate the normalized number of occurrences of the first digit and to compare it with the Benford's Law. Any signal can be classified into four degrees of conformity to the Benford's Law (close conformity, acceptable conformity, marginal conformity and non conformity). Test it with your data! It can help in detecting frauds, since most of natural phenomena are expected to be close conform to Benfords' Law. When the test says that they are not, it might mean that the data has been manipulated!
More references
This wikipedia page: https://en.wikipedia.org/wiki/Benford%27s_law
This Wiley book: http://eu.wiley.com/WileyCDA/WileyTitle/productCd-1118152859.html
(M Nigrini & JT Wells, Benford's Law: Applications for Forensic Accounting, Auditing, and Fraud Detection, 2012)
Zitieren als
Marco Cococcioni (2025). Benford's Law Mini Toolbox (https://www.mathworks.com/matlabcentral/fileexchange/53355-benford-s-law-mini-toolbox), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- Image Processing and Computer Vision > Computer Vision Toolbox > Recognition, Object Detection, and Semantic Segmentation >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0 |
|