Skip to main content
Scientific Reports logoLink to Scientific Reports
. 2024 Oct 23;14:24974. doi: 10.1038/s41598-024-76813-z

Urbanization, loneliness and mental health model - A cross-sectional network analysis with a representative sample

Dominika Ochnik 1,✉, Bartłomiej Buława 2, Paulina Nagel 2, Marek Gachowski 2, Marcin Budziński 3
PMCID: PMC11499986  PMID: 39443642

Abstract

With increasing urbanization, more people are exposed to mental health risk factors stemming from the urban social or physical environment. However, research on the relationship between urbanization and mental health is lacking. This cross-sectional study aimed to explore the relationships of the physical environment (spatial cohesion and urban environment) and social factors (neighborhood cohesion) with mental health (stress, anxiety and depression symptoms) and physical health and the mediating role of loneliness based on the proposed theoretical model. The study was conducted in Metropolis GZM (Silesia, Poland) in a representative sample of 3296 residents (48% women). The measurements used were the PSS-10, GAD-7, PHQ-9, R-UCLA3 and neighborhood cohesion scale. ANOVA results showed that city residents had better mental health indices than residents of villages and small towns. The network approach revealed that urbanization was one of the most influential nodes and played the role of a bridge between all other nodes. The model was confirmed and showed that the relationships between the physical environment and mental health were consecutively mediated by neighborhood cohesion and loneliness. Spatial cohesion related to factors of the physical environment and physical health, while physical health was directly connected to sociodemographic factors and weakly to stress. Anxiety was the strongest risk factor. Mental health can be improved by social and architectural factors, such as strengthening neighborhood cohesion and improving neglected buildings.

Subject terms: Human behaviour, Environmental social sciences

Introduction

Urbanization constitutes a critical change for human health and will pose further challenges in the coming decades1. Currently, 55% of the global population lives in cities, and 50% of city dwellers reside in cities whose population exceeds 500,000. It is predicted that by 2050, this ratio will reach 70% globally and even 90% in Asia and Africa2.

Environmental research on the connection between urbanization and psychological disorders such as anxiety and depression conducted in 191 countries revealed a positive, nonlinear relationship between a greater frequency of psychological disorders, especially anxiety, and urbanized areas. However, no relationship was found between population size and anxiety or depression3.

A meta-analysis of studies surveying developed countries confirmed that mood disorders (39%) and anxiety (21%) occurred more frequently in urban environments than in rural environments4. According to further review of international studies conducted in 44 countries, the occurrence of anxiety ranged from 0.9% to 28.3%, as reported in 87 academic articles5. When analyzed globally, the occurrence of anxiety was determined by sex, age, culture, economic status and urbanization. The analysis confirmed that residing in a rural setting was connected to a greater occurrence of anxiety5. However, these results may be due to the use of a nonrepresentative sample of the rural population.

Higher urbanization regarding population size (i.e., population exceeding 500,000 vs. below 20,000) is associated a higher incidence of mood disorders (13.9% vs. 7.8%)6. However, other studies have not confirmed a greater occurrence of depression in urban settings7,8. Additionally, the relationship between urbanization and mental health is more significant when a self-reported method is used rather than the DSM8,9.

Mental health risk factors in urban environments are divided into two fundamental categories: social and physical. Social risk factors include low socioeconomic status, low social capital, social segregation and a lack of social and neighborhood cohesion10–16. Particularly important is social cohesion, which reflects the level of social relationships and solidarity in societies and relates to the level of trust among individuals and among societies20,21. Greater social cohesion is associated with better mental and physical health22–25. Moreover, neighborhood cohesion as a measure of cognitive and structural social capital26plays an important role in preventing depression and anxiety27. Moreover, a study conducted in the Netherlands indicated that it is not the level of urbanization but rather social neighborhood factors, such as socioeconomic status and social cohesion, that are associated with the severity and prevalence of anxiety disorders7.

Physical risk factors in the urban environment include a higher level of air pollution and noise pollution, specific architectural factors (e.g., high-rise buildings that are perceived as more oppressive), and greater physical threat levels (e.g., accidents, violence)28–41. The use of urban public areas is also positively associated with mental health28–32, as is physical activity32. Compared with the rural environment, these physical environment factors are perceived as being associated with higher stress levels and negative impacts on mental health35–41. People who are subjected to intense traffic noise (control variables: socioeconomic status, age, and place of residence) are at risk of problems associated with mental health42. On the other hand, green spaces are considered an element of the physical environment that has a protective effect on mental health, and studies indicate that mental health is positively affected by the diversity43, quality44, and ease of access of green areas as well as their proximity45–48and number49–51. However, access to green spaces is not associated with the quality of physical health, but poor architectural conditions of neighborhoods (e.g., vandalism, graffiti) are associated with poor physical health52. Spatial cohesion is defined as an indicator of sustainability to determine the sufficiency of the size and connectivity of ecosystem networks for sustainable biodiversity protection53. Thus, the distance and frequency of use of green and urban public spaces are integral parts of spatial cohesion.

In the context of civilizational challenges, the feeling of loneliness is an important aspect of mental and physical health. Loneliness is an unpleasant emotional feeling54. From an evolutionary perspective, this is an aversive state that motivates people to take action to mitigate the negative feelings of loneliness, similarly to hunger, and it promotes behavior change to increase the likelihood of the survival of one’s genes55. Loneliness not only explicit attention to social stimuli but also increases implicit attention to social threats. However, sensitivity to social threats is much higher than sensitivity to positive attention to social stimuli. Similarly to hunger, where sensitivity to bitter taste that is potentially poisonous, is much higher compared to sensitivity to sweet taste that is potentially safe. Thus, particularly in social environment populated by endangering individuals, loneliness can be enhanced as a protective mechanism55. It is argued that loneliness could be exacerbated in a crowded environment. In heavily populated areas, people tend to disconnect themselves as a self-protective mechanism since a crowded environment can be harmful to them physiologically and psychologically56. Greater overcrowding along with population density are related to higher loneliness, while social inclusivity and contact with nature, to lower loneliness57. The level of loneliness is higher in more urbanized areas58, while in rural areas, the sense of community is higher4,59. On the other hand, when it comes to personal, intimate space, loneliness predicts a preference for larger interpersonal distance, which is explained by the gradients of approach-avoidance conflict60.

Research also shows that social withdrawal61or lack of social interaction62can play a mediating role between the physical environment (e.g., housing quality) and mental health. Greater loneliness is also directly related to a lack of engagement with neighbors63. Moreover, there is evidence that loneliness partially mediates the relationship between perceived social support and depression64.

Moreover, loneliness partially mediates the relationship between time spent visiting green spaces and mental health65. A recent systematic review revealed a direct protective role of urban green spaces against loneliness66. Longitudinal research showed a lower cumulative incident of loneliness with an increase in urban greening within 1.6 km, while relationships between green space within shorter distances (400 m, 800 m) and loneliness were significant but weaker67. Previous studies suggest that the potential underlying mechanisms between green areas and loneliness would be social connection and solace68. There is also a positive association between housing disrepair and loneliness69,70.

Loneliness has been referred to as a modern behavioral epidemic71. Consequently, deteriorating mental health, progressing urbanization and the epidemic of loneliness constitute critical social challenges in view of the sustainable development goals72.

Due to progressing urbanization, people are increasingly exposed to risk factors stemming from urban social and physical environments. This contributes to increased stress, which in turn negatively affects mental health. However, cities offer better access to health care, employment opportunities and education. A balance between the harmful and beneficial factors that affect mental health requires a better understanding of the interactions between life in the city and mental health. However, the current understanding of the interactions between the urban environment and mental health is insufficient, and the underlying mechanism remains unclear49.

The present study

This study aimed to explore the mechanism underlying the associations between mental health and physical health and between mental health and social factors. We present a theoretical model of urbanization and mental health based on the theoretical model of the impact of physical and urban environmental factors on mental well-being62, a conceptual framework of the relationships between factors related to urban health and mental health3, and a literature review. The model captures features of the physical and urban environment that affect mental health (e.g., perceived stress, anxiety and depression symptoms) through social interactions, among other factors. Research also points to the mediating role of feelings of loneliness between social cohesion and physical health60. The model presented here introduces loneliness as an unpleasant emotional feeling61and a mediating variable between mental health and physical and social environmental factors. On an ecological basis, van der Wal and team3proposed a model of the relationship between urban environmental factors and common mental health disorders in the context of meta-factors (e.g., economic development) that have a dynamic effect on factors of the urban physical environment (urban level, e.g., specificity of buildings), social factors (e.g., social cohesion) and individual factors (e.g., sociodemographic, psychological, neurobiological characteristics). The assumptions of van der Wal’s model3 were incorporated into the current model as dependencies from a complex systems perspective.

