cd C:\WINNT\Profiles\Administrator\Desktop\work\stata

#delimit ;

drop _all;

program drop _all;

set more 1;

log using logittest, replace;

input x y z w;
1 2 1 4;
2 5 0 5;
3 5 0 4;
4 9 1 5;
5 9 1 4;
6 12 0 5;
 end;

list;

logit z y x;
outreg y x using logittable, se nolabel bdec(3) replace;
log close;