Skip to content

Estimating Difference-in-Differences in the Presence of Spillovers -- Algorithm in Stata, R and MATLAB

Notifications You must be signed in to change notification settings

damiancclarke/cdifdif

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#-------------------------------------------------------------------------------
README for cdifdif routines
2017-09-17

Damian Clarke
damian.clarke@usach.cl
#-------------------------------------------------------------------------------

     This folder contains implementations of the Spillover-Robust Difference-in-
Differences methodology described in Clarke (2017). These are provided for Stata
MATLAB/Octave, and R (R version currently under construction). Individual progr-
am files and documentation is available for each language in the respective sub-
directory. 

Additional details related to theory and estimation are available in the paper
at:
  https://sites.google.com/site/damiancclarke/research/Clarke_Spillovers.pdf

Full replication code including an empirical application using the prorgram code
in Stata is available in the example directory of this repository.  In order to
replicate the empirical example in Stata, the estdata_munic.dta.zip file should
be unzipped, and then the resultsMunic.do file should be run, changing the loca-
tion of the globals on lines 37 and 38 of this file.  In order to replicate the
simulation results from the paper, the program monteCarloSpill.m from the direc-
tory "example/MonteCarlo" should be run in Matlab or Octave.

About

Estimating Difference-in-Differences in the Presence of Spillovers -- Algorithm in Stata, R and MATLAB

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published