Dear Stata user, i need your help!
I'm quite a new user of Stata, and I'm struggling with a problem that certainly for you will be super easy, could you help me with that?
I'm working with a dataset of 67 cases, those are 67 different occupations. Very basically, I need to "attach" the value of a numeric variable to another numeric variable. In other words, I need to substitute the numerical value of each occupation (that is meaningless, because it depends on the classification system of occupations) with the numerical variable of another variable ("rank", that indicates for each occupation its positions in the ranking of the 'best payed occupations'). So, let's say, in my original data "lawyers" is classified with value = 34, now I want to attach to it the value 1 (because it is the most payed), and this for every occupations.
Could you suggest me how to improve this?
Thank you very much in advance.
Best, G.P.
I'm quite a new user of Stata, and I'm struggling with a problem that certainly for you will be super easy, could you help me with that?
I'm working with a dataset of 67 cases, those are 67 different occupations. Very basically, I need to "attach" the value of a numeric variable to another numeric variable. In other words, I need to substitute the numerical value of each occupation (that is meaningless, because it depends on the classification system of occupations) with the numerical variable of another variable ("rank", that indicates for each occupation its positions in the ranking of the 'best payed occupations'). So, let's say, in my original data "lawyers" is classified with value = 34, now I want to attach to it the value 1 (because it is the most payed), and this for every occupations.
Could you suggest me how to improve this?
Thank you very much in advance.
Best, G.P.
Comment