Quantifying Urban Ecosystem Services for Community-Level Planning: A Machine Learning Framework for Service Quality and Residents’ Perceptions in Wuhan, China
Abstract
1. Introduction
1.1. Research Background
1.2. Literature Review
1.2.1. Community Environment
1.2.2. Quality and Measurement of Community Management
1.2.3. Community Service Quality and Measurement
2. Materials and Methods
2.1. Research Hypothesis
2.2. Data Sources
2.3. Construction of Variables
2.4. Research Methods
2.4.1. Random Forest Model
2.4.2. Ordered Logit Model
2.4.3. Mlogit Model
2.5. Comparative Model Strategy
3. Results
3.1. Parameter Setting of Random Forest Model
3.2. Importance Identification of Community Management and Service Quality
3.2.1. Benchmark Results
3.2.2. Heterogeneity Analysis
3.3. Path Analysis of Community Management and Service Quality Optimization
4. Discussion
4.1. Synthesis of Findings and Theoretical Implications
4.2. Positioning in the Literature and Added Value
4.3. Limitations and Future Research
5. Conclusions and Suggestions
5.1. Research Conclusions
5.2. Research Suggestions
Supplementary Materials
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
Appendix A
| Community | District | Average Age | Gender Ratio (M/F) | Location (GCJ-02) | Housing Price (Median) | Sample Size |
|---|---|---|---|---|---|---|
| Zisong Community | Hongshan | 53.6 | 1.65 | (30.5139, 114.3905) | 20,000 | 62 |
| Nanwang Community | Hongshan | 49.35 | 1.50 | (30.5125, 114.4018) | 18,000 | 20 |
| Cambridge Community | Hongshan | 62.8 | 0.67 | (30.5083, 114.3905) | 17,000 | 20 |
| Wisdom City | Hongshan | 62.79 | 0.27 | (30.5123, 114.3990) | 20,000 | 28 |
| Post Institute Community | Hongshan | 58.21 | 0.32 | (30.4821, 114.4075) | 15,000 | 33 |
| Auto Standard Community | Hongshan | 59.51 | 0.84 | (30.6185, 114.2023) | 20,000 | 57 |
| Ge Guang Community | Hongshan | 55.83 | 1.09 | (30.5750, 114.2500) | 20,000 | 23 |
| Kangju Garden | Hongshan | 62.94 | 0.31 | (30.6500, 114.1500) | 18,000 | 17 |
| Bishui Community | Hongshan | 66.09 | 0.38 | (30.5500, 114.3000) | 18,000 | 11 |
| Yangtze Memory | Hongshan | 63.5 | 1.00 | (30.3750, 114.6050) | 17,000 | 20 |
| Sixin Community | Hanyang | 42.38 | 0.81 | (30.5700, 114.2100) | 18,000 | 49 |
| Domain | Variable | Variable Name | UES Dimension | Question ID | Internal Coding |
|---|---|---|---|---|---|
| Basic Information | sex | sex | — | A1 | 1 = male, 2 = female |
| age | age | — | A2 | — | |
| marry | marry | — | A5 | — | |
| Occupation | occ | — | A6 | — | |
| Monthly post-tax income | inc_ind | — | A7 | — | |
| Household Permanent Resi -dent Population | hh_size | — | A8 | — | |
| Monthly household income | inc_hh | — | A9 | — | |
| Monthly household expenses | exp_hh | — | A10 | — | |
| Living area | area | — | A11 | — | |
| Community management and service quality | Community management and service quality | CMSQ | — | D2_effect _now | 1 = very poor … 5 = very good |
| Overall appearance | Community planning | CP | Regulating /Supporting | B1_plan | 1 = very poor … 5 = very good |
| Community health | CH | Regulating | B1_hygiene | 1 = very poor … 5 = very good | |
| Community civilization | CCC | Cultural | B1_civility | 1 = very poor … 5 = very good | |
| Participatory Governance democracy | PGD | Cultural | B1_democracy | 1 = very poor … 5 = very good | |
| Infrastructure | Fiber to the home | FTTH | Provisioning | B1_fiber | 1 = very poor … 5 = very good |
| Parking conditions | PKC | Provisioning | B1_parking | 1 = very poor … 5 = very good | |
| Property management | PRM | Provisioning /Regulating | B1_property | 1 = very poor … 5 = very good | |
| Living facilities | Security monitoring | CCTV | Regulating | B1_cctv | 1 = very poor … 5 = very good |
| Kindergarten | KGN | Provisioning | B1_kinder | 1 = very poor … 5 = very good | |
| Nursing home | NHM | Provisioning | B1_nursing | 1 = very poor … 5 = very good | |
| Hypermarket/ Large supermarket | HMS | Provisioning | B1_market | 1 = very poor … 5 = very good | |
| Community medical station | CMedS | Provisioning | B1_clinic | 1 = very poor … 5 = very good | |
| Cultural environment | Community activity room | CARm | Provisioning /Cultural | B1_activity | 1 = very poor … 5 = very good |
| Neighborhood relations | NR | Cultural | B1_neighbor | 1 = very poor … 5 = very good | |
| Social participation of residents | SPR | Cultural | B1_participation | 1 = very poor … 5 = very good | |
| Community organization leadership | COL | Cultural | B1_org_lead | 1 = very poor … 5 = very good | |
| Self-government of the population | SGP | Cultural | B1_self_gov | 1 = very poor … 5 = very good | |
| Resident–community relations | RCR | Cultural | B1_res_comm | 1 = very poor … 5 = very good |
References
- Frank, L.D.; Schmid, T.L.; Sallis, J.F.; Chapman, J.; Saelens, B.E. Linking objectively measured physical activity with objectively measured urban form: Findings from SMARTRAQ. Am. J. Prev. Med. 2005, 28, 117–125. [Google Scholar] [CrossRef]
- Panocchia, N.; D’Ambrosio, V.; Corti, S.; Lo Presti, E.; Bertelli, M.O.; Scattoni, M.L.; Ghelma, F. COVID-19 pandemic, the scarcity of medical resources, community-centred medicine and discrimination against persons with disabilities. J. Med. Ethics 2021, 47, 362–365. [Google Scholar] [CrossRef] [PubMed]
- Cheng, X.; Zhang, Z.; Chen, F.; Zhao, C.; Wang, T.; Sun, H.; Huang, C. Secure Identity Authentication of Community Medical Internet of Things. IEEE Access 2019, 7, 115966–115977. [Google Scholar] [CrossRef]
- Lin, X.B.; Yang, J.W. Built Environment And Public Health Review And Planning in North American Metropolitan Areas. Planners 2015, 31, 12–19. [Google Scholar]
- Liu, Q.; Yu, Y.; Wu, X.; Sun, Y.; Lyu, Y.; Cao, K.; Wang, Y.; Geng, L. Demand for Community Medical-Nursing Combined Services among the Empty-Nest Elderly in China: A Qualitative Study. Health and Social Care in the Community. Landsc. Archit. 2023, 27, 96–103. [Google Scholar] [CrossRef]
- Bray, D. Building ‘community’: New strategies of governance in urban China. Econ. Soc. 2006, 35, 530–549. [Google Scholar] [CrossRef]
- Lian, X.; Li, D.; Di, W.; Oubibi, M.; Zhang, X.; Zhang, S.; Xu, C.; Lu, H. Research on influential factors of satisfaction for residents in unit Communities—Taking Ningbo city as an example. Sustainability 2022, 14, 6687. [Google Scholar] [CrossRef]
- Ubels, H.; Bock, B.B.; Haartsen, T. The dynamics of self-governance capacity: The Dutch rural civic initiative “Project Ulrum 2034”. Sociol. Rural. 2022, 59, 763–788. [Google Scholar] [CrossRef]
- Veckalne, R.; Saidkhodjaev, A.; Tambovceva, T. Public Perceptions of Urban Green Spaces: Effects on Physical and Mental Health. Urban Sci. 2025, 9, 128. [Google Scholar] [CrossRef]
- Cherkesly, M.; Rancourt, M.E.; Smilowitz, K.R. Community Healthcare Network in Underserved Areas: Design, Mathematical Models, and Analysis. Prod. Oper. Manag. 2019, 28, 1716–1734. [Google Scholar] [CrossRef]
- Li, Y.; Ran, Q.; Yao, S.; Ding, L. Evaluation and Optimization of the Layout of Community Public Service Facilities for the Elderly: A Case Study of Hangzhou. Land 2023, 12, 629. [Google Scholar] [CrossRef]
- Sharma, A.; Borah, S.B.; Moses, A.C. Achieving social and economic sustainability through innovations in transformative services: A case of healthcare organizations in an emerging market. J. Acad. Mark. Sci. 2024, 52, 1366–1390. [Google Scholar] [CrossRef]
- Kuo, Y.C.; Chou, J.S.; Sun, K.S. Elucidating how service quality constructs influence resident satisfaction with condominium management. Expert Syst. Appl. 2011, 38, 5755–5763. [Google Scholar] [CrossRef]
- Christenson, J.A. Urbanism and Community Sentiment: Extending Wirth’s Model. Soc. Sci. Q. 1979, 60, 387–400. Available online: https://www.jstor.org/stable/42860593 (accessed on 15 October 2025).
- van Goethem, A.A.J.; van Hoof, A.; Orobio de Castro, B.; van Aken, M.A. Quality is Key—The Impact of Community Service, Community Service Quality, and Reflection on Adolescents’ Volunteering Intentions. Int. J. Dev. Sci. 2014, 8, 137–147. [Google Scholar] [CrossRef]
- Lee, K.; Jin, Q.; Animesh, R.; Ramaprasesad, J. Impact of Ride-Hailing Services on Transportation Mode Choices: Evidence from Traffic and Transit Ridership. MIS Q. 2022, 46, 1875–1900. [Google Scholar] [CrossRef]
- Parsons, F. Choosing a Vocation; Houghton Mifflin: Boston, MA, USA, 1909. [Google Scholar]
- Cable, D.M.; DeRue, D.S. The convergent and discriminant validity of subjective fit perceptions. J. Appl. Psychol. 2002, 87, 875–884. [Google Scholar] [CrossRef]
- Ali, I. Examining the role of person-environment fit in improving teaching satisfaction and subjective wellbeing. Int. J. Asian Bus. Inf. Manag. 2017, 8, 1–14. [Google Scholar] [CrossRef]
- Padmasiri, M.K.D.; Kailasapathy, P.; Jayawardana, A.K.L. Development of the person-family fit construct: An extension of person-environment fit into the family domain. South Asian J. Hum. Resour. Manag. 2019, 6, 156–176. [Google Scholar] [CrossRef]
- Inoue, M.; Kunie, K.; Takemura, Y.; Kida, R.; Ichikawa, N. The influence of learning circumstances and on-the-job opportunities for professional growth on perceived person-environment fit among hospital nurses: A longitudinal study. J. Nurs. Manag. 2021, 29, 776–784. [Google Scholar] [CrossRef]
- Breiman, L. Random forests. Mach. Learn. 2001, 45, 5–32. [Google Scholar] [CrossRef]
- Liaw, A.; Wiener, M. Classification and regression by randomForest. R News 2002, 2, 18–22. [Google Scholar]
- Guan, T.; Liu, T. Participatory Representation in a Non-Western Context: The Case of Homeowner Associations in Beijing. Urban Aff. Rev. 2021, 57, 984–1014. [Google Scholar] [CrossRef]
- Shan, Q.; Wang, Y.; Zhang, W. Exploring Factors Affecting Residential Satisfaction in Old Neighborhoods and Sustainable Design Strategies Based on Post-Occupancy Evaluation. Sustainability 2023, 15, 15213. [Google Scholar] [CrossRef]
- Wee, L.E.; Tsang, Y.Y.T.; Tay, S.M.; Cheah, A.; Puhaindran, M.; Yee, J.; Lee, S.; Oen, K.; Koh, C.H.G. Perceived Neighborhood Environment and Its Association with Health Screening and Exercise Participation among Low-Income Public Rental Flat Residents in Singapore. Int. J. Environ. Res. Public Health 2019, 16, 1384. [Google Scholar] [CrossRef]
- Lee, K.Y.; Park, K. Perception of Community Environment, Satisfaction with Local Government, and Quality of Life: The Case of Gyeonggi, Korea. Soc. Sci. 2022, 11, 394. [Google Scholar] [CrossRef]
- Guo, L.; Bao, Y.; Li, S.; Ma, J.; Sun, W. Quality analysis and policy recommendations on the utilization of community basic public health services in urban and suburban Shanghai from 2009 to 2014. Environ. Sci. Pollut. Res. 2018, 25, 18164–18173. [Google Scholar] [CrossRef] [PubMed]








