


***Description***
This MATLAB code demonstrates some of the claims from the
following paper: 

Martin Huber, Giovanni Mellace and Lukas Laffers: "Sharp IV bounds on average treatment effects on the treated and other populations under endogeneity and noncompliance", Journal of Applied Econometrics, forthcoming


It takes approx ~90seconds on i7 2GHz 16GB RAM)

The script will
-Check that identified set for the share of defiers is an interval for the dataset used in the paper
-Compare the Analytical bounds derived in the paper with the LinProg bounds
-Mechanically check the construction of the proof of the lemma that states that the identified set for the share of defiers is an interval.
-Mechanically check the construction of the proof of the sharpness of the bounds within principal strata.

***Instructions***
Change the MATLABs current directory to the uncompressed folder and run script
summary.m

Files (descriptions are in the header of the m-files):

calculateanalyticboundsonate.m
calculateboundsusinglp.m
calculateouterboundsfordefiers.m
createartificialdataset.m
createlinearprogram.m
displayresults.m
findlowerboundsondefiers.m
identifiedsetisaninterval.m
isintheidentifiedset.m
loaddata.m
summary.m




