IDEAS home Printed from https://ideas.repec.org/a/kap/jgeosy/v26y2024i4d10.1007_s10109-024-00449-w.html
   My bibliography  Save this article

A random forests-based hedonic price model accounting for spatial autocorrelation

Author

Listed:
  • Emre Tepe

    (University of Florida)

Abstract

This paper introduces a spatially explicit random forests-based hedonic price modeling approach to account for spatial autocorrelation in the data. Spatial autocorrelation is a common data structure in georeferenced data, and controlling associations among spatial objects is crucial for accurate statistical analysis. Validations of machine learning and artificial intelligence applications require using out-of-sample data sets to assess models’ fit on the training dataset. Previous research has shown that nonspatial cross-validation methods, commonly used in machine learning applications for spatial data, often provide over-optimistic results. Some recommended the use of spatial cross-validation methods to obtain more reliable estimates. However, the machine learning models used in these previous studies did not include spatially explicit parameters to account for spatial autocorrelation in the data. Unlike machine learning-based models, statistical-based models such as the spatial lag model can effectively account for spatial autocorrelation in the data. This research applied a two-stage least squares random forests framework to construct a hedonic pricing model incorporating a spatial lag for the Miami-Dade single-family residential parcel sales data. Random forests models are evaluated using K-fold, spatial blocking K-fold, and spatial leave-one-out cross-validation methods. The goodness-of-fit of the tested random forests-based models is evaluated using the coefficient of determination and mean square error scores. Additionally, spatial autocorrelations in residuals from random forests models are investigated by conducting Moran’s I test. Our research indicates that failing to account for spatial autocorrelation in data can lead to unreliable and overly optimistic estimates. However, including a spatially lagged variable substantially reduces fluctuations in goodness-of-fit measures across different validation sets.

