Efficient Empiricism: Online Appendix

On this appendix page you will find resources and links based on my article for the Journal of Economic Education:

A. Class Syllabi

  • Econometrics: Instructor: Michael O’Hara, Syllabus: syllabus (TBC)
  • Basic Econometrics: Instructor: Aaron Swoboda,syllabus
  • Behavioral Economics: Instructor: Simon Halliday, syllabus/course outline
  • Business Analytics: Instructor: Tomas Dvorak, syllabus
  • Topics in Environmental Economics (Seminar): Instructor: Michael O’Hara: Syllabus and updated here: syllabus.
  • Advanced Topics in Housing Economics (Seminar): Instructor: Aaron Swoboda syllabus

B. Examples of Labs and Exercises

Econometrics (O’Hara)

  • Reproduction Exercise pdf
  • Project description pdf

Behavioral Economics (Halliday)

These exercises spanned macroeconomic data such as labor force participation rates from FRED, micro data from particular markets such as the Saumaty fish market in Marseille, survey data, such as the World Values Survey, and laboratory data, such as the data from decision experiments over risky choices and public goods games with individuals or teams.

Business Analytics (Dvorak)

Topics in Environmental Economics (O’Hara)

Econometrics (Swoboda)

[To be completed - instructor is facilitating study abroad and will provide details in January]

C. Examples of Reproducible Research Projects

These links will be provided upon acceptance.

E. Resources for Learning R and R Markdown

  • Consider subscribing to classes at Datacamp.com (take the intro free of charge)
  • Grolemund & Wickham, 2016, R for Data Science, r4ds
  • Baumer, Horton & Kaplan, forthcoming, Modern Data Science with R.
  • Florian Heiss “Introductory Econometrics with R” (2016)

F. Additional Resources Created by the Instructors:

Swoboda:

Dvorak:

O’Hara:

  • Additional activity on data manipulation html and Rmd

G. Other instructors’s Resources:

H: Papers Entirely or Partially Reproduced by Students

Ariely, Dan, Anat Bracha, and Stephan Meier. 2009. “Doing Good or Doing Well? Image Motivation and Monetary Incentives in Behaving Prosocially.” American Economic Review 99 (1): 544–55. doi:10.1257/aer.99.1.544.

Berry, James, Lucas C Coffman, Douglas Hanley, Rania Gihleb, and Alistair J Wilson. 2017. “Assessing the Rate of Replication in Economics.” American Economic Review 107 (5). American Economic Association 2014 Broadway, Suite 305, Nashville, TN 37203: 27–31.

Carr, Michael D, and Phil Mellizo. 2013. “The Relative Effect of Voice, Autonomy, and the Wage on Satisfaction with Work.” The International Journal of Human Resource Management 24 (6). Taylor & Francis: 1186–1201.

Giné, Xavier, Dean Karlan, and Jonathan Zinman. 2010. “Put Your Money Where Your Butt Is: A Commitment Contract for Smoking Cessation.” American Economic Journal: Applied Economics 2 (4): 213–35. doi:10.1257/app.2.4.213.

Godlonton, Susan, and Rebecca L Thornton. 2013. “Learning from Others’ Hiv Testing: Updating Beliefs and Responding to Risk.” The American Economic Review 103 (3). NIH Public Access: 439.

Guryan, Jonathan, and Melissa S. Kearney. 2008. “Gambling at Lucky Stores: Empirical Evidence from State Lottery Sales.” American Economic Review 98 (1): 458–73. doi:10.1257/aer.98.1.458.

Hargreaves Heap, Shaun P., and Daniel John Zizzo. 2009. “The Value of Groups.” American Economic Review 99 (1): 295–323. doi:10.1257/aer.99.1.295.

Hsieh, Chang-Tai. 2003. “Do Consumers React to Anticipated Income Changes? Evidence from the Alaska Permanent Fund.” American Economic Review 93 (1): 397–405. doi:10.1257/000282803321455377.

Jensen, Carsten, and Michael Bang Petersen. 2017. “The Deservingness Heuristic and the Politics of Health Care.” American Journal of Political Science 61 (1): 68–83. doi:10.1111/ajps.12251.

Kube, Sebastian, Michel André Maréchal, and Clemens Puppe. 2012. “The Currency of Reciprocity: Gift Exchange in the Workplace.” The American Economic Review 102 (4). JSTOR: 1644–62. Malmendier, Ulrike, and Klaus M. Schmidt. 2017. “You Owe Me.” American Economic Review 107 (2): 493–526. doi:10.1257/aer.20140890.

Sautmann, Anja. 2013. “Contracts for Agents with Biased Beliefs: Some Theory and an Experiment.” American Economic Journal: Microeconomics 5 (3): 124–56.

Sutter, Matthias, Martin G. Kocher, Daniela Glätzle-Rüetzler, and Stefan T. Trautmann. 2013. “Impatience and Uncertainty: Experimental Decisions Predict Adolescents’ Field Behavior.” American Economic Review 103 (1): 510–31. doi:10.1257/aer.103.1.510.

Tanaka, Tomomi, Colin F. Camerer, and Quang Nguyen. 2010. “Risk and Time Preferences: Linking Experimental and Household Survey Data from Vietnam.” American Economic Review 100 (1): 557–71. doi:10.1257/aer.100.1.557.

