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
Creating Dummy VariableDear Statalist Experts I need to create a dummy variable from the following variable "A" with top a…
How to combine 2 rows of data into 1 row_Dear stata user, I'm trying to combine 2 or more rows of information into 1 row, because they are a…
Data being destroyed while savingI'm having a very weird problem with data being destroyed while writing/reading into Stata-MP on a s…
Replication code for Stata 14 and Stata16 producing different resultsI ran into a problem where a data replicator could not replicate an item response variable using the…
matching counties based on first two digits for finding similar stateHello, I have a data which shows distance between all counties from another county. This includes a…
Subscribe to:
Post Comments (Atom)
0 Response to Rank Variable for Income, then further for region
Post a Comment