* Information at http://www.nber.org/data/aha * You can test your program on 3,029 records of RANDOM * DATA at /home/data/aha/aha-synth. That file has * all the variables, but totally random values. * That will allow you to check for spelling errors, * syntax, etc but give no indication of reality. * Your extract will be returned to your regular * account ( the one with no DUA extension) and * not behind the vpn. * Specify variable names and years needed. log using aha-extract.log ,replace text #delimit ; use fileyear id reg stcd hospn dtbeg dbegm dbegd dbegy dtend dendm dendd dendy dcov fyr fisyr fism fisd fisy cntrl serv servoth radmchi hsacode using /home/data/aha/dta/allyears if fileyear>=2010; #delimit cr summarize saveold aha-extract,replace