Literate data analysis with Stata and Markdown

STATA JOURNAL(2017)

引用 3|浏览9
暂无评分
摘要
In this article, I introduce markstat, a command for combining Stata code and output with comments and annotations written in Markdown into a beautiful webpage or PDF file, thus encouraging literate programming and reproducible research. The command tangles the input separating Stata and Markdown code, runs the Stata code, relies on Pandoc to process the Markdown code, and then weaves the outputs into a single file. HTML documents may include inline and display math using MathJax. Generating PDF output requires access to LATEX and a style file from Stata but works with the same input file.
更多
查看译文
关键词
pr0067,markstat,Markdown,Pandoc,LATEX literate programming,dynamic documents,reproducible research
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要