04-22-2013 10:57 AM
We are trying to figure out a way to group people in our state by location (actually zipcode lat, long), to find out where reps should be to be efficiently close in order to visit these people. Does anyone have any hints or tricks that they can share? We know how many reps we need in each region but not necessarily where they should be located. We have tried clustering on lat and long but dont get equal sized clusters.
Just interested if anyone has any insight they can share!
04-22-2013 12:22 PM
We are actually trying to come up with a minimization of between people distances right now, we just dont know yet how it is going to turn out. We are manually writing the code for it so it taking some time to tweak and get it to work.
04-22-2013 01:50 PM
By unequal cluster size to you mean the number of people to visit differs per rep? Unless you population is very homogenously distributed I would expect that given a geographic location for a rep.
Anyway, it may be helpful to show which clustering procedure code you used.
04-22-2013 02:08 PM
According to SAS doc, METHOD=COMPLETE in PROC CLUSTER gives you clusters biased toward equal cluster diameters and METHOD=WARD gives you clusters biased toward equal populations.
You will get more accurate distances if you translate lat-long coordinates into UTM X-Y coordinates (use a single zone, of course).