This post describes my experience implementing reproducible research and literate programming methods for commonly used software econometric software packages. Since literate programming aims to store the accumulated scientific knowledge of the research project in one document, the software package must allow for the reproduction of data cleaning and data analysis steps, store the record of methods used, generate results dynamically and use these for the writeup, and be executable by including the computational environment.
This dynamic document can be executed to produce the academic paper. The researcher shares this file with other researchers rather than the only a pdf of the paper, making the research fully reproducible, from data prep and cleaning to insertion of tables and figures, by executing the dynamic document. It is my view that this will be expected in most scientific journals over the next few decades.
Jump straight to the discussion on Stata and Emacs org-mode in section 5.