5 Stories: Heart and Sleep

Recently ABC News (and others) ran a story about how doctors in Sweden discovered an increase in heart attacks every year when the clocks spring forward and similarly a decrease in heart attacks when the clocks fall back. What’s surprising about ABC’s coverage is that the graphics they ran with the story were completely irrelevant to the issue.VideoShot

This story is a natural for a data graphic. Indeed most folks probably drew a mental picture similar to the one below, clearly showing an increase in heart attacks the week after the switch to daylight savings time and clearly showing a decrease the week after the switch back. (Many might have thought the pop was bigger, but the image below is scaled to represent a 5% increase over the average trend.)
Any single year may not have been so clear cut. The story said that the change in heart attacks was about 5%, but did not mention what the normal variation from day to day was. The sample above reflects a 1% daily variation with a 5% variation on the daylight savings time change. The difference is easy to see.

It could be that the daily variation was also on the order of 5% making the annual DST change harder to see in any given year. See for example the image below.
However given a choice between informative but idealized graphic (the first chart above) or useless and irrelevant graphic (what ABC ran with), which would you use? Which would you rather see?SimulationSnapshot

Finally even if the daily variation was the same as the annual DST variation, a simple and accurate graphic could have been made. If every year the switch to DST increases heart attacks by 5% then over a period of several years the trend should become clear. Imagine, for example, that every day you flip a coin, but that each March 31st that coin lands heads up. On any given year it is impossible to detect this effect, but after 10 years, you should notice that it lands heads up 5 times on March 30, 5 times on April 1, and all 10 times on March 31; a bizarre but detectable pattern. Similarly the simulation below shows this same averaging effect over a 10 year period. (Click on the image to be taken to the simulation.)

The top part of the simulation is a typical year’s data, the bottom part is the average of all the years so far. Let the simulation run for a few simulated years and the change in behavior across daylight saving times boundaries is easy to see.

Note that after a few simulated years of running the average graphic matches up well with the original “minds eye” version above. ABC news could have ran an actual 1-year graphic if that looked like chart #1 above or it could have run a several year average graphic if the 1-year looked like chart #2. Either way, they could have ran a graphic that conveyed information instead of eye-candy to accompany the spoken words.

5 comments for “5 Stories: Heart and Sleep

  1. March 22, 2010 at 12:29 pm

    I hope they took into account that there are fewer hours in the day following the start of DST (i.e. 24-1) and more hours in the day following the end of DST… Funny how 1/24th is about 5%.


  2. numbersguy
    March 22, 2010 at 12:50 pm

    Hi Joshua:

    Ha, pretty funny if true. But if I get your meaning, that effect would be the reverse of what’s being reported. If heart attacks came in at a flat hourly rate, then the switch to DST would reduce the number of hours and thus reduce the number of reported heart attacks.

    Alternatively you could be suggesting that the true rate is actually higher than 5% for the switch to DST as that was 5% over and above a 1/24th shorter day. While that could be true, it would be true only for that day. The report mentioned that heart attacks were at an elevated level for the week following the switch to DST and at a reduced level for the week following the switch back. (I modeled that above as a linear function.) So again, if the simple change in day-length were the cause that wouldn’t explain why the there was an elevated risk the day after the change to DST.

    A graph of the actual data may reveal this bias, of course, it’d be interesting to see a similar graph for heart attack by hour of the day.

  3. BJ
    March 23, 2010 at 6:58 pm

    hmmmm…. drugs?

  4. November 16, 2011 at 5:12 pm

    I am extremely inspired together with your writing skills as neatly as with the layout in your blog. Is that this a paid topic or did you modify it yourself? Anyway stay up the excellent high quality writing, it is rare to see a nice weblog like this one these days..

  5. May 25, 2012 at 2:03 pm

    Wanted to drop a remark and let you know your Feed is not functioning today. I tried including it to my Google reader account and got nothing.

Leave a Reply

Your email address will not be published. Required fields are marked *