Dan K's Blog

May 21

Barbers for Romney -

An article I wrote that analyzes the occupations of donors to Presidential campaigns:

With over 500,000 contributions to the 2012 Romney and Obama campaigns, these contributions represent a lot of money ($177 million, to be exact) and a ton of fascinating data. By counting how often certain job titles appear in these disclosures, we can create a data-driven summary of the degree to which different professions support each candidate. For example, contributions to President Obama’s campaign are 80 percent more likely to be from dancers than those to Gov. Romney’s. And even though Obama enjoys nearly a 30 percent lead with physicians, surgeons favor Romney by almost 200 percent.

Some of the conclusions drawn from this analysis confirm what we already know. First, that retirees are very active politically, accounting for about a quarter of the donations to both campaigns. Since retirees dwarf every other category, they are excluded from the graphs below. Also unsurprising is that executives and financial professionals are more likely to donate to the Romney campaign, while academics, creative professionals and workers in unionized professions favor Obama. For every contribution to Romney’s campaign, Obama receives (again, on a relative basis) 3.12 from architects, 2.65 from designers, 2.37 from those in advertising, and 1.96 from art dealers. By contrast, for every contribution to Obama’s campaign, Romney sees 16.22 from investment bankers, 4.85 from financial advisors, 3.63 from CFOs, and 3.21 from CPAs.

Read the full article here.

Apr 22

What is the safest lane on the highway?

About a week ago, I did something New Yorkers don’t do very often: drive a car. This gave me some time to think. To quote Bob Seger

your thoughts will soon be wandering
the way they always do
when you’re ridin’ sixteen hours
and there’s nothin’ much to do

What I started to ponder was this: what is the safest lane on the highway? There were plausible reasons to think any lane on a three-lane highway was safer than the others:

Without a clear answer, the only option was to turn to the data. Fortunately, the National Highway Traffic Safety Administration (NHTSA) maintains the Crashworthiness Data System (CDS) as part of its National Automotive Sampling System (NASS), which is “detailed data on a representative, random sample of thousands of minor, serious, and fatal crashes.” Unfortunately, from what I could tell, the NASS CDS doesn’t track lane of travel in any structured way.

Nevertheless, one piece of the NASS CDS—the “accident description”—contains a linear narrative of the events leading up to the crash. Further, a large number of these narratives mention specifics lanes. So, I wrote a script to mine the data in two simple steps. First, a narrative had to include one of “three-lane”, “three lane”, “3 lane”, or “3-lane” to be considered relevant. Second, the script scans for the first lane mentioned in a narrative using terms like “right lane,” “lane one,” “1st lane,” “first lane,” “center lane,” and “middle lane.” 

The technique appears to work fairly well. Here are two sample narratives it identified:

Vehicle 1 was heading eastbound on a three lane highway, in lane 1. Vehicle 2, a bus, was parked in lane 1 further east, stopped  after a previous collision. Vehicle 1 failed to reduce speed and struck Vehicle 2.

V1 (1980 Chevy Blazer) was heading South in lane three of a three-lane divided highway (no positive barrier—curb on both sides of grass median) when control was lost. V1 departed its travel lane to the left (East), jumped the median curb, travelled through the grass median and entered the Northbound lanes (three-lane highway, as well) after clearing the second median curb. 

Of the roughly 100,000 accident reports in the raw data, 8,069 mention a three-lane highway. Of those, 4,028 (50%) cite a specific lane: 900 left lane (22%), 1,513 middle lane (38%), and 1,615 right lane (40%):

If we modify the script to count total lane mentions instead of just the first lane mentioned, the results are even more dramatic. The right lane jumps to 10,899 mentions (46% of all mentions), while the middle lane (8,923, 37%) and left lane (4,089, 17%) drop.

So we have our answer: the right lane is the most dangerous lane on the highway, and the left lane is the safest. Granted, the methodology isn’t 100% bulletproof, but I consider it good enough to prove what we already knew—the Eagles had it wrong.

Life in the fast lane 
Surely make you lose your mind