Home › Forums › ASDOC : Easy Publication Quality Tables in Stata › asdoc tab command with two bysort variables
Hello Dr. Shah,
Thank you for ASDOC.
I’m having the following issue. I followed your website blog, which had other users ask the same question. However, I cannot solve it.
I want to display summary statistics for hospital ownership status (for profit, not for profit, and government owned).
I want to tab it by whether or not they are before or after 2017.
So I use:
bysort year: asdoc tab own, replace
However, the issue is that it only displays the value of asdoc of all years summed, not before/after 2017.
I need it to display:
Do you have any suggestions?
Dunc Williams, Jr., PhD
Enter something special: