Abstract

In the process of China’s rapid urbanization, the health level of residents has been improved to a great extent. However, with the expansion of urban scale and spatial restructuring, a series of urban environmental problems have posed new challenges to public health. However, the impact of the built environment on residents’ health is controversial, and the applicability of the conclusions based on western urban sprawl in China is not clear enough. In addition, the exploration of the impact path of the built environment on health is still not comprehensive and in-depth. Based on the China Labor Dynamics Survey (CLDS) in 2016 and relevant statistical yearbook data, this study explored the impact of the built environment at community and urban scale on residents’ health and its age heterogeneity and further explored the mediating role of physical exercise, neighborhood support, and community safety. According to the research, the urban and community-built environment has significant impacts on residents’ health, and the impact is significantly different at different scales. In addition, there is a significant difference in the impact of built environment factors on residents’ health among populations with different life cycles. From the perspective of the impact path, greening coverage can improve residents’ self-rated health by enhancing the perceived safety of living in the community. In contrast, the high community population density will not only weaken the degree of neighborhood support but also reduce the perception level of community residential safety, thus damaging residents’ health. In short, from the perspective of environmental intervention, the previously mentioned results put forward possible suggestions on strengthening the construction of a healthy living environment so as to maximize the health effectiveness of cities and communities.

1. Introduction

As the first medium and long-term health plan in China, the outline of the Healthy China 2030 Plan proposes to take the construction of healthy cities and towns as an important starting point for the construction of a healthy China and to promote the coordinated development of cities and people’s health. In the past high-speed and fast-paced urbanization process, the construction of medical and health infrastructure has been constantly promoted, providing convenient and affordable medical security for residents and achieving significant improvement in the health level of the group. However, the massive influx of population and the disorderly expansion of urban space have also brought about the imbalance of employment, education, entertainment, and living space, resulting in the continuous increase of the proportion of motorized travel. On the one hand, high-frequency motorized travel is easy to cause urban congestion, noise pollution, and traffic safety problems. On the other hand, motorized travel increases the sedentary time of individuals, reduces the frequency and intensity of physical activity, and increases the incidence of chronic diseases. In addition, the noisy and crowded environment is not only harmful to physical health, but it also affects residents’ life satisfaction, which in turn has a negative impact on mental health. Therefore, it has become the focus of current research to build a healthy living environment through environmental intervention, improve public health facilities from the supply side, and give full play to community health efficiency.

2. Literature Review

The built environment at different scales has an impact on residents’ health in different ways. According to the existing studies, the impact of the built environment on residents’ health is divided into three scales: macro (countries around the world/region), meso (city/county), and micro (street/community) [1]. Built environment factors mainly include density, land use mixture, design, distance to bus stations, and destination accessibility [2, 3]. Many studies based on Western low-density cities have found that with the increase in density, residents’ health can be significantly improved. This is because compact cities make the layout of different functional facilities closer, compress the travel distance, and have good street connectivity, which can effectively promote nonmotorized travel, such as the walking and cycling mode [4, 5]. As a result, it can increase their physical activities [6], reduce the risk of obesity, and improve their health. However, the research based on China’s national conditions indicated that excessively high-density land use is detrimental to residents’ health [7], and high population density will cause a rapid decline in residents’ health and comfort [8]. Different from the urban sprawl in western countries, which is mainly characterized by rapid suburban development and decline of central urban areas, China’s urban sprawl has not seen a significant decline in the population of inner cities, and the central urban areas are still thriving [9]. At the same time, the urban spatial structure in China is more compact than that of American cities, and the population density is about 5–7 times that of American cities [10]. While excessive urban density often leads to local environmental deterioration and reduction of urban operational efficiency, including weakened neighborhood harmony, crowded public spaces, reduced green coverage ratios, lack of privacy, and increased pressure [11].

In addition to density and diversity, scholars have found that some urban and community design factors are also related to residents’ health, such as green open spaces. At the same time, the research at the urban scale will also focus on road traffic organization. A good slow traffic network can provide a safe walking environment for residents [12], which is conducive to improving residents’ willingness to walk and use bicycles [13]. Among all kinds of travel modes, walking has the highest health effect, followed by bus and subway, and private cars are the lowest and far lower than the walking and public transportation [14]. Outdoor activity spaces such as parks are distributed in walkable living circles near the community which can significantly stimulate the residents’ willingness to engage in physical activities [15] and help reduce obesity and overweight [16, 17]. In addition, green spaces can reduce the risk of cardiovascular and respiratory diseases by improving urban air quality [18] and can also relieve mental stress [19]. In general, there is no clear and unified answer to the relationship between the built environment factors and residents’ health in the existing literature.

Based on the literature review, some aspects in this study are worthy of further research. First, most previous studies only focused on the community-built environment, and only a very limited number of studies have considered the built environment factors both at the community scale and urban scale [20]. Considering the diversity of residents’ daily travel modes and the exposure to activities that may extend far beyond the community, it is reasonable to assume that residents’ health will be affected by the built environment at different scales simultaneously. Therefore, it is necessary to take both the community and urban scales into consideration. Second, some studies believe that the relationship between the built environment and residents’ health is affected by other factors, but there are few studies on the impact mechanism of the built environment on residents’ health, and most of them are conducted from the perspective of health behavior. Thus, three mediating variables, namely, physical exercise, neighborhood support, and community safety, were included in this study to explore health behavior and its extrinsic pathways. Finally, the health evaluation dimensions selected in the existing relevant research are insufficient, focusing on physiological health and adopting objective indicators such as BMI and waist-hip ratio. The gap in subjective health research needs to be filled.

The remainder of this study is structured as follows: in Section 2, we introduced data sources, descriptive statistics, and model building. The empirical analysis was reported in detail in Section 3. In Section 4, we further discussed the research results and provided corresponding implications.

3. Materials and Methods

3.1. Data Sources

There are two sources of data used in this study. One is the China Labor Force Dynamic Survey (CLDS) data used to obtain individual household attributes and community-built environment data. The second data source is the Statistical Yearbook of Chinese Cities and the Statistical Yearbook of Urban and Rural Construction used to obtain urban-built environment data.

CLDS is a comprehensive survey project carried out by the Social Science Survey Center of Sun Yat sen University. The survey adopts a multistage stratified probability proportionate to labor size (PPS) sampling method, covering social, economic, demographic, environmental, and other aspects from individuals to families to communities. The project has conducted a follow-up survey every two years since 2012 so as to learn about the change trend of social labor force, families, and communities across China. The survey sample taken by CLDS is very representative nationwide, and it includes labor force aged 15–64 from 29 provinces and cities outside Hong Kong, Macao, Taiwan, Tibet, and Hainan. Based on its large sample base, wide survey area, and high representativeness, it is suitable for systematic statistical research and can provide true and reliable data.

At present, CLDS has released the data of 2012, 2014, and 2016 to the society, and this study uses the data of CLDS 2016. Due to the large difference between urban and rural built environments in China, urban samples were taken into account in this study. Finally, 4,641 valid samples were selected from 130 communities in 55 cities in China after removing the samples that the participants did not know the answer or refused to answer the question as well as the samples which did not meet the analytical conditions.

3.2. Variable Definition and Description
3.2.1. Explained Variable

The explained variable in this study is residents’ health. Health indicators can be roughly divided into objective and subjective indicators. Compared with objective health, self-rated health is simpler, but it is an assessment made by individuals based on their own perception and actual physiological and psychological state and has been proved to be highly correlated with the prediction of mortality and disability rates [21, 22]. At present, this indicator was widely used in residents’ health research, and this study also adopted self-rated health as the measurement of individual health. Individual health variables were measured by the question “How do you think your current health is?” The answers included “very healthy,” “healthy,” “ordinary,” “relatively unhealthy,” and “very unhealthy,” and the assigned values are 1, 2, 3, 4, and 5, respectively. In this study, the original assignment order is reversely adjusted, and the higher changed score indicates a better self-rated health status.

