Hi. I'm having a little problem with the tab option. I have data that is presented like this:
REGIONS EARNINGS COSTS
Argentina 1 2
Peru 2 4
Brasil 3 6
Argentina 4 8
Peru 5 10
I want to be able to create a table (twoway tab) with the regions on the first colum, and, at least, the mean of earnings/costs (mathematical formula) on the second column. However, as there are repited regions, I wonder if it's necessary to create another variable to summarize this per region or it can be done in a faster way.

Thanks.