Hi is it possible to sort two variables for example by id number and sex. So if I have the following data:
1. Female
2. Female
3. Female
4. Male
5. Female
6. Male
7. Male
8. Female
9. Male
10. Male
Can I sort it to be:
1. Female
2. Female
3. Female
5. Female
8. Female
4. Male
6. Male
7. Male
9. Male
10. Male
Related Posts with Sort two variables simultaneously
Difference in difference on a cross sectional data set with small number of cluster groupHi, it is on an urgent basis I am running the following regression: with and without mean group ave…
when I used the command copy ,I encounted "Java installation not found".I am currently intereted in using stata to do webcrawler.When I want to copy the content in https://…
Demand estimation using Berry's modelDear all, I am working on demand estimation for automobiles. Applying Berry's model. My dependent v…
haw to make tp fp fn tn on left of accuracy forest plot ?hello , I am a new one for stata ,and i was doing a accuracy analysis ,after my code running ,I got …
Importing SPSS data file into STATA by usespss command, but the date variable did not as expected.Dear statalists, I imported the SPSS data file into STATA by using "usespss" command. But the date …
Subscribe to:
Post Comments (Atom)
0 Response to Sort two variables simultaneously
Post a Comment