Analysis and Prediction of Singapore HDB Resale Flat Prices (2017–2021) Using Statistical Testing and Machine Learning
This study analyses 92,270 Singapore HDB resale flat transactions from January 2017 to February 2021 across 26 towns. It combines exploratory analysis, formal hypothesis testing, predictive modelling and town segmentation to examine what drives resale prices. Prices are right-skewed (median SGD 415,000) and are close to symmetric after a log transformation. ANOVA and Kruskal–Wallis tests show that flat type (η² = 0.50), flat model (η² = 0.32), town (η² = 0.14) and storey range (η² = 0.13) explain most of the price variation, while year of sale explains under 1%. Flats on floors 13 and above carry a median price-per-square-metre premium of 20.2% (Cohen's d = 0.87). Median prices dipped slightly through 2019, then rose 6.2% in 2020 and a further 8.2% in early 2021. Four models (baseline, Ridge, Random Forest and Gradient Boosting) were compared. The Random Forest performed best, with R² = 0.959, MAE of SGD 22,285 and MAPE of 5.1% on a random test set. On an out-of-time test of the final twelve months, it reached R² = 0.94 and MAPE of 6.1%. Floor area, town and lease commencement date were the most important predictors. K-Means clustering grouped the 26 towns into four market tiers: premium, central high price per m², mature mid-priced and suburban affordable. The paper includes 14 tables and 10 figures, and discusses limitations such as missing location features and the short study window.
Authors
- Sareena Bilal
Publication Details
- Journal
- Figshare
- Published
- 2026-11-29
- DOI
- https://doi.org/10.6084/m9.figshare.35150533
- Primary Topic
- Housing Market and Economics
- Type
- preprint