IDEAS home Printed from https://ideas.repec.org/p/arx/papers/2609.00375.html

Residential Price Modeling using Spatially Validated Machine Learning Methods: A Comparison Across Geographic Contexts

Author

Listed:
  • Usman Ahmed
  • Jason Hawkins

Abstract

Land use and transportation infrastructure are tightly linked systems, and residential property prices play a central role in transportation planning. Transportation investments also influence property values, making accurate forecasting of both systems an interconnected research challenge. This study examines these interactions and evaluates machine learning methods for modeling residential real estate prices across contrasting urban contexts. We use XGBoost and Random Forest models to assess how land use and transportation infrastructure shape dwelling prices, comparing results between the Rawalpindi and Islamabad Metropolitan Area in Pakistan and the City of Toronto in Canada. We also examine the performance of machine learning models on spatial data by comparing nonspatial and spatial cross validation, and use SHAP values to interpret feature impacts. Despite differences in demographics and economic development, both cities show similar effects of transportation infrastructure and local amenities on prices. Proximity to major urban cores increases sale price, while high quality transit such as subway and bus rapid transit raises prices and conventional bus stop proximity lowers them. Nonspatial cross validation overestimates predictive accuracy for spatial datasets. XGBoost performs slightly better than Random Forest. We recommend careful application of machine learning methods when modeling spatially dependent land price data.

