SlideShare a Scribd company logo
1 of 15
Download to read offline
A Quest For Better Sleep
(with Fitbit data analysis)
Alex Martinelli | @5agado
Index
● Why?
● The Data
● Exploring Sleep Data
● The Heatmap Case
● Correlation
● What’s Next?
2/15
Why?
Be your own data scientist!
Learn..
How data “works”: play with it, learn about tools, statistics and biases.
Learn to give a meaning to data < learn to give a proper meaning to data.
..and Learn
How you “work”: an app dashboard is not enough.
Investigation based on your needs and knowledge: insight, diagnosis, experiments
and improvements.
3/15
The Data
Premise: sleep trackers and their inherent inaccuracy
The Fitbit case
Getting your data is not as easy as expected, considering that is YOUR data.
Options: premium plan, scraping or APIs (again with limitations)
Data format (cleaned)
For each minute: 0=None (no measure taken), 1=Sleeping, 2=Restless, 3=Awake
Sleeping periods can be manually recorded, or are otherwise recognized
automatically (based on amount of time you didn’t move, so there are limitations).
4/15
Data image (table)
Exploring Sleep Data
Basic Stats
- sleep efficiency, hours of sleep...
Timing Stats
- to bed time, wake up time
- sleep intervals
Intraday Stats (minute to minute analysis)
Aggregation (hour, weekday, month, year)
Correlation
6/15
7/15
8/15
“Looks cool, but what does it mean?”
[cit. everyone]
9/15
Minute Sleep Quality
For each minute, what percentage of recorded “times in bed” I was actually asleep
10/15
Correlation
Premise: just observations. We need more formal experiments to show causal
connections.
● No correlation between steps and sleep quality (see next slide image)
● Daily heart resting rate negatively correlates with sleep efficiency
● Alcohol: asleep instantly, less restless, but more awakenings
● Supplements
Melatonin: decrease in sleep efficiency, while minor increase with 5HTP
Not enough data for vitamin B complex
11/15
12/15
What’s Next?
● More data for correlation (drinking, eating, activity, cognitive performances,
habits and routines)
● Self experimentation to support causal relationship hypotheses
● Demographics
● Predictive models?
● Real quality data: EEG integration
● A personal quirky case: lucid dreaming
13/15
Q&A
Useful Links
1. Introductory article for this project
(https://medium.com/@5agado/a-quest-for-better-sleep-with-fitbit-data-analysis-5f10b3f548a#.925f35k2f)
2. Github repository with project code (https://github.com/5agado/fitbit-analyzer)
3. Intraday data via personal apps - Fitbit announcement post
(https://community.fitbit.com/t5/Web-API/Intraday-data-now-immediately-available-to-personal-apps/td-p/1014524)
4. Study on Fitbit accuracy on sleep measurements (https://www.ncbi.nlm.nih.gov/pubmed/21971963)
5. Cross-sectional study on the validity of consumer-level wearables
(https://ijbnpa.biomedcentral.com/articles/10.1186/s12966-015-0201-9)
15/15

More Related Content

What's hot

Influx/Days 2017 San Francisco | Baron Schwartz
Influx/Days 2017 San Francisco | Baron SchwartzInflux/Days 2017 San Francisco | Baron Schwartz
Influx/Days 2017 San Francisco | Baron SchwartzInfluxData
 
Big data chicago v2 5 14 14
Big data chicago v2 5 14 14Big data chicago v2 5 14 14
Big data chicago v2 5 14 14Tim Gilchrist
 
Understanding randomness
Understanding randomnessUnderstanding randomness
Understanding randomnesssuncil0071
 
Introduction to machine learning
Introduction to machine learningIntroduction to machine learning
Introduction to machine learningKoundinya Desiraju
 
MLSEV Virtual. Predictions
MLSEV Virtual. PredictionsMLSEV Virtual. Predictions
MLSEV Virtual. PredictionsBigML, Inc
 
MLSEV Virtual. Automating Model Selection
MLSEV Virtual. Automating Model SelectionMLSEV Virtual. Automating Model Selection
MLSEV Virtual. Automating Model SelectionBigML, Inc
 
Data Journalism 2: Interrogating, Visualising and Mashing
Data Journalism 2: Interrogating, Visualising and MashingData Journalism 2: Interrogating, Visualising and Mashing
Data Journalism 2: Interrogating, Visualising and MashingPaul Bradshaw
 
Hustling 101: Business Metrics for Your Website
Hustling 101: Business Metrics for Your WebsiteHustling 101: Business Metrics for Your Website
Hustling 101: Business Metrics for Your Websiteflowtown
 
Splunk live! Customer Presentation – Prelert
Splunk live! Customer Presentation – PrelertSplunk live! Customer Presentation – Prelert
Splunk live! Customer Presentation – PrelertSplunk
 
Distributions: Normal with Matt Hansen at StatStuff
Distributions: Normal with Matt Hansen at StatStuffDistributions: Normal with Matt Hansen at StatStuff
Distributions: Normal with Matt Hansen at StatStuffMatt Hansen
 
SplunkLive! Prelert Session - Extending Splunk with Machine Learning
SplunkLive! Prelert Session - Extending Splunk with Machine LearningSplunkLive! Prelert Session - Extending Splunk with Machine Learning
SplunkLive! Prelert Session - Extending Splunk with Machine LearningSplunk
 
Data Science Methodology for Analytics and Solution Implementation
Data Science Methodology for Analytics and Solution ImplementationData Science Methodology for Analytics and Solution Implementation
Data Science Methodology for Analytics and Solution ImplementationRupak Roy
 
MLSEV Virtual. State of the Art in ML
MLSEV Virtual. State of the Art in MLMLSEV Virtual. State of the Art in ML
MLSEV Virtual. State of the Art in MLBigML, Inc
 
Freeblade - A retrospective
Freeblade - A retrospectiveFreeblade - A retrospective
Freeblade - A retrospectivedeltaDNA
 
HadoopSummit2015_SelfEvolvingModels
HadoopSummit2015_SelfEvolvingModelsHadoopSummit2015_SelfEvolvingModels
HadoopSummit2015_SelfEvolvingModelspeas2bees
 

What's hot (15)

Influx/Days 2017 San Francisco | Baron Schwartz
Influx/Days 2017 San Francisco | Baron SchwartzInflux/Days 2017 San Francisco | Baron Schwartz
Influx/Days 2017 San Francisco | Baron Schwartz
 
Big data chicago v2 5 14 14
Big data chicago v2 5 14 14Big data chicago v2 5 14 14
Big data chicago v2 5 14 14
 
Understanding randomness
Understanding randomnessUnderstanding randomness
Understanding randomness
 
Introduction to machine learning
Introduction to machine learningIntroduction to machine learning
Introduction to machine learning
 
MLSEV Virtual. Predictions
MLSEV Virtual. PredictionsMLSEV Virtual. Predictions
MLSEV Virtual. Predictions
 
MLSEV Virtual. Automating Model Selection
MLSEV Virtual. Automating Model SelectionMLSEV Virtual. Automating Model Selection
MLSEV Virtual. Automating Model Selection
 
Data Journalism 2: Interrogating, Visualising and Mashing
Data Journalism 2: Interrogating, Visualising and MashingData Journalism 2: Interrogating, Visualising and Mashing
Data Journalism 2: Interrogating, Visualising and Mashing
 
Hustling 101: Business Metrics for Your Website
Hustling 101: Business Metrics for Your WebsiteHustling 101: Business Metrics for Your Website
Hustling 101: Business Metrics for Your Website
 
Splunk live! Customer Presentation – Prelert
Splunk live! Customer Presentation – PrelertSplunk live! Customer Presentation – Prelert
Splunk live! Customer Presentation – Prelert
 
Distributions: Normal with Matt Hansen at StatStuff
Distributions: Normal with Matt Hansen at StatStuffDistributions: Normal with Matt Hansen at StatStuff
Distributions: Normal with Matt Hansen at StatStuff
 
SplunkLive! Prelert Session - Extending Splunk with Machine Learning
SplunkLive! Prelert Session - Extending Splunk with Machine LearningSplunkLive! Prelert Session - Extending Splunk with Machine Learning
SplunkLive! Prelert Session - Extending Splunk with Machine Learning
 
Data Science Methodology for Analytics and Solution Implementation
Data Science Methodology for Analytics and Solution ImplementationData Science Methodology for Analytics and Solution Implementation
Data Science Methodology for Analytics and Solution Implementation
 
MLSEV Virtual. State of the Art in ML
MLSEV Virtual. State of the Art in MLMLSEV Virtual. State of the Art in ML
MLSEV Virtual. State of the Art in ML
 
Freeblade - A retrospective
Freeblade - A retrospectiveFreeblade - A retrospective
Freeblade - A retrospective
 
HadoopSummit2015_SelfEvolvingModels
HadoopSummit2015_SelfEvolvingModelsHadoopSummit2015_SelfEvolvingModels
HadoopSummit2015_SelfEvolvingModels
 

Viewers also liked

Peep Laja, CEO, ConversionXL - How to Turn Data into Insights & Customers
Peep Laja, CEO, ConversionXL - How to Turn Data into Insights & CustomersPeep Laja, CEO, ConversionXL - How to Turn Data into Insights & Customers
Peep Laja, CEO, ConversionXL - How to Turn Data into Insights & CustomersTraction Conf
 
Деяния 9:32-42
Деяния 9:32-42Деяния 9:32-42
Деяния 9:32-42unastik
 
Leidy carvajal actividad 1.2 mapa c
Leidy carvajal actividad 1.2 mapa cLeidy carvajal actividad 1.2 mapa c
Leidy carvajal actividad 1.2 mapa cLeidy Carvajal
 
Gender in the NBDC
Gender in the NBDCGender in the NBDC
Gender in the NBDCILRI
 
Урок - 9, 27 февраля, 2016
Урок - 9, 27 февраля, 2016Урок - 9, 27 февраля, 2016
Урок - 9, 27 февраля, 2016Burac Constantin
 
Romeo and Juliet
Romeo and JulietRomeo and Juliet
Romeo and Julietfartley8
 
TOP 25 WOHNBAUTRÄGER ÖSTERREICHS
TOP 25 WOHNBAUTRÄGER ÖSTERREICHSTOP 25 WOHNBAUTRÄGER ÖSTERREICHS
TOP 25 WOHNBAUTRÄGER ÖSTERREICHSEUREB-Institute
 
XP と脳梗塞
XP と脳梗塞XP と脳梗塞
XP と脳梗塞Ryo Amano
 
Romeo and juliet
Romeo and julietRomeo and juliet
Romeo and julietMike Smith
 
Putting Together the Pieces of a Successful Student Orientation
Putting Together the Pieces of a Successful Student OrientationPutting Together the Pieces of a Successful Student Orientation
Putting Together the Pieces of a Successful Student OrientationSmarterServices Owen
 
MTA-PPKE Magyar Nyelvtechnológiai Kutatócsoport
MTA-PPKE Magyar Nyelvtechnológiai Kutatócsoport MTA-PPKE Magyar Nyelvtechnológiai Kutatócsoport
MTA-PPKE Magyar Nyelvtechnológiai Kutatócsoport Zoltan Varju
 
Sexy HTML with Twitter Bootstrap
Sexy HTML with Twitter BootstrapSexy HTML with Twitter Bootstrap
Sexy HTML with Twitter BootstrapKarthik Gaekwad
 
Hatada_Sebastian _softwarelibre
Hatada_Sebastian _softwarelibreHatada_Sebastian _softwarelibre
Hatada_Sebastian _softwarelibreSebastianHatada
 

Viewers also liked (15)

Peep Laja, CEO, ConversionXL - How to Turn Data into Insights & Customers
Peep Laja, CEO, ConversionXL - How to Turn Data into Insights & CustomersPeep Laja, CEO, ConversionXL - How to Turn Data into Insights & Customers
Peep Laja, CEO, ConversionXL - How to Turn Data into Insights & Customers
 
Деяния 9:32-42
Деяния 9:32-42Деяния 9:32-42
Деяния 9:32-42
 
Leidy carvajal actividad 1.2 mapa c
Leidy carvajal actividad 1.2 mapa cLeidy carvajal actividad 1.2 mapa c
Leidy carvajal actividad 1.2 mapa c
 
Gender in the NBDC
Gender in the NBDCGender in the NBDC
Gender in the NBDC
 
Урок - 9, 27 февраля, 2016
Урок - 9, 27 февраля, 2016Урок - 9, 27 февраля, 2016
Урок - 9, 27 февраля, 2016
 
Romeo and Juliet
Romeo and JulietRomeo and Juliet
Romeo and Juliet
 
TOP 25 WOHNBAUTRÄGER ÖSTERREICHS
TOP 25 WOHNBAUTRÄGER ÖSTERREICHSTOP 25 WOHNBAUTRÄGER ÖSTERREICHS
TOP 25 WOHNBAUTRÄGER ÖSTERREICHS
 
Tuomas_Jokimaki
Tuomas_JokimakiTuomas_Jokimaki
Tuomas_Jokimaki
 
XP と脳梗塞
XP と脳梗塞XP と脳梗塞
XP と脳梗塞
 
Romeo and juliet
Romeo and julietRomeo and juliet
Romeo and juliet
 
Putting Together the Pieces of a Successful Student Orientation
Putting Together the Pieces of a Successful Student OrientationPutting Together the Pieces of a Successful Student Orientation
Putting Together the Pieces of a Successful Student Orientation
 
MTA-PPKE Magyar Nyelvtechnológiai Kutatócsoport
MTA-PPKE Magyar Nyelvtechnológiai Kutatócsoport MTA-PPKE Magyar Nyelvtechnológiai Kutatócsoport
MTA-PPKE Magyar Nyelvtechnológiai Kutatócsoport
 
Três porquinhos
Três porquinhosTrês porquinhos
Três porquinhos
 
Sexy HTML with Twitter Bootstrap
Sexy HTML with Twitter BootstrapSexy HTML with Twitter Bootstrap
Sexy HTML with Twitter Bootstrap
 
Hatada_Sebastian _softwarelibre
Hatada_Sebastian _softwarelibreHatada_Sebastian _softwarelibre
Hatada_Sebastian _softwarelibre
 

Similar to A quest for better sleep

Wearable Horizons: The quantified lifestyle
Wearable Horizons: The quantified lifestyleWearable Horizons: The quantified lifestyle
Wearable Horizons: The quantified lifestylePerini
 
IRJET- An Empirical Study on Effect of Sleep Deprivation
IRJET- An Empirical Study on Effect of Sleep DeprivationIRJET- An Empirical Study on Effect of Sleep Deprivation
IRJET- An Empirical Study on Effect of Sleep DeprivationIRJET Journal
 
Computer games for user engagement in Attention Deficit Hyperactivity Disorde...
Computer games for user engagement in Attention Deficit Hyperactivity Disorde...Computer games for user engagement in Attention Deficit Hyperactivity Disorde...
Computer games for user engagement in Attention Deficit Hyperactivity Disorde...Karel Van Isacker
 
The Hidden Stories Behind Missing Data
The Hidden Stories Behind Missing DataThe Hidden Stories Behind Missing Data
The Hidden Stories Behind Missing DataMaria Wolters
 
AI and Mental Health (MAS.S60): Final Project
AI and Mental Health (MAS.S60): Final ProjectAI and Mental Health (MAS.S60): Final Project
AI and Mental Health (MAS.S60): Final ProjectTogo Kida
 
Statistics in Journalism
Statistics in JournalismStatistics in Journalism
Statistics in JournalismRegina Nuzzo
 
E bay amplify_final
E bay amplify_finalE bay amplify_final
E bay amplify_finalMaria Stone
 
Top 5 tips on how to learn statistics more effectively
Top 5 tips on how to learn statistics more effectivelyTop 5 tips on how to learn statistics more effectively
Top 5 tips on how to learn statistics more effectivelyStat Analytica
 
CIA Intelligence Analysis for Testers
CIA Intelligence Analysis for TestersCIA Intelligence Analysis for Testers
CIA Intelligence Analysis for TestersDan Stewart
 
DTWDIR: AN ENHANCED DTW ALGORITHM FOR AUTISTIC CHILD BEHAVIOUR MONITORING
DTWDIR: AN ENHANCED DTW ALGORITHM FOR AUTISTIC CHILD BEHAVIOUR MONITORING DTWDIR: AN ENHANCED DTW ALGORITHM FOR AUTISTIC CHILD BEHAVIOUR MONITORING
DTWDIR: AN ENHANCED DTW ALGORITHM FOR AUTISTIC CHILD BEHAVIOUR MONITORING ijujournal
 
https://www.academia.edu/81610651/FURTHER_INVESTIGATIONS_ON_DEVELOPING_AN_ARA...
https://www.academia.edu/81610651/FURTHER_INVESTIGATIONS_ON_DEVELOPING_AN_ARA...https://www.academia.edu/81610651/FURTHER_INVESTIGATIONS_ON_DEVELOPING_AN_ARA...
https://www.academia.edu/81610651/FURTHER_INVESTIGATIONS_ON_DEVELOPING_AN_ARA...ijujournal
 
Using fairness metrics to solve ethical dilemmas of machine learning
Using fairness metrics to solve ethical dilemmas of machine learningUsing fairness metrics to solve ethical dilemmas of machine learning
Using fairness metrics to solve ethical dilemmas of machine learningLászló Kovács
 
DETECTING PSYCHOLOGICAL INSTABILITY USING MACHINE LEARNING
DETECTING PSYCHOLOGICAL INSTABILITY USING MACHINE LEARNINGDETECTING PSYCHOLOGICAL INSTABILITY USING MACHINE LEARNING
DETECTING PSYCHOLOGICAL INSTABILITY USING MACHINE LEARNINGIRJET Journal
 
Programming Emotions
Programming EmotionsProgramming Emotions
Programming EmotionsZacharyCurry6
 
IJSRED-V2I5P44
IJSRED-V2I5P44IJSRED-V2I5P44
IJSRED-V2I5P44IJSRED
 
Module 1 introduction to machine learning
Module 1  introduction to machine learningModule 1  introduction to machine learning
Module 1 introduction to machine learningSara Hooker
 
Quantifying the efficacy of ML models at predicting mental health illnesses
Quantifying the efficacy of ML models at predicting mental health illnessesQuantifying the efficacy of ML models at predicting mental health illnesses
Quantifying the efficacy of ML models at predicting mental health illnessesIRJET Journal
 

Similar to A quest for better sleep (20)

Wearable Horizons: The quantified lifestyle
Wearable Horizons: The quantified lifestyleWearable Horizons: The quantified lifestyle
Wearable Horizons: The quantified lifestyle
 
IRJET- An Empirical Study on Effect of Sleep Deprivation
IRJET- An Empirical Study on Effect of Sleep DeprivationIRJET- An Empirical Study on Effect of Sleep Deprivation
IRJET- An Empirical Study on Effect of Sleep Deprivation
 
Computer games for user engagement in Attention Deficit Hyperactivity Disorde...
Computer games for user engagement in Attention Deficit Hyperactivity Disorde...Computer games for user engagement in Attention Deficit Hyperactivity Disorde...
Computer games for user engagement in Attention Deficit Hyperactivity Disorde...
 
SIGIR15-NeuroIR
SIGIR15-NeuroIRSIGIR15-NeuroIR
SIGIR15-NeuroIR
 
The Hidden Stories Behind Missing Data
The Hidden Stories Behind Missing DataThe Hidden Stories Behind Missing Data
The Hidden Stories Behind Missing Data
 
AI and Mental Health (MAS.S60): Final Project
AI and Mental Health (MAS.S60): Final ProjectAI and Mental Health (MAS.S60): Final Project
AI and Mental Health (MAS.S60): Final Project
 
Statistics in Journalism
Statistics in JournalismStatistics in Journalism
Statistics in Journalism
 
E bay amplify_final
E bay amplify_finalE bay amplify_final
E bay amplify_final
 
Top 5 tips on how to learn statistics more effectively
Top 5 tips on how to learn statistics more effectivelyTop 5 tips on how to learn statistics more effectively
Top 5 tips on how to learn statistics more effectively
 
Beyond steps
Beyond stepsBeyond steps
Beyond steps
 
CIA Intelligence Analysis for Testers
CIA Intelligence Analysis for TestersCIA Intelligence Analysis for Testers
CIA Intelligence Analysis for Testers
 
DTWDIR: AN ENHANCED DTW ALGORITHM FOR AUTISTIC CHILD BEHAVIOUR MONITORING
DTWDIR: AN ENHANCED DTW ALGORITHM FOR AUTISTIC CHILD BEHAVIOUR MONITORING DTWDIR: AN ENHANCED DTW ALGORITHM FOR AUTISTIC CHILD BEHAVIOUR MONITORING
DTWDIR: AN ENHANCED DTW ALGORITHM FOR AUTISTIC CHILD BEHAVIOUR MONITORING
 
https://www.academia.edu/81610651/FURTHER_INVESTIGATIONS_ON_DEVELOPING_AN_ARA...
https://www.academia.edu/81610651/FURTHER_INVESTIGATIONS_ON_DEVELOPING_AN_ARA...https://www.academia.edu/81610651/FURTHER_INVESTIGATIONS_ON_DEVELOPING_AN_ARA...
https://www.academia.edu/81610651/FURTHER_INVESTIGATIONS_ON_DEVELOPING_AN_ARA...
 
Using fairness metrics to solve ethical dilemmas of machine learning
Using fairness metrics to solve ethical dilemmas of machine learningUsing fairness metrics to solve ethical dilemmas of machine learning
Using fairness metrics to solve ethical dilemmas of machine learning
 
DETECTING PSYCHOLOGICAL INSTABILITY USING MACHINE LEARNING
DETECTING PSYCHOLOGICAL INSTABILITY USING MACHINE LEARNINGDETECTING PSYCHOLOGICAL INSTABILITY USING MACHINE LEARNING
DETECTING PSYCHOLOGICAL INSTABILITY USING MACHINE LEARNING
 
Programming Emotions
Programming EmotionsProgramming Emotions
Programming Emotions
 
IJSRED-V2I5P44
IJSRED-V2I5P44IJSRED-V2I5P44
IJSRED-V2I5P44
 
Module 1 introduction to machine learning
Module 1  introduction to machine learningModule 1  introduction to machine learning
Module 1 introduction to machine learning
 
Quantifying the efficacy of ML models at predicting mental health illnesses
Quantifying the efficacy of ML models at predicting mental health illnessesQuantifying the efficacy of ML models at predicting mental health illnesses
Quantifying the efficacy of ML models at predicting mental health illnesses
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 

Recently uploaded

B2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxB2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxStephen266013
 
ASML's Taxonomy Adventure by Daniel Canter
ASML's Taxonomy Adventure by Daniel CanterASML's Taxonomy Adventure by Daniel Canter
ASML's Taxonomy Adventure by Daniel Cantervoginip
 
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptxEMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptxthyngster
 
Amazon TQM (2) Amazon TQM (2)Amazon TQM (2).pptx
Amazon TQM (2) Amazon TQM (2)Amazon TQM (2).pptxAmazon TQM (2) Amazon TQM (2)Amazon TQM (2).pptx
Amazon TQM (2) Amazon TQM (2)Amazon TQM (2).pptxAbdelrhman abooda
 
9654467111 Call Girls In Munirka Hotel And Home Service
9654467111 Call Girls In Munirka Hotel And Home Service9654467111 Call Girls In Munirka Hotel And Home Service
9654467111 Call Girls In Munirka Hotel And Home ServiceSapana Sha
 
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)jennyeacort
 
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样vhwb25kk
 
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.pptdokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.pptSonatrach
 
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一
办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一
办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一F La
 
原版1:1定制南十字星大学毕业证(SCU毕业证)#文凭成绩单#真实留信学历认证永久存档
原版1:1定制南十字星大学毕业证(SCU毕业证)#文凭成绩单#真实留信学历认证永久存档原版1:1定制南十字星大学毕业证(SCU毕业证)#文凭成绩单#真实留信学历认证永久存档
原版1:1定制南十字星大学毕业证(SCU毕业证)#文凭成绩单#真实留信学历认证永久存档208367051
 
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdfKantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdfSocial Samosa
 
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip  Call Girls Hauz Khas 9711199012 Call /WhatsappsBeautiful Sapna Vip  Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsappssapnasaifi408
 
9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service
9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service
9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort servicejennyeacort
 
GA4 Without Cookies [Measure Camp AMS]
GA4 Without Cookies [Measure Camp AMS]GA4 Without Cookies [Measure Camp AMS]
GA4 Without Cookies [Measure Camp AMS]📊 Markus Baersch
 
Generative AI for Social Good at Open Data Science East 2024
Generative AI for Social Good at Open Data Science East 2024Generative AI for Social Good at Open Data Science East 2024
Generative AI for Social Good at Open Data Science East 2024Colleen Farrelly
 
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一F sss
 
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...Sapana Sha
 
Call Girls In Dwarka 9654467111 Escorts Service
Call Girls In Dwarka 9654467111 Escorts ServiceCall Girls In Dwarka 9654467111 Escorts Service
Call Girls In Dwarka 9654467111 Escorts ServiceSapana Sha
 

Recently uploaded (20)

B2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxB2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docx
 
ASML's Taxonomy Adventure by Daniel Canter
ASML's Taxonomy Adventure by Daniel CanterASML's Taxonomy Adventure by Daniel Canter
ASML's Taxonomy Adventure by Daniel Canter
 
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptxEMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
 
Amazon TQM (2) Amazon TQM (2)Amazon TQM (2).pptx
Amazon TQM (2) Amazon TQM (2)Amazon TQM (2).pptxAmazon TQM (2) Amazon TQM (2)Amazon TQM (2).pptx
Amazon TQM (2) Amazon TQM (2)Amazon TQM (2).pptx
 
9654467111 Call Girls In Munirka Hotel And Home Service
9654467111 Call Girls In Munirka Hotel And Home Service9654467111 Call Girls In Munirka Hotel And Home Service
9654467111 Call Girls In Munirka Hotel And Home Service
 
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
 
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样
 
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.pptdokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
 
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
 
办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一
办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一
办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一
 
原版1:1定制南十字星大学毕业证(SCU毕业证)#文凭成绩单#真实留信学历认证永久存档
原版1:1定制南十字星大学毕业证(SCU毕业证)#文凭成绩单#真实留信学历认证永久存档原版1:1定制南十字星大学毕业证(SCU毕业证)#文凭成绩单#真实留信学历认证永久存档
原版1:1定制南十字星大学毕业证(SCU毕业证)#文凭成绩单#真实留信学历认证永久存档
 
E-Commerce Order PredictionShraddha Kamble.pptx
E-Commerce Order PredictionShraddha Kamble.pptxE-Commerce Order PredictionShraddha Kamble.pptx
E-Commerce Order PredictionShraddha Kamble.pptx
 
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdfKantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
 
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip  Call Girls Hauz Khas 9711199012 Call /WhatsappsBeautiful Sapna Vip  Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsapps
 
9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service
9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service
9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service
 
GA4 Without Cookies [Measure Camp AMS]
GA4 Without Cookies [Measure Camp AMS]GA4 Without Cookies [Measure Camp AMS]
GA4 Without Cookies [Measure Camp AMS]
 
Generative AI for Social Good at Open Data Science East 2024
Generative AI for Social Good at Open Data Science East 2024Generative AI for Social Good at Open Data Science East 2024
Generative AI for Social Good at Open Data Science East 2024
 
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
 
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
 
Call Girls In Dwarka 9654467111 Escorts Service
Call Girls In Dwarka 9654467111 Escorts ServiceCall Girls In Dwarka 9654467111 Escorts Service
Call Girls In Dwarka 9654467111 Escorts Service
 

A quest for better sleep

  • 1. A Quest For Better Sleep (with Fitbit data analysis) Alex Martinelli | @5agado
  • 2. Index ● Why? ● The Data ● Exploring Sleep Data ● The Heatmap Case ● Correlation ● What’s Next? 2/15
  • 3. Why? Be your own data scientist! Learn.. How data “works”: play with it, learn about tools, statistics and biases. Learn to give a meaning to data < learn to give a proper meaning to data. ..and Learn How you “work”: an app dashboard is not enough. Investigation based on your needs and knowledge: insight, diagnosis, experiments and improvements. 3/15
  • 4. The Data Premise: sleep trackers and their inherent inaccuracy The Fitbit case Getting your data is not as easy as expected, considering that is YOUR data. Options: premium plan, scraping or APIs (again with limitations) Data format (cleaned) For each minute: 0=None (no measure taken), 1=Sleeping, 2=Restless, 3=Awake Sleeping periods can be manually recorded, or are otherwise recognized automatically (based on amount of time you didn’t move, so there are limitations). 4/15
  • 6. Exploring Sleep Data Basic Stats - sleep efficiency, hours of sleep... Timing Stats - to bed time, wake up time - sleep intervals Intraday Stats (minute to minute analysis) Aggregation (hour, weekday, month, year) Correlation 6/15
  • 9. “Looks cool, but what does it mean?” [cit. everyone] 9/15
  • 10. Minute Sleep Quality For each minute, what percentage of recorded “times in bed” I was actually asleep 10/15
  • 11. Correlation Premise: just observations. We need more formal experiments to show causal connections. ● No correlation between steps and sleep quality (see next slide image) ● Daily heart resting rate negatively correlates with sleep efficiency ● Alcohol: asleep instantly, less restless, but more awakenings ● Supplements Melatonin: decrease in sleep efficiency, while minor increase with 5HTP Not enough data for vitamin B complex 11/15
  • 12. 12/15
  • 13. What’s Next? ● More data for correlation (drinking, eating, activity, cognitive performances, habits and routines) ● Self experimentation to support causal relationship hypotheses ● Demographics ● Predictive models? ● Real quality data: EEG integration ● A personal quirky case: lucid dreaming 13/15
  • 14. Q&A
  • 15. Useful Links 1. Introductory article for this project (https://medium.com/@5agado/a-quest-for-better-sleep-with-fitbit-data-analysis-5f10b3f548a#.925f35k2f) 2. Github repository with project code (https://github.com/5agado/fitbit-analyzer) 3. Intraday data via personal apps - Fitbit announcement post (https://community.fitbit.com/t5/Web-API/Intraday-data-now-immediately-available-to-personal-apps/td-p/1014524) 4. Study on Fitbit accuracy on sleep measurements (https://www.ncbi.nlm.nih.gov/pubmed/21971963) 5. Cross-sectional study on the validity of consumer-level wearables (https://ijbnpa.biomedcentral.com/articles/10.1186/s12966-015-0201-9) 15/15