EconPapers    
Economics at your fingertips  
 

Introducing repscan: Automated detection of Stata commands linked to common reproducibility failures

Luis Eduardo San Martin
Additional contact information
Luis Eduardo San Martin: The World Bank

2025 Stata Conference from Stata Users Group

Abstract: Reproducibility is essential for understanding how social scientists reach their conclusions. Following recent reproducibility and transparency standards adopted by social science journals, ensuring that code is reproducible has become a priority for researchers and institutions. Reproducibility issues may arise from the use of commands that introduce unnoticed randomness, depend on system-specific settings, or create unexpected inconsistencies across code runs. To address this challenge, the Development Impact Analytics team at the World Bank has developed repscan repscan repscan repscan, a Stata command designed to enhance the reproducibility of research code. Part of the repkit repkit repkit repkit Stata package, repscan repscan repscan repscan scans a do-file, detecting and flagging commands known to compromise reproducibility. By alerting users of potential problems—such as commands affected by uncontrolled randomness, system-dependent sortings, or unstable default behaviors—repscan repscan repscan repscan allows researchers to refine their code and ensure their results can be consistently reproduced. This presentation will provide an overview of repscan repscan repscan repscan’s functionality, demonstrating its application in typical coding tasks and showcasing how it can enhance reproducibility in social science research.

Date: 2025-08-08
References: Add references at CitEc
Citations:

Downloads: (external link)
http://repec.org/usug2025/US25_San_Martin.pdf

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:boc:usug25:06

Access Statistics for this paper

More papers in 2025 Stata Conference from Stata Users Group Contact information at EDIRC.
Bibliographic data for series maintained by Christopher F Baum ().

 
Page updated 2025-08-14
Handle: RePEc:boc:usug25:06