Benford's Law Mini Toolbox

版本 1.0 (3.0 KB) 作者: Marco Cococcioni
A simple tool to assess wheter a given signal/image is conform or not to Benford's (First-Digit) Law
468.0 次下载
更新时间 2015/10/4

查看许可证

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)

引用格式

Marco Cococcioni (2024). Benford's Law Mini Toolbox (https://www.mathworks.com/matlabcentral/fileexchange/53355-benford-s-law-mini-toolbox), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2015b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Recognition, Object Detection, and Semantic Segmentation 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0