{"id":5903,"date":"2011-11-22T09:40:22","date_gmt":"2011-11-22T09:40:22","guid":{"rendered":"http:\/\/scienceblogs.com\/principles\/2011\/11\/22\/scientific-commuting-the-data\/"},"modified":"2011-11-22T09:40:22","modified_gmt":"2011-11-22T09:40:22","slug":"scientific-commuting-the-data","status":"publish","type":"post","link":"http:\/\/chadorzel.com\/principles\/2011\/11\/22\/scientific-commuting-the-data\/","title":{"rendered":"Scientific Commuting: The Data"},"content":{"rendered":"<p>A few months back, I did a post about <a href=\"http:\/\/scienceblogs.com\/principles\/2011\/08\/scientific_commuting_when_does.php\">estimating the time required for the different routes I take to work<\/a>, looking at the question of whether it&#8217;s better to take a shorter route with a small number of slow traffic lights, or a longer route with a bunch of stop signs. This was primarily conceived as a way to frame a kinematics problem, but I got a bunch of comments of the form &#8220;Aren&#8217;t you an experimentalist? Where&#8217;s the data?&#8221;<\/p>\n<p>Well, here it is:<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/scienceblogs.com\/principles\/wp-content\/blogs.dir\/467\/files\/2012\/04\/i-791fa6859acaabe0058c86ae3331dd3c-commute_data.png\" alt=\"i-791fa6859acaabe0058c86ae3331dd3c-commute_data.png\" \/><\/p>\n<p>This is a histogram plot showing the number of times my morning commute fell into a given ten-second bin over the last couple of months. The blue bars are for the main-road route, with four traffic lights, the red bars are for the back-road route with nine stop signs, and the green bars are a &#8220;hybrid&#8221; route which takes the main road a bit more than half the way to campus, then cuts onto some side streets to skip the last two traffic lights, replacing them with two stop signs and shortening the distance by a fairly trivial amount.<\/p>\n<p><!--more--><\/p>\n<p>I didn&#8217;t do this previously, because it was kind of a pain in the ass&#8211; I had to remember to start the stopwatch app on my phone when I pulled out of the driveway, stop it when I got to work, and record the time and route. As I am emphatically not a morning person, this was not that easy, which is why there are only 35-ish useful data points from 40 weekdays of class.<\/p>\n<p>I think, though, that all the major factors were controlled here. I was teaching five days a week at 9am, so all of the recorded trips are between 8:00 and 9:00 am. I parked in exactly the same lot every day, and close to the same spot within the lot. I strictly alternated routes for most of this time, so each sample has roughly the same number of each day of the week. There was no really dramatic variation in the level of traffic on the drive&#8211; the very slowest point came when I got stuck behind a garbage truck for part of the trip, but that&#8217;s about it.<\/p>\n<p>(I could&#8217;ve doubled the data by timing my drive home as well, but my departure time varied from day to day, and I often needed to run some other errands on the way home, so it would be harder to get clean data.)<\/p>\n<p>So, what&#8217;s the lesson, here? The times for the three routes were pretty similar, as you would expect given the short distances involved. The main-road route took 350 &plusmn; 28 s, the back-street route 380 &plusmn; 24 s, and the hybrid route 316 &plusmn; 22 s. The distributions aren&#8217;t terribly well separated, but it&#8217;s pretty clear that the hybrid is the best of the lot, with the back-street route the worst.<\/p>\n<p>How did my toy model do? The model time for the main-road route was 210s, and the back-road was 300s, which isn&#8217;t all that bad, considering how grossly simplified the model was. The difference between the averages is smaller in reality than in the model, reflecting the fact that when I get stopped at a light, I usually have to sit for a while, whereas the stop signs don&#8217;t produce as much delay. The distribution of times might be slightly wider for the main-road route (which you would expect given the probabilistic aspect of the lights), but the data aren&#8217;t nearly good enough to say anything definite.<\/p>\n<p>So, anyway, there you have it: the definitive scientific analysis of my morning commute. Expect it to appear in print once somebody starts a <cite>Journal of Overanalyzing Everyday Tasks<\/cite>.<\/p>\n<p>(And just to head things off: If you are planning to leave a comment chastising me for driving a five-minute commute rather than walking, you are welcome to bike or walk over here every day and entertain SteelyKid for an hour to make up the productive time I would lose to walking. If you&#8217;re not available to babysit, don&#8217;t bother with that comment.)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A few months back, I did a post about estimating the time required for the different routes I take to work, looking at the question of whether it&#8217;s better to take a shorter route with a small number of slow traffic lights, or a longer route with a bunch of stop signs. This was primarily&hellip; <a class=\"more-link\" href=\"http:\/\/chadorzel.com\/principles\/2011\/11\/22\/scientific-commuting-the-data\/\">Continue reading <span class=\"screen-reader-text\">Scientific Commuting: The Data<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"1","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[663,19,7,147,11],"tags":[],"class_list":["post-5903","post","type-post","status-publish","format-standard","hentry","category-everyday","category-experiment","category-physics","category-playing-with-graphs","category-science","entry"],"_links":{"self":[{"href":"http:\/\/chadorzel.com\/principles\/wp-json\/wp\/v2\/posts\/5903","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/chadorzel.com\/principles\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/chadorzel.com\/principles\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/chadorzel.com\/principles\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/chadorzel.com\/principles\/wp-json\/wp\/v2\/comments?post=5903"}],"version-history":[{"count":0,"href":"http:\/\/chadorzel.com\/principles\/wp-json\/wp\/v2\/posts\/5903\/revisions"}],"wp:attachment":[{"href":"http:\/\/chadorzel.com\/principles\/wp-json\/wp\/v2\/media?parent=5903"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/chadorzel.com\/principles\/wp-json\/wp\/v2\/categories?post=5903"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/chadorzel.com\/principles\/wp-json\/wp\/v2\/tags?post=5903"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}