Any idea on how I can get the results of robvar command to excel?
-
Login or Register
- Log in with
putexcel set "robvar.xlsx", sheet(Table1) replace
local row = 2
foreach x in efficient esteem {
local var_lab : variable label `x'
quietly robvar `x' if state==1 & period==0, by(progexp)
putexcel A`row'=("`var_lab'") ///
B`row'=(r(mu_1)) C`row'=(r(sd_1)) D`row'=(r(N_1)) ///
E`row'=(r(mu_1)) F`row'=(r(sd_1)) G`row'=(r(N_1)) //
local row `++row'
}
Comment