Voors, Maarten J, Eleonora EM Nillesen, Philip Verwimp, Erwin H Bulte, Robert Lensink, and Daan P Van Soest. 2012. “Violent Conflict and Behavior: A Field Experiment in Burundi.” The American Economic Review 102 (2). American Economic Association: 941–64.

Lessons and comments on reproducibility

The instructor gleaned the following lessons. First, though data are readily available in most circumstances, in many cases some of the data may not be available for reproduction. Second, even when data are available, the paper may be too hard for students to reproduce in the available time unless the instructor has substantial amounts of time to facilitate the students’ work and provide substantial assistance. Lastly, and most reassuringly, many students are motivated by the quest to confirm or overturn existing research results as they become deeply engaged with the research process and committed to understanding whether and how to verify the results. The projects were improved by the students’ ability to use the free-of-charge resources of R Markdown and R Studio (and using online resources when trying to understand a given statistical problem). Students spent time over fall break and Thanksgiving break collaborating on their projects, which the instructor has not been able to have students do previously because of the licensing constraints over other packages, demonstrating how free and open resources are useful in the context of statistics and behavioral economics instruction.

Students were able fully to reproduce the following papers: Voors et al. (2012), Kube, Maréchal, and Puppe (2012), and Sautmann (2013). In the case of Godlonton and Thornton (2013), though students were able to access the Malawi Longitudinal Study of Families and Health (MLSFH), they could not obtain the paired proprietary data and were unable to reproduce all of the analysis as a result, but they were able to reproduce some of the results from the paper (partial reproducibility). In the case of Guryan and Kearney (2008), the instructor had incorrectly assessed how hard the paper would be to reproduce in the time available, and so changed course mid-way and asked the students to do a partial reproduction with some new work based on the data (they produced some original data visualizations to explain the research question and its corollary results). In the second iteration of the course, students were able fully or partially to reproduce Malmendier and Schmidt (2017), Tanaka, Camerer, and Nguyen (2010), Sutter et al. (2013), Hargreaves Heap and Zizzo (2009), Jensen and Petersen (2017), Ariely, Bracha, and Meier (2009), and Giné, Karlan, and Zinman (2010).

I. Student Comments from Course Feedback

We have selected all comments that referred to R and R Studio. Other comments were often content specific, e.g. commenting on papers, the textbook, etc, so they were excluded.

2015-16: In Response to the question: “What features of this course made the most valuable contributions to your learning?”

  • “The use of R!!! And groupwork”
  • “Great introduction of the R and patient + helpful support from the instructor”
  • “I really liked the in class experiments and the emphasis on R.”
  • “I think the 4 experiments and subsequent experimental reports were one of the most helpful features of the course. This gave us an idea of some of the actual tests performed in behavioral economics, rather than just showing us the results of all these experiments. Also, the experience with R-studio is valuable not just to this course, but is also a valuable experience to have in the future.”
  • “Was introduced to a basic form of computer programming; R studio”"
  • “I think using R was extremely helpful.”
  • "Thinking about econ from a different perspective, and learning R.
  • “We learnt R, and final project is fun”

2017-18: In Response to the question: “What features of this course made the most valuable contributions to your learning?”

  • “Learning R, experiment reports, labs, group work, availability for office hours”
  • “Learning more about R and [course topic anonymized]”
  • “I like the textbook and the fact that we used R. Datacamp turned out to be useful eventually. Lectures were interesting. Appreciated the amount of support that was available outside of class (extended office hours at critical times, piazza).”
  • “Group project- I enjoyed working with my group a lot!R - it was difficult for me but I think it was worthwhile in helping us interact and interpret dataexternal article readings - first time really reading these for an econ class, i felt like my ability and confidence to read them have increased since the beginning of the course”
  • “I appreciated the instructions on using Rstudio”

J. Program Capabilities

Program Capability R and R Markdown Stata
Notebook ability: produce output in document as you proceed Yes, R Markdown as a Lab Notebook No
Produces multiple export formats Yes, all using R Markdown with markdown syntax do files with different syntaxes, format-specific syntax in, e.g. dyndoc. Limited format types.
Move between code and prose easily Yes, code is in “code chunks” and can use R or other types of code, e.g. Python; prose is in between the code chunks. No. Output produced then cut and paste into documents or used with scripted LaTeX
Connecting different functions to each other Yes, tidyverse package uses the magrittr pipe No
Point and click figures Yes, in the mosaic package (code produced); else code in ggplot package Yes, built in; else code for twoway
Point and click importing of data Yes, in RStudio (using the tidyverse) and shows code Yes, similarly and built in; shows code
Server/Cloud Edition (to ease teaching/collaboration) Yes, R Studio Server (free to educational institutions) and R Studio Cloud No, not as yet.

K. Other Comments: R as an inter-disciplinary Tool

There are a variety of benefits for using language and documents, like R and R Markdown, that many departments outside of economics use. At the institutions where the authors teach there are a variety of support structures to assist students in learning statistics and statistical programming software. For example, at one institution there are tutors in the quantitative learning center who all have experience with R Markdown and who can act as tutors for statistical and econometric concepts. Furthermore, the statistics department has additional resources: a statistics fellows program where the fellows have drop-in hours available both to faculty and to students. Though institutions may not have such infrastructure in place at first, as it develops over time it provides excellent opportunities for students to hone their skills and to work as peer tutors.