cap log close clear log using StataLog, replace include "http://staff.pubhealth.ku.dk/~linearpredictors/datafiles/readFever.do" /* Tab 4.1.2 */ egen alcomean=mean(alco), by(alcogroup) logit death alco logit death alcomean log close