Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
mixtape/Do/nsw_experimental.do
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
12 lines (12 sloc)
254 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use https://github.com/scunning1975/mixtape/raw/master/nsw_mixtape.dta, clear | |
su re78 if treat | |
gen y1 = r(mean) | |
su re78 if treat==0 | |
gen y0 = r(mean) | |
gen ate = y1-y0 | |
su ate | |
di 6349.144 - 4554.801 | |
* ATE is 1794.34 | |
drop if treat==0 | |
drop y1 y0 ate | |
compress |