Quantcast
Channel: Statalist
Viewing all articles
Browse latest Browse all 73283

Creating a table using stored values from xtsum

$
0
0
Dear all,

I would like to create a table automatically using stored values.

I run a command
Code:
by country: xtsum var1 var2 var2
xtsum plot general descriptive statistics of longitudinal data var1 var2 var2, by each value of the "country" variable.

Now, I would like to do a table with the mean - r(mean) - of var1 var2 var2 for every value of country.

It would be nice to have a similar output:

Code:
country1 country2 country3
var1 6 6 6
va2 7 7 7
var3 8 8 8 

How can I do that?

Viewing all articles
Browse latest Browse all 73283

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>