{"id":6190,"date":"2017-06-26T15:00:36","date_gmt":"2017-06-26T19:00:36","guid":{"rendered":"http:\/\/www.decisionsciencenews.com\/?p=6190"},"modified":"2017-06-27T09:34:56","modified_gmt":"2017-06-27T13:34:56","slug":"weighted-population-density","status":"publish","type":"post","link":"https:\/\/www.decisionsciencenews.com\/?p=6190","title":{"rendered":"Weighted population density"},"content":{"rendered":"<p>DENSITY THE AVERAGE PERSON EXPERIENCES<\/p>\n<p style=\"text-align: center;\">\n<a href=\"http:\/\/www.decisionsciencenews.com\/wp-content\/uploads\/2017\/06\/state_v_unweighted_and_weighted_density.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.decisionsciencenews.com\/wp-content\/uploads\/2017\/06\/state_v_unweighted_and_weighted_density.s.png\" alt=\"\" width=\"485\" height=\"646\" class=\"aligncenter size-full wp-image-6202\" srcset=\"https:\/\/www.decisionsciencenews.com\/wp-content\/uploads\/2017\/06\/state_v_unweighted_and_weighted_density.s.png 485w, https:\/\/www.decisionsciencenews.com\/wp-content\/uploads\/2017\/06\/state_v_unweighted_and_weighted_density.s-225x300.png 225w\" sizes=\"auto, (max-width: 485px) 100vw, 485px\" \/><\/a><br \/>\n<b><i>CLICK TO ENLARGE<\/i><\/b>\n<\/p>\n<p>In Alaska, there&#8217;s about one person for each square mile of land.<\/p>\n<p>You might picture a typical Alaskan not being able to see the next house.<\/p>\n<p>But it&#8217;s not that way of course.<\/p>\n<p>Most of Alaska is uninhabited. People have crowded into a few areas. <\/p>\n<p>The average Alaskan experiences a population density of about 72 people per square mile.  <\/p>\n<p>That&#8217;s a lot more than one.<\/p>\n<p>In the <a href=\"https:\/\/www.r-project.org\/\">R<\/a> code below, we roughly estimate the weighted population density for each US state, that is, the population density that the average person experiences. We do this for each state by taking the average of its counties&#8217; population densities, weighted by the population of each county. It would be even better to do this for smaller areas, such as census tracts, but we were too lazy to chase down the data.<\/p>\n<p>In the figure at the top of this post, we see the weighted and unweighted population densities for each state.<\/p>\n<p>Note how New Jersey has a higher population density than New York, but when you look at what the average person experiences, it flips.<\/p>\n<p>Amazingly, the average person in New York State shares a square mile with more than 10,000 other residents!<\/p>\n<p>What states have the biggest ratios of weighted to unweighted densities? The chart below shows states with a 10x or greater ratio in blue.<\/p>\n<p style=\"text-align: center;\">\n<a href=\"http:\/\/www.decisionsciencenews.com\/wp-content\/uploads\/2017\/06\/unweighted_v_weighted_density.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.decisionsciencenews.com\/wp-content\/uploads\/2017\/06\/unweighted_v_weighted_density.s.png\" alt=\"\" width=\"485\" height=\"485\" class=\"aligncenter size-full wp-image-6204\" srcset=\"https:\/\/www.decisionsciencenews.com\/wp-content\/uploads\/2017\/06\/unweighted_v_weighted_density.s.png 485w, https:\/\/www.decisionsciencenews.com\/wp-content\/uploads\/2017\/06\/unweighted_v_weighted_density.s-150x150.png 150w, https:\/\/www.decisionsciencenews.com\/wp-content\/uploads\/2017\/06\/unweighted_v_weighted_density.s-300x300.png 300w\" sizes=\"auto, (max-width: 485px) 100vw, 485px\" \/><\/a><br \/>\n<br \/>\n<b><i>CLICK TO ENLARGE<\/i><\/b>\n<\/p>\n<p>Here are the states with the biggest ratios:<\/p>\n<p>Alaska &#8211; The average person experiences a population density that is 62 times greater than the state&#8217;s density.<br \/>\nNew York &#8211; 39 times<br \/>\nNebraska &#8211; 24 times<br \/>\nUtah &#8211; 21 times<br \/>\nColorado &#8211; 16 times<br \/>\nMinnesota &#8211; 14 times<br \/>\nOregon &#8211; 13 times<br \/>\nNew Mexico &#8211; 12 times<br \/>\nKansas &#8211; 12 times<br \/>\nTexas &#8211; 12 times<br \/>\nIllinois &#8211; 12 times<\/p>\n<p>R CODE FOR THOSE WHO WISH TO FOLLOW ALONG AT HOME<\/p>\n<p>Want to tinker with this yourself? <\/p>\n<p>Here <a href=\"http:\/\/www.decisionsciencenews.com\/wp-content\/uploads\/2017\/06\/DEC_10_SF1_GCTPH1.US05PR.csv\">have the data<\/a>, or download it from the URL in the source code.<\/p>\n<p><script src=\"https:\/\/gist.github.com\/dggoldst\/6de5345d19b2891408e200a450f6f317.js\"><\/script><\/p>\n<p>H\/T <a href=\"https:\/\/twitter.com\/jakehofman\">Jake Hofman<\/a> for getting me to do this and talking R.<br \/>\nH\/T to <a href=\"http:\/\/hadley.nz\/\">Hadley Wickham<\/a> for creating the <a href=\"http:\/\/tidyverse.org\/\">tidyverse<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>DENSITY THE AVERAGE PERSON EXPERIENCES CLICK TO ENLARGE In Alaska, there&#8217;s about one person for each square mile of land. You might picture a typical Alaskan not being able to see the next house. But it&#8217;s not that way of course. Most of Alaska is uninhabited. People have crowded into a few areas. The average [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[4,16,74],"tags":[1598,612,881,1360,1195,1192,1597,1596,140,1595,1191,1208,956,614,732,1594],"class_list":["post-6190","post","type-post","status-publish","format-standard","hentry","category-encyclopedia","category-ideas","category-r","tag-alaska","tag-america","tag-average","tag-counties","tag-county","tag-density","tag-least","tag-most","tag-new-york","tag-person","tag-population","tag-r","tag-states","tag-united","tag-usa","tag-weighted"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p4LKj-1BQ","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.decisionsciencenews.com\/index.php?rest_route=\/wp\/v2\/posts\/6190","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.decisionsciencenews.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.decisionsciencenews.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.decisionsciencenews.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.decisionsciencenews.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6190"}],"version-history":[{"count":22,"href":"https:\/\/www.decisionsciencenews.com\/index.php?rest_route=\/wp\/v2\/posts\/6190\/revisions"}],"predecessor-version":[{"id":6263,"href":"https:\/\/www.decisionsciencenews.com\/index.php?rest_route=\/wp\/v2\/posts\/6190\/revisions\/6263"}],"wp:attachment":[{"href":"https:\/\/www.decisionsciencenews.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6190"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.decisionsciencenews.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6190"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.decisionsciencenews.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6190"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}