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

DATA SUMMIT 24 Building Real-Time Pipelines With FLaNK
DATA SUMMIT 24  Building Real-Time Pipelines With FLaNKDATA SUMMIT 24  Building Real-Time Pipelines With FLaNK
DATA SUMMIT 24 Building Real-Time Pipelines With FLaNKTimothy Spann
 
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night StandCall Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night Standamitlee9823
 
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night StandCall Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Standamitlee9823
 
➥🔝 7737669865 🔝▻ Thrissur Call-girls in Women Seeking Men 🔝Thrissur🔝 Escor...
➥🔝 7737669865 🔝▻ Thrissur Call-girls in Women Seeking Men  🔝Thrissur🔝   Escor...➥🔝 7737669865 🔝▻ Thrissur Call-girls in Women Seeking Men  🔝Thrissur🔝   Escor...
➥🔝 7737669865 🔝▻ Thrissur Call-girls in Women Seeking Men 🔝Thrissur🔝 Escor...amitlee9823
 
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteedamy56318795
 
➥🔝 7737669865 🔝▻ Dindigul Call-girls in Women Seeking Men 🔝Dindigul🔝 Escor...
➥🔝 7737669865 🔝▻ Dindigul Call-girls in Women Seeking Men  🔝Dindigul🔝   Escor...➥🔝 7737669865 🔝▻ Dindigul Call-girls in Women Seeking Men  🔝Dindigul🔝   Escor...
➥🔝 7737669865 🔝▻ Dindigul Call-girls in Women Seeking Men 🔝Dindigul🔝 Escor...amitlee9823
 
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...amitlee9823
 
hybrid Seed Production In Chilli & Capsicum.pptx
hybrid Seed Production In Chilli & Capsicum.pptxhybrid Seed Production In Chilli & Capsicum.pptx
hybrid Seed Production In Chilli & Capsicum.pptx9to5mart
 
Detecting Credit Card Fraud: A Machine Learning Approach
Detecting Credit Card Fraud: A Machine Learning ApproachDetecting Credit Card Fraud: A Machine Learning Approach
Detecting Credit Card Fraud: A Machine Learning ApproachBoston Institute of Analytics
 
Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...only4webmaster01
 
Discover Why Less is More in B2B Research
Discover Why Less is More in B2B ResearchDiscover Why Less is More in B2B Research
Discover Why Less is More in B2B Researchmichael115558
 
➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men 🔝malwa🔝 Escorts Ser...
➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men  🔝malwa🔝   Escorts Ser...➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men  🔝malwa🔝   Escorts Ser...
➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men 🔝malwa🔝 Escorts Ser...amitlee9823
 
➥🔝 7737669865 🔝▻ mahisagar Call-girls in Women Seeking Men 🔝mahisagar🔝 Esc...
➥🔝 7737669865 🔝▻ mahisagar Call-girls in Women Seeking Men  🔝mahisagar🔝   Esc...➥🔝 7737669865 🔝▻ mahisagar Call-girls in Women Seeking Men  🔝mahisagar🔝   Esc...
➥🔝 7737669865 🔝▻ mahisagar Call-girls in Women Seeking Men 🔝mahisagar🔝 Esc...amitlee9823
 
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort ServiceBDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort ServiceDelhi Call girls
 
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangaloreamitlee9823
 
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...amitlee9823
 
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...Valters Lauzums
 
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...amitlee9823
 

Recently uploaded (20)

DATA SUMMIT 24 Building Real-Time Pipelines With FLaNK
DATA SUMMIT 24  Building Real-Time Pipelines With FLaNKDATA SUMMIT 24  Building Real-Time Pipelines With FLaNK
DATA SUMMIT 24 Building Real-Time Pipelines With FLaNK
 
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night StandCall Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
 
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night StandCall Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
 
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
➥🔝 7737669865 🔝▻ Thrissur Call-girls in Women Seeking Men 🔝Thrissur🔝 Escor...
➥🔝 7737669865 🔝▻ Thrissur Call-girls in Women Seeking Men  🔝Thrissur🔝   Escor...➥🔝 7737669865 🔝▻ Thrissur Call-girls in Women Seeking Men  🔝Thrissur🔝   Escor...
➥🔝 7737669865 🔝▻ Thrissur Call-girls in Women Seeking Men 🔝Thrissur🔝 Escor...
 
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
 
➥🔝 7737669865 🔝▻ Dindigul Call-girls in Women Seeking Men 🔝Dindigul🔝 Escor...
➥🔝 7737669865 🔝▻ Dindigul Call-girls in Women Seeking Men  🔝Dindigul🔝   Escor...➥🔝 7737669865 🔝▻ Dindigul Call-girls in Women Seeking Men  🔝Dindigul🔝   Escor...
➥🔝 7737669865 🔝▻ Dindigul Call-girls in Women Seeking Men 🔝Dindigul🔝 Escor...
 
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
 
hybrid Seed Production In Chilli & Capsicum.pptx
hybrid Seed Production In Chilli & Capsicum.pptxhybrid Seed Production In Chilli & Capsicum.pptx
hybrid Seed Production In Chilli & Capsicum.pptx
 
Detecting Credit Card Fraud: A Machine Learning Approach
Detecting Credit Card Fraud: A Machine Learning ApproachDetecting Credit Card Fraud: A Machine Learning Approach
Detecting Credit Card Fraud: A Machine Learning Approach
 
Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...
 
Discover Why Less is More in B2B Research
Discover Why Less is More in B2B ResearchDiscover Why Less is More in B2B Research
Discover Why Less is More in B2B Research
 
➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men 🔝malwa🔝 Escorts Ser...
➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men  🔝malwa🔝   Escorts Ser...➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men  🔝malwa🔝   Escorts Ser...
➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men 🔝malwa🔝 Escorts Ser...
 
Abortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Jeddah | +966572737505 | Get CytotecAbortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Jeddah | +966572737505 | Get Cytotec
 
➥🔝 7737669865 🔝▻ mahisagar Call-girls in Women Seeking Men 🔝mahisagar🔝 Esc...
➥🔝 7737669865 🔝▻ mahisagar Call-girls in Women Seeking Men  🔝mahisagar🔝   Esc...➥🔝 7737669865 🔝▻ mahisagar Call-girls in Women Seeking Men  🔝mahisagar🔝   Esc...
➥🔝 7737669865 🔝▻ mahisagar Call-girls in Women Seeking Men 🔝mahisagar🔝 Esc...
 
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort ServiceBDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
 
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
 
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
 
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
 
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
 

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