Hedonic Models of Real Estate Prices: GAM Models; Environmental and Sex-Offender-Proximity Factors
Abstract
1. Introduction
2. Materials and Methods
2.1. Response and Factor Data
2.2. Generalized Models: Additive and Linear
3. Results
3.1. Comparison of GAM and GLM-l
3.2. Comparison of GAM with Polynomial Based GLM Models
3.3. Inclusion of Environmental Factors
- Waterfront—the residence borders or overlooks a body of water;
- Accessible—the residence is accessible by disabled persons;
- Green—green-energy sources (e.g., solar panels) are present in the residence; and
- Air Cond—the residence has an air conditioning unit.
4. Discussion
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
Appendix A. Data
| Filter | Value | Filter | Value |
|---|---|---|---|
| Price | Min: $50K, Max: $10M | Beds | 1+ |
| Home type | House, Townhouse, Condo, Multi-family | Baths | 1+ |
| Status | Coming soon, Active | Property details | |
| Under contract/pending | No | Square feet | Min: 250, Max: NS |
| Lot size | Min: 250, Max: NS | ||
| Time on Redfin | No max | Stories | Min: NS, Max: NS |
| Exclude 55+ communities | No | Year built | Min: NS, Max: NS |
| Home features | |||
| Garage Spots | Any | Pool type | Any |
| Include outdoor parking | No | Basement | NS 1 |
| Air conditioning | ESG 2 | Waterfront | ESG 2 |
| Washer/dryer hookup | NS | Has view | NS |
| Pets allowed | NS | Fireplace | NS |
| Master B/R on main floor | NS | Fixer-upper | NS |
| RV parking | NS | Guest house | NS |
| Green home | ESG 2 | Elevator | NS |
| Accessible home | ESG 2 | ||
| Keyword search | NS | ||
| Cost/finance | |||
| HOA fees | No max | Property taxes | No max |
| Price/Sq ft | Min: NS, Max: NS | Accepted financing | NS |
| Exclude land leases | No | Price reduced | No |
| Listing type | |||
| By agent | Yes | Foreclosures | Yes |
| By owner (FSBO) | Yes | Exclude short sales | No |
| New construction | Yes | Redfin listing only | No |
| Schools | NS | ||
| Open Houses & Tour | NS | Walk Score | NS |
| 1 | Data from redfin.com (accessed on 24 October 2022) was collected by specifying the city and the entries for “All filters”. The specific filter values are provided in the Appendix A. |
| 2 | Specifically, we utilized the gam function from the R package mgcv. P-spline basis functions and the identity link function were specified. Aside from specifying the functional form, all other gam arguments were set to default values. |
| 3 | We utilized the fitglm function from MatLab for the implementation of (2). The link function was set to the identity. |
| 4 | GLM-l models were also run for Seattle and Portland. These fits resulted in adjusted values in the range 72% to 78%. |
| 5 | Review of Policies Relating to the Release and Housing of Sex Offenders in the Community, December 2014. Sex Offender Policy Board, Office of Financial Management, State of Washington. https://sgc.wa.gov/sites/default/files/public/sopb/documents/sex_offender_housing_201412.pdf (accessed on 24 October 2022). |
References
- Bárcena, Maria J., Patricia Mendez, Maria B. Palacios, and Fernando Tusell-Palmer. 2013. Measuring the effect of the real estate bubble: A house price index for Bilbao. In Recent Trends in the Real Estate Market and Its Analysis. Edited by Hanna Augustyniak, Jacek Lascek and Krzysztof Olszewski. Warsaw: Narodowy Bank Polski, vol. 2, pp. 127–56. [Google Scholar]
- Bax, Dane, and Mihalia Chasomeris. 2019. Listing price estimation of apartments: A generalized linear model. Journal of Economic and Financial Sciences 12: a204. [Google Scholar] [CrossRef]
- Belke, Ansgar, and Jonas Keil. 2017. Fundamental Determinants of Real Estate Prices: A Panel Study of German Regions. Ruhr Economic Papers, No. 731. Bochum: Ruhr-University. Available online: https://link.springer.com/article/10.1007/s11294-018-9671-2 (accessed on 15 September 2021).
- Brunauer, Wolfgang, Stefan Lang, and Nikolaus Umlauf. 2013. Modeling house prices using multilevel structured additive regression. Statistical Modelling 13: 95–123. [Google Scholar] [CrossRef]
- Cohen, Jeffrey P., and Cletus C. Coughlin. 2008. Spatial hedonic models of airport noise, proximity, and housing prices. Journal of Regional Science 48: 859–78. [Google Scholar] [CrossRef]
- Colonnello, Stefano, Roberto Marfè, and Qizhou Xiong. 2021. Housing Yields. Department of Economics Working Papers, No. 21/WP/2021. Venezia: University of Venice “Ca’ Foscari”. [Google Scholar] [CrossRef]
- Eilers, Paul H. C., and Brian D. Marx. 1996. Flexible smoothing with B-spines and penalties. Statistical Science 11: 89–121. [Google Scholar] [CrossRef]
- Eiling, Esther, Erasmo Giambona, Ricardo Lopez Aliouchkin, and Patrick Tuijp. 2019. Homeowners’ Risk Premia: Evidence from Zip Code Housing Returns. Available online: https://papers.ssrn.com/sol3/papers.cfm?abstract_id=3312391 (accessed on 15 September 2021). [CrossRef]
- Hastie, Trevor J., and Robert J. Tibshirani. 1990. Generalized Additive Models. London: Chapman and Hall. [Google Scholar]
- Helbich, Marco, Andreas Joachem, Werner Mücke, and Bernhard Höfle. 2013. Boosting the predictive accuracy of urban hedonic house price models through airborne laser scanning. Computers, Environment, and Urban Systems 39: 81–92. [Google Scholar] [CrossRef]
- Hill, Robert J., and Michael Scholz. 2018. Can geospatial data improve house price indexes? A Hedonic Imputation Approach with Splines. The Review of Income and Wealth 64: 737–56. [Google Scholar] [CrossRef]
- Mahanama, Thilini, Abootaleb Shirvani, and Svetlozar T. Rachev. 2021. A natural disasters index. Environmental Economics and Policy Studies 24: 263–84. [Google Scholar] [CrossRef]
- Olszewski, Krzysztof, Joanna Waszczuk, and Marta Widlak. 2017. Spatial and hedonic analysis of house price dynamics in Warsaw, Poland. Journal of Urban Planning and Development 143: 04017009. [Google Scholar] [CrossRef]
- Owusu-Ansah, Anthony. 2011. A review of hedonic pricing models in housing research. Journal of International Real Estate and Construction Studies 1: 19–38. [Google Scholar]
- Pace, Kelley. 1998. Appraisal using generalized additive models. Journal of Real Estate Research 15: 77–99. [Google Scholar] [CrossRef]
- Silver, Mick. 2016. How to Better Measure Hedonic Residential Property Price Indexes. IMF Working Papers, WP/16/213, International Monetary Fund. Available online: https://www.imf.org/external/pubs/ft/wp/2016/wp16213.pdf (accessed on 15 September 2021).



| City | State | Rank | 2021 Population | 2020 Density (per km2) | Housing Offers |
|---|---|---|---|---|---|
| New York City (NYC) | NY | 1 | 8,467,513 | 11,312 | 7823 |
| Los Angeles (LA) | CA | 2 | 3,849,297 | 3206 | 4684 |
| Louisville | KY | 28 | 628,594 | 752 | 727 |
| Seattle | WA | 18 | 733,919 | 3396 | 1241 |
| Portland | OR | 26 | 641,162 | 1887 | 987 |
| Factor | p-Value | |||||
|---|---|---|---|---|---|---|
| NYC | LA | Louisville | ||||
| GLM-l | GAM | GLM-l | GAM | GLM-l | GAM | |
| Dwelling | 0.564 | * | * | * | 0.106 | 0.0629 |
| Borough | * | * | N/A | N/A | N/A | N/A |
| Latitude | * | * | * | * | 0.976 | 0.00345 |
| Longitude | * | * | * | * | * | * |
| Beds | * | * | * | 0.584 | 0.320 | |
| Baths | * | * | * | * | 0.000359 | |
| Indoors | * | * | * | * | * | |
| Lot | * | 0.5033 | * | 0.00368 | * | |
| Year | 0.532 | * | 0.1707 | * | 0.0311 | * |
| Days | 0.011 | 0.0898 | 0.00188 | |||
| HOA | * | * | * | * | 0.000277 | |
| Distance | 0.523 | * | * | 0.599 | 0.921 | |
| 0.785 | 0.891 | 0.7314 | 0.874 | 0.6703 | 0.837 | |
| Model | MSE | MARE | BIC | |
|---|---|---|---|---|
| GLM-l | 0.774 | 0.1296 | 0.2878 | 6179 |
| GLM-lm | 0.842 | 0.0901 | 0.2579 | 3625 |
| GLM-lq | 0.820 | 0.1030 | 0.2579 | 4479 |
| GLM-lmq | 0.858 | 0.0809 | 0.2212 | 2914 |
| GLM-p | 0.873 | 0.0724 | 0.2074 | 2054 |
| GAM | 0.891 | 0.0625 | 0.1935 | 1181 |
| GAM-non | 0.855 | 0.0569 | 0.1794 | 473 |
| GAM-cond | 0.924 | 0.0495 | 0.1729 | −137 |
| Factor | -Value | |||
|---|---|---|---|---|
| Portland | Seattle | |||
| GAM | GAM-Env | GAM | GAM-Env | |
| Dwelling | 0.002 | * | * | |
| Latitude | * | * | * | * |
| Longitude | * | * | * | * |
| Beds | 0.007 | 0.032 | * | * |
| Baths | 0.23 | 0.25 | ||
| Indoors | * | * | * | * |
| Lot | * | * | ||
| Year | * | * | * | |
| Days | 0.88 | 0.46 | 0.004 | 0.010 |
| HOA | 0.005 | 0.11 | 0.084 | 0.069 |
| Distance | 0.042 | 0.12 | 0.009 | 0.048 |
| Waterfront | NI | 0.36 | NI | |
| Accessible | NI | 0.019 | NI | 0.42 |
| Green | NI | 0.013 | NI | |
| Air Cond | NI | NI | 0.002 | |
| 0.875 | 0.884 | 0.871 | 0.879 | |
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2022 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
Bailey, J.R.; Lauria, D.; Lindquist, W.B.; Mittnik, S.; Rachev, S.T. Hedonic Models of Real Estate Prices: GAM Models; Environmental and Sex-Offender-Proximity Factors. J. Risk Financial Manag. 2022, 15, 601. https://doi.org/10.3390/jrfm15120601
Bailey JR, Lauria D, Lindquist WB, Mittnik S, Rachev ST. Hedonic Models of Real Estate Prices: GAM Models; Environmental and Sex-Offender-Proximity Factors. Journal of Risk and Financial Management. 2022; 15(12):601. https://doi.org/10.3390/jrfm15120601
Chicago/Turabian StyleBailey, Jason Robert, Davide Lauria, W. Brent Lindquist, Stefan Mittnik, and Svetlozar T. Rachev. 2022. "Hedonic Models of Real Estate Prices: GAM Models; Environmental and Sex-Offender-Proximity Factors" Journal of Risk and Financial Management 15, no. 12: 601. https://doi.org/10.3390/jrfm15120601
APA StyleBailey, J. R., Lauria, D., Lindquist, W. B., Mittnik, S., & Rachev, S. T. (2022). Hedonic Models of Real Estate Prices: GAM Models; Environmental and Sex-Offender-Proximity Factors. Journal of Risk and Financial Management, 15(12), 601. https://doi.org/10.3390/jrfm15120601