Suggested Citation

  • Usman Ahmed & Jason Hawkins, 2026. "Residential Price Modeling using Spatially Validated Machine Learning Methods: A Comparison Across Geographic Contexts," Papers 2609.00375, arXiv.org.
  • Handle: RePEc:arx:papers:2609.00375
    as

    Download full text from publisher

    File URL: https://arxiv.org/pdf/2609.00375
    File Function: Latest version
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Muhammad Adil Rauf & Olaf Weber, 2021. "Urban infrastructure finance and its relationship to land markets, land development, and sustainability: a case study of the city of Islamabad, Pakistan," Environment, Development and Sustainability: A Multidisciplinary Approach to the Theory and Practice of Sustainable Development, Springer, vol. 23(4), pages 5016-5034, April.
    2. Mohammad, Sara I. & Graham, Daniel J. & Melo, Patricia C. & Anderson, Richard J., 2013. "A meta-analysis of the impact of rail projects on land and property values," Transportation Research Part A: Policy and Practice, Elsevier, vol. 50(C), pages 158-170.
    3. Stefan Wager & Susan Athey, 2018. "Estimation and Inference of Heterogeneous Treatment Effects using Random Forests," Journal of the American Statistical Association, Taylor & Francis Journals, vol. 113(523), pages 1228-1242, July.
    4. Brueckner, Jan K., 2011. "Lectures on Urban Economics," MIT Press Books, The MIT Press, edition 1, volume 1, number 0262016362, December.
    5. Dewees, D. N., 1976. "The effect of a subway on residential property values in Toronto," Journal of Urban Economics, Elsevier, vol. 3(4), pages 357-369, October.
    6. B V Binoy & M. A Naseer & P P Anil Kumar, 2022. "Factors affecting land value in an Indian city," Journal of Property Research, Taylor & Francis Journals, vol. 39(3), pages 268-292, July.
    7. Winky K.O. Ho & Bo-Sin Tang & Siu Wai Wong, 2021. "Predicting property prices with machine learning algorithms," Journal of Property Research, Taylor & Francis Journals, vol. 38(1), pages 48-70, January.
    8. Jason Hawkins & Khandker Nurul Habib, 2019. "Integrated models of land use and transportation for the autonomous vehicle revolution," Transport Reviews, Taylor & Francis Journals, vol. 39(1), pages 66-83, January.
    9. Pierre Ploton & Frédéric Mortier & Maxime Réjou-Méchain & Nicolas Barbier & Nicolas Picard & Vivien Rossi & Carsten Dormann & Guillaume Cornu & Gaëlle Viennois & Nicolas Bayol & Alexei Lyapustin & Syl, 2020. "Spatial validation reveals poor predictive performance of large-scale ecological mapping models," Nature Communications, Nature, vol. 11(1), pages 1-11, December.
    10. Efthymiou, D. & Antoniou, C., 2013. "How do transport infrastructure and policies affect house prices and rents? Evidence from Athens, Greece," Transportation Research Part A: Policy and Practice, Elsevier, vol. 52(C), pages 1-22.
    11. Bowes, David R. & Ihlanfeldt, Keith R., 2001. "Identifying the Impacts of Rail Transit Stations on Residential Property Values," Journal of Urban Economics, Elsevier, vol. 50(1), pages 1-25, July.
    12. Kang, Yuhao & Zhang, Fan & Peng, Wenzhe & Gao, Song & Rao, Jinmeng & Duarte, Fabio & Ratti, Carlo, 2021. "Understanding house price appreciation using multi-source big geo-data and machine learning," Land Use Policy, Elsevier, vol. 111(C).
    13. Sreenivasulu Puli & Nagaraju Thota & A. C. V. Subrahmanyam, 2024. "Assessing Machine Learning Techniques for Predicting Banking Crises in India," JRFM, MDPI, vol. 17(4), pages 1-16, March.
    14. Nida Naeem & Irfan Ahmad Rana, 2024. "Exploring needs, choices, and preferences of homebuyers in Islamabad, Pakistan," Journal of Property Research, Taylor & Francis Journals, vol. 41(2), pages 147-165, April.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Haizhen Wen & Zaiyuan Gui & Chuanhao Tian & Yue Xiao & Li Fang, 2018. "Subway Opening, Traffic Accessibility, and Housing Prices: A Quantile Hedonic Analysis in Hangzhou, China," Sustainability, MDPI, vol. 10(7), pages 1-23, June.
    2. Ruggeri, Aurora & Di Liddo, Felicia & Gabrielli, Laura & Tajani, Francesco & Morano, Pierluigi, 2025. "What is the “best” way to measure the relative location variables in the market value assessment? An econometric method applied to an Italian case study," Land Use Policy, Elsevier, vol. 148(C).
    3. Qianyao Li & Junwu Wang & Judith Callanan & Binbin Lu & Zeng Guo, 2021. "The spatial varying relationship between services of the train network and residential property values in Melbourne, Australia," Urban Studies, Urban Studies Journal Limited, vol. 58(2), pages 335-354, February.
    4. Rémy Le Boennec & Julie Bulteau & Thierry Feuillet, 2022. "The role of commuter rail accessibility in the formation of residential land values: exploring spatial heterogeneity in peri-urban and remote areas," The Annals of Regional Science, Springer;Western Regional Science Association, vol. 69(1), pages 163-186, August.
    5. Devaux, Nicolas & Dubé, Jean & Apparicio, Philippe, 2017. "Anticipation and post-construction impact of a metro extension on residential values: The case of Laval (Canada), 1995–2013," Journal of Transport Geography, Elsevier, vol. 62(C), pages 8-19.
    6. Paliska, Dejan & Drobne, Samo, 2020. "Impact of new motorway on housing prices in rural North-East Slovenia," Journal of Transport Geography, Elsevier, vol. 88(C).
    7. Sangwan Lee, 2022. "An In-Depth Understanding of the Residential Property Value Premium of a Bikesharing Service in Portland, Oregon," Land, MDPI, vol. 11(9), pages 1-16, August.
    8. Efthymiou, D. & Antoniou, C., 2015. "Investigating the impact of recession on transportation cost capitalization: a spatial analysis," Journal of Transport Geography, Elsevier, vol. 42(C), pages 1-9.
    9. Arku, Robert Nutifafa & Higgins, Christopher D. & Fischer, Jaimy & Farber, Steven, 2024. "Do affluent neighbourhoods pay more for transit access? Exploring the capitalization of employment accessibility within different housing submarkets in Vancouver," Journal of Transport Geography, Elsevier, vol. 121(C).
    10. Comber, Sam & Arribas-Bel, Dani, 2017. "“Waiting on the train”: The anticipatory (causal) effects of Crossrail in Ealing," Journal of Transport Geography, Elsevier, vol. 64(C), pages 13-22.
    11. Dubé, Jean & Thériault, Marius & Des Rosiers, François, 2013. "Commuter rail accessibility and house values: The case of the Montreal South Shore, Canada, 1992–2009," Transportation Research Part A: Policy and Practice, Elsevier, vol. 54(C), pages 49-66.
    12. Cordera, Ruben & Coppola, Pierluigi & dell'Olio, Luigi & Ibeas, Ángel, 2019. "The impact of accessibility by public transport on real estate values: A comparison between the cities of Rome and Santander," Transportation Research Part A: Policy and Practice, Elsevier, vol. 125(C), pages 308-319.
    13. Zachary T. Keeler & Heather M. Stephens, 2023. "The capitalization of metro rail access in urban housing markets," Real Estate Economics, American Real Estate and Urban Economics Association, vol. 51(3), pages 686-720, May.
    14. Chinmoy Ghosh & Venkatesh Panchapagesan & Madalasa Venkataraman, 2024. "On the Impact of Infrastructure Improvement on Real Estate Property Values: Evidence from a Quasi-natural Experiment in an Emerging Market," The Journal of Real Estate Finance and Economics, Springer, vol. 68(1), pages 103-137, January.
    15. Xu, Shu-Xian & Liu, Tian-Liang & Huang, Hai-Jun & Liu, Ronghui, 2018. "Mode choice and railway subsidy in a congested monocentric city with endogenous population distribution," Transportation Research Part A: Policy and Practice, Elsevier, vol. 116(C), pages 413-433.
    16. Piotr Rosik & Julia Wójcik, 2022. "Transport Infrastructure and Regional Development: A Survey of Literature on Wider Economic and Spatial Impacts," Sustainability, MDPI, vol. 15(1), pages 1-19, December.
    17. Andersson, Matts & Dehlin, Fredrik & Jörgensen, Peter & Pädam, Sirje, 2015. "Wider economic impacts of accessibility: a literature survey," Working papers in Transport Economics 2015:14, CTS - Centre for Transport Studies Stockholm (KTH and VTI).
    18. Yifan Chen & Sean Wilkoff & Jiro Yoshida, 2024. "Amazon is coming to town: Sequential information revelation in the housing market," Real Estate Economics, American Real Estate and Urban Economics Association, vol. 52(2), pages 277-323, March.
    19. Pilgram, Clemens A. & West, Sarah E., 2018. "Fading premiums: The effect of light rail on residential property values in Minneapolis, Minnesota," Regional Science and Urban Economics, Elsevier, vol. 69(C), pages 1-10.
    20. Deyas, Gebeyew T. & Woldeamanuel, Mintesnot G., 2020. "Social and economic impacts of public transportation on adjacent communities: The case of the Addis Ababa light rail transit," Research in Transportation Economics, Elsevier, vol. 84(C).

    More about this item

    NEP fields

    This paper has been announced in the following NEP Reports:

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:arx:papers:2609.00375. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: arXiv administrators (email available below). General contact details of provider: https://arxiv.org/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.