Macroprudential policies and homeownership

Replicate or remix with AI

Everything on this site is produced by the Stata code in the paper's repository from publicly available data. This page lists the pieces, explains how to run them, and gives a prompt you can paste into an AI assistant to work with the paper.

Ask an AI about this paper

Paste the text below into the assistant of your choice. It points the assistant at the paper, the site and the code, and asks it to help you read, check or extend the analysis.

I am reading the working paper "Macroprudential policies and homeownership rates" by Claes Bäckman (Leibniz Institute SAFE). The paper estimates local projections of homeownership rates on a narrative index of macroprudential policy actions for 28 European countries, 2003-2017, and finds no detectable decline in homeownership, with equivalence tests that bound the cumulative effect at half a percentage point.

Resources:
- Digital edition with interactive figures and a robustness explorer: @@SITE_URL@@
- PDF: @@SITE_URL@@paper/MacroPrudHomeownership.pdf
- Code and data: https://github.com/claesbackman/MacroPrud-Homeownership (Stata do-files in ProjectCode/, website build in ProjectCode/Website_build/, robustness grid outputs in ProjectCode/Multiverse/)
- Country-year panel (CSV): @@SITE_URL@@data/csv/panel.csv
- Policy actions (CSV): @@SITE_URL@@data/csv/policy_actions.csv

Please (1) explain the identification strategy and what the equivalence tests do and do not establish, (2) explain how to run the replication code, and (3) suggest one additional robustness check or extension that is not already in the robustness explorer, and sketch the Stata or Python code for it.

What is inside the repository

FileWhat it does
ProjectCode/00_Master.doRuns the whole pipeline from raw data to the paper's tables and figures.
1_1_MaPPED_load.do, 1_1_Data_MacroPrudLoad1.doBuild the narrative MaPPED index (weights, counter-cyclical filter, announcement dates) and the iMaPP indices.
1_2_Data.do to 1_6_Data_EurostatMacro.doImport EU-SILC tenure shares, Eurostat national accounts, house prices, debt and interest rates, and BIS credit and policy rates; assemble the annual panel.
2_1_Analysis.do, 2_2_Analysis_AgeCohort.do, 2_3_Analysis_Revision.doThe paper's estimates: local projections, equivalence tests, first stage, pre-trends, randomization inference, rental margins, young households, effective tightenings, Callaway–Sant'Anna event studies, alternative inference.
3_Appendix.doAppendix tables and figures, including the iMaPP comparison.
4_1_Website_Data.do to 4_6_Multiverse_Extra.doThe robustness grid behind this site: alternative index constructions, the full specification grid for every outcome, leave-one-out, inference variants, randomization inference and event-study variants. Each block runs separately in batch mode and writes a CSV to ProjectCode/Multiverse/.
ProjectCode/Website_build/tex2html.py converts the LaTeX source into the pages of this site (pandoc with the paper's bibliography); make_data.py converts the CSV outputs into the JSON the charts read.
Writing/LaTeX source, tables and figures of the paper.

Stata 18.5 with reghdfe, ftools, estout, boottest, xtscc, csdid, drdid, bacondecomp and coefplot from SSC. The website build needs Python 3 with pandas and numpy, and pandoc 3.

Data

The raw inputs are public. The repository does not redistribute them, but the assembled panel and the policy-action list are available here.

  • panel.csv: the 347 country-year observations with tenure shares, policy indices and controls (the file behind the data explorer).
  • policy_actions.csv: the 1,076 MaPPED actions for the sample countries and years with their weights.
  • inference.csv, es_att.csv, es_event.csv: alternative inference and event-study variants.
  • The full specification grid (several hundred thousand rows) is in ProjectCode/Multiverse/lp_*.csv in the repository; the explorer offers CSV downloads of any filtered subset.

Sources: Eurostat EU-SILC tables ilc_lvho02, ilc_lvho02 by income group and ilc_lvps15; ECB MaPPED (Budnik and Kleibl 2018); IMF iMaPP (Alam et al. 2019); Eurostat national accounts, HICP, house price index (prc_hpi_a), private and household debt (tipspd20, tipspd22) and money market rates (irt_st_a, irt_h_mr3_a); BIS total credit statistics, policy rates and residential property prices.

Running it

git clone https://github.com/claesbackman/MacroPrud-Homeownership
cd MacroPrud-Homeownership
# place the raw files listed in ProjectCode/RawData/ReadMe_Main.txt in ProjectCode/RawData/
stata -b do ProjectCode/00_Master.do            # paper tables and figures
stata -b do ProjectCode/4_1_Website_Data.do     # website panel and alternative indices
stata -b do ProjectCode/4_3_Multiverse_LP.do A  # one block of the grid (A, B1, B2, C, LOO)
python3 ProjectCode/Website_build/make_data.py  # JSON for the site
python3 ProjectCode/Website_build/tex2html.py   # the pages

Paths at the top of 0_Setup_charts_paths.do and the 4_*.do files need to point at your copy of the repository.

Citing

Bäckman, Claes. 2026. "Macroprudential policies and homeownership rates." Working paper, Leibniz Institute for Financial Research SAFE.

@unpublished{backman2026macroprudential,
  author = {B{\"a}ckman, Claes},
  title  = {Macroprudential policies and homeownership rates},
  year   = {2026},
  note   = {Working paper, Leibniz Institute for Financial Research SAFE}
}