/student-project-template

template for student projects

Primary LanguageJupyter NotebookMIT LicenseMIT

Student project template

This is a template for student projects. We use GitHub Classroom to administrate our student projects and so you need to sign up for a GitHub Account.

You can use the Jupyter Notebook to work on your project. It contains an example replication of a paper by Carneiro & al. (2011) who study the marginal return to a college education in the United States using the National Longitudinal Survey of Youth 1979 (NLSY79).

Project overview

Please ensure that a brief description of your project is included in the README.md, which provides a proper citation of your baseline article. Also, please set up the following badges that allow to easily access your project notebook.

Reproducibility

To ensure full reproducibility of your project, please try to set up a Travis CI as your continuous integration service. An introductory tutorial for conda and Travis CI is provided here. While not at all mandatory, setting up a proper continuous integration workflow is an extra credit that can improve the final grade.

Build Status

In some cases you might not be able to run parts of your code on Travis CI as, for example, the computation of results takes multiple hours. In those cases you can add the result in a file to your repository and load it in the notebook. See below for an example code.

# If we are running on TRAVIS-CI we will simply load a file with existing results.
if os.environ['TRAVIS']:
  rslt = pkl.load(open('stored_results.pkl', 'br'))
else:
  rslt = compute_results()

# Now we are ready for further processing.
...

However, if you decide to do so, please be sure to provide an explanation in your notebook explaining why exactly this is required in your case.

Structure of notebook

A typical project notebook has the following structure:

  • presentation of baseline article with proper citation and brief summary

  • using causal graphs to illustrate the authors' identification strategy

  • replication of selected key results

  • critical assessment of quality

  • independent contribution, e.g. additional external evidence, robustness checks, visualization

There might be good reason to deviate from this structure. If so, please simply document your reasoning and go ahead. Please use the opportunity to review other student projects for some inspirations as well.

Frequently asked questions and answers

  • Where can I look for publications that provide the data behind their research? Some journals provide the data for their published articles as data supplements directly on their website. In addition, the Replication Wiki and the Harvard Dataverse compile a lot such information.

  • What are other useful resources for research data? There is a tremendous amount of data available online. For example, MDRC provides a host of data files for public use here from the evaluation of public policy initiatives.

License: MIT