Code:
sysuse auto2.dta tabstat price mpg turn, by(foreign)
foreign | price mpg turn
---------+------------------------------
Domestic | 6072.423 19.82692 41.44231
Foreign | 6384.682 24.77273 35.40909
---------+------------------------------
Total | 6165.257 21.2973 39.64865
----------------------------------------
Is it possible to make it so that "Domestic" and "Foreign" are the two columns, and price, mpg, turn values are rows?
0 Response to Exchange axes of tabstat
Post a Comment