Coder Social home page Coder Social logo

ani1231091 / remark Goto Github PK

View Code? Open in Web Editor NEW

This project forked from econ-ark/remark

0.0 1.0 0.0 36.07 MB

Replications and Explorations Made using the ARK

License: Apache License 2.0

Python 10.15% Shell 0.05% Batchfile 0.03% Jupyter Notebook 89.37% TeX 0.40% Emacs Lisp 0.01%

remark's Introduction

Replications and Explorations Made using the ARK (REMARK)

This collects and organizes self-contained and complete projects written using the Econ-ARK. The content here should be executable by anyone with a suitably configured computer (see "Installation.md" in this directory).

Each project lives in its own subdirectory in the REMARKs directory.

Types of content include (see below for elaboration):

  1. Explorations
    • Use the Econ-ARK/HARK toolkit to demonstrate some set of modeling ideas
  2. Replications
    • Attempts to replicate important results of published papers written using other tools
  3. Reproductions
    • Code that reproduces ALL of the results of some paper that was originally written using the toolkit

REMARK Guidelines

Every remark must have the following content (described in more detail in sections below):

  1. do_all.py
    • This should be at the root level of the directory
  2. In Code/Python an eponymous Jupyter Notebook
    • For example, Code/Python/BufferStockTheory.ipynb
  3. In the REMARKs directory, an eponymous markdown file with a brief description
    • For example, REMARKs/BufferStockTheory.md
  4. In the REMARKs directory, an eponymous bibtex file containing a reference
    • For example, REMARKs/BufferStockTheory.bib

It is highly encouraged for each REMARK to adhere to the following guidelines:

  1. The Jupyter notebook should be a .py file bound to the notebook with Jupytext.
  2. do_all.py should execute this notebook code
  3. Executing do_all.py should save figures to a Figures/ directory.

do_[].py

Each REMARK directory should contain a file or files beginning with the word do and ending with a .py extension. The only such file that is absolutely required is do_all.py. If executing everything in the code takes more than a few minutes, there should also be a do_min.py. Other files that are intermediate between do_min and do_all are optional.

  • do_all.py should produce all of the results that the tool is capable of generating
    • In other words, do_all.py should execute all the economic simulation code.
    • For a reproduction, it should produce substantially all of the tables and figures of the associated paper
    • For a replication, it should produce whatever the author judges to be a characteristic set of the results of the paper
    • When executed, it should:
      • Inform the user of the minimal resources required for execution (RAM, processor speed, etc)
      • Tell the user roughly how long execution takes on a machine that satisfies those requirements
      • Get the user's permission before proceeding

Eponymous Jupyter Notebook

For a project named ThisIsMyREMARK there should be a Jupyter notebook named ThisIsMyREMARK.ipynb in the directory Code/Python

The preferred, but not required, practice is for the Jupyter notebook to be the generator of the python code executed by do_all.py. An example of how this can be accomplished is given by the BufferStockTheory REMARK

An Eponymous Markdown file

This should contain a brief description of the project, which will be used on the website as the brief description of the REMARK

This is an unstructured category, whose purpose to hold pretty much any kind of self-contained and coherent exercise. Purposes might include:

  1. Illustrations of the uses of a particular model
  2. Examples of how to use a particular technique (e.g., indirect inference)
  3. Comparisons of the results of different models to each other

and pretty much anything else that uses the toolkit but does not fall into the category of replications or reproductions of a paper

Replications and Reproductions

In cases where the replication's author is satisfied that the main results of the paper have been successfully replicated, we expect to approve pull requests with minimal review.

We also expect to approve with little review cases where the author has a clear explanation of discrepancies between the paper's published results and the results in the replication attempt.

We are NOT intending this resource to be viewed as an endorsement of the replication; instead, it is a place for it to be posted publicly for other people to see and form judgments on. Nevertheless, pull requests for attempted replications that are unsuccessful for unknown reasons will require a bit more attention from the Econ-ARK staff, which may include contacting the original author(s) to see if they can explain the discrepancies, or may include consulting with experts in the particular area in question.

Replication archives should contain two kinds of content (along with explanatory material): Code that attempts to comprehensively replicate the results of the paper, and a Jupyter notebook that presents at least a minimal set of examples of the use of the code.

This material will all be stored in a directory with some short pithy name (a bibtex citekey might make a good directory name) which, if written in an Econ-ARK compatible style, will also be the name of a module that other users can import and use.

Code archives should contain:

  • All information required to get the replication code to run
  • An indication of how long that takes on some particular machine

Jupyter notebook(s) should:

  • Explain their own content ("This notebook uses the associated replication archive to demonstrate three central results from the paper of [original author]: The consumption function and the distribution of wealth)
  • Be usable for someone wanting to explore the replication interactively (so, no cell should take more than a minute or two to execute on a laptop)

Differences with DemARK

The key difference with the contents of the DemARK repo is that REMARKs are allowed to rely on the existence of local files and subdirectories (figures; data) at a predictable filepath relative to the location of the root.

remark's People

Contributors

llorracc avatar derinaksit avatar sbenthall avatar pkofod avatar ani1231091 avatar mriduls avatar jacalin1 avatar npalmer-professional avatar ganong123 avatar drdrij avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.