A Quest for Better Sleep with Fitbit Data Analysis

The Analysis

2016–03–13 22:46:00,3
2016–03–13 22:47:00,3
2016–03–13 22:48:00,2
2016–03–13 22:49:00,2
2016–03–13 22:50:00,1

2016–03–14 07:03:00,1
2016–03–14 07:04:00,1
2016–03–14 07:05:00,1
Histograms showing measures distribution, using a default 10 bins.
  • I am awake on average 3 times per night
  • Generally fall asleep in less than 10 minutes
  • 30 minutes restless per night, getting a sleep efficiency of about 90%
  • In bed between 7 to 9 hours, brought down to an average of 7.30 for actual sleep hours.
Point plot of different measures by day of week, showing the estimated mean and confidence intervals.
Boxplots for a sample of monthly sleep measures.
Barplot for daily stats. All the date-range has been considered, leaving empty where no measures have been taken (i.e. forgot to wear the Fitbit)
Heatmap by minutes for the “sleeping” measure. To generate this the count function has been applied for all recorded days, with a column for each time.

Conclusions

--

--

--

Data Scientist @ Zalando Dublin - Machine Learning, Computer Vision and Everything Generative ❤

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
5agado

5agado

Data Scientist @ Zalando Dublin - Machine Learning, Computer Vision and Everything Generative ❤

More from Medium

Pandas Basics (3/7) Position and Label Based Indexing: df.iloc and df.loc

HOW TO FIND UNIQUE VALUES AND THEIR PERCENTAGE DISTRIBUTIONS USING VALUE_COUNTS() IN PYTHON

Exploratory Data Analysis (EDA) Using R

APPROXIMATION ALGORITHMS