IDEAS home Printed from https://ideas.repec.org/a/gam/jlands/v11y2022i11p2100-d979663.html
   My bibliography  Save this article

Housing Price Prediction Using Machine Learning Algorithms in COVID-19 Times

Author

Listed:
  • Raul-Tomas Mora-Garcia

    (Building Sciences and Urbanism Department, University of Alicante, 03690 San Vicente del Raspeig, Spain)

  • Maria-Francisca Cespedes-Lopez

    (Building Sciences and Urbanism Department, University of Alicante, 03690 San Vicente del Raspeig, Spain)

  • V. Raul Perez-Sanchez

    (Building Sciences and Urbanism Department, University of Alicante, 03690 San Vicente del Raspeig, Spain)

Abstract

Machine learning algorithms are being used for multiple real-life applications and in research. As a consequence of digital technology, large structured and georeferenced datasets are now more widely available, facilitating the use of these algorithms to analyze and identify patterns, as well as to make predictions that help users in decision making. This research aims to identify the best machine learning algorithms to predict house prices, and to quantify the impact of the COVID-19 pandemic on house prices in a Spanish city. The methodology addresses the phases of data preparation, feature engineering, hyperparameter training and optimization, model evaluation and selection, and finally model interpretation. Ensemble learning algorithms based on boosting (Gradient Boosting Regressor, Extreme Gradient Boosting, and Light Gradient Boosting Machine) and bagging (random forest and extra-trees regressor) are used and compared with a linear regression model. A case study is developed with georeferenced microdata of the real estate market in Alicante (Spain), before and after the pandemic declaration derived from COVID-19, together with information from other complementary sources such as the cadastre, socio-demographic and economic indicators, and satellite images. The results show that machine learning algorithms perform better than traditional linear models because they are better adapted to the nonlinearities of complex data such as real estate market data. Algorithms based on bagging show overfitting problems (random forest and extra-trees regressor) and those based on boosting have better performance and lower overfitting. This research contributes to the literature on the Spanish real estate market by being one of the first studies to use machine learning and microdata to explore the incidence of the COVID-19 pandemic on house prices.

