Dear all,

I have recently attempted to generate a descriptive statistic table with the command

Code:
tabstat govtdebt metrde, statistics( mean median ) by(incomelevel)
and it generate the following:



The mean and median is currently in row format.

I was hoping to change it into the column format where the mean median is displayed directly each variable. For example:



Is tabstat or table able to do this? Otherwise what command should I use? Thank you.