Click here to Skip to main content
12,892,015 members (52,307 online)
Click here to Skip to main content


66 bookmarked
Posted 23 Jun 2011

Detecting Manipulations in Data with Benford's Law – A C# Class

, 23 Jun 2011 CPOL
Statistical tests to determine goodness of fit between a data set and the Benford distribution. Benford's Law is useful in detecting fraud or artificially created numbers in otherwise "natural" distributions.



Compare Revision Minor Date Status Editor
5 - publicly available No 20-Jan-12 10:47 Available Sean Ewington
4 No 16-Nov-11 13:18 Available Deeksha Shenoy
3 No 23-Jun-11 11:52 Available Indivara
2 No 23-Jun-11 11:26 Available Kerry Cakebread
1 No 23-Jun-11 10:42 Composing Kerry Cakebread


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Kerry Cakebread
Software Developer
United States United States
I learned my first programming language--Apple Basic--in 1989. Over the years, I've done projects in C/C++, Pascal, FoxPro, 4D, AS/400, dBase, perl/CGI, Access, MSSQL, VB5-6/COM+, Classic ASP, uncounted legions of Windows, Mac, and *nix scripting languages and now C# ASP.NET/MVC/Razor/jQuery.

I started getting paid to do this stuff in 1993 as the admin for a 100 node network and began writing one-off apps for the company in my spare time. By 2002, I was developing and managing enterprise software projects full time.

I sat through so many Microsoft classes that they should offer me an honorary MCSE, MCSD, and a bunch of other letters, plus name something on campus after me. I took an undergraduate degree in Management & Business Information Systems, earned an MBA, and I hold a PMP credential, though trying to bring projects to successful completion (as opposed to tracking processes into perpetuity) using the PMBOK is like trying to get to a nice restaurant in a big city by reading a book about its architecture. But, I digress...

I've worked in the building materials industry supporting wholesale trading since 1993. I maintain an unhealthy level of interest in exchange-based and cash forward trading, derivatives, simulation, forecasting, project management, and other quantitative analysis topics (e.g. queue theory, optimal inventory policy, etc.) Most recently, I finished a Systems Science certificate in Computer Modeling & Simulation.

You may also be interested in...

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.170424.1 | Last Updated 23 Jun 2011
Article Copyright 2011 by Kerry Cakebread
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid