Is there a way to use the collapse command to generate proportion? I have data from NYC sub-boroughs and it gives certain variables in percentage. For example, percent_black, percent_white, I need to collapse/aggregate certain sub-boroughs together. So for example the observations Astoria, Williamsbridge have to be aggregated. I have the population for each individual sub-borough I want to then form new percentage variables based on the sub-boroughs that need to be aggregated. So percent crime in Asotria/Williamsbridge, is there anyway the collapse command can help me? Sorry if this message makes no sense english is not my primary language
-
Login or Register
- Log in with
Comment