-
Login or Register
- Log in with
clogit Response $As $Ps if Label==0, group(N_ID) vce(cluster UniqueID) asdoc: margins, dydx ($As)
* Example generated by -dataex-. To install: ssc install dataex clear input float(id a_present a_freq b_freq) 1 0 0 0 2 0 0 1 3 1 2 2 4 1 3 3 5 1 1 3 6 0 0 2 7 1 2 1 8 1 3 2 9 1 1 1 10 1 2 1 end
asdoc tabulate a_present, replace save(dummyresults.rtf) asdoc tabulate a_freq, rowappend save(dummyresults.rtf) asdoc tabulate b_freq, rowappend save(dummyresults.rtf)
net install asdoc, from(http://fintechprofessor.com) replace
option or not allowed r(198);
sum foreign if foreign ==1 loc mean = `r(N)' asdoc reg price mpg, replace nest add(Foreign Obs., `obs')
asdoc reg re78 train age educ black hisp, nocons noci nonum nest append fhc(\b) save(TABLE_II) title(Table II) asdoc reg re78 train age educ black hisp re74 re75, nocons noci nonum nest append fhc(\b) save(TABLE_II) title(Table II)
global cnames coeff Constant t(const) t(var) r2 asdoc logistic low age, t(side) stars wide replace add(age) cnames($cnames) asdoc logistic low lwt, t(side) stars wide add(lwd) asdoc logistic low smoke, t(side) stars wide add(smoke) asdoc logistic low ptl, t(side) stars wide add(ptl)
asdoc logistic low age, nest replace asdoc logistic low lwt, nest asdoc logistic low smoke, nest asdoc logistic low ptl, nest
asdoc logistic low age, or replace asdoc logistic low lwt, or asdoc logistic low i.race, or asdoc logistic low smoke, or asdoc logistic low ptl, or
sysuse auto, clear asdoc reg price mpg headroom , label replace nest
Leave a comment: