I'm trying to find the 10th and 90th percentile for a set of polling booth observations in multiple towns. An example is as follows:
Town_id...............Voters
10......................100
10......................90
10......................120
11......................95
11......................34
11......................98
As you can see, each polling booth has a different number of voters in the same town. So I'm meant to find out the 10th and 90th percentiles of towns 10, 11, 12, etc.
Any ideas?
Town_id...............Voters
10......................100
10......................90
10......................120
11......................95
11......................34
11......................98
As you can see, each polling booth has a different number of voters in the same town. So I'm meant to find out the 10th and 90th percentiles of towns 10, 11, 12, etc.
Any ideas?
Comment