Statistical Computing: Use of Basic R Language for Statistically Evidence-Based Auditing
DOI:
https://doi.org/10.11565/gesten.v9i2.166Keywords:
Statistical computing, R language, Predictive auditing, Statistical sampling., Benford's LawAbstract
This exploratory work examines the use and potential of the R programming language as an advanced tool to support financial and operational auditing. Faced with the barriers and costs associated with commercial software licenses (such as SPSS, ACL, or IDEA) , R and its RStudio environment emerge as highly efficient open-source solutions for modeling large volumes of data and implementing data mining. The study demonstrates the practical application of packages such as dplyr for debugging and benford.analysis for identifying anomalous accounting transactions based on the First Digit Law (Benford's Law). Additionally, key statistical sampling techniques are presented (MAS, systematic, stratified) , concluding that the integration of these languages is essential in the development of predictive analytical audits against fraud.
Downloads
References
Navarrete, O. (2019). Estadística para contadores y auditores con R. Universidad Politécnica Salesiana.
Nigrini, M. J. (2020). Forensic analytics: Methods and techniques for forensic accounting investigations. John Wiley & Sons.
Pérez, J. (2020). Introducción a la ciencia de datos en R. UD Editorial.
Redondo, C. (2024). El programa R: Herramienta clave en investigación. Universidad de Cantabria.
Vargas, C. (2025). Estadística aplicada a la investigación con R. Ediciones de la U.
Westland, C. (2020). Audit analytics: Data science for the accounting profession. Springer. DOI: https://doi.org/10.1007/978-3-030-49091-1
Downloads
Published
Issue
Section
License
Copyright (c) 2026 GESTIÓN Y TENDENCIAS

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
How to Cite
Article usage
- ViewsTimes this article's page was opened since the journal started recording statistics. One person can visit more than once.
- 818
- DownloadsTimes the full text of this article (usually the PDF) was opened or downloaded.
- 115
All time, as recorded by the journal.
Among the top 9% by views · last 2 yearsCompared with all the journal's articles by views in the last 2 years, this one is among the top 9%.
Last 2 years: 818 views, 115 downloads.
Main countries of traffic origin:Countries this article was consulted from, according to the internet connection. They are not necessarily people. United States 28% · Singapore 14% · Chile 6%
0.14 downloads per view (journal average 0.67).Downloads of the full text for every abstract view of this article, compared with the whole journal.
Explore the journal's metrics