## 3 Results
\begin{table}
\begin{tabular}{l l l l} \hline \hline
**Metric** & **Typical Values** & \begin{tabular}{l} **Average Value without** \\ **sor Network** \\ \end{tabular} & \begin{tabular}{l} **Sen-** \\ **sor Network** \\ \end{tabular} & \
\begin{tabular}{l} **Average Value with Sensor Network** \\ \end{tabular} \\ \hline Heart rate (HR) & 60 to 100 beats per min & 81.2 & 80.72 \\ \hline Breathing frequency (BF) & 12 to 18 breaths per min & 15.72 & 16.6 \\ \hline Temperature (T) & 97.8 \({}^{\circ}\)F to 99.1 \({}^{\circ}\)F (36.5 \({}^{\circ}\)C to 37.3 \({}^{\circ}\)C) & 36.87 & 37.16 \\ \hline Oxygen saturation (OS) & 95–100\% & 95.04 & 93.84 \\ \hline Total sleep time (TST) & between 7 and 8 h & 6.96 & 6.04 \\ \hline REM sleep (REMS) & between 20–25\% of total sleep time & 21.64 & 19.54 \\ \hline Deep sleep (DS) & between 10–20\% of sleep time & 15.52 & 12.22 \\ \hline Heart Rate Variability (HRV) &
\begin{tabular}{l} Higher HRV indicates a relaxed and less \\ stressed state than a lower HRV \\ \end{tabular} & 14.7 & 10.22 \\ \hline Snoring (S) & few or none of sleep time & 5.9 & 7.44 \\ \hline \hline \end{tabular}
\end{table} 
Table 5: Vital signs metrics. The overall sleep score on a smartwatch is a sum of the individual scores for sleep duration, sleep quality, and recovery, with a maximum total score of 100. Most people score between 72 and 83. The sleep score ranges are as follows: Excellent: 90-100, Good: 80-89, Fair: 60-79, Poor: Less than 60. These scores consider metrics such as time asleep and awake, how much a person sleeps, and the quality and recovery (turns that decrease quality) of sleep. Most smartwatches and fitness trackers have a 3-axis accelerometer and gyroscope to measure orientation and rotation. Through actigraphy, the smartwatch translates wrist movements into sleep patterns. These activity bracelets or smartwatches cannot accurately discriminate the stages of sleep. Now, we consider stress conditions under parameters of noise, poor ventilation, high lighting, and uncomfortable sleeping positions. Relaxation conditions are evidenced by low lighting, cool ventilation (that the person does not feel too cold or hot), low or no noise, and a comfortable sleeping position. Regarding the qualitative analysis, people sleep one week under stress conditions and another one week under relaxing conditions. Afterward, we asked people their opinions (every day) regarding sleep and the number of hours of rest. Regarding the quantitative analysis, we took a sample of 50 people and measured the rhythm of sleep under stress conditions as mentioned above for one week. We then implemented a simple sensor network in the bedroom that regulates lights and noise and monitors air quality and movements. Figure 20 shows the sleep behavior of each person in the experimental sample. The blue line describes sleep in relaxing conditions, where the person sleeps with low lighting, no noise, rests in a comfortable position, and with good ventilation. Contrary to the previous scenario, the black line shows sleep (for the same sample of people) under stress conditions. It is notable to observe the difference of 22% between the behavior of the person's sleep during the week of stress conditions compared to the week under the quality of relaxation conditions of the sensor network. Figure 19: Behavior of vital signs in people with the sensor network and without the sensor network. Figure 21 shows that sleep rhythm is a Gaussian distribution because of the box plot patterns that we observe. This Figure shows the box for both sleeping with stress conditions and with relax conditions. For the stress conditions, the box is symmetrical and the median is centered. In the other hand, the box for relax conditions is more asymmetrical and a median low-oriented. As for the first plot, its characteristics are closer to a Gaussian distribution, it is a sign to confirm it.