{"id":7519,"date":"2018-10-02T12:07:24","date_gmt":"2018-10-02T16:07:24","guid":{"rendered":"http:\/\/irreal.org\/blog\/?p=7519"},"modified":"2018-10-02T12:07:24","modified_gmt":"2018-10-02T16:07:24","slug":"reproducible-research-and-literate-programming-in-econometrics","status":"publish","type":"post","link":"https:\/\/irreal.org\/blog\/?p=7519","title":{"rendered":"Reproducible Research and Literate Programming in Econometrics"},"content":{"rendered":"<p>\nAbout a year and a half ago Rob Hicks wrote an interesting post on <a href=\"http:\/\/rlhick.people.wm.edu\/posts\/reproducible-research.html#fnr.16\">bringing literate programming and reproducible research methods to Econometrics<\/a>. Hicks works mostly in Python and Matlab but also sometimes needs Strata and R. When he began looking for some software to make research and writing easier, he had pretty simple requirements: being able to handle LaTeX (including graphics and math), supporting <i>both<\/i> Python and Matlab, and being able to publish his results in PDF or HTML.\n<\/p>\n<p>\nOf course, once he began investigating, his list grew. Most of the new items were concerned with supporting additional programming languages and with being able to easily produce (at least an almost) submission-ready manuscript. You can check his post for his final list of requirements.\n<\/p>\n<p>\nHicks considered four possible solutions:\n<\/p>\n<ol class=\"org-ol\">\n<li>Strata with Markdoc<\/li>\n<li>R with Markdown<\/li>\n<li>Jupyter Notebook<\/li>\n<li>Org Mode<\/li>\n<\/ol>\n<p>\nHe includes three tables that summarize his results.\n<\/p>\n<p>\nNo one reading this will be surprised that he chose Org mode as his solution. It&rsquo;s unmatched at producing great documents and packages such as John Kitchin&rsquo;s Org-Ref make manuscript preparation much easier. It also supports nearly every language and\u2014although Hicks doesn&rsquo;t mention it\u2014it&rsquo;s easy to add others.\n<\/p>\n<p>\nMost of us, of course, aren&rsquo;t doing research in Econometrics but Hick&rsquo;s results are applicable to a large number of fields and it&rsquo;s well worth taking a look to see if his results are applicable to yours.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>About a year and a half ago Rob Hicks wrote an interesting post on bringing literate programming and reproducible research methods to Econometrics. Hicks works mostly in Python and Matlab but also sometimes needs Strata and R. When he began &hellip; <a href=\"https:\/\/irreal.org\/blog\/?p=7519\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[18,4],"class_list":["post-7519","post","type-post","status-publish","format-standard","hentry","category-general","tag-emacs","tag-org-mode"],"_links":{"self":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/7519","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7519"}],"version-history":[{"count":1,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/7519\/revisions"}],"predecessor-version":[{"id":7520,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/7519\/revisions\/7520"}],"wp:attachment":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7519"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7519"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7519"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}