Affiliation:
1. Center for Medical Biometry and Medical Informatics University of Freiburg Freiburg, Germany
2. Department of Mathematics and Computer Science University of Odense Odense, Denmark
Abstract
Rigorous documentation of the analysis plan, procedure, and computer codes enhances the comprehensibility and transparency of data analysis. Documentation is particularly critical when the codes and data are meant to be publicly shared and examined by the scientific community to evaluate the analysis or adapt the results. The popular approach for documenting computer codes is known as literate programming, which requires preparing a trilingual script file that includes a programming language for running the data analysis, a human language for documentation, and a markup language for typesetting the document. In this article, I introduce markdoc, a software package for interactive literate programming and generating dynamic-analysis documents in Stata. markdoc recognizes Mark-down, LATEX, and HTML markup languages and can export documents in several formats, such as PDF, Microsoft Office .docx, OpenOffice and LibreOffice .odt, LATEX, HTML, ePub, and Markdown.
Subject
Mathematics (miscellaneous)
Reference37 articles.
1. BaggerlyK. A., and BerryD. A. 2011. Reproducible research. Amstat News. http://magazine.amstat.org/blog/2011/01/01/scipolicyjan11/.
2. BaumerB., Cetinkaya-RundelM., BrayA., LoiL., and HortonN. J. 2014. R mark-down: Integrating a reproducible analysis tool into introductory statistics. Technology Innovations in Statistics Education 8(1): 1–29. http://escholarship.org/uc/item/90b2f5xh.
3. Statistical Analyses and Reproducible Research
4. GruberJ. 2004. Markdown: Syntax. http://daringfireball.net/projects/markdown/syntax.
5. HaghishE. F. 2014a. synlight: Stata module to highlight syntax in SMCL and translate to HTML format. Statistical Software Components S457894, Department of Economics, Boston College. https://ideas.repec.org/c/boc/bocode/s457894.html.
Cited by
11 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献