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

Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...
Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...
Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...Klinik kandungan
 
Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...nirzagarg
 
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
 
Top profile Call Girls In dimapur [ 7014168258 ] Call Me For Genuine Models W...
Top profile Call Girls In dimapur [ 7014168258 ] Call Me For Genuine Models W...Top profile Call Girls In dimapur [ 7014168258 ] Call Me For Genuine Models W...
Top profile Call Girls In dimapur [ 7014168258 ] Call Me For Genuine Models W...gajnagarg
 
Vadodara 💋 Call Girl 7737669865 Call Girls in Vadodara Escort service book now
Vadodara 💋 Call Girl 7737669865 Call Girls in Vadodara Escort service book nowVadodara 💋 Call Girl 7737669865 Call Girls in Vadodara Escort service book now
Vadodara 💋 Call Girl 7737669865 Call Girls in Vadodara Escort service book nowgargpaaro
 
Aspirational Block Program Block Syaldey District - Almora
Aspirational Block Program Block Syaldey District - AlmoraAspirational Block Program Block Syaldey District - Almora
Aspirational Block Program Block Syaldey District - AlmoraGovindSinghDasila
 
Top profile Call Girls In Hapur [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Hapur [ 7014168258 ] Call Me For Genuine Models We ...Top profile Call Girls In Hapur [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Hapur [ 7014168258 ] Call Me For Genuine Models We ...nirzagarg
 
+97470301568>>weed for sale in qatar ,weed for sale in dubai,weed for sale in...
+97470301568>>weed for sale in qatar ,weed for sale in dubai,weed for sale in...+97470301568>>weed for sale in qatar ,weed for sale in dubai,weed for sale in...
+97470301568>>weed for sale in qatar ,weed for sale in dubai,weed for sale in...Health
 
Dubai Call Girls Peeing O525547819 Call Girls Dubai
Dubai Call Girls Peeing O525547819 Call Girls DubaiDubai Call Girls Peeing O525547819 Call Girls Dubai
Dubai Call Girls Peeing O525547819 Call Girls Dubaikojalkojal131
 
Capstone in Interprofessional Informatic // IMPACT OF COVID 19 ON EDUCATION
Capstone in Interprofessional Informatic  // IMPACT OF COVID 19 ON EDUCATIONCapstone in Interprofessional Informatic  // IMPACT OF COVID 19 ON EDUCATION
Capstone in Interprofessional Informatic // IMPACT OF COVID 19 ON EDUCATIONLakpaYanziSherpa
 
怎样办理纽约州立大学宾汉姆顿分校毕业证(SUNY-Bin毕业证书)成绩单学校原版复制
怎样办理纽约州立大学宾汉姆顿分校毕业证(SUNY-Bin毕业证书)成绩单学校原版复制怎样办理纽约州立大学宾汉姆顿分校毕业证(SUNY-Bin毕业证书)成绩单学校原版复制
怎样办理纽约州立大学宾汉姆顿分校毕业证(SUNY-Bin毕业证书)成绩单学校原版复制vexqp
 
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
 
Reconciling Conflicting Data Curation Actions: Transparency Through Argument...
Reconciling Conflicting Data Curation Actions:  Transparency Through Argument...Reconciling Conflicting Data Curation Actions:  Transparency Through Argument...
Reconciling Conflicting Data Curation Actions: Transparency Through Argument...Bertram Ludäscher
 
怎样办理圣路易斯大学毕业证(SLU毕业证书)成绩单学校原版复制
怎样办理圣路易斯大学毕业证(SLU毕业证书)成绩单学校原版复制怎样办理圣路易斯大学毕业证(SLU毕业证书)成绩单学校原版复制
怎样办理圣路易斯大学毕业证(SLU毕业证书)成绩单学校原版复制vexqp
 
Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...nirzagarg
 
Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...nirzagarg
 
Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...
Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...
Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...gajnagarg
 
Harnessing the Power of GenAI for BI and Reporting.pptx
Harnessing the Power of GenAI for BI and Reporting.pptxHarnessing the Power of GenAI for BI and Reporting.pptx
Harnessing the Power of GenAI for BI and Reporting.pptxParas Gupta
 

Recently uploaded (20)

Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...
Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...
Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...
 
Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...
 
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
 
Top profile Call Girls In dimapur [ 7014168258 ] Call Me For Genuine Models W...
Top profile Call Girls In dimapur [ 7014168258 ] Call Me For Genuine Models W...Top profile Call Girls In dimapur [ 7014168258 ] Call Me For Genuine Models W...
Top profile Call Girls In dimapur [ 7014168258 ] Call Me For Genuine Models W...
 
Vadodara 💋 Call Girl 7737669865 Call Girls in Vadodara Escort service book now
Vadodara 💋 Call Girl 7737669865 Call Girls in Vadodara Escort service book nowVadodara 💋 Call Girl 7737669865 Call Girls in Vadodara Escort service book now
Vadodara 💋 Call Girl 7737669865 Call Girls in Vadodara Escort service book now
 
Aspirational Block Program Block Syaldey District - Almora
Aspirational Block Program Block Syaldey District - AlmoraAspirational Block Program Block Syaldey District - Almora
Aspirational Block Program Block Syaldey District - Almora
 
Top profile Call Girls In Hapur [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Hapur [ 7014168258 ] Call Me For Genuine Models We ...Top profile Call Girls In Hapur [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Hapur [ 7014168258 ] Call Me For Genuine Models We ...
 
+97470301568>>weed for sale in qatar ,weed for sale in dubai,weed for sale in...
+97470301568>>weed for sale in qatar ,weed for sale in dubai,weed for sale in...+97470301568>>weed for sale in qatar ,weed for sale in dubai,weed for sale in...
+97470301568>>weed for sale in qatar ,weed for sale in dubai,weed for sale in...
 
Dubai Call Girls Peeing O525547819 Call Girls Dubai
Dubai Call Girls Peeing O525547819 Call Girls DubaiDubai Call Girls Peeing O525547819 Call Girls Dubai
Dubai Call Girls Peeing O525547819 Call Girls Dubai
 
Capstone in Interprofessional Informatic // IMPACT OF COVID 19 ON EDUCATION
Capstone in Interprofessional Informatic  // IMPACT OF COVID 19 ON EDUCATIONCapstone in Interprofessional Informatic  // IMPACT OF COVID 19 ON EDUCATION
Capstone in Interprofessional Informatic // IMPACT OF COVID 19 ON EDUCATION
 
怎样办理纽约州立大学宾汉姆顿分校毕业证(SUNY-Bin毕业证书)成绩单学校原版复制
怎样办理纽约州立大学宾汉姆顿分校毕业证(SUNY-Bin毕业证书)成绩单学校原版复制怎样办理纽约州立大学宾汉姆顿分校毕业证(SUNY-Bin毕业证书)成绩单学校原版复制
怎样办理纽约州立大学宾汉姆顿分校毕业证(SUNY-Bin毕业证书)成绩单学校原版复制
 
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
 
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
 
Reconciling Conflicting Data Curation Actions: Transparency Through Argument...
Reconciling Conflicting Data Curation Actions:  Transparency Through Argument...Reconciling Conflicting Data Curation Actions:  Transparency Through Argument...
Reconciling Conflicting Data Curation Actions: Transparency Through Argument...
 
怎样办理圣路易斯大学毕业证(SLU毕业证书)成绩单学校原版复制
怎样办理圣路易斯大学毕业证(SLU毕业证书)成绩单学校原版复制怎样办理圣路易斯大学毕业证(SLU毕业证书)成绩单学校原版复制
怎样办理圣路易斯大学毕业证(SLU毕业证书)成绩单学校原版复制
 
Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...
 
Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...
 
Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...
Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...
Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...
 
Harnessing the Power of GenAI for BI and Reporting.pptx
Harnessing the Power of GenAI for BI and Reporting.pptxHarnessing the Power of GenAI for BI and Reporting.pptx
Harnessing the Power of GenAI for BI and Reporting.pptx
 
Cytotec in Jeddah+966572737505) get unwanted pregnancy kit Riyadh
Cytotec in Jeddah+966572737505) get unwanted pregnancy kit RiyadhCytotec in Jeddah+966572737505) get unwanted pregnancy kit Riyadh
Cytotec in Jeddah+966572737505) get unwanted pregnancy kit Riyadh
 

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