Hi everyone,
I'm currently facing the challenge of exporting a nested cross-tabulation (three variables) with weighted data via the "table" command to Excel in a reasonably sensible manner. Normally, I use the "tabout" command for this, but it seems to only work for cross-tabulations with two variables. I've considered using the "putexcel" command, but this seems relatively laborious and, to my knowledge, is more intended for matrices, for example, after regression analyses. Do you possibly have any idea how I could export my tables to Excel?
My syntax is: table (var1) (var2 var3) [aweight=name_weight]
(I am using Stata 17.0)
Thanks in advance. Sara
I'm currently facing the challenge of exporting a nested cross-tabulation (three variables) with weighted data via the "table" command to Excel in a reasonably sensible manner. Normally, I use the "tabout" command for this, but it seems to only work for cross-tabulations with two variables. I've considered using the "putexcel" command, but this seems relatively laborious and, to my knowledge, is more intended for matrices, for example, after regression analyses. Do you possibly have any idea how I could export my tables to Excel?
My syntax is: table (var1) (var2 var3) [aweight=name_weight]
(I am using Stata 17.0)
Thanks in advance. Sara
Comment