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.

How can I do that?