Tag Archives: data


I like data. I believe in collecting data and analyzing it to see interesting trends. And it’s always sad to lose data, because then I lose opportunities to analyze said data.

One piece of data that I find interesting is sleep. The amount of sleep that I get each night strongly affects how happy and productive I am, and I want to analyze this data to see if there is anything that I can learn about my sleep patterns. So I’ve been recording my nightly sleep schedule — when I go to sleep and when I wake up. The hope is that I can eventually produce pretty graphs of when I sleep. It pains me to think that some people could be recording their sleep schedules too, but instead fail to do so out of laziness.

I’ve been recording sleep data since 13 March 2012 (excluding naps, e.g. boring classes; all times approximate and rounded to the nearest five minutes), and I can already see some patterns. The full analysis hasn’t happened yet (I plan to wait until I have more data), but here’s some preliminary statistics (as of today, August 26).

Average since March 13: 7:59:21
Maximum: 12:29 on March 29
Minimum: 0:00 on March 24 (thanks to red-eye flight)
Minimum positive time: 2:45 on June 3 (thanks to ARML)
Standard Deviation: 1:27:08

I think I’ve been sleeping more (and more normally!) over the summer:
7-Day Average: 8:41:25
15-Day Average: 8:39:20
30-Day Average: 8:29:52

Let’s hope that this trend continues!

There have been a couple of erratic weeks:
Maximal 7-Day Standard Deviation: 4:14:15 (week ending March 30)
And some very regular weeks:
Minimal 7-Day Stanford Deviation: 0:04:30 (week ending April 15, a week of times between 8:00:00 and 8:10:00)

Conveniently, recording sleep data also makes me realize when I’m not sleeping enough and motivates me to sleep more. Which is a good thing.