Hello all,
I am looking for methods of exporting complex three and four way tables to excel, or exporting multiple tables simultaneously if using the by command. I successfully use tab2xl for most crosstabs with no problems. However that does not cover tables which use super columns or the like. Moreover, my plan is to use the by command to generate multiple tables at the same time is there a way to export them all into an Excel doc with one command. This is the example code below that would generate multiple three way tables. Is there a way to export them all simultaneously?
bysort DEM01B: table ETHNICITY2 DEM02 SEXORIENT, contents(freq)
I can forgo the use of by and do that manually with an 'if' if necessary. But would still like to know if it possible to export three way tables to excel. So any advice appreciated I use Stata 16 so the collect command is unavailable sadly.
I am looking for methods of exporting complex three and four way tables to excel, or exporting multiple tables simultaneously if using the by command. I successfully use tab2xl for most crosstabs with no problems. However that does not cover tables which use super columns or the like. Moreover, my plan is to use the by command to generate multiple tables at the same time is there a way to export them all into an Excel doc with one command. This is the example code below that would generate multiple three way tables. Is there a way to export them all simultaneously?
bysort DEM01B: table ETHNICITY2 DEM02 SEXORIENT, contents(freq)
I can forgo the use of by and do that manually with an 'if' if necessary. But would still like to know if it possible to export three way tables to excel. So any advice appreciated I use Stata 16 so the collect command is unavailable sadly.
Comment