Suggested Citation

  • Raul-Tomas Mora-Garcia & Maria-Francisca Cespedes-Lopez & V. Raul Perez-Sanchez, 2022. "Housing Price Prediction Using Machine Learning Algorithms in COVID-19 Times," Land, MDPI, vol. 11(11), pages 1-32, November.
  • Handle: RePEc:gam:jlands:v:11:y:2022:i:11:p:2100-:d:979663
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2073-445X/11/11/2100/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2073-445X/11/11/2100/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Raul-Tomas Mora-Garcia & Maria-Francisca Cespedes-Lopez & V. Raul Perez-Sanchez & Pablo Marti & Juan-Carlos Perez-Sanchez, 2019. "Determinants of the Price of Housing in the Province of Alicante (Spain): Analysis Using Quantile Regression," Sustainability, MDPI, vol. 11(2), pages 1-33, January.
    2. Ka Shing Cheung & Chung Yim Yiu & Chuyi Xiong, 2021. "Housing Market in the Time of Pandemic: A Price Gradient Analysis from the COVID-19 Epicentre in China," JRFM, MDPI, vol. 14(3), pages 1-17, March.
    3. Clara H. Mulder, 2013. "Family dynamics and housing," Demographic Research, Max Planck Institute for Demographic Research, Rostock, Germany, vol. 29(14), pages 355-378.
    4. Horowitz, Joel L, 1992. "The Role of the List Price in Housing Markets: Theory and an Econometric Model," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 7(2), pages 115-129, April-Jun.
    5. José-Luis Alfaro-Navarro & Emilio L. Cano & Esteban Alfaro-Cortés & Noelia García & Matías Gámez & Beatriz Larraz, 2020. "A Fully Automated Adjustment of Ensemble Methods in Machine Learning for Modeling Complex Real Estate Systems," Complexity, Hindawi, vol. 2020, pages 1-12, April.
    6. Aparicio Fenoll, Ainoa & Oppedisano, Veruska, 2012. "Fostering the Emancipation of Young People: Evidence from a Spanish Rental Subsidy," IZA Discussion Papers 6651, Institute of Labor Economics (IZA).
    7. Sebastian Gnat, 2021. "Property Mass Valuation on Small Markets," Land, MDPI, vol. 10(4), pages 1-14, April.
    8. John F. Kain & John M. Quigley, 1975. "Housing Markets and Racial Discrimination: A Microeconomic Analysis," NBER Books, National Bureau of Economic Research, Inc, number kain75-1, March.
    9. Weldensie T Embaye & Yacob Abrehe Zereyesus & Bowen Chen, 2021. "Predicting the rental value of houses in household surveys in Tanzania, Uganda and Malawi: Evaluations of hedonic pricing and machine learning approaches," PLOS ONE, Public Library of Science, vol. 16(2), pages 1-20, February.
    10. Trond Arne Borgersen, 2019. "Social Housing Policy in a Segmented Housing Market: Indirect Effects on Markets and on Individuals," International Journal of Economic Sciences, International Institute of Social and Economic Sciences, vol. 8(2), pages 1-21, December.
    11. Stanley McGreal & Paloma Taltavull de La Paz, 2013. "Implicit House Prices: Variation over Time and Space in Spain," Urban Studies, Urban Studies Journal Limited, vol. 50(10), pages 2024-2043, August.
    12. Yilmazer, Seckin & Kocaman, Sultan, 2020. "A mass appraisal assessment study using machine learning based on multiple regression and random forest," Land Use Policy, Elsevier, vol. 99(C).
    13. Qian, Xianhang & Qiu, Shanyun & Zhang, Guangli, 2021. "The impact of COVID-19 on housing price: Evidence from China," Finance Research Letters, Elsevier, vol. 43(C).
    14. Arnstein Aassve & Bruno Arpino & Francesco C Billari, 2013. "Age Norms on Leaving Home: Multilevel Evidence from the European Social Survey," Environment and Planning A, , vol. 45(2), pages 383-401, February.
    15. Hu, Lirong & He, Shenjing & Han, Zixuan & Xiao, He & Su, Shiliang & Weng, Min & Cai, Zhongliang, 2019. "Monitoring housing rental prices based on social media:An integrated approach of machine-learning algorithms and hedonic modeling to inform equitable housing policies," Land Use Policy, Elsevier, vol. 82(C), pages 657-673.
    16. Chuanhao Tian & Xintian Peng & Xiang Zhang, 2021. "COVID-19 Pandemic, Urban Resilience and Real Estate Prices: The Experience of Cities in the Yangtze River Delta in China," Land, MDPI, vol. 10(9), pages 1-17, September.
    17. Daikun Wang & Victor Jing Li, 2019. "Mass Appraisal Models of Real Estate in the 21st Century: A Systematic Literature Review," Sustainability, MDPI, vol. 11(24), pages 1-14, December.
    18. Iyer, Subramanian Rama & Simkins, Betty J., 2022. "COVID-19 and the Economy: Summary of research and future directions," Finance Research Letters, Elsevier, vol. 47(PB).
    19. Pana Alves & Lucio San Juan, 2021. "The impact of the COVID-19 health crisis on the housing market in Spain," Economic Bulletin, Banco de España, issue 2/2021.
    20. John F. Kain & John M. Quigley, 1975. "Introduction to "Housing Markets and Racial Discrimination: A Microeconomic Analysis"," NBER Chapters, in: Housing Markets and Racial Discrimination: A Microeconomic Analysis, pages 1-8, National Bureau of Economic Research, Inc.
    21. Lulin Xu & Zhongwu Li, 2021. "A New Appraisal Model of Second-Hand Housing Prices in China’s First-Tier Cities Based on Machine Learning Algorithms," Computational Economics, Springer;Society for Computational Economics, vol. 57(2), pages 617-637, February.
    22. Ond?ej Venhoda, 2022. "Application of DSTI and DTI macroprudential policy limits to the mortgage market in the Czech Republic for the year 2022," International Journal of Economic Sciences, European Research Center, vol. 11(1), pages 105-116, April.
    23. John R. Knight & C. F. Sirmans & Geoffrey K. Turnbull, 1998. "List Price Information in Residential Appraisal and Underwriting," Journal of Real Estate Research, American Real Estate Society, vol. 15(1), pages 59-76.
    24. Cespedes-Lopez, Maria-Francisca & Perez-Sanchez, V. Raul & Mora-Garcia, Raul-Tomas, 2022. "The influence of housing location on energy ratings price premium in Alicante, Spain," Ecological Economics, Elsevier, vol. 201(C).
    25. Battistini, Niccolò & Falagiarda, Matteo & Gareis, Johannes & Hackmann, Angelina & Roma, Moreno, 2021. "The euro area housing market during the COVID-19 pandemic," Economic Bulletin Articles, European Central Bank, vol. 7.
    26. Hu, Maggie R. & Lee, Adrian D. & Zou, Dihan, 2021. "COVID-19 and Housing Prices: Australian Evidence with Daily Hedonic Returns," Finance Research Letters, Elsevier, vol. 43(C).
    27. Eduard Hromada & Klara Cermakova, 2021. "Financial Unavailability Of Housing In The Czech Republic And Recommendations For Its Solution," International Journal of Economic Sciences, European Research Center, vol. 10(2), pages 47-57, December.
    28. Renigier-Biłozor, Małgorzata & Źróbek, Sabina & Walacik, Marek & Janowski, Artur, 2020. "Hybridization of valuation procedures as a medicine supporting the real estate market and sustainable land use development during the covid-19 pandemic and afterwards," Land Use Policy, Elsevier, vol. 99(C).
    29. Eduard Hromada & Klara Cermakova, 2021. "Financial Unavailability Of Housing In The Czech Republic And Recommendations For Its Solution," International Journal of Economic Sciences, European Research Center, vol. 10(2), pages 47-58, December.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Lennon H. T. Choy & Winky K. O. Ho, 2023. "The Use of Machine Learning in Real Estate Research," Land, MDPI, vol. 12(4), pages 1-15, March.
    2. Tendai Makoni & Delson Chikobvu, 2023. "Assessing and Forecasting the Long-Term Impact of the Global Financial Crisis on New Car Sales in South Africa," Data, MDPI, vol. 8(5), pages 1-16, April.

    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. Maria-Francisca Cespedes-Lopez & Raul-Tomas Mora-Garcia, 2022. "Are Cave Houses a Sustainable Real Estate Alternative?," Land, MDPI, vol. 11(12), pages 1-17, December.
    2. Cespedes-Lopez, Maria-Francisca & Perez-Sanchez, V. Raul & Mora-Garcia, Raul-Tomas, 2022. "The influence of housing location on energy ratings price premium in Alicante, Spain," Ecological Economics, Elsevier, vol. 201(C).
    3. Shangfa Hou & Jiaying Wang & Degui Zhu, 2022. "Has the Newly Imposed Property Tax Controlled Housing Prices? An Analysis of China’s 2009–2020 Interprovincial Panel Data," Sustainability, MDPI, vol. 14(22), pages 1-18, November.
    4. Sławomir Kalinowski & Aleksandra Łuczak & Adam Koziolek, 2022. "The Social Dimension of Security: The Dichotomy of Respondents’ Perceptions during the COVID-19 Pandemic," Sustainability, MDPI, vol. 14(3), pages 1-20, January.
    5. Unel, Fatma Bunyan & Yalpir, Sukran, 2023. "Sustainable tax system design for use of mass real estate appraisal in land management," Land Use Policy, Elsevier, vol. 131(C).
    6. João Fragoso Januário & Carlos Oliveira Cruz, 2023. "The Impact of the 2008 Financial Crisis on Lisbon’s Housing Prices," JRFM, MDPI, vol. 16(1), pages 1-18, January.
    7. Judyta Kabus & Michał Dziadkiewicz, 2023. "Modern Management Methods in the Area of Public Housing Resources in the Community," Sustainability, MDPI, vol. 15(10), pages 1-28, May.
    8. Klára Čermáková & Eduard Hromada, 2022. "Change in the Affordability of Owner-Occupied Housing in the Context of Rising Energy Prices," Energies, MDPI, vol. 15(4), pages 1-18, February.
    9. Cankun Wei & Meichen Fu & Li Wang & Hanbing Yang & Feng Tang & Yuqing Xiong, 2022. "The Research Development of Hedonic Price Model-Based Real Estate Appraisal in the Era of Big Data," Land, MDPI, vol. 11(3), pages 1-30, February.
    10. Ondřej Bednář & Andrea Čečrdlová & Božena Kadeřábková & Pavel Řežábek, 2022. "Energy Prices Impact on Inflationary Spiral," Energies, MDPI, vol. 15(9), pages 1-25, May.
    11. Shian Zeng & Chengdong Yi, 2022. "Impact of the COVID-19 pandemic on the housing market at the epicenter of the outbreak in China," SN Business & Economics, Springer, vol. 2(6), pages 1-20, June.
    12. Sisman, S. & Aydinoglu, A.C., 2022. "Improving performance of mass real estate valuation through application of the dataset optimization and Spatially Constrained Multivariate Clustering Analysis," Land Use Policy, Elsevier, vol. 119(C).
    13. Tsai, I-Chun & Chiang, Ying-Hui & Lin, Shih-Yuan, 2022. "Effect of COVID-19 lockdowns on city-center and suburban housing markets: Evidence from Hangzhou, China," Journal of Asian Economics, Elsevier, vol. 83(C).
    14. Xinba Li & Chuanrong Zhang, 2021. "Did the COVID-19 Pandemic Crisis Affect Housing Prices Evenly in the U.S.?," Sustainability, MDPI, vol. 13(21), pages 1-28, November.
    15. Xinba Li & Chihwa Kao, 2022. "Spatial Analysis and Modeling of the Housing Value Changes in the U.S. during the COVID-19 Pandemic," JRFM, MDPI, vol. 15(3), pages 1-25, March.
    16. Raymond Y. C. Tse & John Raftery, 1999. "Income elasticity of housing consumption in Hong Kong: a cointegration approach," Journal of Property Research, Taylor & Francis Journals, vol. 16(2), pages 123-138, January.
    17. Lora, Eduardo & Powell, Andrew, 2011. "A New Way of Monitoring the Quality of Urban Life," IDB Publications (Working Papers) 3806, Inter-American Development Bank.
    18. Simon Stevenson & James Young, 2015. "The Role of Undisclosed Reserves in English Open Outcry Auctions," Real Estate Economics, American Real Estate and Urban Economics Association, vol. 43(2), pages 375-402, June.
    19. Merlo, Antonio & Ortalo-Magne, Francois, 2004. "Bargaining over residential real estate: evidence from England," Journal of Urban Economics, Elsevier, vol. 56(2), pages 192-216, September.
    20. 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.

    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:gam:jlands:v:11:y:2022:i:11:p:2100-:d:979663. 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: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.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.