IDEAS home Printed from https://ideas.repec.org/p/mcm/deptwp/2017-02.html
   My bibliography  Save this paper

Energy, Economics & Replication

Author

Listed:
  • Jeffrey Racine

Abstract

This article outlines recent developments in Markdown scripting languages that facilitate the production of replicable, publication quality, research. The approach is similar to that achieved by using, say, Sweave, R and LaTeX, but is written instead in simple Markdown syntax and not tied to any particular output format (e.g., MS Word) nor computational language (e.g., Python). The computational component can be written in C++, Python, SQL, Stan, Bash, or R by way of example. The Markdown script is seamlessly converted to any one of a number of output formats. The output format is essentially an afterthought, and could be rendered as a PDF (LaTeX or Beamer presentation), MS Word, HTML, EPUB, or gitbook document, by way of illustration. Conversion of the Markdown script to the desired output format is performed by pandoc (a universal document converter). These tools can dramatically reduce the amount of time required to complete a research project that can be trivially replicated. Recent enhancements to RStudio streamline the entire process of output format generation via a simple click of an icon or keystroke shortcut (the minimum requirement is R). Replicability is guaranteed by using the checkpoint package in R. This article was written using Markdown.

Suggested Citation

  • Jeffrey Racine, 2017. "Energy, Economics & Replication," Department of Economics Working Papers 2017-02, McMaster University.
  • Handle: RePEc:mcm:deptwp:2017-02
    as

    Download full text from publisher

    File URL: http://socserv.mcmaster.ca/econ/rsrch/papers/archive/McMasterEconWP2017-02.pdf
    Download Restriction: no
    ---><---

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Bernstein, David H. & Parmeter, Christopher F., 2019. "Returns to scale in electricity generation: Replicated and revisited," Energy Economics, Elsevier, vol. 82(C), pages 4-15.
    2. Hernández Alemán, Anastasia & León, Carmelo J., 2018. "La Réplica en el Análisis Económico Aplicado/Replication in Applied Economic Analysis," Estudios de Economia Aplicada, Estudios de Economia Aplicada, vol. 36, pages 317-332, Enero.
    3. Valérie Orozco & Christophe Bontemps & Élise Maigné & Virginie Piguet & Annie Hofstetter & Anne Marie Lacroix & Fabrice Levert & Jean-Marc Rousselle, 2017. "How to make a pie? Reproducible Research for Empirical Economics & Econometrics," Post-Print hal-01939942, HAL.

    More about this item

    JEL classification:

    • C88 - Mathematical and Quantitative Methods - - Data Collection and Data Estimation Methodology; Computer Programs - - - Other Computer Software

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:mcm:deptwp:2017-02. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: the person in charge (email available below). General contact details of provider: https://edirc.repec.org/data/demcmca.html .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.