3.2.2. Explanatory Variable

The core explanatory variables of this study are built environment characteristics, which will be measured at both community and urban spatial scales. Based on the availability of data from CLDS2016, this study focuses on the density, diversity, and design of the built environment factors at the community scale. The “density” was measured by community population density, and the categorical density was adopted to explore the nonlinear impact of community density on residents’ health [23]. The “design” was measured by green coverage ratio. At the same time, considering that environmental pollution has a great impact on residents’ health, it is also included in the design dimension for regression analysis. The environmental pollution was calculated by the weighted average of air pollution, water pollution, soil pollution, and noise pollution in the community questionnaire. The “diversity” was reflected by the provision of public infrastructure and service facilities closely related to the daily life of residents in the community, mainly including whether there are primary schools, junior high schools, sports venues/fitness centers, activity rooms for the elderly, libraries, squares/parks, playgrounds, and hospitals/private clinics. If there are such facilities, the value will be 1; if there are no such facilities, the value will be 0. Finally, the diversity score will be obtained by summing them up.

The built environment variables at the urban scale include population density reflecting “density” in urban municipal districts, the road area ratio and green area ratio reflecting “design” in urban municipal districts, buses per 10,000 people and rail transit reflecting “public transport accessibility,” and land use mixture reflecting “diversity.” Besides, in order to control the difference in the built environment among different urban scales, the variable of urban population size was added in this study.

3.2.3. Control Variables

Referring to prior studies, this study selected the socio-economic characteristics of individuals and households as well as individual behavioral variables, and the data come from CLDS2016. Specifically, the control variables include gender, age, marital status, educational level, health insurance, household income per capita, car and motorcycle ownership, and history of smoking and alcohol intake. Considering that previous studies have found a U-shaped relationship between age and residents’ health, the squared term of age was included in this study.

3.2.4. Mediating Variables

In the mechanism test of the built environment on residents’ health, variables of the physical exercise, neighborhood support, and community safety will also be involved. The exercise frequency and intensity of the participants were comprehensively taken into consideration in the physical exercise variable. We assigned a value of 3 to the participants who exercised 3 times per week or more and the sessions last for more than 30 minutes, a value of 1 to those who had no exercise per week, and a value of 2 to others. Neighborhood support was measured by the questionnaire “Do you provide mutual assistance with your neighbors in your community (village)?” The options of “very unfamiliar,” “not very familiar,” “ordinary,” “relatively familiar,” and “very familiar” were assigned with the value from 1 to 5 successively. The community safety variable was also conducted in an ordered category by the question “How do you think of your community safety?” The options of “very unsafe,” “not very safe,” “relatively safe,” and “very safe” were assigned with values from 1 to 4 in sequence. The larger the value is, the safer it is. The descriptive statistical analysis of variables selected in this study is shown in Table 1.

3.3. Model Construction

In this study, the individual, household, community, and urban levels were involved simultaneously, which means that individuals from the same spatial unit were affected by the same environmental factors and the health level of residents was also spatially correlated. Theoretically, the research data with a nested structure violated the assumption of multiple regression on sample independence. To solve the problem of data nesting, a multilevel model or clustered robust standard errors were usually employed for regression analysis [24, 25]. In this study, we attempted to adopt a multilevel model, but the null model test shows that the intraclass correlation coefficient (ICC) of residents’ self-rated health is 2% at the urban scale and 5.9% at the community scale, both of which are less than 7%, indicating that the intergroup correlation is low [26]. In other words, the issue of individual spatial dependence in our sample data has no effect on the estimation of the built environment on residents’ health at the urban and community scales. The self-rated health (the explained variable) in this study is a set of discrete ordinal variables with the assigned value from 1 to 5, which are suitable for the ranking model. Therefore, the ordered probit model was used to analyze the impact of the built environment on residents’ health at the urban and community scales. Although the null model test of the multilevel model shows that the samples have good independence, in order to improve the reliability of the results, this study chose to apply the clustered robust standard errors at the community scale into the regression model to solve the problem of spatial correlation. The basic form of the model is as follows:

In this equation, represents the individual’s self-rated health level, represents the built environment variable matrix at the urban scale, refers to the built environment variable matrix at the community scale, is the socio-economic attribute variable matrix of individuals and households, and , respectively, are the influence coefficients of built environment factors on the individual health level at the urban and community level, represents the influence coefficient of the socio-economic attribute at the individual and household level on residents’ health, and represents the error terms.

In the context of Chinese culture, considering that the built environment has a weak causal relationship with residents’ unhealthy behaviors such as smoking and drinking, but it may be closely related to residents’ health status, therefore, in reference to the model setting of previous studies [27], this study included the unhealthy behaviors such as the history of smoking and alcohol intake as exogenous variables in the model. Given that groups who own cars and motorcycles will give priority to nonmotorized travel, therefore, the condition of owning cars and motorcycles was also included in the model as control variables to reduce estimation errors caused by omitted variables and improve the reliability of regression results. After incorporating individual behaviors, the model is set as follows:

In this equation, represents the behavioral variable matrix of whether an individual smokes, drinks, and whether a family owns a car or motorcycle, represents the influence coefficient of the individual and family behavior variables on residents’ health, and represents the error terms.

The built environment can not only directly affect the health of residents but can also be affected by other factors. At present, there are few empirical studies on the impact mechanism of the built environment on residents’ health, and most of them are analyzed from the perspective of physical activity, lacking research on social capital and the environmental exposure path. In this regard, this study not only considers the path of health behavior but also incorporates the path of the social environment, mainly involving three intermediary variables: physical exercise, neighborhood mutual aid, and community perceived safety. In this study, the stepwise regression method was used to analyze the relationship between the community-built environment, the mediating variables, and residents’ health. The bootstrap method was used to test the significance of the mediating effect. The model used in this part of the empirical analysis is as follows:

In this equation, represents the individual’s self-rated health level; refers to the built environment variable matrix at the community scale; is the socio-economic attribute variable matrix of individuals and households; represents the behavioral variable matrix of whether an individual smokes, drinks, and whether a family owns a car or motorcycle; represents the intermediary variable of physical exercise, neighborhood mutual aid, and community security.

4. Results

Models 1 to 4 in Table 2 show the estimated results of the total effects of the built environment on residents’ health at different scales. After controlling the socio-economic attributes of individuals and households, in Model 1, we only considered the impact of the built environment on residents’ health at the urban level. In Model 2, we only estimated the impact of the built environment on residents’ health at the community level. The built environment variables of Model 1 at the urban scale and Model 2 at the community scale were combined into Model 3, and regression analysis is carried out by using formula (1). On this basis, the individual behavioral variables were incorporated into Model 4 as the benchmark model, and formula (4) is used to explore the impact of the built environment on residents’ health at the urban and community scales. The estimated results show that the built environment at both urban and community scales is correlated with residents’ health, which indicates that there is a hierarchical relationship between the built environment and residents’ health. Therefore, it is necessary to consider the characteristics of the built environment at both urban and community levels so as to reduce the deviation caused by omitted variables and better analyze the impact of the built environment on the residents’ health.

4.1. Impacts of the Urban and Community Built Environment on Residents’ Health
4.1.1. Impacts of the Built Environment on Residents’ Health at the Urban Scales

In terms of the characteristics of the built environment at the urban scale, the urban population density is significantly positively correlated with residents’ health, that is, the growing urban population density is accompanied by residents’ constantly improved self-perceived health status. Regarding the reason, on the one hand, the growing population density slows down the speed of urban sprawl and compacting cities compress the distance to their destinations, thereby improving the convenience of life. As a result, this creates conditions for reducing the use of private cars and promoting nonmotorized modes of travel such as walking and cycling [28, 29], thus reducing the risk of obesity and chronic diseases and improving health by increasing the frequency and intensity of physical activities. On the other hand, a high population density represents a city’s higher operating capacity and more effective urban functions [30], which means a stronger carrying capacity of public services, richer medical resources, a more perfect medical insurance system, and also a better medical treatment environment. All of these will play a positive role in promoting residents’ health.

There is a significant positive correlation between the road area ratio and residents’ health. The main reason is that increasing the supply of road infrastructure can effectively alleviate the urban traffic congestion [31], thus shortening residents’ commuting time. Furthermore, a series of problems such as reduced life satisfaction, less sleeping time, physical discomfort, and negative emotions caused by long-distance commuting are alleviated, thereby improving residents’ perception of their own health status.

Adequate green space ratio has a positive effect on residents’ health, which can be attributed to the long-term regulatory effect of green space on the urban environment. In a word, urban green space can alleviate exposure hazards, reduce urban air pollution, and improve residents’ physical and mental health [32]. In the urban built environment, bus accessibility, land use mixture, and rail transit accessibility have no significant influence on residents’ self-perceived health.

4.1.2. Impacts of the Built Environment on Residents’ Health at the Community Scales

Among the built environment factors at the community scale, the population density and green coverage ratio have a significant influence. Community population density has a nonlinear effect on residents’ health. When the population density is between 5,000 and 10,000 people per square kilometer, it has a negative impact on residents’ health. When exceeding 15,000 people per square kilometer, the population density still has a significantly negative correlation with residents’ health, indicating that an extremely high community population density will reduce the residents’ health level. This conclusion is different from that of western developed countries. In terms of the experience of western countries with low density in the context of urban sprawl, population density at the community level can help reduce overweight and obesity and is positively correlated with residents’ physiological health [33, 34]. However, the results of this study are consistent with the conclusions in the context of high density in China [35]. The possible reason lies in the high population density of communities in China. Excessive population density will lead to a portion of problems such as space congestion, lack of public facilities, environmental pollution, and invasion of private space, which will aggravate the occurrence of obesity and mental diseases and have a negative impact on residents’ health.

Among other built environment factors at the community scale, the green coverage ratio also has a positive effect on residents’ health, that is, residents living in communities with a higher green coverage ratio have a stronger self-perceived health status. Communities with higher greenness can provide residents with more green space and important places for daily physical exercise, thus enhancing residents’ physical activities, relieving mental stress, and improving their mental health and cognitive function [36, 37]. Additionally, a higher greenness level in residential communities can improve the satisfaction and happiness of residents and relieve their psychological stress, promoting their physical and mental health. However, there is no significant correlation between community diversity and residents’ health. The possible reason is that although the higher diversity shortened the distance to the destination and promoted nonmotorized travel, there was a limited positive impact of physical activities generated by nonmotorized travel on residents’ health. Besides, higher community diversity means more noisy and crowded living conditions, which has a negative impact on residents’ health. The positive and negative effects of community diversity interact with each other, resulting in the insignificant impact of community diversity on residents’ health.

4.1.3. Impacts of Individual and Household Attributes on Residents’ Health

Model 4 shows the overall effects of socio-economic attributes of individuals and households and individual behavior on residents’ health. Among the individual characteristics, marital status has a significant positive impact on residents’ health. The result means that residents who have a happy marriage will have a higher self-perceived health level, which is consistent with Brockmann’s conclusion [38]. The residents’ educational level is significantly correlated with their health, that is, people with a higher educational level have higher health status, which is consistent with the research conclusion drawn by Lingguo et al. [39]. Individual age has a significant negative impact on residents’ self-rated health, and the age square variable has a significant positive correlation with the health level. The result means that there is a “U”-shaped relationship between individual age and health, that is, individual self-perceived health shows a trend from decreasing to increasing mode with the increase of age. This may be because middle-aged people spend more time working and taking care of their families, which leads to insufficient time for exercise on the one hand, and high psychological pressure on the other hand, thus reducing their physical and mental health. Among the variables of household characteristics, the household income per capita shows a consistent impact relationship as expected, that is, the higher the household income per capita, the higher the health level of the residents. In terms of individual behavior, car ownership has a negative impact on residents’ health, as the households owing cars have a stronger desire to travel by motorization, which increases the sedentary time and increases the risk of obesity, thus damaging their health.

4.2. Marginal Effects of the Built Environment on Residents’ Health

The meaning of the coefficients estimated based on the ordered probit model is not intuitive and can only be used to identify the direction of the impact of the built environment on residents’ health and the significance of the coefficients. Therefore, it is necessary to further calculate the marginal effect of the impact of the built environment on residents’ health. The results were shown in Table 3. From the urban scale, the probability of residents’ feeling “very healthy” will increase by 31.13% as the urban population density increases by 1 unit, while the probability of feeling “relatively unhealthy” and “ordinary” will decrease by 12.93% and 25.15%, respectively. Every 1-unit increase in road area ratio has the most obvious impact on the “very healthy” level with the probability increasing by 21.68%. On the contrary, the probability of “very unhealthy,” “relatively unhealthy,” and “ordinary healthy” levels will decrease by 1.85%, 9.01%, and 17.52%, respectively. The increase in green area ratio will reduce the probability of “very unhealthy,” “relatively unhealthy,” and “ordinary” levels while improving the probability of “healthy” and “very healthy” levels. Bearing the marginal effect of the urban-built environment variables in mind, the urban population density, road area ratio, and green area ratio are important factors affecting the improvement of residents’ health.

In general, the community density has a similar impact on residents’ health at all levels, that is, every 1-unit increase in the community population density will lead to a significant increase of the probability of residents’ health at “very unhealthy,” “relatively unhealthy,” and “ordinary” levels, and conversely, a decrease at the “healthy” and “very healthy” levels. The results indicate that the higher the community population density, the worse the residents’ self-perceived health status. The green coverage ratio only has a significant effect on residents’ health at “relatively unhealthy” and “very healthy” levels. Every 1-unit increase in the green coverage ratio will cause a 2.32% decrease in the probability of residents’ health at the “relatively unhealthy” level, and conversely, a 5.59% increase at the “very healthy” level.

4.3. Robustness Test

To further ensure the rigor of the main conclusions, the following three methods were adopted to conduct the robustness test of Model 4 in Table 2, and the results are shown in Table 4. First, the reliability of the conclusion was further verified by replacing the explained variables. Regarding the residents’ health level, as there were only 43 samples at the “very unhealthy” level with a self-perceived health score of 1, accounting for 0.9% of the total samples, therefore, the samples with a self-rated health score of 1 were included in the samples at the “relatively unhealthy” level with a score of 2 for analysis. Second, the selected samples were replaced. According to the limitation of the design of the China Labor Dynamics Survey, in order to reduce the error caused by mixed age, regression analysis was conducted on the adult subsamples as the selected samples included both adults and minors. Finally, the robustness test was carried out using the transformation measurement method. As residents’ self-rated health is an ordered discrete variable, the ordered logit model was used in this study to replace the ordered probit model used in benchmark regression for estimation so as to test whether the sign and significance of regression coefficients will be changed.

According to the results of the robustness test, the results of test 1 are basically consistent with that of the benchmark regression, while the results of robustness test 2 show that the green space ratio has changed from a significant positive correlation level of 10% to a significant correlation level of 5%. The results of robustness test 3 show that the urban green space ratio and the community green coverage ratio have an insignificant impact on residents’ health, and the other conclusions are consistent with the original results. In light of the comprehensive analysis, there is a robust correlation between urban population density, road area ratio, green area ratio, community population density, and green coverage ratio and residents’ health, which further confirms the main finding of the benchmark model, that is, the urban- and community-built environment is significantly correlated with residents’ health.

4.4. Analysis of Age Heterogeneity

Individuals with different characteristics have differentiated perceptions and responses to the built environment; thus, the impact of the built environment on residents’ health will also be different. Given that age differences may lead to differences in individual behaviors, preferences, and cognitive levels, it is necessary to further explore whether there is heterogeneity of the built environment on residents’ health in different age groups on the basis of the total effect.

