Skip to content

About

Toolkit for Ahlfeldt, Heblich, Seidel (2023): Micro-geographic property price and rent indices

Resources

Stars

12 stars

Watchers

1 watching

Forks

Latest commit

 

History

116 Commits

Folders and files

Repository files navigation

Toolkit for micro-geographic property price and rent indices

© Gabriel M. Ahlfeldt, Tobias Seidel

Version 0.91, 2024

General remarks

This toolkit covers the algorithm by Ahlfeldt, Heblich, Seidel (2023) to generate micro-geographic property price and rent indices for arbitrary spatial units based on transaction data. It includes a replicable analysis based on artificial data for illustration.

This toolkit also includes the indices created by Ahlfeldt, Heblich, Seidel (2023) for Germany. We keep updating these indices as time goes by. These micro-geographic property price indices are based on real micro-data from Scout24. They can be found in the following sub-folder: APPLICATIONS/DATA/OUTPUT. For replication, the underlying microdata must be accessed from the Forschungsdatenzentrum at RWI-Essen.

We provide an interactive webtool to illustrate the latest edition of the post-code level price and rent indices for Germany here.

The repository also includes a browser-based AHS / LSE-REEF Property Price Atlas under WEBTOOL. It combines the German AHS postcode indices, the French AHS commune index, and the LSE-REEF lower-layer super output area index for England and Wales on one European map. Users can select one or more countries and report comparable levels in euros or pounds using the latest available ECB reference rate.

Use of the toolkit or its AHS indices is conditional on citing Ahlfeldt, Heblich, and Seidel (2023): “Micro-geographic property price and rent indices.” Regional Science and Urban Economics, 98. https://doi.org/10.1016/j.regsciurbeco.2022.103836. This applies to all not-for-profit uses and includes any use of the micro-geographic indices published in this repository.

Note the complementary AHSY-toolkit, which extends the methodology developed by Ahlfeldt, Heblich, Seidel, Yin (2026). In contrast to the original methodology implemented here, the AHSY-toolkit uses distance-weighted observations within locally determined catchment areas rather than a parametric distance gradient and identifies the smallest possible radius satisfying a minimum observation threshold instead of selecting from a predefined set of radii. The AHSY-toolkit provides both commercial and residential property price and rent indices based on this modified methodology and complements the residential indices published in the present repository.

The two methodologies involve different trade-offs. The original AHS2023 methodology, based on a parametric distance gradient, tends to generate more local variation and may therefore capture highly localized market responses more sharply, particularly in thin markets with large effective catchment areas. At the same time, this approach can be more sensitive to influential outliers and may occasionally generate pronounced movements in individual years driven by a small number of observations. In contrast, the AHSY methodology produces smoother indices that are generally less sensitive to influential outliers due to the use of weighted local catchment areas and adaptive radius selection. However, this smoothing may reduce responsiveness to highly localized market dynamics in areas with sparse transaction activity.

How to Use the Toolkit

You can download the toolkit and use it as a starting point for your own analysis. The algorithm requires two input files containing your observed market transactions and the centroids of the spatial units for which you wish to generate the index. These are stored in the folder DATA/INPUT. You can replace these with your transaction data sets and your coordinates. Please ensure that the files you replace them with are in exactly the same format; i.e. you should use exactly the same variable names. All coordinates need to be in projected units of the same dimension. You may use a different ID variable name in the centroids.dta file as long as you update that variable name in the DO/_USE_PREDICT.do do file.

Please consider the README files in the respective folders for further detail.

Folders

Directory Sub-folder Description Additional Information
ADOS Folder containing ado files called by the algorithm -
APPLICATIONS DATA/OUTPUT Folder containing indices generated by Ahlfeldt, Heblich, Seidel (2023) and shapefiles for illustration This folder contains indices computed based on real data
APPLICATIONS DATA/OUTPUT/2022 2022 edition of the postcode indices including years 2007-2021 This folder contains indices computed based on real data
APPLICATIONS DATA/OUTPUT/2024 2024 edition of the postcode indices including years 2007-2023 This folder contains indices computed based on real data
APPLICATIONS DATA/OUTPUT/2025 2025 edition of the postcode indices including years 2007-2024 This folder contains indices computed based on real data
APPLICATIONS DATA/OUTPUT/2026 2026 edition of the postcode indices including years 2007-2025 This folder contains indices computed based on real data
APPLICATIONS DATA/XWALKS A subfolder containing crosswalks from postcodes to counties and local labour markets, as well as postcode population that may be used for weighted aggregation -
DATA Folder containing input data and output data for the replicable analysis to trial the algorithm This folder contains artificial data
DO Folder containing do files for the replicable analysis based on artificial data -
MAPS Folder containing maps generated by the replicable analysis based on artificial data
MAPS PURCH-PLZ-2024 Mapped 2024 edition of postcode purchase price index
MAPS RENT-PLZ-2024 Mapped 2024 edition of postcode rent price index
SHAPES Folder containing the shapefile of hexagons used in the replicable analysis based on artificial data -

Further resources:

Ahlfeldt, G. M., Heblich, S., Seidel, T. (2023): Micro-geographic property price and rent indices. Regional Science and Urban Economics, 98. https://doi.org/10.1016/j.regsciurbeco.2022.103836

Ahlfeldt, Heblich, Seidel, Yin (2026): The price of productivity. Berlin School of Economics Discussion Paper. link

Alexander Hansen has created an R version of the toolkit which is available here: https://github.com/hvervetid/housepriceindex

Updates to the algorithm

0.91: Added an additional check for sufficient variation in covariates in locally weighted regressions

Updates to the data

13/11/2024: Added German postcode rent and price indices from 2007-2023

22/11/2024: Added German municipality (Gemeinde) rent and price indices from 2007-2023

13/12/2024: Added German local labour market (Arbeitsmarktregion) rent and price indices from 2007-2023

Acknowledgement:

I thank Alexander Hansen for spotting a bug in an earlier version of the code.

I thank Vincent Heddesheimer for helping with the creation of the 2024 municipality (Gemeinde) index.

About

Toolkit for Ahlfeldt, Heblich, Seidel (2023): Micro-geographic property price and rent indices

Resources

Stars

12 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages