Sex | usual_residence | registered_place | income_1 | income_2 |
Male | New York | Washington Dc | 2000 | 2112 |
Female | Washington Dc | Washington Dc | 2522 | 1222 |
Male | New York | Washington Dc | 2133 | 43322 |
Male | New York | New York | 2733 | 2990 |
**bysort Sex: table usual_residence registered_place, c (sum income1)
**tabstat income_1 income_2, stat(sum) by (Sex)
**bysort Sex: tabstat income_1 income_2, stat(sum) by (usual_residence)
0 Response to how to export stata result to excel using table and tabstat command
Post a Comment