Included at the social level is neighborhood cohesion, which comprises neighborhood belonging and social cohesion in our theoretical model. The physical environment includes spatial cohesion, defined as the distance and frequency of use of green areas and urban public spaces as well as the physical characteristics of the neighborhood environment, defined as the place of residence (urbanization), personal space, type of residence building, and neglect of the neighborhood environment. At the individual level, sociodemographic characteristics are introduced (e.g., sex, age, monthly income) in addition to the relationships between the aforementioned factors and both mental health (stress, fear, anxiety) and physical health (self-rated health and physical activity) via feelings of loneliness. Self-rated health is a subjective measure relating to a person’s feelings about their health status73, while physical activity refers to the behavioral aspect related to the time of aerobic exercise weekly74. Physical activity is closely related to improved physical health status75,76. Thus, even though those are two distinct notions, we included them in a common category of physical health.

Thus, we introduce a theoretical model of the relationships between mental health (stress, anxiety, depression) and physical health (self-rated health and physical activity) in the context of external environmental factors (spatial cohesion and physical characteristics of the neighborhood environment), social factors (neighborhood cohesion) and sociodemographic factors at the individual level with the mediating role of loneliness. Figure 1 below outlines the theoretical model.

Fig. 1.

Fig. 1

Theoretical model of mental health in the context of the physical environment at the social and individual levels with the mediating role of loneliness and neighborhood cohesion.

We hypothesized that neighborhood cohesion would be adversely related to loneliness63. Similarly, we expected that aspects of spatial cohesion would also be negatively related to loneliness. We also expected to confirm the mediating role of loneliness between neighborhood cohesion and mental health as well as physical environment and mental health77. Based on previous research55,56,58, we hypothesized that living in urban areas, and worse neighborhood conditions would be associated with higher levels of loneliness, while larger personal space with higher loneliness60.

The study was conducted in a highly urbanized region in Poland, the Metropolis of Upper Silesia and the Dąbrowa Basin (GZM). This is the first statutory metropolis in Poland. It was launched in 2017, covers an area of 2,554 km2, and is inhabited by more than 2 million residents. This is under 1% of the territory of Poland and simultaneously 6% of its population. It comprises 26 urban municipalities (including 13 cities with county rights), two urban‒rural municipalities, and 13 rural municipalities. GZM produces 8% of the country’s GDP.

This is a unique interdisciplinary study of mental health that captures the specificity of the physical environment through the mediating role of loneliness and takes an interdisciplinary approach to explain the mental health of a representative sample of residents with consideration of multiple contexts. The use of network analysis allows for the exploration of relationships that are not yet well understood.

Results

Participants

The sample consisted of 3,296 participants and was representative of the Metropolis GZM population in Poland. All participants signed consent forms.

The participants’ ages ranged from 18 to 90 years (M = 44.70, SD = 16.47). The most numerous age group was 35–40 years old (25.40%). There were more men than women in the sample (52%), and most of the participants lived in a city of 100,000–300,000 habitants (52%), which are considered urban areas with a higher density (1308–3443 persons per km2). This reflects the specificity of the GZM. The majority of the participants had secondary or lower education (62%), were married (53%) and had children (65%). The largest group earned more than minimum wage but less than the median income in the country (38%). Most of the participants were physically inactive (72%) according to the WHO guidelines indicating the need for 150 min of physical activity per week.

The initial sample consisted of 3301 participants; however, 5 people (aged 95–99 years) did not meet the inclusion criterion (18–90 years) and were excluded from the study.

A description of the specific categories of sociodemographic characteristics is presented in Table 1.

Table 1.

Sociodemographic characteristics of the representative sample (N = 3296).

Variable Category n %
Man 1723 52.30
Woman 1573 47.70
Age category
18–24 513 15.60
25–34 548 16.60
35–44 538 16.30
45–54 566 17.20
55–90 1131 34.30
Village 713 21.60
Small town 219 6.60
Town 823 25.00
City 1541 46.80
Secondary education or lower 2051 62.20

Tertiary education and higher

(BA, MA, PhD)

1245 37.80
Marital status
Married 1733 52.60
Divorced 294 8.90
Widowed 169 5.10
Never married 1100 33.40
Yes 2148 65.20
No 1148 34.80
Employed 2001 60.70
Unemployed 285 8.60
Other 1010 30.70
Net income monthly
Under 2398 PLN 827 25.10
2398–3402 PLN 1242 37.70
3403–6806 PLN 1010 30.60
Over 6806 PLN 217 6.60
Active (> 150 min. weekly) 907 27.50
Inactive (< 150 min. weekly) 2389 72.50

In terms of spatial cohesion, most of the participants were under 300 m from the green public area (36%) and 500–1000 m from the closest urban public common area (27%). Nearly one in four participants used green public areas at least twice a week (24%) and urban public common areas (26%). The majority of the participants lived in blocks of flats or tenements (68%). The descriptive statistics for spatial cohesion are presented in Table 2.

Table 2.

Descriptive statistics for spatial cohesion and building type in a representative sample of GZM inhabitants (N = 3296).

Variable Category N %
Under 300 m 1194 36.20
300–500 m 906 27.50
500–1000 m 674 20.50
1–2 km 314 9.50
Over 2 km 208 6.30
Not at All 744 22.60
Once 725 22.00
Twice 797 24.20
3–5 Times 582 17.60
Every Day 448 13.60
Under 300 m 537 16.30
300–500 m 766 23.20
500–1000 m 889 27.00
1–2 km 547 16.60
Over 2 km 557 16.90
Not at All 836 25.30
Once 870 26.40
Twice 827 25.10
3–5 Times 526 16.00
Every Day 237 7.20
House 1061 32.20
Block of Flats, Tenement 2296 67.80

The mental health indices (perceived stress, anxiety, and depression symptoms), feeling of loneliness, neighborhood cohesion (comprising neighborhood belonging and social cohesion), and physical environment factors are presented in detail in Table 3.

Table 3.

Descriptive statistics of mental health indices, loneliness, neighborhood cohesion, and physical environment factors in a representative sample of GZM habitants (N = 3296).

Variable Range Mean Standard Deviation 95% Confidence Interval
Lower Upper
Mental health
Perceived stress 0–40 18.90 6.84 18.60 19.10
Anxiety symptoms 0–21 7.95 5.64 7.75 8.14
Depression symptoms 0–27 8.88 6.64 8.66 9.11
Self-rated rhysical health (1 = Excellent, 5 = Very Poor) 1–5 3.04 0.77 3.01 3.07
Loneliness 20–75 41.70 9.46 41.40 42.00
Neighborhood cohesion
Neighborhood belonging 7–35 24.50 5.43 24.30 24.70
Social cohesion 8–40 26.20 5.96 26.00 26.40
Physical environment
Size – m2 per person 0–469 37.80 33.60 36.70 39.00
REAT – Building poor quality 3–12 6.60 1.73 6.54 6.66

In the sample, 36% of participants met the criteria for anxiety risk, and 39% met the criteria for depression symptom risk. Additionally, more than half of the participants (52%) had high levels of perceived stress, while only 19% reported low levels of stress.

Differences in mental health indices due to urbanization

One-way analysis of variance (ANOVA) revealed that place of residence significantly differentiated perceived stress, F(3,3292) = 8.83, p < 0.001, η2 = 0.008; anxiety, F(3,3292) = 7.79, p < 0.001, η2 = 0.007; and depression, F(3,3292) = 9.00, p < 0.001, η2 = 0.008, but with very small effect sizes. The details are presented in Fig. 2.

Fig. 2.

Fig. 2

Mean values with error bars for (a) perceived stress, (b) anxiety symptoms, and (c) depression symptoms across the place of residence among participants in the GZM metropolitan region, Poland (N = 3296).

Post hoc analysis with Tukey’s HSD test revealed that rural inhabitants were more stressed than inhabitants of towns and cities. The effect size of the difference between villages and towns was minimal (d = 0.14, p = 0.038), while the effect size between villages and cities was small (d = 0.20, p < 0.001). Moreover, inhabitants of small towns scored higher in terms of perceived stress than inhabitants of cities, but the effect size was small (d = 0.24, p = 0.005).

Similarly, participants in villages scored higher in anxiety than those in towns (d = 0.13, p = 0.043) and cities (d = 0.20, p < 0.001). Additionally, participants in small towns reported higher levels of anxiety than participants in cities (d = 0.20, p = 0.024). The effect sizes were very small and small, respectively.

Regarding depression levels, participants in villages (d = 0.22, p < 0.001) scored higher than those in cities. Participants in towns (d = 0.20, p = 0.026) also scored higher than those in cities. The effect sizes were small. The detailed statistics are presented in Tables S1-S3 in the Supplementary Materials.

Correlations

Pearson’s r coefficient analysis showed that mental health indices were strongly positively correlated. Loneliness was strongly positively correlated with mental health indices and was weaker with worse physical health and poorer architectural conditions and was inversely correlated with neighborhood cohesion subscales.

The negative associations between neighborhood cohesion and mental health were small. Higher neighborhood cohesion was linked to better physical health, older age, more frequent use of urban and green public areas, shorter distance to green areas, and poorer architectural conditions in the neighborhood. Worse physical health was associated with older age, lower monthly income, and worse architectural conditions.

Detailed information on the relationships between variables is presented in Fig. 3.

Fig. 3.

Fig. 3

Pearson’s r heatmap. N = 3296. Purple represents positive correlations, while red represents negative correlations. The most intense shading represents a large effect size, while the lightest shading represents a small effect size.*p < 0.05, **p < 0.01, ***p < 0.001.

Network analysis

Based on correlation analysis, the variables significantly associated with mental health indices, loneliness, and neighborhood cohesion were introduced to the network model. The sociodemographic variables were sex, age, and monthly net income; the physical environment factors were place of residence (city), type of building (block of flats and tenement vs. house), and size of personal space (m2 per person); spatial cohesion included distance and use frequency of green and urban public areas and poor quality of neighborhood buildings; neighborhood cohesion included neighborhood belonging and social cohesion; physical health included physical activity and self-reported health (a higher score denoted worse health); and mental health included perceived stress, anxiety and depression symptoms. Loneliness was a mediator between the variables and health according to the theoretical model.

The results of graphical network analysis are presented in Fig. 4. It illustrates compelling positive associations among the mental health variables, with the most pronounced link observed between anxiety and depression, exhibiting a substantial weight of 0.70. This is followed by a notable positive correlation between stress and anxiety, with a weight of 0.41, indicating a strong interrelationship between these psychological states.

Fig. 4.

Fig. 4

Network visualization of the estimated mixed graphical model (MGM). Nodes represent variables from various domains such as Sociodemographic, Physical Environment, Spatial Cohesion, Neighborhood Cohesion, Loneliness, Physical Health, and Mental Health (each distinguished by unique colors) among GZM inhabitants (N = 3296). Edges between nodes signify estimated relationships: green for positive, red for negative, and grey for relationships with categorical variables where the direction is undefined. The thickness of each edge is proportional to the magnitude of the corresponding edge parameter, reflecting the strength of the association. The dichotomized nodes are as follows: Sex (woman = 0, man = 1), City (village, small town, town = 0; city 100K−300K = 1), and Blocks (house = 0; block of flat, tenement = 1).

Furthermore, the analysis reveals a positive correlation between neighborhood belonging and social cohesion, quantified by a weight of 0.53. This suggests that individuals who feel a sense of belonging within their neighborhoods tend to report higher levels of social cohesion.

Conversely, the figure indicates several inverse relationships. There is a negative association between poor neighborhood conditions and neighborhood belonging, with a weight of -0.29, which could reflect the impact of environmental factors on community attachment. Additionally, a negative correlation between social cohesion and loneliness, with a weight of -0.17, implies that as social ties within a community strengthen, feelings of loneliness diminish. Age and stress are also inversely related, albeit more modestly, with a weight of -0.08, suggesting that stress levels may decrease slightly with age.

Within the domain of physical environment variables—with the exception of PNC—there is evidence of robust interconnectivity. Notably, the frequency of use of public green areas and city spaces in the past week shares a pronounced correlation, with a weight of 0.86, indicating that those who visit green spaces are also likely to frequent city spaces. The connection between the place of residence and the type of housing, specifically blocks of flats, has a weight of 0.65, reflecting the relationship between living environments and residential structures. Additionally, the proximity to public green areas and city areas is tightly linked, with a weight of 0.65, suggesting that those living near green spaces also tend to be close to urban public spaces.

Network centrality nodes

Strength

The node strength centrality values obtained from the EBIC model reflect the influence or connectivity of each variable within the network. A higher node strength value indicates that a node has more or stronger connections to other nodes, which can signify its importance or influence in the network.

These results collectively suggest a hierarchy of influence among the variables, with mental health, neighborhood cohesion, and environmental factors being more prominent, while demographic factors such as sex appear to be less central within the network under study.

Closeness

The node closeness centrality results from the EBIC model indicate the proximity of each variable to all others within the network. A higher closeness centrality value denotes a node’s shorter path to all other nodes, which can be indicative of its ability to quickly interact across the network.

The centrality results from the EBIC model indicate that Age has the highest closeness centrality score, suggesting it may be the most central or influential variable in the network, potentially impacting or being impacted by the other variables to a greater extent. Sex and Income have the lowest closeness centrality scores, implying they are less central within the network structure.

Betweenness

The betweenness centrality measures derived from the EBIC model indicate the extent to which a node acts as a bridge within the network. Nodes with higher betweenness centrality are those through which more shortest paths pass, making them critical for the flow of information or resources among other nodes.

In the EBIC model’s betweenness centrality results, City emerges as the node with the highest betweenness centrality, indicating it plays a critical role in connecting other nodes within the network, potentially acting as a bridge or gatekeeper. Blocks and Age also display high betweenness centrality, suggesting they are significant intermediary variables. Conversely, Sex and Income exhibit a betweenness centrality of zero, suggesting they do not serve as bridges between other variables in the network.

Expected influence (EI)

The nodes with higher positive EI scores are considered to have more influential roles, either as risk factors or outcomes, while nodes with negative EI scores might represent protective factors or constraints within the network’s interrelations.

The EI centrality results of the EBIC model reveal that Anxiety holds the highest positive expected influence, indicating it has a strong and potentially positive impact on the network. Depression and Stress also have high positive expected influence, suggesting they are important factors that can affect or be affected by other nodes significantly.

The network centrality nodes estimations are presented in Fig. 5.

Fig. 5.

Fig. 5

Centrality indices plot for EBIC model characterized by strength, closeness, betweenness and expected influence measures. UCLA = loneliness; SocCoh = social cohesion; Size = personal space per m2; PNC = poor neighborhood condition; PhHealth = Physical health; PhAct – Physical activity; PbFreq = frequency of use of urban public area; PbDist = distance to urban public area; NghBel = Neighborhood belonging; GrFreq = frequency of use of the green public area; GrDist = distance to the green public area; Depr = Depression; Blocks = Blocks of flats; Anx – Anxiety.The dichotomized nodes are as follows: Sex (woman = 0, man = 1), City (village, small town, town = 0; city 100K−300K = 1), and Blocks (house = 0; block of flat, tenement = 1).

Network stability

The results from the nonparametric bootstrap analysis confirm that the network model exhibits a high degree of stability and accuracy in estimating centrality measures. Given the narrow confidence intervals and the close alignment of the bootstrap means with the sample estimates, we assert that the network parameters are robust and reliable. The findings support the use of the current network model for further exploration of the psychological constructs under study. The results are presented in Figure S1 in the Supplementary Materials.

The analysis explored ten different levels of data retention, ranging from 75 to 5% of the original sample size, designated as nPerson, with the corresponding drop percentages and the number of bootstrap samples (n) used at each level. The data demonstrates that at the highest level tested, where 75% of the data is dropped, a minimum of 95% of the bootstrap samples maintained a correlation of 0.7 for the following centrality measures: betweenness, closeness, expected influence, and strength. This indicates that these centrality indices remain stable even with significant reductions in the dataset.

The CS-coefficient, which is the maximum drop proportion at which the centrality measure retains the specified level of correlation, was found to be 0.75 for all the centrality measures mentioned. This suggests that even when three-quarters of the data is removed, the model’s assessments of betweenness, closeness, expected influence, and strength are consistent in the vast majority of cases. The stability plot is presented in Figure S2 in the Supplementary Materials.

The EBIC model predictions and errors estimations are shown in Table S6 in the Supplementary Materials.

Discussion

We validated the theoretical model and showed the complex relationships between physical and social environment factors and mental health among a representative sample of 3296 habitants of the Metropolis GZM.

The prevalence of high perceived stress, moderate anxiety, and moderate depression risk was 52%, 36%, and 39%, respectively. We found that although urbanization differentiated levels of mental health issues, urbanicity was not directly linked to mental health but played a critical role in connectedness between the dimensions in the model.

The results showed that city inhabitants were generally better off in terms of mental health issues than rural and small town inhabitants. Our results add to the ongoing discussion on mental health and urbanization. Several previous studies have shown a link between a higher prevalence of mood disorders and anxiety with urbanization4,6, while other studies have not confirmed this link7,8. Our study was also conducted in a specific context. The largest cities in the examined metropolitan areas ranged from 100,000 to 300,000 inhabitants. We did not include larger cities in our study. This means that cities ranging from 100,000 to 300,000 people may include all the favorable aspects of a big city lifestyle (e.g., social and cultural activities) but do not include urbanization-related problems that are more acute in big cities (i.e., those with more than 5,000,000 inhabitants). Additionally, it is worth noting, that the two cities with the highest economic base in Metropolis GZM (Gliwice and Katowice)78 are those with over 100,000 inhabitants. Thus economic, social, and professional opportunities are more accessible in larger cities of GZM. In the present study, residents of rural areas and small towns with less than 20,000 inhabitants face more severe mental health issues than residents of cities in GZM.

