Hi,
I am fairly new to this forum so please excuse me if I do not follow some guidelines I am not aware of.
My question is for a dataset that contains variables such as Reported Income, Region etc.
I want to create a rank variable between 0 and 1. Essentially I would like to rank all the incomes into a reference group (lowest to highest so that 1 will be the highest income) and divide that number by the total number in the reference group.
My reference group is region, so for example all in London, all in Wales etc.
Related Posts with Rank Variable for Income, then further for region
Reshape long with multiple values in iHi all, I want to reshape my data from Code: * Example generated by -dataex-. For more info, type …
Matching 1-to-1 without replacement when control pool has multiple rows per unitHello! I have a panel of workers (X years X firms). From this panel, I created a sample of workers…
A small clarification!I produce here two codes with a slight difference that produce the same output. These codes are base…
join month and day in a single date variableDear all, I have a variable that corresponds to month in the format "2012m1" and a variable that co…
Exporting Stata output to excelDear All, I have a panel dataset. I calculate the mean of each variable for each cross-section unit…
Subscribe to:
Post Comments (Atom)
0 Response to Rank Variable for Income, then further for region
Post a Comment