PT - JOURNAL ARTICLE AU - Aqajari, Seyed Amir Hossein AU - Labbaf, Sina AU - Tran, Phuc Hoang AU - Nguyen, Brenda AU - Mehrabadi, Milad Asgari AU - Levorato, Marco AU - Dutt, Nikil AU - Rahmanit, Amir M. TI - Context-Aware Stress Monitoring using Wearable and Mobile Technologies in Everyday Settings AID - 10.1101/2023.04.20.23288181 DP - 2023 Jan 01 TA - medRxiv PG - 2023.04.20.23288181 4099 - http://medrxiv.org/content/early/2023/04/24/2023.04.20.23288181.short 4100 - http://medrxiv.org/content/early/2023/04/24/2023.04.20.23288181.full AB - Background Daily monitoring of stress is a critical component of maintaining optimal physical and mental health. Physiological signals and contextual information have recently emerged as promising indicators for detecting instances of heightened stress. Nonetheless, developing a real-time monitoring system that utilizes both physiological and contextual data to anticipate stress levels in everyday settings while also gathering stress labels from participants represents a significant challenge.Objective We present a monitoring system that objectively tracks daily stress levels by utilizing both physiological and contextual data in a daily-life environment. Additionally, we have integrated a smart labeling approach to optimize the ecological momentary assessment (EMA) collection, which is required for building machine learning models for stress detection. We propose a three-tier Internet-of-Things-based system architecture to address the challenges.Methods A group of university students (n=11) consisting of both males (n=4) and females (n=7) with ages ranging from 18 to 37 years (Mean = 22.91, SD = 5.05) were recruited from the University of California, Irvine. During a period of two weeks, the students wore a smartwatch that continuously monitored their physiology and activity levels. A context-logging application was also installed on their smartphone. They were asked to respond to several EMAs daily through a smart EMA query system. We employed three different machine learning algorithms to evaluate the performance of our system. The mean decrease impurity approach was employed to identify the most significant features. The k-nearest neighbor imputation technique was used to fill out the missing contextual features.Results F1-score is the performance metric used in our study. We utilized a cross-validation technique to accurately estimate the performance of our stress models. We achieved the F1-score of 70% with a Random Forest classifier using both PPG and contextual data, which is considered an acceptable score in models built for everyday settings. Whereas using PPG data alone, the highest F1-score achieved is approximately 56%, emphasizing the significance of incorporating both PPG and contextual data in stress detection tasks.Conclusion We proposed a system for monitoring daily-life stress using both physiological and smartphone data. The system includes a smart query module to capture high-quality labels. This is the first system to employ both physiology and context data for stress monitoring and to include a smart query system for capturing frequent self-reported data throughout the day.Competing Interest StatementThe authors have declared no competing interest.Funding StatementThis research was funded by the US National Science Foundation under the Smart and Connected Communities (S&CC) Grant CNS-1831918.Author DeclarationsI confirm all relevant ethical guidelines have been followed, and any necessary IRB and/or ethics committee approvals have been obtained.YesThe details of the IRB/oversight body that provided approval or exemption for the research described are given below:The experimental procedures involving human subjects described in this paper were approved by the Institutional Review Board (IRB) at the University of California, Irvine. During the enrollment process, participants review our study information document and are asked afterward if they agree to continue their participation. Consent is obtained verbally and is then documented in an Excel file by the research team member running the participant session. IRB: #20205680 Using Technology to Promote Prenatal and Perinatal 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.YesI 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).YesI have followed all appropriate research reporting guidelines, such as any relevant EQUATOR Network research reporting checklist(s) and other pertinent material, if applicable.YesThe data used in this study include sensitive health information, and the informed consent signed by the participants does not allow the data to be made publicly available due to ethical restriction. Data requests may be subject to individual consent and/or the approval of the PI of the project. We recommend you to contact the PI of the research project, associate professor Amir M. Rahmani, contact details: University of California, Irvine, Department of Nursing, email: a.rahmani{at}uci.edu