Skip to content

mariomolinam/cooperation_with_strangers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

"Cooperation with Strangers: Spillover of Community Norms"*

By Mario Molina, Victor Nee, and Hakan Holm

(This article is published at Organization Science - click here)


Instructions to reproduce the study

This repository includes all materials to reproduce the results on the paper using observational and experimental data. To reproduce all the results on the paper, open a terminal or command line in your computer and write Rscript master.R. All R libraries used for the analyses will be automatically installed before reproducing the results on the paper. Make sure that you are in the right folder on the terminal when you use Rscript (i.e., the folder where the materials were downloaded). All results will be stored in a new folder named results.

All code is written in R.

Important Note: On this Github repository, visitors can only see the code to reproduce results that use observational data (i.e., the Yangzi Delta study). To download the data that matches the code, please visit the Cornell Institute for Social and Economic Research (CISER). You must agree to use these data only to reproduce the results on the paper.

Pre-registration materials for the two experimental studies on the paper can be found on the following links:


File description

  • ./master.R: Code that runs all files within the ./code folder. It uses relative paths to create new folders.

  • ./code/yangzi-delta_study.R: A file that reproduces analyses using data from a large random sample of CEOs of manufacturing firms in the Yangzi River Delta region of China.

  • ./code/mturk_study.R: A file that reproduces analyses from the online experiment on Amazon Mechanical Turk (AMT).

  • ./code/credamo_study.R: A file that reproduces analyses from the online experiment on Credamo (a Chinese crowdsourcing site similar to AMT).

  • data/: A folder with the data used for analyses. It contains three two .csv files:

    • ./data/yangzi-delta_data_all.csv
    • ./data/mturk_data_all.csv
    • ./data/credamo_data_all.csv

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages