Next Article in Journal
Detecting Multi-Resolution Pedestrians Using Group Cost-Sensitive Boosting with Channel Features
Next Article in Special Issue
Validation of Wireless Sensors for Psychophysiological Studies
Previous Article in Journal
A Novel Ionospheric Sounding Network Based on Complete Complementary Code and Its Application
Previous Article in Special Issue
Portable System for Real-Time Detection of Stress Level

Sensors 2019, 19(4), 781;

Computational Psychometrics Using Psychophysiological Measures for the Assessment of Acute Mental Stress
Applied Technology for Neuro-Psychology Lab at IRCCS Istituto Auxologico Italiano, Via L. Ariosto 13, 20145 Milano (MI), Italy
Department of Psychology of the Catholic University, Largo Gemelli 1, 20100 Milano (MI) and Applied Technology for Neuro-Psychology Lab at IRCCS Istituto Auxologico Italiano, Via L. Ariosto 13, 20145 Milano (MI), Italy
Department of Basic Psychology, Clinic and Psychobiology, Universitat Jaume I, Av. Sos Baynat, s/n, 12071 Castellón, Spain
Author to whom correspondence should be addressed.
Received: 11 November 2018 / Accepted: 5 February 2019 / Published: 14 February 2019


The goal of this study was to provide reliable quantitative analyses of psycho-physiological measures during acute mental stress. Acute, time-limited stressors are used extensively as experimental stimuli in psychophysiological research. In particular, the Stroop Color Word Task and the Arithmetical Task have been widely used in several settings as effective mental stressors. We collected psychophysiological data on blood volume pulse, thoracic respiration, and skin conductance from 60 participants at rest and during stressful situations. Subsequently, we used statistical univariate tests and multivariate computational approaches to conduct comprehensive studies on the discriminative properties of each condition in relation to psychophysiological correlates. The results showed evidence of a greater discrimination capability of the Arithmetical Task compared to the Stroop test. The best predictors were the short time Heart Rate Variability (HRV) indices, in particular, the Respiratory Sinus Arrhythmia index, which in turn could be predicted by other HRV and respiratory indices in a hierarchical, multi-level regression analysis. Thus, computational psychometrics analyses proved to be an effective tool for studying such complex variables. They could represent the first step in developing complex platforms for the automatic detection of mental stress, which could improve the treatment.
computational psychometrics; psychophysiology; psychological stress; acute mental stress; acute time-limited stressors; Stroop color word task; arithmetic task

1. Introduction

Mental stress is an important factor potentially affecting mental and physical functions. According to classical theories, stressors can be defined as challenging events requiring physiological and behavioral responses that are aimed at reinstating homeostasis. Effective coping strategies involve a rapid response that also has to be efficiently terminated afterward. If the response to the stressor is inadequate, the biological costs may become too high [1].
In the last half century, several studies have demonstrated the role of mental stress in many disorders, like cardiovascular diseases, abnormal cognitive functioning, or psychiatric disorders [2,3]: For instance, the inability to cope with stressors has been associated with the hypersecretion of corticosteroids and with an increased risk of depressive onset [1]. In addition, early and prolonged exposure to stressors has been shown to affect neurodevelopment, involving both neurobiological and neuroendocrine aspects, and cognitive, social. and emotional domains [4]. Early life stress in turn translates to increased psychological vulnerability and augmented risk for psychiatric disorders [5]. Concerning everyday life, acute mental stress has been proven to reduce performance, especially in the workplace [6]. According to these premises and considering the important repercussions on mental health, it is important to further study and understand mental stress and its effect on everyday life.
Acute mental stress influences the Autonomous Nervous System. The use of psycho-physiological instruments in the assessment of acute mental stress is becoming therefore quite common due to the unobtrusiveness and non-invasiveness of sensors used to detect physiological signals [7] and the development of validated measures, like heart rate variability (HRV) [8,9]. Psychophysiological measures have been indeed validated as biological markers of acute and chronic stress [9,10]. Interestingly, these measures not only can identify short-term variations to temporary stimuli, but can also provide strong indications of dysfunctions in the long run.
An acute, time-limited stressor can have short-term effects on cognitive and emotional processes associated with planning an action [10,11]. Specifically, an acute stressor produces an immediate response in the sympathetic nervous system due to the release of noradrenaline from widely distributed synapses, causing increased blood pressure and release of adrenaline from the adrenal medulla, which in turn induces peripheral vasoconstriction, accelerated heart rate, and muscular contractions, among other adverse effects [12,13].
Unfortunately, stressors tend to be repeated over time in normal individuals’ lives. This can be due to several factors, e.g., the challenges and pressures associated with the current society and one’s daily work schedule, unexpected problems, traumatic situations, and personal perceptions of oneself and others [14,15]. When acute stressors become a customary component of life, the immune system, the cardiovascular apparatus, and the nervous system may suffer potentially detrimental consequences [16,17,18].
Since acute mental stress increases the risk of developing chronic stress, acute mental stressors must be studied and understood thoroughly, especially with reference to their effects on body and mind.
As reported in a recent review by Castaldo and colleagues [19], short-term HRV analysis has been used in several studies to assess acute mental stress. In their illuminating review and meta-analysis, they reported the common trends in using HRV indices to evaluate stressors. More specifically, HRV at high frequencies resulted in significant depression during acute mental stress, further demonstrating a significant autonomic balance shift during acute mental stress towards the sympathetic activation and the parasympathetic withdrawal. Interestingly, half of their selected studies adopted two specific acute mental stressors: The Stroop Color World Task and the Arithmetical Task [20,21,22,23,24,25]. During the Stroop Color Word Task, the participants are required to name the colors of the words presented on a screen (green, yellow, orange, red, blue, purple), which can be congruent or incongruent with the meaning of the written word. This task is considered a reliable and valid method to evaluate acute mental stress and to induce a moderate level of transitory physiological modifications [26,27]. On the other hand, the Arithmetical Task requires performing arithmetical operations by subtracting a prefixed quantity (typically 17) from a starting number (typically 1013). The Arithmetic Test is considered a standard moderate acute stressor, and it is often used in physiology to detect changes in the autonomic nervous system [28].
Unfortunately, the existing studies have considered each index separately; thus, to date, only univariate statistical analyses have been conducted to assess the stressors. On the contrary, multivariate analyses, especially computational analyses, relies on the discriminative knowledge of all the variables considered as a whole or as specific subsets. Psychophysiological correlates reflect elicited emotions, and they represent variations in the central and peripheral nervous system. Thus, they must be considered in more complex models rather than only univariate analysis to identify the effect of a stressor more accurately [9,29,30,31,32]. With this consideration in mind, we provided evidence of the effectiveness of the two acute stressors (Stroop Task and Arithmetic Task) by means of computational analyses.
On the other hand, the price of CE-marked medical devices has dropped significantly, along with a wide inclusion of biosensors in wristbands or other wearable devices [33,34,35]. An example is the wrist photoplethysmography that has been used to record blood volume pulse (i.e., BVP, an analog of electrocardiogram). Practically, the use of wearable sensors for both clinical and leisure uses has been increasing. Such sensors are becoming more technologically advanced and provide excellent sampling rates, acceptable precision, and effective artifact removal by algorithms that are embedded in the firmware [33,36,37,38,39]. Nevertheless, some problems with recording the HRV using commercial biosensors are related to the sampling rate, which according to the standard HRV guidelines, needs to be at least 100 Hz [9]. of the sampling rate of commercial HRV sensors, such as for the Apple Watch, is about 100 Hz. Moreover, the manufacturers have considered the consumption of battery when computing the indices in the biosensor firmware, allowing only the indices to be transferred to the potential application instead of the raw data. The use of computational algorithms for acute, time-limited stressors that we assessed can provide a practical understanding and ready solution for the effective detection of these important variables in our daily lives.

2. Methods

2.1. Participants

The participants in the study consisted of 60 healthy students (30 males and 30 females) with the mean age of 21.2 (SD 2.25) ranging from 19 to 25. They were requested not to drink caffeine or alcohol and not to smoke prior to the experimental test in order to avoid any effects of these substances on the central autonomic nervous system. All the experiments were conducted in accordance with the Declaration of Helsinki and approved by the Institutional Review Board of Istituto Auxologico Italiano. Written informed consent was obtained from each participant.

2.2. Procedures

The participants who met the experimental criteria were contacted via email and/or telephone to schedule a meeting. The researcher assisted them during the sessions, maintained a neutral tone of voice, and maintained neutral behavior while the participants were being exposed to the experimental stimuli. The participants were asked to sit in front of a computer, and they were told about the general goals of the research, the procedures to be used, and the concerns associated with study involvement. The broad functions of the electrodes were explained relative to their use in the collection of the psychophysiological indices. The researcher attached the sensor electrodes in the following order. The first sensor was the thoracic respiration belt. Two skin conductance adhesive patches were then applied to the left palm. Last, the blood volume pulse (BVP) sensor was placed on the top of the index finger of the left hand. All participants were right-handed (without a history of switching the dominant hand during their lifetimes). When the subject indicated that he or she was comfortable, the researcher asked her/him to remain still during the presentation of the stimuli in order to avoid artifacts in signal acquisitions as a result of movements. At the end of the experimental session, the experimenter helped the participants remove all of the electrodes and patches and explained the aims of the experiment and the scientific rationale for using the stimuli.

2.3. Experimental Stimuli

A four-minute baseline session was conducted with all participants to establish a stable reference. The order of the application of the stimuli was randomized. The sessions included: (1) a four-minute relaxation period, i.e., panoramic slide show, (2) an acute time-limited stressor, i.e., the four-minute Stroop Color Word Task (SCWT), simply indicated as “Stroop” in the analyses, and (3) a four-minute arithmetic task (AT), simply indicated as “Arithmetic” in the analyses. The relaxation session comprised a series of panoramic photographs that were validated by Mauri and colleagues [40]. In the Stroop Color Word Task, the participants were required to name the colors of the words that were congruent or incongruent with the words’ meaning [20,40]. In the Arithmetic task, the participants were required to subtract 17 from 1000, subtract 17 from the result, and continue doing so until the end of the 4-minute session. They were asked to answer as accurately as possible [21].

2.3.1. Recording of the Physiological Signals

The data on the autonomic nervous systems were collected by measuring three physiological responses, i.e., Blood Volume Pulse, Galvanic Skin Response, and Respiration. These responses were acquired by means of a Procomp Infinity device from Thought Technology, and Biograph Infinity 5.0.2 software was used to record them. The responses were then processed with custom software developed using MATLAB 7.10.0 (R2010a) (The Mathworks, Inc.; Natick, MA, USA). Every channel was acquired synchronously at 2048 Hz and extracted at 256 Hz for computation of indices.

2.3.2. Psychophysiological Signal Processing

Cardiovascular and respiratory activities were monitored to evaluate both the voluntary and autonomic effect of respiration on heart rate. We analyzed the Inter-Beat Interval (IBI) extracted from the Blood Volume Pulse sensor, a measure equivalent to the RR peaks interval extracted from the electrocardiogram; respiration (from a chest strip sensor); and their interactions. Inter-beat interval (IBI, following also RR) was transformed into an estimate of heart rate (HR) as well as the pulse amplitude (BVP Amplitude), both of which represent the relative increase in blood volume. The two indexes used to represent the heart rate measurements from BVP were the means of HR (in beats per minute) and RR mean (60,000/HR). According to the guidelines of Task Force of the European Society of Cardiology and the North American Society of Pacing and Electrophysiology, typical temporal and spectral Heart Rate Variability (HRV) indices can be extracted to evaluate the response of the autonomic nervous system [9,40]. As the temporal domain measure of the variability of heart rate, we calculated the standard deviation (SDRR) using the BVP IBI and the standard deviation of the average beat-by-beat heart rate (SDHR). The third measure of HRV in the temporal domain was the BVP amplitude, which represents the relative increase in blood volume caused by the heart’s contracting (vasoconstriction), and it displays the moment-by-moment HRV, thereby providing significant insight into individual’s emotional responses. For the frequency domain, spectral analysis was performed using Fourier spectral methods. In particular, Standard Heart Rate Variability (HRV) spectral-method indexes and similar indexes were used to evaluate the response of the autonomic nervous system. We calculated the magnitude of the peak frequency (also indicated as RR peak frequency) in the power spectrum. The rhythms were classified as very low frequency (VLF < 0.04 Hz), low-frequency (LF, between 0.04 and 0.15 Hz), and high frequency (HF, from 0.15 to 0.5 Hz) oscillations. This procedure also allowed us to calculate the LF/HF ratio, a well-known sympathovagal balance index.
The respiration signal was filtered to produce a smooth sinusoidal signal [40,41]. Respiration Period index represents the peak-to-peak time (maximum-to-maximum distance of the sinusoid), which allowed us to compute the Respiration rate that corresponded to the breaths per minute (BPM). Additionally, the tidal volume of the air moving in and out of the lungs during breathing was measured to obtain respiratory amplitude. Respiratory amplitude index represents the peak-to-peak amplitude as the vertical Manhattan distance between the peak (highest amplitude value) and the trough (lowest amplitude value).
The interaction between cardiovascular and respiratory activity can also be considered using the Respiratory Sinus Arrhythmia (RSA) index [9,40,41]. HR Max-HR Min is the peak-to-trough difference in heart rate that occurs during a full breath cycle. This metric is affected by RSA and is generally described as a measure of vagal tone (vagus nerve activity). High values of HR Max-HR Min represent high vagal tone.
Skin Conductance (SC) and Skin Resistance (SR) are units of electrodermal activity that are expressed as either conductance (microsiemens) or resistance (microohms). SC reflects a fairly slow physiological process, and it can be sampled at 32 Hz without distortion. The signal that we considered was expressed in microsiemens. To calculate the mean index of SC, we considered the mean of the sampled signal after the removal of artifacts.

2.3.3. Statistical Analyses

First, we analyzed the data using STATA MP-Parallel Edition (StataCorp LP, College Station, TX, USA) Release 14.0, SPSS (IBM Corporation, Armonk, NY, USA), Release 21, and JASP, Release [42]. Conditions were compared using repeated measure analysis of variance (rmANOVA). A significant Mauchly’s test of sphericity at 0.05 p level indicated that the assumption of homogeneity of covariances was violated, so we adjusted the F-test in terms of the degree of freedom by using the Greenhouse-Geisser test [43,44]. The corrected p-values were reported accordingly. The paired conditions were compared using the pairwise comparison with adjusted alpha level to avoid an inflated type I error rate when making multiple statistical comparisons using the Bonferroni correction.

2.3.4. Computational Analyses

