Dear all,
I have a dataset with 4 variables: year, person_id, work_id, work_score. The id variables are string and work_score is numeric. I want to list the top and bottom 5 jobs based on work_score variable with number of observations in each category of job (category is denoted as work_id). When I use the following command:
bys year: extremes work_score, frequencies
It does give me the top and bottom 5 job types with their frequencies but how can it show the work_id alongside the results (in the display window) so that I can identify which job type lies in bottom or top group.
Thanks in advace!
Zariab Hossain
Uppsala University
I have a dataset with 4 variables: year, person_id, work_id, work_score. The id variables are string and work_score is numeric. I want to list the top and bottom 5 jobs based on work_score variable with number of observations in each category of job (category is denoted as work_id). When I use the following command:
bys year: extremes work_score, frequencies
It does give me the top and bottom 5 job types with their frequencies but how can it show the work_id alongside the results (in the display window) so that I can identify which job type lies in bottom or top group.
Thanks in advace!
Zariab Hossain
Uppsala University
Comment