Home      Discussion      Topics      Dictionary      Almanac
Signup       Login
Stata

Stata

 
Hi. I am new to STATA and don't understand even some basic commands yet. I...
 
Posts  1 - 1  of  1
Stata discussion
 
abankele
06/22/12
Hi.

I am new to STATA and don't understand even some basic commands yet. I need help on how to perform the following functions on my dataset:

I have a panel dataset of Var1, Var2, Var3, Var4, Var5 etc. What I want to do is:

1. Sort Var1 into deciles using Var1
2. Calculate the mean of Var1 in each of the 10 deciles
3. Sort Var1 into deciles using Var1 and Var2 and
4. Again repeat no 2 above and finally
5. Sort Var1 into deciles using Var1 and Var2 and Var3
6. Then no 2 again.

Many thanks in advance for your help.

Abankele