| Category | Variable Name | Variable Value | Mean | Standard Deviation |
|---|---|---|---|---|
| Community Management and Service quality | Community management and service quality (CMSQ) | No effect, not very good, fair, fairly good, very good, on a scale of 1 to 5 | 3.68 | 1.05 |
| Overall appearance | Community planning (CP) | The value ranges from 1 to 5: very poor, poor, fair, good, very good | 3.81 | 0.99 |
| Community health (CH) | The value ranges from 1 to 5: very poor, poor, fair, good, very good | 3.70 | 1.03 | |
| Community Civilization and Culture (CCC) | Same as above | 3.88 | 0.94 | |
| Participatory Governance Democracy (PGD) | Same as above | 3.78 | 1.00 | |
| Infrastructure | Fiber to the Home (FTTH) | Same as above | 3.62 | 1.22 |
| Parking Conditions (PKC) | Same as above | 3.31 | 1.15 | |
| Property Management (PRM) | Same as above | 3.24 | 1.23 | |
| Security Monitoring (CCTV) | Same as above | 3.52 | 1.12 | |
| Living facilities | kindergarten (KGN) | Same as above | 3.12 | 1.36 |
| Nursing home (NHM) | Same as above | 2.53 | 1.29 | |
| Hypermarkets (HMS) | Same as above | 2.98 | 1.34 | |
| Community Medical Station (CMedS) | Same as above | 3.47 | 1.15 | |
| Community Activity Room (CARm) | Same as above | 3.56 | 1.10 | |
| Cultural environment | Neighborhood Relations (NR) | Same as above | 3.84 | 0.87 |
| Social Participation of Residents (SPR) | Same as above | 3.78 | 0.92 | |
| Community Organization Leadership (COL) | Same as above | 3.88 | 0.88 | |
| Self-government of the Population (SGP) | Same as above | 3.75 | 0.90 | |
| Resident–community Relations (RCR) | Same as above | 3.68 | 1.05 |
| Variable | %IncMSE | IncNodePurity |
|---|---|---|
| CP | 4.567 | 11.460 |
| CH | 5.067 | 9.793 |
| CCC | 7.300 | 12.527 |
| PGD | 5.207 | 10.742 |
| FTTH | 6.610 | 12.298 |
| PKC | 4.136 | 8.644 |
| PRM | 4.122 | 9.448 |
| CCTV | 6.760 | 11.582 |
| KGN | 3.248 | 9.865 |
| NHM | 2.759 | 9.105 |
| HMS | 4.067 | 9.666 |
| CMedS | 3.600 | 10.101 |
| CARm | 2.542 | 10.122 |
| NR | 3.327 | 9.771 |
| SPR | 6.044 | 9.947 |
| COL | 6.431 | 13.410 |
| SGP | 9.382 | 14.148 |
| RCR | 7.819 | 14.446 |
| Variable | Coefficient | IncNodePurity |
|---|---|---|
| CP | −0.058 | 11.460 |
| CH | 0.141 | 9.793 |
| CCC | 0 | 12.527 |
| PGD | 0 | 10.742 |
| FTTH | 0.225 | 12.298 |
| PKC | −0.152 | 8.644 |
| PRM | −0.025 | 9.448 |
| CCTV | 0.097 | 11.582 |
| KGN | −0.032 | 9.865 |
| NHM | −0.052 | 9.105 |
| HMS | −0.041 | 9.666 |
| CMedS | 0.091 | 10.101 |
| CARm | 0 | 10.122 |
| NR | 0.052 | 9.771 |
| SPR | −0.108 | 9.947 |
| COL | 0.038 | 13.410 |
| SGP | 0.080 | 14.148 |
| RCR | 0.291 | 14.446 |
| (1) | (2) | (3) | (4) | (OLS) | |
|---|---|---|---|---|---|
| 1/5 | 2/5 | 3/5 | 4/5 | ||
| CP | −1.942 ** | −2.197 *** | −1.833 ** | −1.932 ** | −0.053 |
| (0.893) | (0.820) | (0.812) | (0.846) | (0.083) | |
| CH | 0.651 | 1.661 ** | 1.479 ** | 1.824 ** | 0.164 ** |
| (0.812) | (0.747) | (0.733) | (0.767) | (0.082) | |
| FTTH | −0.399 | 0.305 | 0.705 | 1.194 ** | 0.272 *** |
| (0.609) | (0.551) | (0.546) | (0.578) | (0.056) | |
| PKC | 0.714 | 0.016 | −0.199 | −0.474 | −0.180 *** |
| (0.865) | (0.732) | (0.717) | (0.728) | (0.065) | |
| PRM | −1.236 | −0.970 | −0.556 | −1.009 | 0.014 |
| (0.931) | (0.849) | (0.841) | (0.858) | (0.061) | |
| CCTV | 0.521 | 0.625 | 0.574 | 1.264 ** | 0.115 * |
| (0.627) | (0.576) | (0.572) | (0.607) | (0.060) | |
| KGN | 0.185 | −0.363 | −0.236 | −0.201 | −0.022 |
| (0.470) | (0.404) | (0.397) | (0.413) | (0.046) | |
| NHM | 0.528 | 0.502 | 0.307 | 0.134 | −0.062 |
| (0.543) | (0.470) | (0.460) | (0.475) | (0.048) | |
| HMS | −0.347 | 0.099 | −0.039 | 0.111 | −0.008 |
| (0.495) | (0.428) | (0.425) | (0.447) | (0.050) | |
| CMedS | 0.126 | 0.253 | 0.488 | 0.222 | 0.050 |
| (0.583) | (0.518) | (0.511) | (0.537) | (0.059) | |
| NR | 0.514 | 0.587 | 0.561 | 0.252 | 0.043 |
| (0.997) | (0.929) | (0.921) | (0.960) | (0.089) | |
| SPR | −0.072 | −0.948 | −0.784 | −1.478 * | −0.129 |
| (0.784) | (0.738) | (0.728) | (0.776) | (0.088) | |
| COL | −0.247 | 0.926 | 1.328 | 1.434 ** | 0.043 * |
| (0.989) | (0.932) | (0.921) | (0.934) | (0.022) | |
| SGP | −0.603 | −1.074 | −1.151 | −0.307 | 0.099 |
| (1.043) | (0.996) | (0.986) | (1.051) | (0.110) | |
| RCR | 0.299 | 0.774 | 0.998 | 1.964 ** | 0.283 *** |
| (0.861) | (0.877) | (0.869) | (0.972) | (0.0105) | |
| Constant | 7.830 * | 5.476 | −0.329 | −8.095 * | 1.331 *** |
| (4.414) | (3.975) | (3.960) | (4.277) | (0.418) | |
| N | 312 | ||||
| R2 | 0.364 | ||||
| 0.314 | |||||
| F | 7.177 *** (df = 23; 288) | ||||
| Variable | Coefficient | Variable | Coefficient |
|---|---|---|---|
| CP | 0.035 (0.191) | HMS | −0.081 (0.117) |
| CH | 0.257 (0.191) | CMedS | 0.182 (0.144) |
| FTTH | 0.662 *** (0.132) | NR | 0.014 (0.212) |
| PKC | −0.465 *** (0.157) | SPR | −0.403 * (0.213) |
| PRM | 0.014 (0.149) | COL | 0.477 * (0.262) |
| CCTV | 0.285 ** (0.140) | SGP | 0.409 (0.263) |
| KGN | −0.102 (0.109) | RCR | 0.481 * (0.249) |
| NHM | −0.133 (0.111) |
| Important Feature Ranking | Mlogit Model | Ologit Model | Random Forest Model |
|---|---|---|---|
| 1 | RCR | FTTH | SGP |
| 2 | FTTH | CCTV | RCR |
| 3 | CH | RCR | CCC |
| 4 | COL | COL | CCTV |
| 5 | CCTV | SGP | FTTH |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Zhang, F.; Dong, Y.; Zhang, Q.; Luo, Y.; Han, A. Quantifying Urban Ecosystem Services for Community-Level Planning: A Machine Learning Framework for Service Quality and Residents’ Perceptions in Wuhan, China. Urban Sci. 2025, 9, 449. https://doi.org/10.3390/urbansci9110449
Zhang F, Dong Y, Zhang Q, Luo Y, Han A. Quantifying Urban Ecosystem Services for Community-Level Planning: A Machine Learning Framework for Service Quality and Residents’ Perceptions in Wuhan, China. Urban Science. 2025; 9(11):449. https://doi.org/10.3390/urbansci9110449
Chicago/Turabian StyleZhang, Fan, Yuqing Dong, Qikai Zhang, Yifang Luo, and Aihua Han. 2025. "Quantifying Urban Ecosystem Services for Community-Level Planning: A Machine Learning Framework for Service Quality and Residents’ Perceptions in Wuhan, China" Urban Science 9, no. 11: 449. https://doi.org/10.3390/urbansci9110449
APA StyleZhang, F., Dong, Y., Zhang, Q., Luo, Y., & Han, A. (2025). Quantifying Urban Ecosystem Services for Community-Level Planning: A Machine Learning Framework for Service Quality and Residents’ Perceptions in Wuhan, China. Urban Science, 9(11), 449. https://doi.org/10.3390/urbansci9110449

