Essays on dynamic interactions between housing markets and the macroeconomy