Skip to content
No description, website, or topics provided.
Jupyter Notebook Stata Python TeX MATLAB
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Replication files for "Estimating Grouped Patterns of Heterogneity in Repeated Public Goods Experiments"

We used Python 2.7, Stata 14 and Matlab R2015b.

Replication Guide

Fischbacher and Gächter (2010) data setup

  • Obtain the dataset from Fischbacher and Gächter (2010) and unzip it into data/new data zip file.
  • Set the variable project_path in stata/ to the project root directory.
  • Run

deOliveira et al. (2015) data setup

  • Obtain the dataset from deOliveira et al. (2015) and unzip it into data/deOliveira2015.
  • Set the variable project_path in stata/ to the project root directory.
  • Run

Grouped-Fixed-Effects in Python

  • Run FG2010.ipynb and deOliveira2015.ipynb.
  • The bootstrapped standard errors are computed inBootstrapped_Standard_Errors.ipynb.
  • Run to convert the Python output to Stata *.dta files.

C-Lasso in Matlab

  • Setup the replication files by Zhentao Shi. Our code requires generic_functions/SSP_PLS_est.m and app_saving_PLS/hat_IC.m.
  • Run FG2010.m and Oliveira2015.m.
  • For the information criterion, see lambda.m.

Tables/Figures in Stata

  • Run to convert the Python/Matlab output to Stata *.dta files.
  • Run to obtain Tables 1 and 2.
  • Run to obtain Table 3 (Panel B requires data by Fallucci et al. (2018) ).
You can’t perform that action at this time.