To explore age heterogeneity, this study divided the samples into three groups: “samples aged 16–34,” “samples aged 35–55,” and “samples aged over 55.” The regression results are shown in Table 5. Among people aged 16 to 34 years old, the green space ratio at the urban level has no significant impact on their health. The possible reason is that the activity space of this age group is relatively limited, mainly concentrated in schools and at workplace. With limited daytime activities and less exposure to green space, the green availability has less impact on their health, which can also explain that there is an insignificant impact of community population density on their health. Among people aged 35 to 55 years old, the significance and coefficient direction of the impact of the built environment on residents’ health at the urban and community scales are basically consistent with the total effect.

Among groups aged over 55, bus accessibility at the urban level presents a significantly positive impact on their health. The reason may lie in that people in this age group tend to walk or take a bus rather than driving cars and motorcycles with the decline of their physiological functions. Therefore, preferable bus accessibility can increase the probability of taking a bus trip, thus increasing physical activities and improving their health. Moreover, the impact of the green coverage ratio on this age group changed from a significant positive correlation level of 10% to a significant correlation level of 5%. Compared with young people, people in this age group are more likely to engage in activities in the community and are more sensitive to greenness because of impaired mobility caused by physiological decline and time and space constraints caused by a large number of daily household activities [40]. Besides, older people prefer to do physical exercise in green spaces. A high community green coverage ratio means more types of green space and corresponding facilities, which can boost their physical and mental health by promoting physical activities and social interaction.

4.5. Impact Path of the Community Built Environment on Residents’ Health

As the most basic part in an urban city, the community is also the fundamental unit for the implementation of the healthy city strategy. However, there is a lack of intensive analysis of the impact pathways of the community-built environment on residents’ health in the current research, so further exploration of the action mechanism becomes a necessity. On the basis of Model 2 in Table 2, individual behavioral variables were incorporated in this part to further clarify the impact pattern of the community-built environment on residents’ self-rated health through physical exercise, neighborhood support, and community safety.

The results in column 2 of Table 6 show the impact of built environment factors on physical exercise at the community scale. Among the built environment factors, there is a significant relationship between community population density, diversity, and green coverage ratio and physical exercise. In terms of population density, the high population density has a greater positive effect on physical exercise and the same as the community diversity. The reason is that the high population density and good diversity shorten the daily travel distance of residents and provide more possibilities for walking trips.

Column 4 in Table 6 reports the impact of built environment factors on neighborhood support. Low community population density helps to promote neighborhood support, and on the contrary, the high population density will weaken the behavior as high-density living space causes an anonymous, indifferent, and lukewarm neighborhood relationship, thus aggravating interpersonal friction [41].

The impact of built environment factors on community safety is presented in Column 6 in Table 6. High population density will reduce the sense of residential security. The possible reason is that most communities in China are relatively weak in cohesion and large heterogeneity of population composition, failing to give full play to the natural monitoring mechanism of “Street Eye” [42]. On the contrary, high density increases the street crime rate [43], thus weakening their sense of residential security. Simultaneously, the green coverage ratio has a significant positive impact on the sense of residential security in communities. Empirical studies on the broken windows theory have shown that the decline of the built environment will increase the crime rate and reduce residents’ sense of residential security [44].

Following the bootstrap test, it was found that the mediating effect of physical exercise, neighborhood support, and community safety truly exist. Considering the mediating effect of neighborhood support, the impact pathway of the built environment on residents’ health is as follows: the high population density of the community reduces the degree of neighborhood support, which in turn damages residents’ health. The impact pathway of community security as the mediating effect is as follows: the increase of community population density causes a weakened perception of residential safety, resulting in the decline of the self-perceived health level, while the green coverage ratio improves residents’ health by enhancing their perceived safety.

5. Discussion

