SoatDev IT Consulting
SoatDev IT Consulting
  • About us
  • Expertise
  • Services
  • How it works
  • Contact Us
  • News
  • October 10, 2023
  • Rss Fetcher

The latest episode of Erik Seligman’s podcast is entitled The Grim State of Modern Pizza. Although you might not realize it from the title, the post is about fraud detection.

GRIM stands for Granularity-Related Inconsistency of Means. In a nutshell, the test looks for means (averages) that are not possible on number theoretic grounds. If you average n integers, the result should be a multiple of 1/n. Ridiculously simple, but effective.

As with any test for fraud, it also catches errors and omissions that are not fraudulent. For example, suppose someone reports that they averaged 19 integers and got a result that has 22 after the decimal point. It’s possible that the fractional part was 4/19 = 0.2105 and they mistakenly rounded up rather than down. Or maybe they actually computed the average of 18 integers, removing a value for some reason not made explicit in the paper.

I’ve made these kinds of observations occasionally, as many people have, but only when they jumped out at me. I’ve noticed things like a reported average of five integers ending in .3, which of course cannot happen, but it’s not so obvious with larger denominators. Even though the GRIM test is trivial, the authors deserve credit for applying the idea systematically and effectively.

Kent Beck, creator of the “extreme programming” methodology for software development, would ask “Have you tried the simplest thing that might possibly work?” Often the answer is no. We assume simple things won’t work without giving them a try first.

It takes experience to see the value in asking very simple questions. It also takes some confidence/courage because you risk looking naive if you ask a simple question that doesn’t reveal a problem. And it takes some diplomacy since you risk embarrassing someone else if your simple question does reveal a problem.

Related posts

  • Fraud, sloppiness, and statistics
  • Bad science is tolerable, résumé padding is not
  • Benford’s law

The post Detecting fraud with the GRIM test first appeared on John D. Cook.

Previous Post
Next Post

Recent Posts

  • Week in Review: Why Anthropic cut access to Windsurf
  • Will Musk vs. Trump affect xAI’s $5 billion debt deal?
  • Superblocks CEO: How to find a unicorn idea by studying AI system prompts
  • Sage Unveils AI Trust Label to Empower SMB’s
  • How African Startups Are Attracting Global Fintech Funding

Categories

  • Industry News
  • Programming
  • RSS Fetched Articles
  • Uncategorized

Archives

  • June 2025
  • May 2025
  • April 2025
  • February 2025
  • January 2025
  • December 2024
  • November 2024
  • October 2024
  • September 2024
  • August 2024
  • July 2024
  • June 2024
  • May 2024
  • April 2024
  • March 2024
  • February 2024
  • January 2024
  • December 2023
  • November 2023
  • October 2023
  • September 2023
  • August 2023
  • July 2023
  • June 2023
  • May 2023
  • April 2023

Tap into the power of Microservices, MVC Architecture, Cloud, Containers, UML, and Scrum methodologies to bolster your project planning, execution, and application development processes.

Solutions

  • IT Consultation
  • Agile Transformation
  • Software Development
  • DevOps & CI/CD

Regions Covered

  • Montreal
  • New York
  • Paris
  • Mauritius
  • Abidjan
  • Dakar

Subscribe to Newsletter

Join our monthly newsletter subscribers to get the latest news and insights.

© Copyright 2023. All Rights Reserved by Soatdev IT Consulting Inc.