Let's say I have a dataset with 10,000 observations consisting of two variables. "Occupation" and "income". There are 5 different occupations in the dataset.
I would like to get rid of highest 10% of observed income levels for each occupation.
Can anybody help me on how to crack this with SAS or send me a simple code?
THanks in advance
... View more