The network analysis model turned out to be stable, robust, and reliable. We found, that although the analysis of variance showed that mental health indices were differentiated by urbanization, urbanization was not directly related to mental health indices or loneliness in the network model. Conversely to our expectations, urban living was not directly related to increased loneliness. However, this issue is not clear in the literature. While some research links urbanicity to increased loneliness57,79, others found no relationship80,81. The relationship between urbanicity and other dimensions in the model, particularly mental health, was via age. Moreover, urbanicity was directly linked to sociodemographic nodes and the physical environment but not to crucial dimensions in the analyzed model. However, urbanicity plays a central and critical role in the model as a bridge between different dimensions. Thus, even though there is a lack of a straightforward relationship between living in a city and mental health, neighborhood cohesion, physical health, or spatial cohesion, urbanicity effectively connects all of those dimensions. This might also be a reason for unclear results regarding the linkage between urbanicity and mental health or loneliness in the literature. Our model reveals that this relation is more complex and the role of urbanicity for mental health can be understood by including miscellaneous dimensions, like physical health, neighborhood cohesion, loneliness, physical environment, spatial cohesion, and sociodemographic variables, particularly age.

Network analysis based on the introduced theoretical model confirmed that the physical environment was linked to mental health via the mediating role of social cohesion and loneliness. In particular, poor architectural conditions in the neighborhood were directly related to a lower sense of belonging to a neighborhood, which was positively related to social cohesion. Thus, the underlying mechanism between the physical environment and mental health was that the quality of buildings in the closest neighborhood affected mental health via social cohesion indicators that directly affect loneliness. The negative relation between neighborhood cohesion and loneliness is in line with previous research63.

Higher social cohesion is usually found higher in rural areas compared to urban areas82 but in our study neighborhood cohesion is not directly related to urbanization. We found that this relationship is via age. Particularly neighborhood belonging increases with age. Thus, age is a more important factor for the feeling of pride compared to being a resident of rural or urban areas. Furthermore, the sense of belonging to the neighborhood is more connected to other dimensions compared to social cohesion understood as the number of interactions with neighbors. Thus, creating neighborhood belonging would be beneficial for higher social cohesion, lower loneliness, and thus lower mental health issues indices.

Unlike previous research, we did not find a direct relation between social cohesion and self-rated health80,83. However, we found the relationship between neighborhood belonging and physical health (self-rated health and physical activity) via age. Previous research showed the direct impact of green spaces on social cohesion84, however, we revealed this link is not direct but consequently via physical health and age.

Contrary to our hypothesis and previous research66,67, we found that there was no direct link between spatial cohesion and loneliness. The assumption that the underlying mechanism between green areas use and loneliness is directly through social connection and solace68 was not confirmed. We showed that this relation is more complex. Physical health (self-rated health and physical activity) via age and neighborhood cohesion explains the relationship between spatial cohesion and loneliness.

The distance and frequency of use of urban and green public areas were strongly intercorrelated and directly related to physical activity. However, the frequency of green areas use was additionally linked to self-rated physical health, which is directly linked to perceived stress. Thus, particularly use of green areas can reduce perceived stress via self-reported physical health.

We also showed that mental health indicators are interrelated. Perceived stress was directly linked to depression symptoms and indirectly linked via the mediating role of anxiety. Perceived stress was strongly linked to anxiety and loneliness. However, stress levels were independent of spatial cohesion factors, which contradicts the findings of previous studies, particularly regarding contact with green spaces65. Previous studies showed that neighborhood social cohesion can reduce stress83. However, we did not find a direct link between perceived stress and social cohesion. However, social cohesion can affect perceived stress via reduced loneliness. Greater stress was also linked to younger age.

A recent review on relations between social determinants and depression showed social connection as a major protective factor85. We revealed how depression can be reduced by increased social cohesion and neighborhood belonging via diminished loneliness. Thus, this is important to provide opportunities and activities for enhancing neighborhood cohesion to reduce depression.

Our complex model also revealed that self-rated physical health was directly, although slightly, related to perceived stress but not to other mental health indices or loneliness. Previous research showed that worse self-rated physical health was related to architectural neglect of neighborhood buildings52. However, we showed that there is no direct link but via age. Worse self-rated health was affected by sociodemographic variables such as age and sex, while monthly income was linked to physical health via physical activity.

Furthermore, the use of green and urban public spaces was strongly related to distances to those areas and to physical activity. However, using green areas had an additional direct relation to self-rated health. Thus, the frequency of use of public green areas is even more beneficial for physical health than use of public urban areas.

Research usually shows that sex is linked to mental health issues86,87. However, in our study, sex was linked to physical health but not to mental health. Moreover, in the verified model, age had the highest centrality closeness, while sex along with monthly income, had the lowest.

However, the strongest expected influence in the network analysis was revealed for mental health indices, particularly anxiety. That means that anxiety is the most crucial risk factor for predicting changes in the other dimensions of the model.

Overall, the network approachallowed us to confirm the theoretical model. The results showed that the relationships between the physical environment and mental health were consecutively mediated by neighborhood cohesion and loneliness, while urbanicity plays a crucial role in connectedness between the dimensions. Spatial cohesion relates to physical environment factors and physical health. At the individual level of the model, age was the most influential, while sex and income were the least central for the estimated network.

This study had a large and representative sample of adult residents of Metropolis GZM. A complex model using a network approach is an asset because it includes different contexts and is interdisciplinary. The main limitation is the cross-sectional study design. We were not able to reveal the causal relationship between the variables in the model. Thus, the following study should be conducted in a longitudinal design. Additionally, the study is comprised of self-administrated measurements. Secondly, the study was conducted in highly urbanized areas in Poland, which can challenge generalizing the results to other populations. It also lacks cultural context. Thirdly, the category of urban and rural areas provided in the network analysis might be too general to reveal the complex relationship between density and mental health.

Conclusions

This study showed that the physical environment is related to mental health via consecutive social neighborhoods and loneliness. The stable and robust network analysis showed that mental health can be positively affected by the development of neighborhood cohesion in terms of being proud of the neighborhood and social interactions between neighbors. Furthermore, architectural improvement of neglected buildings can indirectly improve mental and physical health. Thus, this is crucial to provide better architectural conditions, understood as repairs and removing effects of vandalism as graffiti from the buildings in the neighborhood.

Spatial cohesion is critical for mental health via the role of improved physical health. Therefore, we can confirm that distance to the public green and urban areas reinforces physical health that in turn affects mental health. The practical implications would be securing a smaller distance to those areas as it relates directly to the frequency of use.

Thus, particularly taking care of the physical environment and creating public green and urban areas are the indicators for better mental and physical health.

Compared with rural areas and small towns, mental health indices were improved in cities. However, even though urbanicity was not directly related to mental health but was the most influential factor in the verified model in terms of the betweenness centrality. Our model showed that living in urban areas is not directly related to mental health but can be a bridge between mental health, social cohesion, physical health, and physical environment. Thus, our model revealed the complex relationships and the role of the city in mental and physical health.

We confirmed the mediating role of loneliness between neighborhood cohesion and mental health. Thus, affecting loneliness via enhanced neighborhood cohesion is a path for reducing mental health issues.

Among mental health indices, high anxiety levels should be treated in the first place, as this is the most influential node predicting changes in all other nodes in the model.

Methods

Study design

The study protocol was approved by the University Research Committee at the Academy of Silesia, Katowice, Poland, resolution no. Nr 05/KEBN/2023.

This online cross-sectional study was conducted on 2–20 June 2023 with a representative sample of 3296 residents of Metropolis GZM who were over 18 years and younger than 90. The data were collected by the Poland’s research panel ARIADNA. The participants were enrolled in a reward system (prizes) and were not directly rewarded financially. The sample was representative with regard to age, sex, employment status, and student status. The participants represented each of 26 urban, two urban–rural, and 13 rural municipalities of Metropolis GZM. The response rate was 100%. The mean time to complete the survey was 12 min and 87 s.

Statistical analysis

In the first step, common method bias (CMB) was calculated with IBM SPSS AMOS v. 29.0. The results are presented below in the CMB section.

