Site icon Stata.Professor : Your Partner in Research

asdoc: using two variables with bysort for summary statistics

Dear Dr. Attaullah Shah I hope you are in good health. As you would remember Could you please see the request below. I am running the following command in stata but it does not work to output using asdoc
bysort Country IDType:  sum Var1
when I use the same code without asdoc command, it says too many variables stated, although the output is otherwise produced by stata. I particularly want an output using this command:
bysort Country IDType: asdoc sum Var1
I believe this is something that asdoc fails to output. It would be kind enough if you can clarify this bit. Thanking in anticipation
Exit mobile version