One of the findings of this study shows that population density exhibits positive and negative effects at the urban and community scales, respectively. On the one hand, a higher level of urban population density will promote residents’ health because densely populated cities with a compact spatial structure will reduce travel distances and encourages the nonmotorized travel mode. In addition, according to the research samples, the high-density cities are mainly those with large populations and developed economies where residents often have higher household income and stronger health consciousness, more adequate supply of urban medical resources, and better urban public service; therefore, the urban population density has a positive effect on residents’ health from a more macro level. On the other hand, community population density has a negative nonlinear impact on residents; that is, the high community population density will damage residents’ physical and mental health. This conclusion runs counter to the urban scale, and as residents usually engage in their daily activities at the workplace and residence, they may be more sensitive to the built environment factors at the community scale. The high-density environment will occupy the public open space, thus limiting the level of the physical activity. In addition, cities with high population density tend to have a faster pace of life, greater psychological pressure, and worse sleep quality, and the crowded environment is likely to lead to a decline in residents’ health and comfort. This series of unhealthy lifestyles may be detrimental to their health.

Another finding is that there are significant differences in the impact of the built environment on the health of adolescents, young and middle-aged adults, and elderly people, given their markedly different life courses. On the one hand, urban green space only has a positive impact on young and middle-aged adults aged 35–55 but has no impact on the other two age groups. The possible reason is that the other two age groups have more limited activity space, mainly concentrated in schools, workplaces, and near the communities, with limited daytime activities and less touch to green space, so green availability has less impact on their health. Bus accessibility only has a significant positive impact on the middle-aged and elderly population aged 56–64. People at this age prefer to walk and take a bus due to their declined physiological functions. Therefore, better bus accessibility can improve their probability of taking a bus, thus increasing their physical activities and improving their health. On the other hand, community population density has a negative impact on the three age groups; that is, the high community population density will damage their physical and mental health.

In addition, this study has also found that the built environment will have an impact on residents’ self-rated health via physical activity, neighborhood support, and community safety. According to the impact direction, the compact built environment factors include two categories, namely, the health-promoted built environment factors and the health-damaged built environment factors. The health-promoted built environment factors include higher green coverage ratio. Specifically, higher green coverage ratio can promote residents’ self-rated health by improving their perception of residential safety in the community. The health-damaged built environment factors include high community population density. Specifically, high population density not only reduces the degree of neighborhood support but also has a negative impact on the residential safety, thus adversely affecting the residents’ health.

6. Conclusions

More and more attention has been paid to the studies on the contributory factors of residents’ health from the perspective of geography. However, few studies have systematically analyzed the impacts, heterogeneity, and impact mechanisms of various built environment factors from a multiscale perspective. Based on the 4,641 samples in China, this study explored the impact of the built environment on residents’ health at the urban and community scales. On the basis of controlling the socio-economic attributes of individuals and households and individual behavior, this study shows that the built environment factors at both the urban and community scales have a significant impact on residents’ health, and there are significant differences in this impact among different age groups. This study also reported that the built environment factors at the community level have an impact on residents’ health through physical exercise, neighborhood support, and community safety. Furthermore, in this study, population density has different performance on residents’ health at different scales. On the one hand, a higher level of urban population density will promote residents’ health. On the other hand, community population density has a negative nonlinear effect on residents; that is, high community population density will damage residents’ physical and mental health. Therefore, some measures should be taken in the construction of healthy cities. First, it is of necessity to strengthen road connectivity, promote street walkability, and create high-quality street walking space; second, adequate parks and squares should be planned to provide residents with high-quality green space and physical activity space; and third, great efforts should be paid to improve urban functions, optimize resource allocation, maintain a suitable population density in urban community, and promote the healthy development of cities. At the same time, the existence of intermediary paths should be fully considered to maximize the health benefits of the built environment from the supply side. In addition, concerning the difference in the impact of the built environment on residents’ health among different age groups, the role of the built environment in promoting residents’ health should be maximized, and the negative impact should be minimized when regulating the built environment factors.

Data Availability

The data can be made available on a reasonable request by contacting the corresponding author.

Conflicts of Interest

The authors declare that there are no conflicts of interest regarding the publication of this study.

Acknowledgments

The research was funded by the National Natural Science Foundation of China (nos. 71874136 and 72174162) and the Youth Program of National Natural Science Foundation of China (no. 72004176).