# Design and Implementation of Health and Risk Level Assessment for Socially Disadvantaged Patients
## 4 Performance Analysis
### Sensor Data Measurement, Analysis, and Consideration
In addition, location was found to have a statistically significant negative (\(-\)) effect on anxiety (\(p<0.001\)), and gyroscope was shown to have a statistically significant negative (\(-\)) effect on anxiety (\(p<0.001\)). It can be interpreted that a higher physical activity reduces depression and a lower physical activity increases depression, and it has been confirmed that physical activity has a greater effect on anxiety than depression. As is widely known, participation in physical activity in the elderly population has a positive effect on mental health. In this research, it was also confirmed that the higher the level of physical activity, the lower the depression and anxiety. It was found that only regular light walking exercise can reduce stress and depression; therefore, it is necessary to establish a systematic system that can help encourage steady and regular physical activity. In this research, smartphone usage was measured using data usage and touch information, and the degree of smartphone addiction was used as a decision variable. The results of the research showed that data usage did not have a statistically significant effect on depression, but touch did have a statistically significant positive (\(+\)) effect (\(p<0.001\)). Also, data usage had a statistically significant positive (\(+\)) effect on anxiety (\(p<0.001\)), and touch also had a statistically significant positive (\(+\)) effect on anxiety (\(p<0.001\)). This can be interpreted to mean that the greater the smartphone usage and the more touches made on the smartphone, the more negative the effect on mental health. As is widely known, the higher the level of smartphone addiction, the poorer the mental health status. The effect of data usage and touch measured in this research on depression and anxiety coincided. In particular, it was confirmed that the frequency of smartphone use had a greater impact on anxiety than depression. Anxiety can lead to smartphone dependence, and smartphone overdependence can increase depression and anxiety. To break the negative link of smartphone overdependence and mental health deterioration, appropriate prevention education programs and treatment support programs are needed. In this research, sleep mode was used as a variable to explain the sleep state as the information obtained by measuring the sleep time. The result showed that sleep mode had a statistically significant negative (\(-\)) effect on depression (\(p<0.001\)). Also, sleep mode was found to have a statistically significant negative (\(-\)) effect on anxiety (\(p<0.001\)). This can be interpreted to mean that the greater the lack of sleep, the more negative the effects on depression and anxiety. In general, there is a statistically significant negative (\(-\)) correlation between sleep quality and mental health, and when comparing people who achieve an adequate amount of sleep with those who do not, the more insufficient or excessive sleep is, the more likely it is that depression will develop. Therefore, the negative (\(-\)) effect of sleep mode on depression and anxiety found in this study was consistent with the results of previous studies. In addition, to improve the quality of sleep, it is known that appropriate physical activity and leisure activities reduce stress and improve sleep quality, and that the temperature during sleep also affects the quality of sleep. Based on these preceding studies, measures related to physical activity are needed for positive changes in mental health. This study investigated whether there is a relationship between mental health and digital biomarkers measurable on smartphones. Based on previous studies, the digital biomarker information was classified into three major categories. Location and gyroscope were classified as physical activity, data usage and touch as smartphone addiction, and sleep mode as sleep state. The results of the research confirmed that all measurements made using our application had a statistically significant effect on depression and anxiety.