Related Experiment Video
Updated: Sep 16, 2025

Calculating Heart Rate Variability from ECG Data from Youth with Cerebral Palsy During Active Video Game Sessions
Published on: June 5, 2019
Optimizing Mental Stress Detection via Heart Rate Variability Feature Selection
Mohsen Behradfar1, Shotabdi Roy1, Joseph Nuamah1
1School of Industrial Engineering and Management, Oklahoma State University, Stillwater, OK 74078, USA.
None:
The increasing prevalence of stress-related disorders necessitates accurate and efficient detection methods for timely intervention. This study explored the potential of heart rate variability as a biomarker for detecting mental stress using a publicly available dataset. A total of 93 heart rate variability features extracted from electrocardiogram signals were analyzed to differentiate stress from non-stress conditions. Our methodology involved data preprocessing, feature computation, and three feature selection strategies-filter-based, wrapper, and embedded-to identify the most relevant heart rate variability features. By leveraging Recursive Feature Elimination combined with Nested Leave-One-Subject-Out Cross-Validation, we achieved a peak F1 score of 0.76. The results demonstrate that two heart rate variability features-the median absolute deviation of the RR intervals (the time elapsed between consecutive R-waves on an electrocardiogram), which is normalized by the median, and the normalized low frequency power-consistently distinguished the stress states across multiple classifiers. To assess the robustness and generalizability of our best-performing model, we evaluated it on a completely unseen dataset, which resulted in an average F1 score of 0.63. These findings emphasize the value of targeted feature selection in optimizing stress detection models, particularly when handling high-dimensional datasets with potentially redundant features. This study contributes to the development of efficient stress monitoring systems, paving the way for improved mental health assessment and intervention.
More Related Videos
Related Concept Videos
Factors Influencing Heart Rate
Let us explore the significant factors affecting heart rate, including age, body temperature, posture, acute pain, chemical influences,...
Exercise Stress Test
Exercise stress testing, commonly known as a treadmill test, is a noninvasive procedure used to evaluate cardiovascular function and diagnose heart conditions.
Definition
An exercise stress test measures the heart's response to exertion using a treadmill or stationary bicycle. Chest electrodes record the heart's electrical activity through an ECG, and blood pressure is monitored regularly.
Purposes
Physiological Foundation of Stress
Role of the Sympathetic Nervous System
Adrenaline triggers the...
Stress Concentrations
The stress...
Stress Prevention and Stress Management Techniques III
The Role of Exercise in Stress Management
Regular physical activity is essential for reducing stress and promoting cardiovascular health. Exercise strengthens the heart, enhances blood flow, keeps blood vessels flexible, and helps lower blood pressure, all of which reduce the body's stress response. Research shows that adults who exercise regularly have nearly half the...
Stress Prevention and Stress Management Techniques IV