With regard to statistical analyses, one-way analysis of variance (ANOVA), correlations, and network analysis were performed using the R Statistical language (version 4.3.1)88on Windows 10 Pro 64 bit (build 19,045), using the packages qgraph (version 1.9.8)89, bootnet (version 1.6)89;, mgm (version 1.2.14)90, report (version 0.5.7)91. For correlations, Pearson’s rcoefficient was used. According to Cohen92, r values above 0.1 can be described as small, values above 0.3 can be described as moderate, and values above 0.5 can be described as large.

Next, network analysis was performed. Network analysis is a method for exploring complex systems that involve the merging of psychological, environmental, and behavioral data in a mutualistic model. A network is composed of nodes (visually represented by circles) connected by edges (lines) reflecting the strength of the relationship between nodes, typically after controlling for all variables in the network93. The thickness and saturation of the edges represent the strength of the relationships between the nodes. Red edges represent negative associations, and blue edges denote positive associations.

Among the centrality indices, betweenness and closeness meet with criticism due to conceptual ambiguity and adjustment in network analysis94,95. A relatively newly introduced centrality measurement—the expected influence (further network characteristics)—seems to be a more accurate measure96. The expected influence includes negative relationships among nodes and can predict how strongly changes in nodes are associated with changes in the remaining nodes, with higher values reflecting greater node centrality/influence97. Thus, we focus on strength, which is the sum of the absolute value of all edges98, and expected influence as centrality measurements. All of the centrality measurements are shown in the Supplementary Materials (Table S4).

Relationships between categorical and numerical variables estimated by two-degree Mixed Graphical Models via nodewise regression. The procedure for selecting the tuning parameter controlling the Lq-penalization was performed by Extended Bayesian Information Criterion (EBIC) option which performs well in selecting sparse graphs99,100and tends even to be a bit more conservative than cross validation101. We choose a pairwise model (k = 2) and select the regularization parameters λ using the EBIC with a hyper-parameter γ = 0.25. The layout of node positions was computed with the Fruchterman Reingold algorithm, which places nodes such that all the edges are of more or less equal length and there are as few crossing edges as possible102.

The efficacy of predictive models was assessed by calculating the root mean square error (RMSE) and the coefficient of determination (R2) for continuous variables, while the concordance correlation coefficient (CC) was employed to evaluate the accuracy of predictions for categorical variables.

The correlation stability analysis conducted on the model using non-parametric and case-drop bootstrapping methodology by generating 1000 bootstrap samples yields valuable insights into the robustness of various centrality indices derived from the network89. The analysis tests different levels of sample reduction to understand how the removal of data points affects the stability of the network’s characteristics.

Sample size

We calculated the sample size based on a 99% confidence level, a standard deviation of 0.5, and a confidence interval (margin of error) of 2.81 for the population of GZM citizens (2,229,806). The calculated sample size was 2106. We decided to conduct a representative study among a population of 3300 participants to enable generalization of the results.

Additionally, the structural equation modeling (SEM) analysis that we used for common method bias (CMB) requires at least 300 participants103. Network analysis models are more stable when large samples are applied.

Common method bias

This study utilized self-administrative measurements and was cross-sectional, thus all variables were captured at the same time and the same response method. This can be a source of common method bias (CMB) and affect the reliability and validity of empirical results104.To prevent CMB, we implemented diverse procedures in the study design and data collection, such as a mixed order of survey questions and different scales.

Next, CMB analysis was performed. The common latent factor (CLF) method was used, which involves adding a common factor to the CFA model of the analyzed variables included in the study. CLF is an unobservable variable that is directly related to all the indicators of the analyzed constructs. In this type of model, the variance of the common factor is assumed to be equal to 1, indicating 100% of the variance of the entire model.

To determine which test items might be biased, subsequent analyses were conducted to compare the values of the standardized coefficients in the model with and without the CLF105. Those for which the difference in the regression coefficient values between models was above 0.2 were considered potentially biased106.

In the first step, a CFA model was developed that included all the analyzed constructs and their indicators. In total, the model included 65 indicators for 7 latent variables. After additional error covariances based on modification indices were included, the model was a good fit to the data, χ2(1940) = 13,379.63; p < 0.001; CFA = 0.913; RMSEA = 0.042 [90% CI: 0.042; 0.043].

The CLF was included in the baseline model in the first step, and the χ2 statistic of the model was compared with that of the model constrained to zero assuming equal deviations. In both comparisons, the difference in the value of the test statistic was statistically significant, indicating the presence of response bias and a lack of equal distribution of deviations among the factors.

In the next step, the values of the standardized regression coefficients of the model without CLF and the model with CLF were compared to determine which test items demonstrated bias. According to the criterion adopted, items for which the difference between the models was greater than 0.2 were considered biased. The results are presented in the Supplementary Materials, Table S4.

Bias was assessed by items related to the neighborhood cohesion scale (including two subscales: neighborhood belonging and social cohesion). Therefore, the results regarding those items should be treated carefully. All the other items showed no bias.

Measurements

Mental health was assessed by the following measurements: (1) the Perceived Stress Scale (PSS-10)107, which includes 10 items on a scale from 0 = never to 4 = very often. The score is the sum of item scores from 0 to 40. Scores of 20 and over are considered high levels of perceived stress. The Cronbach’s α for this scale was 0.86. (2) The Generalized Anxiety Questionnaire (GAD-7)108comprises 7 items scored from 0 to 3. The result is a total score ranging from 0 to 21. The cutoff point was 10, and the Cronbach’s α for this scale was 0.92. (3) The Patient Health Questionnaire (PHQ-9)109 includes 9 items on a scale ranging from 0 to 3. The result is a total score ranging from 0 to 27. The cutoff point was 10, and the Cronbach’s α for this scale was 0.89.

Loneliness was measured by the R-UCLA 354, which includes 20 items on a scale from 1 = never to 4 = often. The score is the sum of item scores from 20 to 80. The Cronbach’s α for this scale was 0.94.

General physical health was measured by the general self-rated health (GSRH) scale, an abbreviated version of the general health measure73, and one item on a Likert scale ranging from 1 = excellent to 5 = poor. A higher score indicates poorer physical health.

Environmental risk factors were divided into physical and social factors. For the social category, the Neighborhood Cohesion Scale comprises a social cohesion scale (8 items) and the sense of neighborhood belonging (7 items)13 on a 5-point Likert scale ranging from 5 to 1. The score is the corresponding sum of item scores from 8 to 40 and 7 to 35, respectively. The Cronbach’s α for the social cohesion scale was 0.80 and 0.91 for the neighborhood cohesion scale.

The neighborhood physical factor category was spatial cohesion, which included the self-rated frequency of use of public green spaces and urban areas on a scale of 1 = not at all, 2 = once, 3 = twice, 4 = 3–5 times, and 5 = every day. The distance to the closest public green and urban areas was coded as follows: 1 = under 300 m, 2 = 300–500 m, 3 = 500–1000 m, 4 = 1–2 km, and 4 = over 2 km.

The physical environment included urbanization, measured as 1 = village, 2 = small town under 200K, 3 = town 20K-99K, and 4 = city 100K-300K. The variable was dichotomized due to the larger sample of city residents to 0 = village, small town, or town and 1 = city. Personal space at the place of residence was self-measured in m2per person. The type of residence building was dichotomized as 0 = house or 1 = block of flats or tenement. The level of neglect of the building was based on the Residential Environment Assessment Tool (REAT) 2.052. The respondents answered questions about their neighborhood with regard to the general condition of public spaces, vandalism of public and private property and the maintenance of building facades on a scale from 1 = very good conditions to 4 = poor conditions and a requirement for immediate repairs.

Additionally, a sociodemographic survey was utilized.

Electronic supplementary material

Below is the link to the electronic supplementary material.

Abbreviations

GZM

Metropolis GZM - The metropolitan association located in Silesian Voivodship in the Upper Silesian urban area, Poland

PSS-10

The 10-item Perceived Stress Scale

GAD-7

The 7-item Generalized Anxiety Disorder Scale

PHQ-9

The 9-Item Patient Health Questionnaire

Author contributions

D.O., B.B., P.N., M.G., M.B. conceptualized the study. D.O. organized the data collection. D.O. wrote the first draft of the manuscript, performed statistical analysis and figure generation. All authors contributed to the writing and the interpretation of the results.

Data availability

The measurements and the database are accessible at the Centre for Open Science OSF110.

Declarations

The study protocol was approved by the University Research Committee at the Academy of Silesia, Katowice, Poland, resolution no. Nr 05/KEBN/2023. The study followed the ethical requirements of anonymity and voluntary participation. Each person provided written informed consent. In accordance with the Declaration of Helsinki, written informed consent was obtained from each participant before inclusion. The costs of conducting this research were co-financed by the Metropolis GZM under the "Metropolitan Science Support Fund" program in 2022–2023 within the granted project "Challenges of the Public Space and Social Cohesion of the Metropolis GZM in Poland—An interdisciplinary approach" no 4/2023/2. The APC was financed by a subsidy from the Ministry of Education and Science for the Academy of Silesia in Katowice.

