Mario Sum perhaps you can try
Code:
bysort id (foreign): asdoc sum trunk
egen group = group(foreign id) label define idl 1 "domestic - small" 2 "domestic - big" 3 "Foreign - small" 4 "Foreign - big" label value group idl bys group : asdoc sum trunk, replace
func_nested_reg(): 3200 conformability error <istmt>: - function returned error r(3200);
asdoc mixed cci opeind_lag1w gdpcapitaw fhouseprw rentsw /// opeind_lag1_mean cgdpcapita_mean cfhousepr_mean crents_mean cconflict_mean /// ccomlaw_mean clandlock_mean cprotestant_mean || cntrynum: opeind_lag1, vce(robust), /// save(Table4.doc) title(Table 4. Effect of political/operational independence on CCI) /// nest append stars cnames(Model 8) add(Operational independence, YES, Random slope, YES)
webuse nlswork mixed ln_w grade age c.age#c.age ttl_exp tenure c.tenure#c.tenure || id: asdoc replay, replace nest
net install asdoc, from(http://fintechprofessor.com) replace
net install asdoc, from(http://fintechprofessor.com) replace
net install asdoc, from(http://fintechprofessor.com) replace
Comment