Title
Effects Of Mood And Aging On Keystroke Dynamics Metadata And Their Diurnal Patterns In A Large Open-Science Sample: A Biaffect Ios Study
Abstract
Objective: Ubiquitous technologies can be leveraged to construct ecologically relevant metrics that complement traditional psychological assessments. This study aims to determine the feasibility of smartphone-derived real-world keyboard metadata to serve as digital biomarkers of mood.Materials and Methods: BiAffect, a real-world observation study based on a freely available iPhone app, allowed the unobtrusive collection of typing metadata through a custom virtual keyboard that replaces the default keyboard. User demographics and self-reports for depression severity (Patient Health Questionnaire-8) were also collected. Using >14 million keypresses from 250 users who reported demographic information and a subset of 147 users who additionally completed at least 1 Patient Health Questionnaire, we employed hierarchical growth curve mixed-effects models to capture the effects of mood, demographics, and time of day on keyboard metadata.Results: We analyzed 86 541 typing sessions associated with a total of 543 Patient Health Questionnaires. Results showed that more severe depression relates to more variable typing speed (P<.001), shorter session duration (P<.001), and lower accuracy (P<.05). Additionally, typing speed and variability exhibit a diurnal pattern, being fastest and least variable at midday. Older users exhibit slower and more variable typing, as well as more pronounced slowing in the evening. The effects of aging and time of day did not impact the relationship of mood to typing variables and were recapitulated in the 250-user group.Conclusions: Keystroke dynamics, unobtrusively collected in the real world, are significantly associated with mood despite diurnal patterns and effects of age, and thus could serve as a foundation for constructing digital biomarkers.
Year
DOI
Venue
2020
10.1093/jamia/ocaa057
JOURNAL OF THE AMERICAN MEDICAL INFORMATICS ASSOCIATION
Keywords
DocType
Volume
keystroke dynamics, mHealth, mood, smartphone applications in health
Journal
27
Issue
ISSN
Citations 
7
1067-5027
1
PageRank 
References 
Authors
0.36
0
20