All Projects → markwk → ts4health

markwk / ts4health

Licence: other
Time Series Data Analysis, Visualization and Forecasting with Python for Health and Self

Programming Languages

Jupyter Notebook
11667 projects
javascript
184084 projects - #8 most used programming language
CSS
56736 projects
HTML
75241 projects

Projects that are alternatives of or similar to ts4health

CoronaDash
COVID-19 spread shiny dashboard with a forecasting model, countries' trajectories graphs, and cluster analysis tools
Stars: ✭ 20 (+17.65%)
Mutual labels:  time-series-analysis, time-series-forecasting
time series notebooks
My Experiments with Time Series
Stars: ✭ 20 (+17.65%)
Mutual labels:  time-series-analysis, time-series-forecasting
Time-Series-Analysis-Tutorial
时间序列分析教程
Stars: ✭ 313 (+1741.18%)
Mutual labels:  time-series-analysis, time-series-forecasting
health kit reporter
A Flutter wrapper for the HealthKitReporter library
Stars: ✭ 16 (-5.88%)
Mutual labels:  health, apple-health
lifebot
Use Google Sheets to log your life by texting it Emojis and pulling in data from Fitbit automatically.
Stars: ✭ 15 (-11.76%)
Mutual labels:  fitbit, quantified-self
open
The most boring open source you've ever seen ....
Stars: ✭ 109 (+541.18%)
Mutual labels:  quantified-self, health
awesome-time-series
Resources for working with time series and sequence data
Stars: ✭ 178 (+947.06%)
Mutual labels:  time-series-analysis, time-series-forecasting
HealthKitReporter
HealthKitReporter. A wrapper for HealthKit framework. Helps to write or read data from Apple Health via HealthKit framework.
Stars: ✭ 50 (+194.12%)
Mutual labels:  health, apple-health
ARIMA
Simple python example on how to use ARIMA models to analyze and predict time series.
Stars: ✭ 169 (+894.12%)
Mutual labels:  arima, time-series-analysis
exhale
A Pebble app for breathing, written in C.
Stars: ✭ 12 (-29.41%)
Mutual labels:  health
poesy
Poetry generation via natural language markov models
Stars: ✭ 56 (+229.41%)
Mutual labels:  modeling
sdk-design-assets
Downloadable design assets for the Fitbit SDK.
Stars: ✭ 75 (+341.18%)
Mutual labels:  fitbit
palladio
Palladio enables the execution of CityEngine CGA rules inside of SideFX Houdini.
Stars: ✭ 92 (+441.18%)
Mutual labels:  modeling
environmental-exposure-ontology
Modular environmental exposures ontology
Stars: ✭ 20 (+17.65%)
Mutual labels:  health
legend-studio
Legend Studio
Stars: ✭ 53 (+211.76%)
Mutual labels:  modeling
furniture
The furniture R package contains table1 for publication-ready simple and stratified descriptive statistics, tableC for publication-ready correlation matrixes, and other tables #rstats
Stars: ✭ 43 (+152.94%)
Mutual labels:  health
angular-translate-loader
"angular-translate" loader for webpack
Stars: ✭ 15 (-11.76%)
Mutual labels:  fitbit
bitcoin-prediction
bitcoin prediction algorithms
Stars: ✭ 21 (+23.53%)
Mutual labels:  arima
nutrifacts.js
A library to calculate nutrition facts, smartly. No third party services or remote DBs involved.
Stars: ✭ 22 (+29.41%)
Mutual labels:  health
betterself
Your body's dashboard.
Stars: ✭ 90 (+429.41%)
Mutual labels:  quantified-self

A Self Across Time: Time Series Data Analysis with Python

Slides and sample code for Time Series Data Analysis, Visualization, Modeling and Forecasting with Python for Health and Self

Talk provides code for time series analysis modeling in general and then applies it to quantified self and fitness tracking data from Fitbit, Apple Watch or Oura.

Contents

Description

How to understand human health across time or an individual self over a lifetime?

In this presentation and code, we look at time series analysis, a sub-field of machine learning and deep learning, using Python, and how it can be applied to tracking data like sleep and exercise from a FitBit, Apple Watch or Oura.

While most often applied to financial, sales, and weather data, time series analysis is also important when we think about health and self data, because before we can start modeling we need to be sure we adjust for any temporal components (like trends, seasonality, or serial correlation).

This talk and various code included provides a high-level yet actionable overview of time series analysis in Python. We look at tests for checking for temporal patterns (like Autocorrelation Plots and ADF) and time series techniques for normalizing or detrending time series data in certain situations. We examine classic time series statistical modeling using Box-Jenkins or ARIMA models, how to set parameters and see if it can be helpful for our health and self data. Finally, we look at Facebook's Prophet for forecasting ts data, including health and fitness data.

How to understand a self across time? Time series analysis allows us to look at non-stationary data like personal data, and translate that data into stationary data when needed. We can then look for patterns and meaning. It enables us to find relevant variables, plot recurring patterns and even make forecasts about trends in our health or productivity. Ultimately TS analysis becomes a powerful tool in the health analysis space for looking at how interventions (like a lifestyle change or treatment) have an impact on an individual (n=1) level.

If we want to go beyond generic advice and personalize our medicine and healthy habits, we need to consider the tempoeral component and time series data analysis can help.

Slides

Code

Data

Data collection was done on a combination of wearables (Apple Watch, Fitbit, and Oura). Data aggregation was done using QS Ledger, an open source Python project for collecting and visualization of self-tracking data (Fitbit, Apple Health, Oura, etc). Each data set was then processed and aggregated into a standardized format. For additional information refer to QS Ledger or see my previous speech Python For Self-Trackers for a walkthrough.

Sample data is not being provided openly at this time. Please contact the author if you are in need of reference data or are interested in further data or analysis collaboration.

References

Published References

  • Box & Jenkins. (2015). Time Series Analysis. John Wiley & Sons. (esp Ch 1-4)
  • Pal. (2017). Practical Time Series Analysis. Packt Publishing Ltd. (esp Ch. 1-4)
  • Downey, A. (2015). Think Stats (2nd Edition). O’Reilly Media, Inc. (esp Ch 12)
  • Velicer. (2012). Time series analysis for psychological research. Handbook of Psychology, Second Edition. (Thorough introduction to ts for social scientists)
  • Aigner (2011). Visualization of Time-Oriented Data. Springer Science & Business Media.

Internet Resources

About Speaker

Mark Koester is a tech entrepreneur, writer, and technologist. His current work is at the intersection of data technologies AND human health and optimization. As a data scientist and web and mobile app developer, he is the creator of PhotoStats.io (a photo tracking and analytics app), PodcastTracker for podcast listening logging, Biomarker Tracker (a health analytics service to better understand blood test results) and QS Ledger (the most extensive, open source, personal data collection and analysis tool). Former Regional Lead in Greater China at Techstars, a seed-stage accelerator, and program coordinator at Startup Next (powered by Google for Entrepreneurs). He run a boutique dev shop (Int3c.com) and is an active open source contributor. He regularly writes at www.markwk.com.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].