C++ Logo

Overview

April 2024 - May 2024

The Newcomb-Benford Stats project is a statistical analysis tool that verifies whether a given dataset follows Benford’s Law. It calculates leading digit distributions and compares them to expected Benford distributions, making it useful for fraud detection and anomaly detection in datasets.

Features

  • Reads numerical datasets from files.
  • Extracts the first digit of each number.
  • Computes frequency distributions of leading digits.
  • Compares observed vs. expected Benford distributions.
  • Generates visual charts for statistical analysis.

Technologies Used

Programming Language: C++

Mathematical Concepts: Benford’s Law, Probability Distributions

Data Handling: File Processing (CSV, TXT)

Repository

GitHub Repository