Statistical Science

Quick Anomaly Detection by the Newcomb–Benford Law, with Applications to Electoral Processes Data from the USA, Puerto Rico and Venezuela

Luis Pericchi and David Torres

Full-text: Open access


A simple and quick general test to screen for numerical anomalies is presented. It can be applied, for example, to electoral processes, both electronic and manual. It uses vote counts in officially published voting units, which are typically widely available and institutionally backed. The test examines the frequencies of digits on voting counts and rests on the First (NBL1) and Second Digit Newcomb–Benford Law (NBL2), and in a novel generalization of the law under restrictions of the maximum number of voters per unit (RNBL2). We apply the test to the 2004 USA presidential elections, the Puerto Rico (1996, 2000 and 2004) governor elections, the 2004 Venezuelan presidential recall referendum (RRP) and the previous 2000 Venezuelan Presidential election. The NBL2 is compellingly rejected only in the Venezuelan referendum and only for electronic voting units. Our original suggestion on the RRP (Pericchi and Torres, 2004) was criticized by The Carter Center report (2005). Acknowledging this, Mebane (2006) and The Economist (US) (2007) presented voting models and case studies in favor of NBL2. Further evidence is presented here. Moreover, under the RNBL2, Mebane’s voting models are valid under wider conditions. The adequacy of the law is assessed through Bayes Factors (and corrections of p-values) instead of significance testing, since for large sample sizes and fixed α levels the null hypothesis is over rejected. Our tests are extremely simple and can become a standard screening that a fair electoral process should pass.

Article information

Statist. Sci., Volume 26, Number 4 (2011), 502-516.

First available in Project Euclid: 28 February 2012

Permanent link to this document

Digital Object Identifier

Mathematical Reviews number (MathSciNet)

Zentralblatt MATH identifier

Bayes Factors election forensics Newcomb–Benford Second Digit Law 2BL Restricted Newcomb–Benford Law electronic elections p-value corrections quick anomaly detection universal lower bound


Pericchi, Luis; Torres, David. Quick Anomaly Detection by the Newcomb–Benford Law, with Applications to Electoral Processes Data from the USA, Puerto Rico and Venezuela. Statist. Sci. 26 (2011), no. 4, 502--516. doi:10.1214/09-STS296.

Export citation


  • Benford, F. (1938). The law of anomalous numbers. Proc. Amer. Philos. Soc. 78 551–572.
  • Berger, J. O. and Pericchi, L. R. (2001). Objective Bayesian methods for model selection: Introduction and comparison (with discussion). In Model Selection 135–207. IMS, Beachwood, OH.
  • Buttorff, G. (2008). Detecting fraud in America’s gilded age. Technical report, Univ. Iowa.
  • The Carter Center (2005). Observing the Venezuela Presidential Recall Referendum. Comprehensive Report. Feb. 2005.
  • The Economist. Feb. 24th–March 2nd, 2007. Pages 93–94. Political Science: Election forensics.
  • Hill, T. (1995). Base-invariance implies Benford’s law. Proc. Amer. Math. Soc. 123 887–895.
  • Hill, T. (1996). A statistical derivation of the Significant-Digit Law. Statist. Sci. 10 354–363.
  • Mebane, W. R. (2006). Election Forensics: The Second-digit Benford’s Law Test and Recent American Presidential Elections. Election Fraud Conference, Salt Lake Ciy, Utah, September 29–30.
  • Mebane, W. R. (2007a). Statistics for Digits. 2007 Summer Meeting of the Political Methodology Society, Pennsylvania State Univ., July 18–21.
  • Mebane, W. R. (2007b). Evaluating voting systems to improve and verify accuracy. Presented at the Annual Meeting of the American. Association for the Advancement of Science, San Francisco, Feb. 16, 2007. Available at
  • Newcomb S. (1881). Note on the frequency of use of the Different Digits in Natural Numbers. Amer. J. Math. 4 39–40.
  • Nigrini, M. (1995). A taxpayer compliance application of Benford’s Law. J. Amer. Taxation Assoc. 18 72–91.
  • Pericchi, L. R. and Torres, D. (2004). La Ley de Newcomb–Benford y sus aplicaciones al Referendum Revocatorio en Venezuela. Reporte Técnico no-definitivo 2a, Octubre 01, 2004. Presented on Sept. 23, 2004 on the Third Universidad Simon Bolivar Seminar on: Statistical Analyses of the Venezuelan Recall Referendum. Available at
  • Pietronero, L., Tosatti, E. and Vespignani, A. (2001). Explaining the uneven distribution of numbers in nature: The Laws of Benford and Zipf. Physica A 293 297–304.
  • Raimi, R. (1976). The first digit problem. Amer. Math. Monthly 102 322–327.
  • Sellke, T., Bayarri, M. J. and Berger, O. J. (2001). Calibration of p-values for testing precise null hypotheses. Amer. Statist. 55 62–71.
  • Taylor, J. (2005). Too many ties? An empirical analysis of the Venezuelan recall referendum counts. Technical report.
  • Taylor, J. (2009). Too many ties? An empirical analysis of the Venezuelan recall referendum counts. Statist. Sci. To appear.
  • Torres Núñez D. A. (2006). Newcomb–Benford’s Law Applications to Electoral Processes, Bioinformatics, and the Stock Index. Supervised by L. R. Pericchi. May 2006. MS thesis.
  • Torres, J., Fernandez, S., Gamero, A. and Sola, A. (2007). How do numbers begin? (the first digit law). Eur. J. Phys. 28 L17–L25.