Skip to main content
medRxiv
  • Home
  • About
  • Submit
  • ALERTS / RSS
Advanced Search

Validation of an open-source smartphone step counting algorithm in clinical and non-clinical settings

View ORCID ProfileMarcin Straczkiewicz, View ORCID ProfileNancy L. Keating, Embree Thompson, Ursula A. Matulonis, Susana M. Campos, View ORCID ProfileAlexi A. Wright, View ORCID ProfileJukka-Pekka Onnela
doi: https://doi.org/10.1101/2023.03.28.23287844
Marcin Straczkiewicz
1Department of Biostatistics, Harvard University, Boston, MA 02115, USA
PhD
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Marcin Straczkiewicz
  • For correspondence: mstraczkiewicz{at}hsph.harvard.edu
Nancy L. Keating
2Department of Health Care Policy, Harvard Medical School, Boston, MA 02115, USA
3Division of General Internal Medicine, Brigham and Women’s Hospital, Boston, MA 02115, USA
MD MPH
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Nancy L. Keating
Embree Thompson
4Dana-Farber Cancer Institute, Harvard Medical School, Boston, MA 02215, USA
BA
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Ursula A. Matulonis
4Dana-Farber Cancer Institute, Harvard Medical School, Boston, MA 02215, USA
MD
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Susana M. Campos
4Dana-Farber Cancer Institute, Harvard Medical School, Boston, MA 02215, USA
MD MPH
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Alexi A. Wright
4Dana-Farber Cancer Institute, Harvard Medical School, Boston, MA 02215, USA
MD MPH
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Alexi A. Wright
Jukka-Pekka Onnela
1Department of Biostatistics, Harvard University, Boston, MA 02115, USA
DSc
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Jukka-Pekka Onnela
  • Abstract
  • Full Text
  • Info/History
  • Metrics
  • Supplementary material
  • Data/Code
  • Preview PDF
Loading

Abstract

Background Step counts are increasingly used in public health and clinical research to assess wellbeing, lifestyle, and health status. However, estimating step counts using commercial activity trackers has several limitations, including a lack of reproducibility, generalizability, and scalability. Smartphones are a potentially promising alternative, but their step-counting algorithms require robust validation that accounts for temporal sensor body location, individual gait characteristics, and heterogeneous health states.

Objective Our goal was to evaluate an open-source step-counting method for smartphones under various measurement conditions against step counts estimated from data collected simultaneously from different body locations (“internal” validation), manually ascertained ground truth (“manual” validation), and step counts from a commercial activity tracker (Fitbit Charge 2) in patients with advanced cancer (“wearable” validation).

Methods We used eight independent datasets collected in controlled, semi-controlled, and free-living environments with different devices (primarily Android smartphones and wearable accelerometers) carried at typical body locations. Five datasets (N=103) were used for internal validation, two datasets (N=107) for manual validation, and one dataset (N=45) used for wearable validation. In each scenario, step counts were estimated using a previously published step-counting method for smartphones that uses raw sub-second level accelerometer data. We calculated mean bias and limits of agreement (LoA) between step count estimates and validation criteria using Bland-Altman analysis.

Results In the internal validation datasets, participants performed 751.7±581.2 (mean±SD) steps, and the mean bias was -7.2 steps (LoA -47.6, 33.3) or -0.5%. In the manual validation datasets, the ground truth step count was 367.4±359.4 steps while the mean bias was -0.4 steps (LoA -75.2, 74.3) or 0.1 %. In the wearable validation dataset, Fitbit devices indicated mean step counts of 1931.2±2338.4, while the calculated bias was equal to -67.1 steps (LoA -603.8, 469.7) or a difference of 0.3 %.

Conclusions This study demonstrates that our open-source step counting method for smartphone data provides reliable step counts across sensor locations, measurement scenarios, and populations, including healthy adults and patients with cancer.

Competing Interest Statement

The authors have declared no competing interest.

Funding Statement

Drs Straczkiewicz and Onnela are supported by NHLBI award U01HL145386 and NIMH award R37MH119194. Drs Wright and Onnela are also supported by NINR award R21NR018532. Dr. Matulonis is supported by the Dana-Farber Harvard Cancer Center Ovarian Cancer SPORE grant (P50CA240243) and the Breast Cancer Research Foundation.

Author Declarations

I confirm all relevant ethical guidelines have been followed, and any necessary IRB and/or ethics committee approvals have been obtained.

Yes

The details of the IRB/oversight body that provided approval or exemption for the research described are given below:

The study was approved by the institutional review boards of the Dana-Farber/Harvard Cancer Center and the Harvard TH Chan School of Public Health.

I confirm that all necessary patient/participant consent has been obtained and the appropriate institutional forms have been archived, and that any patient/participant/sample identifiers included were not known to anyone (e.g., hospital staff, patients or participants themselves) outside the research group so cannot be used to identify individuals.

Yes

