Hello there!
I am trying to export a frequency table in Excel. For which I am using the tab2xl command. The point is that I don't want the table to show me frequencies, but percentages.
According to Stata's help on the command (help tab2xl), only I should add percentage in the options part. However, when applying the command I get that the option is not allowed. I found no further explanation on the web.
The code I am using is:
Where:
Provincia is var1
Estadoinfo is var2
Thanks in advance for the help.
Paolo Gutierrez
I am trying to export a frequency table in Excel. For which I am using the tab2xl command. The point is that I don't want the table to show me frequencies, but percentages.
According to Stata's help on the command (help tab2xl), only I should add percentage in the options part. However, when applying the command I get that the option is not allowed. I found no further explanation on the web.
The code I am using is:
Code:
tab2xl Provincia Estadoinfo if reg == 24 using 24, col(1) row(1) sheet("B", replace) percentage
Provincia is var1
Estadoinfo is var2
Thanks in advance for the help.
Paolo Gutierrez
Comment