Suggested Citation

  • Emre Tepe, 2024. "A random forests-based hedonic price model accounting for spatial autocorrelation," Journal of Geographical Systems, Springer, vol. 26(4), pages 511-540, October.
  • Handle: RePEc:kap:jgeosy:v:26:y:2024:i:4:d:10.1007_s10109-024-00449-w
    DOI: 10.1007/s10109-024-00449-w
    as

    Download full text from publisher

    File URL: http://link.springer.com/10.1007/s10109-024-00449-w
    File Function: Abstract
    Download Restriction: Access to full text is restricted to subscribers.

    File URL: https://libkey.io/10.1007/s10109-024-00449-w?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to search for a different version of it.

    References listed on IDEAS

    as
    1. Jau-er Chen & Chen-Wei Hsiang, 2019. "Causal Random Forests Model Using Instrumental Variable Quantile Regression," Econometrics, MDPI, vol. 7(4), pages 1-22, December.
    2. Nicolas Devaux Etienne Berthold & Jean Dubé, 2018. "Economic Impact of a Heritage Policy on Residential Property Values in a Historic District Context: The Case of the Old City of Quebec," The Review of Regional Studies, Southern Regional Science Association, vol. 48(3), pages 279-297, Winter.
    3. Harry H. Kelejian & Dennis P. Robinson, 1993. "A Suggested Method Of Estimation For Spatial Interdependent Models With Autocorrelated Errors, And An Application To A County Expenditure Model," Papers in Regional Science, Wiley Blackwell, vol. 72(3), pages 297-312, July.
    4. Xinkun Nie & Stefan Wager, 2017. "Quasi-Oracle Estimation of Heterogeneous Treatment Effects," Papers 1712.04912, arXiv.org, revised Aug 2020.
    5. Meyer, Hanna & Reudenbach, Christoph & Wöllauer, Stephan & Nauss, Thomas, 2019. "Importance of spatial predictor variable selection in machine learning applications – Moving from data reproduction to spatial prediction," Ecological Modelling, Elsevier, vol. 411(C).
    6. Lee, Lung-Fei, 2002. "Consistency And Efficiency Of Least Squares Estimation For Mixed Regressive, Spatial Autoregressive Models," Econometric Theory, Cambridge University Press, vol. 18(2), pages 252-277, April.
    7. Moore, Michael R. & Doubek, Jonathan P. & Xu, Hui & Cardinale, Bradley J., 2020. "Hedonic Price Estimates of Lake Water Quality: Valued Attribute, Instrumental Variables, and Ecological-Economic Benefits," Ecological Economics, Elsevier, vol. 176(C).
    8. Biewen, Martin & Kugler, Philipp, 2021. "Two-stage least squares random forests with an application to Angrist and Evans (1998)," Economics Letters, Elsevier, vol. 204(C).
    9. Frederick V. Waugh, 1928. "Quality Factors Influencing Vegetable Prices," American Journal of Agricultural Economics, Agricultural and Applied Economics Association, vol. 10(2), pages 185-196.
    10. Richard Meese & Nancy Wallace, 1991. "Nonparametric Estimation of Dynamic Hedonic Price Models and the Construction of Residential Housing Price Indices," Real Estate Economics, American Real Estate and Urban Economics Association, vol. 19(3), pages 308-332, September.
    11. Stephanie Yates Rauterkus & Norman Miller, 2011. "Residential Land Values and Walkability," Journal of Sustainable Real Estate, Taylor & Francis Journals, vol. 3(1), pages 23-43, January.
    12. John R. Knight, 2008. "Hedonic Modeling of the Home Selling Process," Springer Books, in: Andrea Baranzini & José Ramirez & Caroline Schaerer & Philippe Thalmann (ed.), Hedonic Methods in Housing Markets, chapter 2, pages 39-54, Springer.
    13. 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.
    14. Emre Tepe, 2024. "History, neighborhood, and proximity as factors of land-use change: A dynamic spatial regression model," Environment and Planning B, , vol. 51(1), pages 7-22, January.
    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. Bello Musa Zango & Sanni Mohammed Lekan & Mohammed Jibrin Katun, 2020. "Conventional Methods in Housing Market Analysis: A Review of Literature," Baltic Journal of Real Estate Economics and Construction Management, Sciendo, vol. 8(1), pages 227-241, January.
    2. Gustavo Larrea‐Gallegos & Ian Vázquez‐Rowe, 2022. "Exploring machine learning techniques to predict deforestation to enhance the decision‐making of road construction projects," Journal of Industrial Ecology, Yale University, vol. 26(1), pages 225-239, February.
    3. Andrea Baranzini & José V. Ramirez & Caroline Schaerer & Philippe Thalmann, 2008. "Introduction to this Volume: Applying Hedonics in the Swiss Housing Markets," Swiss Journal of Economics and Statistics (SJES), Swiss Society of Economics and Statistics (SSES), vol. 144(IV), pages 543-559, December.
    4. Shew Fan Liu & Zhenlin Yang, 2015. "Asymptotic Distribution and Finite Sample Bias Correction of QML Estimators for Spatial Error Dependence Model," Econometrics, MDPI, vol. 3(2), pages 1-36, May.
    5. Anselin, Luc, 2002. "Under the hood : Issues in the specification and interpretation of spatial regression models," Agricultural Economics, Blackwell, vol. 27(3), pages 247-267, November.
    6. Kelejian, Harry H. & Prucha, Ingmar R., 2007. "HAC estimation in a spatial framework," Journal of Econometrics, Elsevier, vol. 140(1), pages 131-154, September.
    7. Wadoux, Alexandre M.J.-C. & Heuvelink, Gerard B.M. & de Bruin, Sytze & Brus, Dick J., 2021. "Spatial cross-validation is not the right way to evaluate map accuracy," Ecological Modelling, Elsevier, vol. 457(C).
    8. Liu, Xiaodong & Lee, Lung-fei & Bollinger, Christopher R., 2010. "An efficient GMM estimator of spatial autoregressive models," Journal of Econometrics, Elsevier, vol. 159(2), pages 303-319, December.
    9. Lechner, Michael, 2018. "Modified Causal Forests for Estimating Heterogeneous Causal Effects," IZA Discussion Papers 12040, Institute of Labor Economics (IZA).
    10. Asgharian, Hossein & Hess, Wolfgang & Liu, Lu, 2013. "A spatial analysis of international stock market linkages," Journal of Banking & Finance, Elsevier, vol. 37(12), pages 4738-4754.
    11. Paul Chwelos, 2003. "Approaches to performance measurement in hedonic analysis: Price indexes for laptop computers in the 1990's," Economics of Innovation and New Technology, Taylor & Francis Journals, vol. 12(3), pages 199-224.
    12. Yong Bao & Xiaotian Liu & Lihong Yang, 2020. "Indirect Inference Estimation of Spatial Autoregressions," Econometrics, MDPI, vol. 8(3), pages 1-26, September.
    13. Gupta, Abhimanyu & Robinson, Peter M., 2015. "Inference on higher-order spatial autoregressive models with increasingly many parameters," Journal of Econometrics, Elsevier, vol. 186(1), pages 19-31.
    14. Kristien Werck & Bruno Heyndels & Benny Geys, 2008. "The impact of ‘central places’ on spatial spending patterns: evidence from Flemish local government cultural expenditures," Journal of Cultural Economics, Springer;The Association for Cultural Economics International, vol. 32(1), pages 35-58, March.
    15. Asmae AQZZOUZ & Michel DIMOU, 2022. "Tax mimicking in French counties," Region et Developpement, Region et Developpement, LEAD, Universite du Sud - Toulon Var, vol. 55, pages 113-132.
    16. Matthieu Leprince & Sonia Paty & Emmanuelle Reulier, 2005. "Choix d'imposition et interactions spatiales entre collectivités locales. Un test sur les départements français," Recherches économiques de Louvain, De Boeck Université, vol. 71(1), pages 67-93.
    17. Jan Jacobs & Jenny Ligthart & Hendrik Vrijburg, 2010. "Consumption tax competition among governments: Evidence from the United States," International Tax and Public Finance, Springer;International Institute of Public Finance, vol. 17(3), pages 271-294, June.
    18. Yang, Zhenlin, 2010. "A robust LM test for spatial error components," Regional Science and Urban Economics, Elsevier, vol. 40(5), pages 299-310, September.
    19. Michele Aquaro & Natalia Bailey & M. Hashem Pesaran, 2015. "Quasi Maximum Likelihood Estimation of Spatial Models with Heterogeneous Coefficients," CESifo Working Paper Series 5428, CESifo.
    20. Cassette, Aurélie & Paty, Sonia, 2006. "La concurrence fiscale entre communes est-elle plus intense en milieu urbain qu’en milieu rural ?," Cahiers d'Economie et de Sociologie Rurales (CESR), Institut National de la Recherche Agronomique (INRA), vol. 78.

    More about this item

    Keywords

    Two-stage least squares random forests; Moran’s I test; Hedonic price modeling; Spatial blocking K-fold; Spatial leave-one-out test;
    All these keywords.

    JEL classification:

    • C14 - Mathematical and Quantitative Methods - - Econometric and Statistical Methods and Methodology: General - - - Semiparametric and Nonparametric Methods: General
    • C26 - Mathematical and Quantitative Methods - - Single Equation Models; Single Variables - - - Instrumental Variables (IV) Estimation
    • C21 - Mathematical and Quantitative Methods - - Single Equation Models; Single Variables - - - Cross-Sectional Models; Spatial Models; Treatment Effect Models
    • C52 - Mathematical and Quantitative Methods - - Econometric Modeling - - - Model Evaluation, Validation, and Selection
    • R31 - Urban, Rural, Regional, Real Estate, and Transportation Economics - - Real Estate Markets, Spatial Production Analysis, and Firm Location - - - Housing Supply and Markets

    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:kap:jgeosy:v:26:y:2024:i:4:d:10.1007_s10109-024-00449-w. 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: Sonal Shukla or Springer Nature Abstracting and Indexing (email available below). General contact details of provider: http://www.springer.com .

    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.