I understand that all clinical trials and any other prospective interventional studies must be registered with an ICMJE-approved registry, such as ClinicalTrials.gov. I confirm that any such study reported in the manuscript has been registered and the trial registration ID is provided (note: if posting a prospective study registered retrospectively, please provide a statement in the trial ID field explaining why the study was not registered in advance).

Yes

I have followed all appropriate research reporting guidelines, such as any relevant EQUATOR Network research reporting checklist(s) and other pertinent material, if applicable.

Yes

Footnotes

  • ↵* Denotes shared last authorship

Data Availability

All data produced in the present study are available upon reasonable request to the authors.

  • Abbreviations

    BMI
    Body mass index
    DaLiAc
    Daily life activities dataset
    HOPE
    Helping our patients excel dataset
    LoA
    Limits of agreement
    PARUSS
    Physical activity recognition using smartphone sensors dataset
    PedEval
    Pedometer evaluation project dataset
    RealWorld
    Real-world dataset
    SFDLA
    Simulated falls and daily living activities dataset
    SPADES
    Human physical activity dataset
    WalkRec
    Walking recognition dataset
  • Copyright 
    The copyright holder for this preprint is the author/funder, who has granted medRxiv a license to display the preprint in perpetuity. It is made available under a CC-BY-NC-ND 4.0 International license.
    Back to top
    PreviousNext
    Posted March 28, 2023.
    Download PDF

    Supplementary Material

    Data/Code
    Email

    Thank you for your interest in spreading the word about medRxiv.

    NOTE: Your email address is requested solely to identify you as the sender of this article.

    Enter multiple addresses on separate lines or separate them with commas.
    Validation of an open-source smartphone step counting algorithm in clinical and non-clinical settings
    (Your Name) has forwarded a page to you from medRxiv
    (Your Name) thought you would like to see this page from the medRxiv website.
    CAPTCHA
    This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
    Share
    Validation of an open-source smartphone step counting algorithm in clinical and non-clinical settings
    Marcin Straczkiewicz, Nancy L. Keating, Embree Thompson, Ursula A. Matulonis, Susana M. Campos, Alexi A. Wright, Jukka-Pekka Onnela
    medRxiv 2023.03.28.23287844; doi: https://doi.org/10.1101/2023.03.28.23287844
    Twitter logo Facebook logo LinkedIn logo Mendeley logo
    Citation Tools
    Validation of an open-source smartphone step counting algorithm in clinical and non-clinical settings
    Marcin Straczkiewicz, Nancy L. Keating, Embree Thompson, Ursula A. Matulonis, Susana M. Campos, Alexi A. Wright, Jukka-Pekka Onnela
    medRxiv 2023.03.28.23287844; doi: https://doi.org/10.1101/2023.03.28.23287844

    Citation Manager Formats

    • BibTeX
    • Bookends
    • EasyBib
    • EndNote (tagged)
    • EndNote 8 (xml)
    • Medlars
    • Mendeley
    • Papers
    • RefWorks Tagged
    • Ref Manager
    • RIS
    • Zotero
    • Tweet Widget
    • Facebook Like
    • Google Plus One

    Subject Area

    • Public and Global Health
    Subject Areas
    All Articles
    • Addiction Medicine (349)
    • Allergy and Immunology (668)
    • Allergy and Immunology (668)
    • Anesthesia (181)
    • Cardiovascular Medicine (2648)
    • Dentistry and Oral Medicine (316)
    • Dermatology (223)
    • Emergency Medicine (399)
    • Endocrinology (including Diabetes Mellitus and Metabolic Disease) (942)
    • Epidemiology (12228)
    • Forensic Medicine (10)
    • Gastroenterology (759)
    • Genetic and Genomic Medicine (4103)
    • Geriatric Medicine (387)
    • Health Economics (680)
    • Health Informatics (2657)
    • Health Policy (1005)
    • Health Systems and Quality Improvement (985)
    • Hematology (363)
    • HIV/AIDS (851)
    • Infectious Diseases (except HIV/AIDS) (13695)
    • Intensive Care and Critical Care Medicine (797)
    • Medical Education (399)
    • Medical Ethics (109)
    • Nephrology (436)
    • Neurology (3882)
    • Nursing (209)
    • Nutrition (577)
    • Obstetrics and Gynecology (739)
    • Occupational and Environmental Health (695)
    • Oncology (2030)
    • Ophthalmology (585)
    • Orthopedics (240)
    • Otolaryngology (306)
    • Pain Medicine (250)
    • Palliative Medicine (75)
    • Pathology (473)
    • Pediatrics (1115)
    • Pharmacology and Therapeutics (466)
    • Primary Care Research (452)
    • Psychiatry and Clinical Psychology (3432)
    • Public and Global Health (6527)
    • Radiology and Imaging (1403)
    • Rehabilitation Medicine and Physical Therapy (814)
    • Respiratory Medicine (871)
    • Rheumatology (409)
    • Sexual and Reproductive Health (410)
    • Sports Medicine (342)
    • Surgery (448)
    • Toxicology (53)
    • Transplantation (185)
    • Urology (165)