Computational analyses were done using Python 3.4 with the Orange 3.3.5 data mining suite, which was available free in the open source code ( and from which it is possible to see all of the algorithms used in the article. In particular, a stratified, 10-fold cross-validation was done using the following methods [45,46], i.e., (1) Logistic Regression classification algorithm with ridge regularization; (2) Random Forest classification using an ensemble of decision trees; (3) Support Vector Machine (SVM) to map inputs to higher-dimensional feature spaces that best separate different classes; and (4) Naïve Bayes, a probabilistic classifier based on Bayes’ theorem. As stated before, all the algorithms used were available in the open source code and documentation related to them can be found in the Scikit user guide, which provides a detailed explanation of all the algorithms used in the study, including rank calculation, classification tree, and learners (

3. Results

In the first analysis, we used classical null hypothesis significance testing (NHST) with a repeated measure design using rmANOVA and pairwise comparisons. The idea was to determine whether our three conditions (Relax, Stroop, and Arithmetic) differ and subsequently compare the pairs (Relax vs. Stroop, Relax vs. Arithmetic, and Stroop vs. Arithmetic) to identify specific differences. By using the psychophysiological indexes computed for each epoch condition, we obtained the descriptive statistics reported in Table 1. The rmANOVA univariate tests showed statistical significance (Table 2) and pairwise comparisons (Table 3) confirmed the differences between Relax and the two stressors in all measures (excluded LF/HF), but the statistical evidence in differentiating the two stressors from each other was not evident.
The NHST revealed univariate differences in psychophysiological correlates of Relax conditions with respect to the stressors. However, it was not possible to state which of the two stressors was the more powerful discriminating acute time-limited stressor from Relax.
To collect more information regarding this issue, we conducted computational analyses using a stratified 10-fold cross-validation with the indices ranked as shown in Figure 1 (for additional information about the rank scoring algorithms that were used for the Python computation, please see The results showed a precision between 69.4% and 74.9% (Table 4) with most of the loss due to predicted Relax when actual was Stroop task, with an error ranging from 7% to 10%, as highlighted in the confusion matrices (Figure 2). An additional analysis of the classification is shown in Figure 3, where the true positive rate (sensitivity) is plotted against the false positive rate (specificity) and the hierarchical classification of measures. Figure 4 shows the classification tree ( that was developed.
A multi-level regression analysis was used to estimate the effect of HRV and respiratory indices on a possible global stress level measured through RSA. This statistical approach, also known as the Hierarchical Linear Model (HLM) [50], was chosen because the within-subject data were collected at three time points (the conditions), determining a nested data structure. The log-likelihood ratio test was then used to determine which model provided the best fit to the data. The results of the multi-level regression analysis for the RSA index (HR Max–HR min) are shown in Table 5 and plotted in Figure 5. (Respiration period is plotted in Figure 6 and Figure 7 for exploration.) The index was predicted successfully by several HRV and Respiration indices, with SDRR, Respiration Period, HR, RR peak frequency, and VLF models providing the best-fit estimates of the parameters. The model accounted for a Quasi Likelihood under Independence Model Criterion (QIC) of 11482.457 (10827.157 with 11 measures) and a Corrected Quasi Likelihood under Independence Model Criterion (QICC) of 11475.866 (10812.777 with 11 measures). The Wald χ2 is shown in Table 5 with the Beta slopes of the regression and the statistical significance levels.

4. Discussion

The goal of this study was to quantitatively analyze psychophysiological measures during mental stress. Consistent with a great number of studies [19], we adopted the Stroop Task and the Arithmetic Task to induce mental stress. We computed several indices using signal processing data analysis. Cardiovascular activity, respiratory activity, and their interactions were measured by heart rate variability indices in the time and spectral domains and respiratory sinus arrhythmia. In addition, we considered skin conductance as an index of sympathetic activity.
Castaldo and colleagues [19] reported the expected value for psychophysiological HRV indices during acute mental stress, considering each one separately with a statistical univariate approach. In this sense, our results, except for HF index, confirmed the same trends highlighted by Castaldo and colleagues in the final meta-analysis that included all the studies in the calculation [19].
In particular, the cardiovascular activity showed an increased physiological activation by increasing the heart rate (HR) and decreasing its inverse expressed in RR peaks distances in millisecond (RR mean). Temporal short term heart rate variability decreased by increasing the standard deviation of the heart rate (SDHR), corresponding to a decrease in the SDNN, RMSSD, and pNN50 indices reported by Castaldo in the meta-analysis [19].
Regarding the frequency domain features, Castaldo reported that during acute mental stress, most studies showed increased sympathetic activation, as measured by low-frequency index (LF), and a decreased parasympathetic activation, as measured by high-frequency index (HF). The consequent sympathovagal balance is just the ratio between these two indexes (LF/HF) and reflects their trends accordingly. In our study, we found also an increase in sympathetic activity with a significantly higher LF during acute mental stress compared to relax condition. On the other hand, we found a different trend in HF, indicating also an increase of parasympathetic activity. This result is not actually surprising. In fact, Castaldo reported that Vuksanovic and colleagues noted the same trend in a 2007 study with an arithmetic task that was exactly the same that we used [19]. This effect could be due to an engagement that would produce a higher level of parasympathetic activity expressed with high frequencies (HF), as has also been reported in other studies [40,41]. In the frequency domain, we also calculated very low frequencies, which showed the same trend as did high frequencies, as expected. We calculated also the peak frequency index that we suggest integrating into further studies on acute mental stress.
Castaldo and colleagues showed the trends of each HRV index during acute mental stress tasks [19]. It seems that a huge gap exists in the literature by not considering the respiration indexes and the role of the respiration in heart rate variability. Since respiration is a very easy signal to record, we included it in the analysis of our 60 participants, discovering that due to its important properties, it can be a useful tool to explore deeply in the future. Our results showed a specific pattern of respiration during acute mental stress tasks. In particular, acute mental stress affects respiration by increasing respiration amplitude and respiration period, which means fewer breath per minute but deeper respiration. Mauri and colleagues also showed increased respiration period during acute mental stress [40].
Recording a respiration signal we are also able to compute another important index, namely the respiratory sinus arrhythmia RSA, which shows a heart rate variability in synchrony with respiration. RSA is an indirect measure of vagal tone, reflecting the way in which vagus nerve regulates emotional functions. The RSA index that we used (HR Max–HR Min) is one possible measure of vagal tone [40,41]. Our results showed a decreased vagal tone during acute mental stress. Moreover, this index appears to be effectively segregate the data into the three conditions. Indeed, HR Max-HR Min, RR peak frequencies, and Respiration Amplitude are able to predict relax or the two stress tasks (Figure 4), but they are not hugely reported in the literature. As such, they should be considered more consistently in future studies on acute mental stress.
Our results are consistent with the general values and directions of the current scientific literature on the effects of acute, time-limited stressors on HRV indices, as reported by Castaldo and colleagues [19]. However, our study went well beyond the current studies in the two aspects described below.
First, different stressors have never been compared before. In fact, although some studies evaluated different types of stressors, they never compared them [19]. In this respect, our study highlighted the substantial differences between Stroop and Arithmetic tasks and clarified how different types of mental stress induce different psychophysiological reactions, even if in the same direction. In particular, the Stroop Task appeared to be more related to short attentional processes than to mental stress probably because involving a cognitive task also resulted in engagement states failing to be different from Relax for such aspects [40]. However, even if less engaging, the Arithmetic task produced a physiological pattern indicating acute mental stress: this task can be therefore considered more appropriate for determining the associations between acute mental stress and short-term psychophysiological reactions, which is consistent with the literature overview [19,40,41]. Stroop Task is supposed to involve executive functions, as subjects are required to act differently from their usual tendencies (not read the word, but the color). Neuroimaging studies have shown that this task activates the anterior cingulate gyrus, the dorsolateral PFC, and the parietal area [41,51,52,53].
On the other hand, we included respiration signal recording in our study. Indeed, although this is a very simple signal to record, studies inquiring respiration indices during acute mental stress are lacking and our contribution represents the first step toward a deeper understanding of the influence of respiration on mental stress in general. Respiration has the advantage to be under the direct control of conscious states, which means that we are able to modulate respiration rate and amplitude at our convenience. This study wants to promote the use of respiration techniques to treat mental stress. However, the extent to which we can invert the process needs to be investigated. In fact, from our study, it seems clear (even if to deeper investigate) that higher acute mental stress is associated with higher respiration amplitude and period; nevertheless, the extent to which reducing respiration amplitude and period can reduce the mental stress needs to be examined accurately, and this would make totally sense according to HRV biofeedback techniques wider used. In this sense, the further investigation of the RSA is an important future challenge.
In our study, we also used computational techniques based on open-source algorithms developed in Python that can classify mental states based only on psychophysiological measures. This aspect poses new challenges for the automatic recognition of stress using machine learning algorithms, which can be implemented in advanced platforms for the recognition of mental stress. In fact, these platforms would require a training dataset based on the subject’s signals in order to work properly. Our study demonstrated that the Arithmetic task rather than Stroop was a better first task for a machine learning training set. Interestingly, the Arithmetic task was also practically easier when compared to the Stroop, which required a monitor showing colored words. Moreover, the Arithmetic task could be implemented easily in a mobile App, for example, as a text message or a recorded message with simple instructions.
The classification tree (Figure 4) and the hierarchical regression analysis (Table 5) highlighted the importance of combining cardiovascular and respiratory aspects by the means of the RSA indexes and also through the Respiration period (see Figure 6). This result underlines the importance of the respiratory signal, which is often neglected in mental stress research. It is especially important when the aim is to collect data during daily activities by the means of wearable sensors and when the inclusion of a strip can be difficult. For unobtrusiveness, BVP and GSR can be detected by a wrist sensor, and a belt over the clothing can be used to detect the respiration signal. The results of our study suggest that a respiratory strip should be included in mental health studies, especially when it is important to detect short-duration events.
Our findings have implications for the computational psychometrics field [54,55]. The results of this study showed a significant potential of new computational techniques. In particular, the challenge of providing automatic feedback to users and patients can allow the development of new forms of treatment based on psychophysiological sensors. Indeed, biofeedback [56], a validated treatment for mental stress based on heart rate variability [57] or other physiological indexes [58,59,60], can be implemented in applications for the management of mental stress by using the same sensors that were used to assess stressful events. Currently, just one platform has been developed for this purpose by Gaggioli and colleagues in a block-randomized controlled trial [33], but the application of such sensors could be extended to other uses. Our findings could be extended to the implementation of an actual platform as an additional step forward in the treatment of mental stress.

Author Contributions

P.C. conceived the idea for this research. P.C. analysed the statistical data. P.C. conducted the psychophysiological signal processing and the computational analyses and wrote the first draft of the article. D.C. contributed to the introduction. P.C., D.C., and G.R. discussed, revised and approved the last version of the article.


This research received no external funding.

Conflicts of Interest

The authors report no financial interests or potential conflicts of interest.


  1. De Kloet, E.R.; Joels, M.; Holsboer, F. Stress and the brain: From adaptation to disease. Nat. Rev. Neurosci. 2005, 6, 463–475. [Google Scholar] [CrossRef] [PubMed]
  2. Cohen, B.E.; Edmondson, D.; Kronish, I.M. State of the art review: Depression, stress, anxiety, and cardiovascular disease. Amer. J. Hypertens. 2015, 28, 1295–1302. [Google Scholar]
  3. Segerstrom, S.C.; Miller, G.E. Psychological stress and the human immune system: A meta-analytic study of 30 years of inquiry. Psychol. Bull. 2004, 130, 601. [Google Scholar] [CrossRef] [PubMed]
  4. Giannopoulou, I. Neurobiological inscriptions of psychological trauma during early childhood. Psychiatrike = Psychiatriki 2012, 23, 27–38. [Google Scholar] [PubMed]
  5. Carr, C.P.; Martins, C.M.; Stingel, A.M.; Lemgruber, V.B.; Juruena, M.F. The role of early life stress in adult psychiatric disorders: A systematic review according to childhood trauma subtypes. J. Nerv. Ment. Dis. 2013, 201, 1007–1020. [Google Scholar] [CrossRef]
  6. Hjortskov, N.; Rissen, D.; Blangsted, A.K.; Fallentin, N.; Lundberg, U.; Sogaard, K. The effect of mental stress on heart rate variability and blood pressure during computer work. Eur. J. Appl. Physiol. 2004, 92, 84–89. [Google Scholar] [CrossRef]
  7. Cipresso, P.; Serino, S.; Villani, D.; Repetto, C.; Sellitti, L.; Albani, G.; Mauro, A.; Gaggioli, A.; Riva, G. Is your phone so smart to affect your state? An exploratory study based on psychophysiological measures. Neurocomputing 2012, 84, 23–30. [Google Scholar] [CrossRef]
  8. Pagani, M.; Mazzuero, G.; Ferrari, A.; Liberati, D.; Cerutti, S.; Vaitl, D.; Tavazzi, L.; Malliani, A. Sympathovagal interaction during mental stress. A study using spectral analysis of heart rate variability in healthy control subjects and patients with a prior myocardial infarction. Circulation 1991, 83, II43–51. [Google Scholar]
  9. Camm, A.J.; Malik, M.; Bigger, J.T.; Breithardt, G.; Cerutti, S.; Cohen, R.J.; Coumel, P.; Fallen, E.L.; Kennedy, H.L.; Kleiger, R.E.; et al. Heart rate variability-standards of measurement, physiological interpretation, and clinical use. Circulation 1996, 93, 1043–1065. [Google Scholar]
  10. Piira, O.-P.; Miettinen, J.A.; Hautala, A.J.; Huikuri, H.V.; Tulppo, M.P. Physiological responses to emotional excitement in healthy subjects and patients with coronary artery disease. Auton. Neurosci. 2013, 177, 280–285. [Google Scholar] [CrossRef]
  11. Tank, A.W.; Wong, D.L. Peripheral and central effects of circulating catecholamines. Compr. Physiol. 2015, 5, 1–15. [Google Scholar] [PubMed]
  12. Landsberg, L.; Krieger, D.R. The sympathoadrenal system and homeostasis: Coping with changes. In Coping with Uncertainty: Behavioral and Developmental Perspectives; Palermo, D.S., Ed.; Psychology Press: London, UK, 2014; p. 39. [Google Scholar]
  13. Hering, D.; Kara, T.; Kucharska, W.; Somers, V.K.; Narkiewicz, K. High-normal blood pressure is associated with increased resting sympathetic activity but normal responses to stress tests. Blood Pressure 2013, 22, 183–187. [Google Scholar] [CrossRef] [PubMed][Green Version]
  14. Villani, D.; Grassi, A.; Cognetta, C.; Toniolo, D.; Cipresso, P.; Riva, G. Self-help stress management training through mobile phones: An experience with oncology nurses. Psychol. Serv. 2013, 10, 315. [Google Scholar] [CrossRef] [PubMed]
  15. Minkley, N.; Schröder, T.P.; Wolf, O.T.; Kirchner, W.H. The socially evaluated cold-pressor test (secpt) for groups: Effects of repeated administration of a combined physiological and psychological stressor. Psychoneuroendocrinology 2014, 45, 119–127. [Google Scholar] [CrossRef] [PubMed]
  16. Hua, J. Psychophysiological adaptation to acute and chronic stress and the role of individual differences. Ph.D. Thesis, Paris 11 University, Paris, France, 12 May 2014. [Google Scholar]
  17. Villani, D.; Grassi, A.; Cognetta, C.; Cipresso, P.; Toniolo, D.; Riva, G. The effects of a mobile stress management protocol on nurses working with cancer patients: A preliminary controlled study. Stud. Health Tech. Inf. 2012, 173, 524. [Google Scholar]
  18. Jovanovic, T.; Sakoman, A.J.; Kozarić-Kovačić, D.; Meštrović, A.H.; Duncan, E.J.; Davis, M.; Norrholm, S.D. Acute stress disorder versus chronic posttraumatic stress disorder: Inhibition of fear as a function of time since trauma. Depress. Anxiety 2013, 30, 217–224. [Google Scholar] [CrossRef] [PubMed]
  19. Castaldo, R.; Melillo, P.; Bracale, U.; Caserta, M.; Triassi, M.; Pecchia, L. Acute mental stress assessment via short term hrv analysis in healthy adults: A systematic review with meta-analysis. Biomed. Signal Process. Control 2015, 18, 370–377. [Google Scholar] [CrossRef]
  20. Kofman, O.; Meiran, N.; Greenberg, E.; Balas, M.; Cohen, H. Enhanced performance on executive functions associated with examination stress: Evidence from task-switching and stroop paradigms. Cognit. Emot. 2006, 20, 577–595. [Google Scholar] [CrossRef]
  21. Vuksanovic, V.; Gal, V. Heart rate variability in mental stress aloud. Med. Eng. Phys. 2007, 29, 344–349. [Google Scholar] [CrossRef]
  22. Lackner, H.K.; Papousek, I.; Batzel, J.J.; Roessler, A.; Scharfetter, H.; Hinghofer-Szalkay, H. Phase synchronization of hemodynamic variables and respiration during mental challenge. Int. J. Psychophysiol. 2011, 79, 401–409. [Google Scholar] [CrossRef]
  23. Taelman, J.; Vandeput, S.; Vlemincx, E.; Spaepen, A.; Van Huffel, S. Instantaneous changes in heart rate regulation due to mental load in simulated office work. Eur. J. Appl. Physiol. 2011, 111, 1497–1505. [Google Scholar] [CrossRef] [PubMed]
  24. Medica-Torino, E.M. Effects of anxiety due to mental stress on heart rate variability in healthy subjects. Minerva Psichiatr. 2011, 52, 227–231. [Google Scholar]
  25. Visnovcova, Z.; Mestanik, M.; Javorka, M.; Mokra, D.; Gala, M.; Jurko, A.; Calkovska, A.; Tonhajzerova, I. Complexity and time asymmetry of heart rate variability are altered in acute mental stress. Physiol. Meas. 2014, 35, 1319–1334. [Google Scholar] [CrossRef] [PubMed]
  26. Teixeira-Silva, F.; Prado, G.B.; Ribeiro, L.C.; Leite, J.R. The anxiogenic video-recorded stroop color-word test: Psychological and physiological alterations and effects of diazepam. Physiol. Behav. 2004, 82, 215–230. [Google Scholar] [CrossRef]
  27. Willmann, M.; Langlet, C.; Hainaut, J.P.; Bolmont, B. The time course of autonomic parameters and muscle tension during recovery following a moderate cognitive stressor: Dependency on trait anxiety level. Int. J. Psychophysiol. 2012, 84, 51–58. [Google Scholar] [CrossRef]
  28. Schneider, G.M.; Jacobs, D.W.; Gevirtz, R.N.; O’Connor, D.T. Cardiovascular haemodynamic response to repeated mental stress in normotensive subjects at genetic risk of hypertension: Evidence of enhanced reactivity, blunted adaptation, and delayed recovery. J. Hum. Hypertens. 2003, 17, 829–840. [Google Scholar] [CrossRef]
  29. Smets, E.; Casale, P.; Großekathöfer, U.; Lamichhane, B.; De Raedt, W.; Bogaerts, K.; Van Diest, I.; Van Hoof, C. Comparison of machine learning techniques for psychophysiological stress detection. In Pervasive Computing Paradigms for Mental Health: 5th International Conference, Mindcare 2015, Milan, Italy, September 24–25, 2015; Serino, S., Matic, A., Giakoumis, D., Lopez, G., Cipresso, P., Eds.; Springer: Berlin/Heidelberg, Germany, 2015; Volume 604, pp. 13–22. [Google Scholar]
  30. Maglogiannis, I.G. Emerging Artificial Intelligence Applications in Computer Engineering: Real Word ai Systems with Applications in Ehealth, Hci, Information Retrieval and Pervasive Technologies; IOS Press: Netherlands, 2007; Volume 160. [Google Scholar]
  31. Giakoumis, D.; Drosou, A.; Cipresso, P.; Tzovaras, D.; Hassapis, G.; Gaggioli, A.; Riva, G. Using activity-related behavioural features towards more effective automatic stress detection. PLoS ONE 2012, 7, e43571. [Google Scholar] [CrossRef]
  32. Tartarisco, G.; Carbonaro, N.; Tonacci, A.; Bernava, G.; Arnao, A.; Crifaci, G.; Cipresso, P.; Riva, G.; Gaggioli, A.; De Rossi, D. Neuro-fuzzy physiological computing to assess stress levels in virtual reality therapy. Interact. Comput. 2015, 27, 521–533. [Google Scholar] [CrossRef]
  33. Gaggioli, A.; Pallavicini, F.; Morganti, L.; Serino, S.; Scaratti, C.; Briguglio, M.; Crifaci, G.; Vetrano, N.; Giulintano, A.; Bernava, G. Experiential virtual scenarios with real-time monitoring (interreality) for the management of psychological stress: A block randomized controlled trial. J. Med. Internet Res. 2014, 16, e167. [Google Scholar] [CrossRef]
  34. Gaggioli, A.; Pioggia, G.; Tartarisco, G.; Baldus, G.; Corda, D.; Cipresso, P.; Riva, G. A mobile data collection platform for mental health research. Pers. Ubiquitous Comput. 2013, 17, 241–251. [Google Scholar] [CrossRef]
  35. Serino, S.; Cipresso, P.; Gaggioli, A.; Riva, G. The potential of pervasive sensors and computing for positive technology: The interreality paradigm. In Pervasive and Mobile Sensing and Computing for Healthcare: Technological and Social Issues; Mukhopadhyay, C.S., Postolache, A.O., Eds.; Springer: Berlin/Heidelberg, Germany, 2013; pp. 207–232. [Google Scholar]
  36. Carbonaro, N.; Tognetti, A.; Anania, G.; De Rossi, D.; Cipresso, P.; Gaggioli, A.; Riva, G. A mobile biosensor to detect cardiorespiratory activity for stress tracking. In Proceedings of the 7th International Conference on Pervasive Computing Technologies for Healthcare; ICST (Institute for Computer Sciences, Social-Informatics and Telecommunications Engineering): Venice, Italy, 2013; pp. 440–445. [Google Scholar]
  37. Lin, Y. A natural contact sensor paradigm for nonintrusive and real-time sensing of biosignals in human-machine interactions. IEEE Sens. J. 2011, 11, 522–529. [Google Scholar] [CrossRef]
  38. Frank, A.M.; Thieberger, G.; Ben-Haim, A.T. Situation-dependent libraries of affective response. U.S. Patent No. 9,230,220, 5 January 2016. [Google Scholar]
  39. McCarthy, C.; Pradhan, N.; Redpath, C.; Adler, A. Validation of the empatica e4 wristband. In Proceedings of the 2016 IEEE EMBS International Student Conference (ISC), Ottawa, ON, Canada, 29–31 May 2016; pp. 1–4. [Google Scholar]
  40. Mauri, M.; Magagnin, V.; Cipresso, P.; Mainardi, L.; Brown, E.N.; Cerutti, S.; Villamira, M.; Barbieri, R. Psychophysiological signals associated with affective states. IEEE Eng. Med. Biol. 2010, 3563–3566. [Google Scholar]
  41. Magagnin, V.; Mauri, M.; Cipresso, P.; Mainardi, L.; Brown, E.; Cerutti, S.; Villamira, M.; Barbieri, R. Heart rate variability and respiratory sinus arrhythmia assessment of affective states by bivariate autoregressive spectral analysis. Comput. Cardiol. 2010, 37, 145–148. [Google Scholar]
  42. Love, J.; Selker, R.; Marsman, M.; Jamil, T.; Dropmann, D.; Verhagen, A.; Wagenmakers, E. Jasp (version [computer software]. Amsterdam, The Netherlands: JASP Project. 2015. Available online: (assesed on 8 February 2019).
  43. Kuehl, R.O. Design of Experiments: Statistical Principles of Research Design and Analysis, 2nd ed.; Duxbury/Thomson Learninyg: Pacific Grove, CA, USA, 2000; p. xvi. 666p. [Google Scholar]
  44. Oehlert, G.W. A First Course in Design and Analysis of Experiments; W.H. Freeman: New York, NY, USA, 2000; p. xvii. 659p. [Google Scholar]
  45. Caruana, R.; Niculescu-Mizil, A. An empirical comparison of supervised learning algorithms. In Proceedings of the 23rd International Conference on Machine Learning, New York, NY, USA, 25–29 June 2006; pp. 161–168. [Google Scholar]
  46. Suthaharan, S. Machine learning models and algorithms for big data classification. Integr. Ser. Inf. Syst. 2016, 36, 1–12. [Google Scholar]
  47. Kotsiantis, S.B. Supervised machine learning: A review of classification techniques. Informatica 2007, 31, 249–268. [Google Scholar]
  48. Wang, S.; Li, D.; Petrick, N.; Sahiner, B.; Linguraru, M.G.; Summers, R.M. Optimizing area under the roc curve using semi-supervised learning. Pattern Recognit. 2015, 48, 276–287. [Google Scholar] [CrossRef] [PubMed]
  49. Davis, J.; Goadrich, M. The relationship between precision-recall and roc curves. In Proceedings of the 23rd International Conference on Machine Learning, Pittsburgh, PA, USA; 2006; pp. 233–240. [Google Scholar]
  50. Raudenbush, S.W.; Bryk, A.S. Hierarchical Linear Models: Applications and Data Analysis Methods, 2nd ed.; Sage Publications: Thousand Oaks, CA, USA, 2002. [Google Scholar]
  51. Swick, D.; Jovanovic, J. Anterior cingulate cortex and the stroop task: Neuropsychological evidence for topographic specificity. Neuropsychologia 2002, 40, 1240–1253. [Google Scholar] [CrossRef]
  52. Carter, C.S.; Braver, T.S.; Barch, D.M.; Botvinick, M.M.; Noll, D.; Cohen, J.D. Anterior cingulate cortex, error detection, and the online monitoring of performance. Science 1998, 280, 747–749. [Google Scholar] [CrossRef]
  53. MacDonald, A.W.; Cohen, J.D.; Stenger, V.A.; Carter, C.S. Dissociating the role of the dorsolateral prefrontal and anterior cingulate cortex in cognitive control. Science 2000, 288, 1835–1838. [Google Scholar] [CrossRef]
  54. Cipresso, P.; Matic, A.; Giakoumis, D.; Ostrovsky, Y. Advances in computational psychometrics. Comput. Math. Methods Med. 2015. [Google Scholar] [CrossRef]
  55. Cipresso, P. Modeling behavior dynamics using computational psychometrics within virtual worlds. Front. Psychol. 2015, 6, 1725. [Google Scholar] [CrossRef] [PubMed]
  56. Brown, B.B. Stress and the Art of Biofeedback; Harper & Row: Oxford, England, 1977. [Google Scholar]
  57. Whited, A.; Larkin, K.T.; Whited, M. Effectiveness of emwave biofeedback in improving heart rate variability reactivity to and recovery from stress. Appl. Psychophysiol. Biofeedback 2014, 39, 75–88. [Google Scholar] [CrossRef] [PubMed]
  58. Shusterman, V.; Barnea, O. Sympathetic nervous system activity in stress and biofeedback relaxation. IEEE Eng. Med. Biol. Mag. 2005, 24, 52–57. [Google Scholar] [CrossRef] [PubMed]
  59. Villani, D.; Cipresso, P.; Gaggioli, A.; Riva, G. Positive technology for helping people cope with stress. Integrating Technol. Posit. Psychol. Pract. 2016, 316. [Google Scholar]
  60. Gaggioli, A.; Cipresso, P.; Serino, S.; Campanaro, D.; Pallavicini, F.; Wiederhold, B.; Riva, G. Positive technology: A free mobile platform for the self-management of psychological stress. Stud. Health Technol. Inf. 2014, 199, 25. [Google Scholar]
Figure 1. Ranks scoring algorithms results.
Figure 1. Ranks scoring algorithms results.
Sensors 19 00781 g001
Figure 2. Confusion matrixes for the four classification methods.
Figure 2. Confusion matrixes for the four classification methods.
Sensors 19 00781 g002
Figure 3. ROC Analyses for the three conditions and the hierarchical map.
Figure 3. ROC Analyses for the three conditions and the hierarchical map.
Sensors 19 00781 g003
Figure 4. Classification Tree based on the Gini index (measure of dispersion).
Figure 4. Classification Tree based on the Gini index (measure of dispersion).
Sensors 19 00781 g004
Figure 5. Scatter plots for HR Max–HR min over other cardiorespiratory measures.
Figure 5. Scatter plots for HR Max–HR min over other cardiorespiratory measures.
Sensors 19 00781 g005
Figure 6. Scatter plots for Respiration over other cardiorespiratory measures.
Figure 6. Scatter plots for Respiration over other cardiorespiratory measures.
Sensors 19 00781 g006
Figure 7. Box plot for the first five measures ranked for classification (Figure 1) and a scatter plot of all the measures standardized between zero and one and averaged among them.
Figure 7. Box plot for the first five measures ranked for classification (Figure 1) and a scatter plot of all the measures standardized between zero and one and averaged among them.
Sensors 19 00781 g007
Table 1. Descriptive Statistics.
Table 1. Descriptive Statistics.
MeasureConditionNMeanStd. Dev.Std. Error
Respiration AmplitudeRelax581.0410.6330.083
Respiration PeriodRelax583867.726486.56263.889
Respiration Rate (BPM)Relax5816.2661.7850.234
BVP AmplitudeRelax589.8145.4880.721
RR meanRelax58772.724111.79714.680
RR peak frequencyRelax580.1280.0700.009
HR Max–HR minRelax5810.0937.4910.984
Skin Conductance (SC)Relax5811.60310.6001.392
Table 2. rmANOVA Univariate Tests (Greenhouse-Geisser corrected).
Table 2. rmANOVA Univariate Tests (Greenhouse-Geisser corrected).
MeasuredfFSig.Partial η2
Respiration Amplitude1.41885.732<0.0010.601
Respiration Period1.744102.223<0.0010.642
Respiration Rate (BPM)1.63586.097<0.0010.602
BVP Amplitude1.080106.903<0.0010.652
RR mean1.35333.355<0.0010.369
RR peak frequency1.45119.185<0.0010.252
HR Max-HR min1.55873.009<0.0010.562
Skin Conductance (SC)1.112119.135<0.0010.676
Table 3. Pairwise Comparisons: Mean differences (St. Dev.).
Table 3. Pairwise Comparisons: Mean differences (St. Dev.).
MeasureRelax vs. StroopRelax vs. ArithmeticArithmetic vs. Stroop
Respiration Amplitude0.822 * (0.095)1.581 * (0.155)−0.760 * (0.104)
Respiration Period827.565 * (86.499)1380.723 * (114.278)−553.157 * (88.322)
Respiration Rate (BPM)−2.283 * (0.279)−3.414 * (0.307)1.132 * (0.196)
BVP Amplitude−5.990 * (0.559)−6.145 * (0.597)0.155 (0.139)
RR mean−68.378 * (11.398)−66.835 * (10.747)−1.543 (5.364)
HR10.519 * (1.365)10.985 * (1.356)−0.466 (0.691)
RR peak frequency−0.059 * (0.011)−0.035 * (0.011)−0.024 * (0.006)
HR Max–HR min20.530 * (2.559)29.421 * (2.991)−8.891 * (1.794)
SDHR7.247 * (0.880)10.542 * (0.969)−3.295 * (0.456)
VLF364.900 * (45.725)397.386 * (66.608)−32.487 (64.606)
LF628.482 * (125.608)1047.121 * (150.396)−418.639 * (112.210)
HF644.916 * (251.945)1045.813 * (245.665)−400.896 * (118.022)
LF/HF0.185 (0.191)−0.379 (0.175)0.564 * (0.138)
Skin Conductance (SC)8.041 * (0.816)9.291 * (0.751)−1.250 * (0.223)
Based on estimated marginal means; * The mean difference is significant at the 0.05 level (Bonferroni adjusted for multiple comparisons).
Table 4. Stratified 10-fold Cross validation. Four learning algorithms were compared, i.e., (1) Logistic regression, (2) random forest, (3) support vector machine, and (4) Naïve Bayes. In the analysis, the classification learning algorithm was used for the classifications referring to the test used for ranking (Figure 1) [30,47,48,49].
Table 4. Stratified 10-fold Cross validation. Four learning algorithms were compared, i.e., (1) Logistic regression, (2) random forest, (3) support vector machine, and (4) Naïve Bayes. In the analysis, the classification learning algorithm was used for the classifications referring to the test used for ranking (Figure 1) [30,47,48,49].
Logistic Regression0.8080.7440.7460.7490.744
Random Forest0.7710.6940.6920.6940.694
Support Vector Machine (SVM)0.8000.7330.7310.7320.733
Naive Bayes0.7960.7280.7230.7330.728
AUC (Area under the ROC curve) is the area under the classic receiver-operating curve. CA (Classification accuracy) represents the proportion of the examples that were classified correctly. F1 represents the weighted harmonic average of the precision and recall (defined below). Precision represents a proportion of true positives among all the instances classified as positive. In our case, the proportion of a condition was identified correctly. Recall represents the proportion of true positives among the positive instances in our data.
Table 5. Parameter Estimates.
Table 5. Parameter Estimates.
ParameterBStd. ErrorHypothesis Test
Wald Chi-SquaredfSig.
Respiration Period0.0030.000910.75210.001
RR peak frequency57.61412.336021.8121<0.001
Dependent Variable: HR Max–HR min (RSA)

© 2019 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (
Back to TopTop