Hi everyone,
I'd like to export my regressions' results in an Excel file. I'm using the estso/esttab functions, however, as I'd like to put multiple regression models in the same sheet, all of them are in the same column which is not so readable. Is there an option in esttab which can separate my models in different columns ? If not, which function could I use ?
Here's my code right below :
local liste_var c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12
eststo clear
foreach var in `liste_var' {
quiet logit `var' i.sexe ib40.dipdet_m ib5.origsoc08ag i.zus i.enf [pw = pond20141516171819]
eststo:margins, dydx(*) post
}
esttab using "$path/resultat_1.xls", cells(b(star fmt(%9.3g)) se(par fmt(%9.2g))) ar2 star(* 0.1 ** 0.05 *** 0.01) gaps unstack wide replace
Thank you !
I'd like to export my regressions' results in an Excel file. I'm using the estso/esttab functions, however, as I'd like to put multiple regression models in the same sheet, all of them are in the same column which is not so readable. Is there an option in esttab which can separate my models in different columns ? If not, which function could I use ?
Here's my code right below :
local liste_var c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12
eststo clear
foreach var in `liste_var' {
quiet logit `var' i.sexe ib40.dipdet_m ib5.origsoc08ag i.zus i.enf [pw = pond20141516171819]
eststo:margins, dydx(*) post
}
esttab using "$path/resultat_1.xls", cells(b(star fmt(%9.3g)) se(par fmt(%9.2g))) ar2 star(* 0.1 ** 0.05 *** 0.01) gaps unstack wide replace
Thank you !
Comment