Footnotes

The original online version of this Article was revised: In the original version of this Article, the Introduction contained an incorrect subheading. Full information regarding the corrections made can be found in the correction for this Article.

Publisher’s note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Change history

1/9/2025

A Correction to this paper has been published: 10.1038/s41598-024-84233-2

Supplementary Information

The online version contains supplementary material available at 10.1038/s41598-024-76813-z.

References

  • 1.Adli, M. et al. Neurourbanism—a joint methodological approach between urban planning and neurosciences. Die Psychiatrie 13, 70–78 (2016). [Google Scholar]
  • 2.UNDP. Human Development Report 2021–22: Uncertain Times, Unsettled Lives: Shaping our Future in a Transforming World (PDF). hdr.undp.org. United Nations Development Programme, 272–276 (2022). ISBN 978–9–211–26451–7.
  • 3.van der Wal J.M., et al. Advancing urban mental health research: from complexity science to actionable targets for intervention. Lancet Psychiatry. 8, 991–1000; 10.1016/S2215-0366(21)00047-X (2021). [DOI] [PubMed]
  • 4.Peen, J., et al. The current status of urban-rural differences in psychiatric disorders. Acta Psychiatr Scand. 121, 84–93; 10.1111/j.1600-0447.2009.01438.x (2010). [DOI] [PubMed]
  • 5.Baxter, A.J. et al. Global prevalence of anxiety disorders: a systematic review and meta-regression. Psychol Med. 43, 897–910; 10.1017/S003329171200147X (2013). [DOI] [PubMed]
  • 6.Jacobi, F. et al. Twelve-month prevalence, comorbidity and correlates of mental disorders in Germany: the Mental Health Module of the German Health Interview and Examination Survey for Adults (DEGS1-MH). Int J Methods Psychiatr Res. 23, 304–319 (2014). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 7.Generaal, E., et al. Not urbanization level but socioeconomic, physical and social neighborhood characteristics are associated with presence and severity of depressive and anxiety disorders. Psychol Med. 49, 149–161; 10.1017/S0033291718000612 (2019). [DOI] [PMC free article] [PubMed]
  • 8.Lim, G.Y., et al. Prevalence of Depression in the Community from 30 Countries between 1994 and 2014. Sci Rep 8, 2861; 10.1038/s41598-018-21243-x (2018). [DOI] [PMC free article] [PubMed]
  • 9.de Vries, S., et al. Local availability of green and blue space and prevalence of common mental disorders in the Netherlands. British Journal of Psychiatry Open 2, 366–372; 10.1192/bjpo.bp.115.002469 (2016). [DOI] [PMC free article] [PubMed]
  • 10.Rapp, M. A. et al. When local poverty is more important than your income: Mental health in minorities in inner cities. World Psychiatry 14, 249–250 (2015). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 11.Honold, J., Wippert, P. M. & van der Meer, E. Urban health resources: physical and social constitutes of neighborhood social capital. Procedia Soc Behav Sci 131, 491–496 (2014). [Google Scholar]
  • 12.Meyer, O. L., Castro-Schilo, L. & Aguilar-Gaxiola, S. Determinants of mental health and self-rated health: a model of socioeconomic status, neighborhood safety, and physical activity. Am J Public Health 104, 1734–1741 (2014). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 13.Fone, D. et al. Effect of neighborhood deprivation and social cohesion on mental health inequality: a multilevel population-based longitudinal study. Psychol Med 44, 2449–2460 (2014). [DOI] [PubMed] [Google Scholar]
  • 14.Maimon, D., Browning, C. R. & Brooks-Gunn, J. Collective efficacy, family attachment, and urban adolescent suicide attempts. J Health Soc Behav 51, 307–324 (2010). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 15.Galea, S. et al. Urban neighborhood poverty and the incidence of depression in a population-based cohort study. Ann Epidemiol 17, 171–179 (2007). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 16.Veling, W. et al. Ethnic density of neighborhoods and incidence of psychotic disorders among immigrants. Am J Psychiatry 165, 66–73 (2008). [DOI] [PubMed] [Google Scholar]
  • 17.Norman, P., Boyle, P. & Rees, P. Selective migration, health and deprivation: a longitudinal analysis. Soc Sci Med 60, 2755–2757 (2005). [DOI] [PubMed] [Google Scholar]
  • 18.Ahern, J. & Galea, S. Collective efficacy and major depression in urban neighborhoods. Am J Epidemiol 173, 1453–1462 (2011). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 19.Bertotti, M. et al. Types of social capital and mental disorder in deprived urban areas: a multilevel study of 40 disadvantaged London neighborhoods. PLoS ONE 8, e80127 (2013). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 20.Fonseca, X., Lukosch, S., Brazier, F. Social cohesion revisited: a new definition and how to characterize it. Innovation: Eur J Soc Sci 32, 231–253 (2019).
  • 21.Ludin, S.M., Rohaizat, M., Arbon, P. The association between social cohesion and community disaster resilience: A cross-sectional study. Health Soc Care Community. 27, 621–631; 10.1111/hsc.12674 (2019). [DOI] [PubMed]
  • 22.Miller, H.N., et al. Social Cohesion in Health: A Concept Analysis. ANS Adv Nurs Sci. 43, 375–390; 10.1097/ANS.0000000000000327 (2020). [DOI] [PMC free article] [PubMed]
  • 23.Williams, A.J., et al. Social cohesion, mental wellbeing and health-related quality of life among a cohort of social housing residents in Cornwall: a cross sectional study. BMC Public Health. 20, 985; 10.1186/s12889-020-09078-6 (2020). [DOI] [PMC free article] [PubMed]
  • 24.Feng, Z., Vlachantoni, A., Liu, X., Jones, K. Social trust, interpersonal trust and self-rated health in China: a multi-level study. Int J Equity Health 15, 180; 10.1186/s12939-016-0469-7 (2016). [DOI] [PMC free article] [PubMed]
  • 25.Chuang, Y.C., Chuang, K.Y., Yang, T.H. Social cohesion matters in health. Int J Equity Health 12, 87; 10.1186/1475-9276-12-87 (2013). [DOI] [PMC free article] [PubMed]
  • 26.Buckner, J. C. The development of an instrument to measure neighborhood cohesion. Am J Commun Psychol 16, 771–791. 10.1007/BF00930892 (1988). [Google Scholar]
  • 27.Breedvelt, J. J. F. et al. The effects of neighbourhood social cohesion on preventing depression and anxiety among adolescents and young adults: rapid review. BJPsych Open. 8, e97 (2022). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 28.Grahn, P. & Stigsdotter, U. A. Landscape planning and stress. Urban forestry & urban greening 2, 1–18 (2003). [Google Scholar]
  • 29.Hadavi, S., Kaplan, R. & Hunter, M. R. How does perception of nearby nature affect multiple aspects of neighborhood satisfaction and use patterns?. Landsc. Res. 43, 360–379 (2018). [Google Scholar]
  • 30.Shackleton, C. M. & Blair, A. Perceptions and use of public green space is influenced by its relative abundance in two small towns in South Africa. Landsc. Urban Plann. 113, 104–112 (2013). [Google Scholar]
  • 31.Wendel, H. E. W., Zarger, R. K. & Mihelcic, J. R. Accessibility and usability: green space preferences, perceptions, and barriers in a rapidly urbanizing city in Latin America. Landsc. Urban Plann. 107, 272–282 (2012). [Google Scholar]
  • 32.Macintyre, S., Macdonald, L. & Ellaway, A. Lack of agreement between measured and self-reported distance from public green parks in Glasgow. Scotland. Int. J. Behav. Nutr. Phys. Activ. 5, 1–8 (2008). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 33.Sugiyama, T., Leslie, E., Giles-Corti, B. & Owen, N. Associations of neighborhood greenness with physical and mental health: do walking, social coherence and local social interaction explain the relationships?. J. Epidemiol. Community 62, e9–e9 (2008). [DOI] [PubMed] [Google Scholar]
  • 34.Rogowska, A.M., et al. Does Physical Activity Matter for the Mental Health of University Students during the COVID-19 Pandemic? J Clin Med. 9, 3494; 10.3390/jcm9113494 (2020). [DOI] [PMC free article] [PubMed]
  • 35. Gruebner, O., et al. Urban health in megacities: extending the framework for developing countries. Bonn: International Human Dimensions Programme (IHDP) (2011).
  • 36.Rocha, K. et al. Perception of environmental problems and common mental disorders (CMD). Soc Psychiatry Psychiatr Epidemiol 47, 1675–1684 (2012). [DOI] [PubMed] [Google Scholar]
  • 37.Honold, J., Beyer, R., Lakes, T. & van der Meer, E. Multiple environmental burdens and neighborhood-related health of city residents. J Environ Psychol 32, 305–317 (2012). [Google Scholar]
  • 38.Asgarzadeh, M. et al. Investigating green urbanism. Building Oppressiveness 9, 555–562 (2010). [Google Scholar]
  • 39.Asgarzadeh, M., Lusk, A., Koga, T. & Hirate, K. Measuring oppressiveness of streetscapes. Landsc Urban Plan 107, 1–11 (2012). [Google Scholar]
  • 40.Guite, H. F., Clark, C. & Ackrill, G. The impact of the physical and urban environment on mental well-being. Public Health 120, 1117–1126 (2006). [DOI] [PubMed] [Google Scholar]
  • 41.Sampson, R. J. & Raudenbush, S. W. Seeing disorder: Neighborhood stigma and the social construction of “broken windows”. Soc Psychol Q 67, 319–342 (2004). [Google Scholar]
  • 42.Hammersen, F., Niemann, H. & Hoebel, J. Environmental noise annoyance and mental health in adults: findings from the Cross-Sectional German Health Update (GEDA) Study 2012. Int J Environ Res Public Health 13, 954 (2016). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 43.evidence from Iran. Azadeh, S.R., Mohammadi, J., Neshat Doost, H.T. The relationship between urban environmental quality and mental health (depression scale). J Urban Environ Eng 13, 285–293 (2019). [Google Scholar]
  • 44.Houlden, V., Weich, S. & Jarvis, S. A cross-sectional analysis of green space prevalence and mental wellbeing in England. BMC Publ Health 17, 1–9 (2017). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 45.Riyahi, M. A., Verdiniya, A. & Pourhossein, Z. Studying the relationship between social support and mental health. J. Soc. Welfare 10, 85–121 (2010). [Google Scholar]
  • 46.Zhang, T., Chiu, R. L. H. & Ho, H. C. Suburban neighborhood environments and depression: a case study of Guangzhou. China. J Transport Health 15, 100624 (2019). [Google Scholar]
  • 47.Duncan, D. T. et al. The built environment and depressive symptoms among urban youth: a spatial regression study. Spat Spatiotemporal Epidemiol 5, 11–25 (2013). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 48.Croucher, K., Myers, L., Bretherton, J. The Links between Greenspace and Health: a Critical Literature Review (University of York, 2007).
  • 49.Gong, Y., Palmer, S., Gallacher, J., Marsden, T. & Fone, D. A systematic review of the relationship between objective measurements of the urban environment and psychological distress. Environ Int. 96, 48–57 (2016). [DOI] [PubMed] [Google Scholar]
  • 50.Gascon, M. et al. Mental health benefits of long-term exposure to residential green and blue spaces: a systematic review. Int J Environ Res Publ Health 12, 4354–4379 (2015). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 51.Qiu, Y., Liu, Y., Liu, Y. & Li, Z. Exploring the linkage between the neighborhood environment and mental health in Guangzhou, China. Int J Environ Res Publ Health 16, 3206 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 52.Dunstan, F. et al. An observation tool to assist with the assessment of urban residential environments. J Environ Psychol. 25, 293–305 (2005). [Google Scholar]
  • 53.Mücher, C. A., et al. Spatial cohesion–an indicator for regional assessment of biodiversity in sensor. SENSOR. (2009).
  • 54.Russell, D.W., Peplau, L.A., Cutrona, C.E. The Revised UCLA Loneliness Scale: Concurrent and discriminant validity evidence. J. Pers Soc Psych. 39, 472–480; 10.1037/0022-3514.39.3.472 (1980). [DOI] [PubMed]
  • 55.Cacioppo, J.T., Cacioppo, S., Boomsma, D.I. Evolutionary mechanisms for loneliness. Cogn Emot 28, 3–21; 10.1080/02699931.2013.837379 (2014). [DOI] [PMC free article] [PubMed]
  • 56.Rugel, E.J., Carpiano, R.M., Henderson, S.B., Brauer, M. Exposure to natural space, sense of community belonging, and adverse mental health outcomes across an urban region. Environ Res 171, 365–377; 10.1016/j.envres.2019.01.034 (2019). [DOI] [PubMed]
  • 57.Hammoud, R., Tognin, S., Bakolis, I. et al. Lonely in a crowd: investigating the association between overcrowding and loneliness using smartphone technologies. Sci Rep 11, 24134; 10.1038/s41598-021-03398-2 (2021). [DOI] [PMC free article] [PubMed]
  • 58.MacDonald, K. J., Willemsen, G., Boomsma, D. I. & Schermer, J. A. Predicting loneliness from where and what people do. Soc Sciences 9, 51 (2020). [Google Scholar]
  • 59.Romans, S., Cohen, M., Forte, T. Rates of depression and anxiety in urban and rural Canada. Soc Psychiatry Psychiatr Epidemiol. 46, 567–75; 10.1007/s00127-010-0222-2 (2011). [DOI] [PubMed]
  • 60.Layden, E.A., Cacioppo, J.T., Cacioppo, S. Loneliness predicts a preference for larger interpersonal distance within intimate space. PLoS One 13, e0203491; 10.1371/journal.pone.0203491 (2018). [DOI] [PMC free article] [PubMed]
  • 61.Wells, N.M., Harris, J.D. Housing quality, psychological distress, and the mediating role of social withdrawal: A longitudinal study of low-income women. J. Environ.l Psych. 27, 69–78 (2007).
  • 62.Chu, A., Thorne, A. & Guite, H. The impact on mental well-being of the urban and physical environment: an assessment of the evidence. J Pub Mental Health 3, 17–32 (2004). [Google Scholar]
  • 63.Kearns, A., Whitley, E., Tannahill, C., Ellaway, A. Loneliness, social relations and health and well-being in deprived communities. Psychol Health Med 20, 332–344; 10.1080/13548506.2014.940354 (2015). [DOI] [PMC free article] [PubMed]
  • 64.Liang, D., Teng, M., Xu, D. Impact of perceived social support on depression in Chinese rural-to-urban migrants: The mediating effects of loneliness and resilience. J Community Psychol. 47, 1603–1613; 10.1002/jcop.22215 (2019). [DOI] [PubMed]
  • 65.van den Berg, M.M., et al. Do Physical Activity, Social Cohesion, and Loneliness Mediate the Association Between Time Spent Visiting Green Space and Mental Health? Environ Behav 51, 144–166; 10.1177/0013916517738563 (2019). [DOI] [PMC free article] [PubMed]
  • 66.Astell-Burt, T., Hartig, T., Putra, I.G.N.E., Walsan, R., Dendup, T., Feng, X. Green space and loneliness: A systematic review with theoretical and methodological guidance for future research. Sci Total Environ 847, 157521; 10.1016/j.scitotenv.2022.157521 (2022). [DOI] [PubMed]
  • 67.Astell-Burt,T., Hartig, T., Eckermann, S., et al. More green, less lonely? A longitudinal cohort study. Int J Epidemiol 51, 99–110; 10.1093/ije/dyab089 (2022). [DOI] [PMC free article] [PubMed]
  • 68.Cacioppo, J. T., Cacioppo, S. Loneliness in the modern age: An evolutionary theory of loneliness (ETL). In Advances in experimental social psychology , 127–197 (Academic Press, 2018).
  • 69.Bower, M. et al. ‘Trapped’, ‘anxious’ and ‘traumatized’: COVID-19 intensified the impact of housing inequality on Australians’ mental health. Int J Housing Policy 23, 260–291 (2023). [Google Scholar]
  • 70.Sánchez-Moreno, E., Gallardo-Peralta, L.P., Leyton, C. The Social Gradient in Mental Health and Well-Being for Indigenous Older Adults Living in Rural Areas: A Cross-Sectional Comparison With Rural Non-indigenous Population in Chile. J Aging Health. 33, 287–299; 10.1177/0898264320979201 (2021). [DOI] [PubMed]
  • 71.Jeste, D.V., Lee, E.E. Loneliness Versus Wisdom Amid Two Concurrent Pandemics of Loneliness. Am J Geriatr Psychiatry. 28, 1245–1247; 10.1016/j.jagp.2020.08.017 (2020). [DOI] [PMC free article] [PubMed]
  • 72.United Nations (2017). Mental health and human rights Report of the United Nations High Commissioner for Human Rights. documents-dds-ny.un.org/ accessed on May 2nd, 2023.
  • 73.DeSalvo, K. B. et al. Assessing measurement properties of two single-item general health measures. Qual. Life Res. 15, 191–201 (2006). [DOI] [PubMed] [Google Scholar]
  • 74.World Health Organization. (2020). WHO guidelines on physical activity and sedentary behaviour: at a glance. World Health Organization. iris.who.int/handle/10665/337001.
  • 75.Kochman, M., Kielar, A., Kasprzak, M., Maruszczak, K., Kasperek, W. The Relationship between Self-Rated Health and Physical Fitness in Polish Youth. Healthcare 12, 24; 10.3390/healthcare12010024 (2024). [DOI] [PMC free article] [PubMed]
  • 76.Beyer, A.K., Wolff, J.K., Warner, L.M., Schüz, B., Wurm, S. The role of physical activity in the relationship between self-perceptions of ageing and self-rated health in older adults. Psychol Health 30, 671–685 10.3390/healthcare12010024 (2015). [DOI] [PubMed]
  • 77.Gan, D. R. Y., Wister, A. V. & Best, J. R. Environmental Influences on Life Satisfaction and Depressive Symptoms Among Older Adults With Multimorbidity: Path Analysis Through Loneliness in the Canadian Longitudinal Study on Aging. Gerontologist 62, 855–864. 10.1093/geront/gnac004 (2022). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 78.Gwosdz, K., Sobala-Gwosdz, A., Czakon, P. Poziom i dynamika rozwoju gospodarczego na obszarze GZM z uwzględnieniem funkcji metropolitalnych. [The level and dynamics of economic development in the GZM area, taking into account metropolitan functions]. irmir.pl/wp-content/uploads/2022/06/Current-economic-development-in-the-GZ-Metropolitan-Area_Gwosdz_Sobala-Gwosdz_Czakon.pdf (2021).
  • 79.Scharf, T., de Jong Gierveld, J. (2008). Loneliness in urban neighbourhoods: an Anglo-Dutch comparison. Eur J Ageing 5, 103; 10.1007/s10433-008-0080-x (2008). [DOI] [PMC free article] [PubMed]
  • 80.Finlay, J.M., Kobayashi, L.C. Social isolation and loneliness in later life: A parallel convergent mixed-methods case study of older adults and their residential contexts in the Minneapolis metropolitan area, USA. Soc Sci Med 208, 25–33; 10.1016/j.socscimed.2018.05.010 (2018). [DOI] [PubMed]
  • 81.van den Berg, P., Kemperman, A., De Kleijn, B. & Borgers, A. Ageing and loneliness: The role of mobility and the built environment. Travel Behaviour and Society 5, 48–55 (2016). [Google Scholar]
  • 82.Avery, E.E., Hermsen, J.M., Kuhl, D.C. Toward a Better Understanding of Perceptions of Neighborhood Social Cohesion in Rural and Urban Places. Soc Indic Res 157, 523–541; 10.1007/s11205-021-02664-0 (2021).
  • 83.Robinette, J. W., Charles, S. T., Mogle, J. A., Almeida, D. M. Neighborhood cohesion and daily well-being: Results from a diary study. Soc Sc Med 96, 174–182; 10.1016/j.socscimed.2013.07.027 (2013). [DOI] [PMC free article] [PubMed]
  • 84.Wan, C., Shen, G. Q. & Choi, S. Underlying relationships between public urban green spaces and social cohesion: A systematic literature review. City, Culture Soc 24, 100383 (2021). [Google Scholar]
  • 85.De Risio, L. et al Staying connected: An umbrella review of meta-analyses on the push-and-pull of social connection in depression J Affect Disord 345, 358–368; 10.1016/j.jad.2023.10.112 (2024). [DOI] [PubMed]
  • 86.Rodríguez-Rey, R., Garrido-Hernansaiz, H., Collado, S. Psychological impact of COVID-19 in Spain: Early data report. Psychol Trauma. 12, 550–552; 10.1037/tra0000943 (2020). [DOI] [PubMed]
  • 87.Resnick, B., et al. Gender Differences in Function, Physical Activity, Falls, Medication Use, and Life Satisfaction Among Residents in Assisted Living Settings. Res Gerontol Nurs. 13, 31–40; 10.3928/19404921-20190930-02 (2020). [DOI] [PMC free article] [PubMed]
  • 88.R Core Team. R: A Language and Environment for Statistical Computing. R Foundation for Statistical Computing, Vienna, Austria (2023).https://www.R-project.org/.
  • 89.Epskamp, S., Cramer, A. O. J., Waldorp, L. J., Schmittmann, V. D. & Borsboom, D. qgraph: Network Visualizations of Relationships in Psychometric Data. J Stat Software 48, 1–18 (2012). [Google Scholar]
  • 90.Haslbeck, J.M.B., Waldorp, L.J. mgm: Estimating Time-Varying Mixed Graphical Models in High-Dimensional Data. J Stat Software 93, 1–46; 10.18637/jss.v093.i08 (2020).
  • 91.Makowski, D., Lüdecke, D., Patil, I., Thériault, R., Ben-Shachar, M., Wiernik, B. Automated Results Reporting as a Practical Tool to Improve Reproducibility and Methodological Best Practices Adoption. CRAN easystats.github.io/report (2023).
  • 92.Cohen, J.W. Statistical power analysis for the behavioral sciences (2nd edn) (Lawrence Erlbaum Associates, 1988).
  • 93.Burger, J., et al. Reporting standards for psychological network analyses in cross-sectional data. Psychol Methods ; 10.1037/met0000471 (2022). [DOI] [PubMed]
  • 94.Hallquist, M.N., Wright, A.G.C., Molenaar, P.C.M. Problems
  • 95.Bringmann, L. F., et. al. What do centrality measures measure in psychological networks? J Abnormal Psych 128, 892–903;10.1037/abn0000446 (2019). [DOI] [PubMed]
  • 96.Robinaugh, D. J., Millner, A. J. & McNally, R. J. Identifying highly influential nodes in the complicated grief network. J Abnorm Psychol 125(6), 747–757. 10.1037/abn0000181 (2016). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 97.Spiller, T. R. et al. On the validity of the centrality hypothesis in cross-sectional between-subject networks of psychopathology. BMC Med. 18(1), 297. 10.1186/s12916-020-01740-5 (2020). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 98.Opsahl, T., Agneessens, F., Skvoretz, J. Node centrality in weighted networks: generalizing degree and shortest paths. Soc Networks. 32, 245–251; 10.1016/j.socnet.2010.03.006 (2010).
  • 99.Barber, R. F. & Drton, M. High-dimensional Ising model selection with Bayesian information criteria. Electr J Statistics 9, 567–607 (2015). [Google Scholar]
  • 100.Foygel, R., Drton, M. Extended Bayesian information criteria for Gaussian graphical models. In Advances in neural information processing systems (604–612) (2010).
  • 101.Haslbeck, J. M. B. & Waldorp, L. J. mgm: Estimating time-varying Mixed Graphical Models in high-dimensional Data. J Stat Software 93, 1–46 (2020). [Google Scholar]
  • 102.Fruchterman, T.M.J., Reingold, E.M. Graph Drawing by Force-Directed Placement. Software: Practice and Experience, 21, 1129–1164 (1991).
  • 103.Chen, F.F. Sensitivity of Goodness of Fit Indexes to Lack of Measurement Invariance. Struct. Equ. Modeling: A Multidiscip. J. 14, 464–504; 10.1080/10705510701301834 (2007).
  • 104.Baumgartner, H., Steenkamp, J.-B. E. M. Response styles in marketing research: A cross-national investigation. J Marketing Res 38, 143–156; 10.1509/jmkr.38.2.143.18840 (2001).
  • 105.Afthanorhan, A. et al. Gain more insight from common latent factor in structural equation modeling. Journal of Physics: Conference Series 1, 012030 (2021). [Google Scholar]
  • 106.Lowry, P. B. & Gaskin, J. Partial least squares (PLS) structural equation modeling (SEM) for building and testing behavioral causal theory: When to choose it and how to use it. IEEE transactions on professional communication 57, 123–146 (2014). [Google Scholar]
  • 107.Cohen, S., Kamarck, T., Mermelstein, R. A global measure of perceived stress. Journal of Health and Social Behavior 24, 385–396; 10.2307/2136404 (1983). [PubMed]
  • 108.Spitzer, R. L., Kroenke, K., Williams, J. B. W. & Löwe, B. A. Brief Measure for Assessing Generalized Anxiety Disorder. Arch. Intern. Med. 166, 1092–1097 (2006). [DOI] [PubMed] [Google Scholar]
  • 109.Kroenke, K., Spitzer, R.L., Williams, J.B. The PHQ-9: validity of a brief depression severity measure. J Gen Intern Med. 16, 606–13; 10.1046/j.1525-1497.2001.016009606.x (2001). [DOI] [PMC free article] [PubMed]
  • 110.Ochnik, D. Challenges of the Public Space and Social Cohesion of the Metropolis GZM in Poland - an Interdisciplinary Approach. OSF. osf.io/78cxs (2023).

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

Data Availability Statement

The measurements and the database are accessible at the Centre for Open Science OSF110.


Articles from Scientific Reports are provided here courtesy of Nature Publishing Group

RESOURCES