Monday, April 29, 2013

Mapping Z Scores

Z Scores can be an easy and effective way to organize and analyze a dataset with problematic measures of central tendency. Z scores, also known as standard deviation units, demonstrate how far away (positively or negatively) any given data point is away from the mean of that data set. You could just show the difference between the data point and mean, in the original units, but that might not give you as clear a picture of how just how much that point differs from the central tendency.

Take population growth by Virginia county for instance: According to the American Community Survey's 2012 data, most counties are adding people, but some are losing residents. In fact, there's a huge range in population change. Henry County, for instance, has lost 1,185 residents in between 2009 and 2011. Fairfax, in northern Virginia, gained over 36,000 people.

We have also have a significant positive skew here. Look at how much larger the mean is than the median in the below SPSS output:
In fact, only a handful of counties greatly affect the central tendency of the dataset (Surprise! They're in Northern Virginia). The graph below shows how three counties spike far above the generally stable cluster near the x axis.


So the mean and median isn't helping us very much figuring out population change in Virginia. The "average" county isn't adding 1,379 people annually, as the mean would suggest.

That's where measures of dispersion help a lot. SPSS already gave us the standard deviation, so we just take subtract the mean from each value and divide by the standard deviation, and we have Z scores for each county.



Join those Z scores to a shapefile of Virginia, classify under natural Jenks breaks, and voila:



I've been doing a lot of thinking about the Virginia Gubernatorial Race and the changing demographics of the state. And looking at a map like this demonstrates that Democrats really don't need to compete throughout the state in statewide races. They can win by continuing to shore up Northern Virginia, and will continue to with these population changes. Not a bad plan, unless you want to win back the state senate.





2 comments:




  1. With our Call Girls in Gurgaonand escorts services, you may really improve stage of fun by its quality services different. Sure! This assists its people to victory over all the gloom and depressive disorders from your lifestyle and appeases your delicate wishes specifically.So, you may do a trip at web page and can get your wish suggested with an outstanding woman escort. Check our other services also...
    Call Girls in Gurgaon
    Call Girls in Gurgaon
    Call Girls in Gurgaon
    Call Girls in Gurgaon
    Call Girls in Gurgaon
    Call Girls in Gurgaon
    Call Girls in Gurgaon

    ReplyDelete

  2. We have a List of Girls who are in financial problems. They need your help. They are ready to sleep with you in some small amounts. Call us for their contact no and help them.To book an escort just drop a call to the given number and ask them what kind of service you want!. You will also WhatsApp us for the availability of ourIndependent Call Girls in Ahmedabad If you’re in the end determined and ready to enjoy the amusing of being at duration the corporate of one of our beautiful girls. Check our other Services...
    Ahmedabad Call Girls Service
    Call Girls in Hotels in Ahmedabad
    Escorts in Ahmedabad
    Escorts Service in Ahmedabad
    Housewife Escorts in Ahmedabad
    Hi Profile Escorts in Ahmedabad
    Air Hostess Escorts in Ahmedabad
    Call Girls In Ahmedabad

    ReplyDelete